Lines Matching defs:propName
80 static int32_t TestPropGet(const char *propName)
84 if (!HdfSbufWriteString(g_data, propName)) {
98 printf("%s: %s = %s\n", __func__, propName, propVal);
104 static int32_t TestPropSet(const char *propName, const char *propValue)
107 if (!HdfSbufWriteString(g_data, propName)) {
108 HDF_LOGE("%{public}s:failed to write propName : %{public}s", __func__, propName);
123 static int32_t TestPropRegist(const char *propName, const char *propValue)
132 if (!HdfSbufWriteString(g_data, propName)) {
133 HDF_LOGE("%{public}s:failed to write propName : %{public}s", __func__, propName);
154 static int32_t TestProp(const char *propName, const char *propValue, bool setProp, bool getProp, bool registProp)
161 ret = TestPropGet(propName);
163 ret = TestPropSet(propName, propValue);
165 ret = TestPropRegist(propName, propValue);
174 const char *propName = NULL;
183 propName = argv[0x2];
188 propName = argv[0x2];
192 propName = argv[0x2];
203 return TestProp(propName, propValue, setProp, getProp, registProp);