Home
last modified time | relevance | path

Searched refs:flag (Results 1 – 25 of 123) sorted by relevance

12345

/drivers/peripheral/audio/
Daudio.gni34 #If set flag is false, the printf log will be built; if set flag is true, the hdf log version will …
38 #If flag is true, the ADM_SO version testcase will be built; if set flag is false, the other versio…
41 #If flag is true, the ADM_SERVICE version testcase will be built; if set flag is false, the other v…
44 #If all above flag is set to false, it will build failure.so forbid setting all above flag to false.
/drivers/hdf_core/adapter/uhdf2/manager/src/
Ddevmgr_query_device.c30 bool flag = false; in DevFillQueryDeviceInfo() local
53 flag = HdfSbufWriteString(reply, deviceInfo->svcName); in DevFillQueryDeviceInfo()
54 if (!flag) { in DevFillQueryDeviceInfo()
58 flag = HdfSbufWriteInt32(reply, deviceInfo->deviceType); in DevFillQueryDeviceInfo()
59 if (!flag) { in DevFillQueryDeviceInfo()
/drivers/hdf_core/adapter/khdf/liteos/osal/src/
Dosal_thread.c174 bool flag = false; in OsalThreadSuspend() local
176 flag = OsalCheckPara(thread); in OsalThreadSuspend()
177 if (!flag) { in OsalThreadSuspend()
193 bool flag = false; in OsalThreadDestroy() local
195 flag = OsalCheckPara(thread); in OsalThreadDestroy()
196 if (!flag) { in OsalThreadDestroy()
210 bool flag = false; in OsalThreadResume() local
212 flag = OsalCheckPara(thread); in OsalThreadResume()
213 if (!flag) { in OsalThreadResume()
/drivers/hdf_core/adapter/khdf/uniproton/osal/src/
Dosal_thread.c175 bool flag = false; in OsalThreadSuspend() local
177 flag = OsalCheckPara(thread); in OsalThreadSuspend()
178 if (!flag) { in OsalThreadSuspend()
194 bool flag = false; in OsalThreadDestroy() local
196 flag = OsalCheckPara(thread); in OsalThreadDestroy()
197 if (!flag) { in OsalThreadDestroy()
211 bool flag = false; in OsalThreadResume() local
213 flag = OsalCheckPara(thread); in OsalThreadResume()
214 if (!flag) { in OsalThreadResume()
/drivers/hdf_core/adapter/khdf/liteos_m/osal/src/
Dosal_thread.c167 bool flag = false; in OsalThreadSuspend() local
169 flag = OsalCheckPara(thread); in OsalThreadSuspend()
170 if (!flag) { in OsalThreadSuspend()
186 bool flag = false; in OsalThreadDestroy() local
188 flag = OsalCheckPara(thread); in OsalThreadDestroy()
189 if (!flag) { in OsalThreadDestroy()
203 bool flag = false; in OsalThreadResume() local
205 flag = OsalCheckPara(thread); in OsalThreadResume()
206 if (!flag) { in OsalThreadResume()
/drivers/peripheral/wlan/test/hdi_service/
Dwlan_hdi_hal_services_c_test.cpp195 bool flag = (rc == HDF_SUCCESS || rc == HDF_ERR_NOT_SUPPORT || rc == HDF_ERR_DEVICE_BUSY); variable
196 ASSERT_TRUE(flag);
364 bool flag = (rc == HDF_SUCCESS || rc == HDF_ERR_NOT_SUPPORT); variable
365 ASSERT_TRUE(flag);
386 bool flag = (rc == HDF_SUCCESS || rc == HDF_ERR_NOT_SUPPORT); variable
387 ASSERT_TRUE(flag);
512 bool flag = (rc == HDF_SUCCESS || rc == HDF_ERR_NOT_SUPPORT); variable
513 ASSERT_TRUE(flag);
629 bool flag = (rc == HDF_SUCCESS || rc == HDF_ERR_NOT_SUPPORT || rc == HDF_ERR_DEVICE_BUSY); variable
630 ASSERT_TRUE(flag);
[all …]
/drivers/peripheral/wlan/test/unittest/hal/
Dwifi_hal_test.cpp336 … bool flag = (ret == HDF_SUCCESS || ret == HDF_ERR_NOT_SUPPORT || ret == HDF_ERR_DEVICE_BUSY); variable
337 ASSERT_TRUE(flag);
370 … bool flag = (ret == HDF_SUCCESS || ret == HDF_ERR_NOT_SUPPORT || ret == HDF_ERR_DEVICE_BUSY); variable
371 ASSERT_TRUE(flag);
489 bool flag = (ret == HDF_SUCCESS || ret == HDF_ERR_NOT_SUPPORT); variable
490 ASSERT_TRUE(flag);
601 bool flag = (ret == HDF_SUCCESS || ret == HDF_ERR_NOT_SUPPORT); variable
602 ASSERT_TRUE(flag);
635 bool flag = (ret == HDF_SUCCESS || ret == HDF_ERR_NOT_SUPPORT); variable
636 ASSERT_TRUE(flag);
[all …]
/drivers/peripheral/wlan/test/unittest/client/
Dhdf_client_test.cpp99 bool flag = (ret == HDF_SUCCESS || ret == HDF_ERR_NOT_SUPPORT); variable
100 ASSERT_TRUE(flag);
145 bool flag = (ret == RET_CODE_SUCCESS || ret == RET_CODE_NOT_SUPPORT); variable
146 ASSERT_TRUE(flag);
163 bool flag = (ret == HDF_SUCCESS || ret == HDF_ERR_NOT_SUPPORT || ret == HDF_ERR_DEVICE_BUSY); variable
164 ASSERT_TRUE(flag);
302 bool flag = (ret == RET_CODE_SUCCESS || ret == RET_CODE_NOT_SUPPORT); variable
303 ASSERT_TRUE(flag);
388 bool flag = (ret == RET_CODE_SUCCESS || ret == RET_CODE_NOT_SUPPORT); variable
389 ASSERT_TRUE(flag);
[all …]
/drivers/hdf_core/framework/support/platform/src/hdmi/
Dhdmi_frl.c35 uint8_t flag = 0; in HdmiFrlGetFltUpdate() local
37 …if (HdmiScdcOptMsgHandle(scdc, HDMI_SCDC_OPT_GET_FLT_UPDATE, &flag, sizeof(flag)) != HDF_SUCCESS) { in HdmiFrlGetFltUpdate()
42 fltUpdate = (flag & HDMI_SCDC_FLT_UPDATE_MARK) ? true : false; in HdmiFrlGetFltUpdate()
49 uint8_t flag = 0; in HdmiFrlGetFrlStart() local
51 …if (HdmiScdcOptMsgHandle(scdc, HDMI_SCDC_OPT_GET_FLT_UPDATE, &flag, sizeof(flag)) != HDF_SUCCESS) { in HdmiFrlGetFrlStart()
56 frlStart = (flag & HDMI_SCDC_FRL_START_MARK) ? true : false; in HdmiFrlGetFrlStart()
63 uint8_t flag = 0; in HdmiFrlGetFltReady() local
65 … if (HdmiScdcOptMsgHandle(scdc, HDMI_SCDC_OPT_GET_FLT_READY, &flag, sizeof(flag)) != HDF_SUCCESS) { in HdmiFrlGetFltReady()
70 fltReady = (flag & HDMI_SCDC_FLT_READY_MARK) ? true : false; in HdmiFrlGetFltReady()
87 uint8_t flag = 0; in HdmiFrlSetFltUpdate() local
[all …]
Dhdmi_scdc.c77 static int32_t HdmiScdcReadUpdate0(const struct HdmiScdc *scdc, uint8_t *flag) in HdmiScdcReadUpdate0() argument
79 return HdmiScdcReadByte(scdc, HDMI_SCDCS_OFFSET_UPDATE_0, flag); in HdmiScdcReadUpdate0()
112 static int32_t HdmiScdcReadStatusFlag0(const struct HdmiScdc *scdc, uint8_t *flag) in HdmiScdcReadStatusFlag0() argument
114 return HdmiScdcReadByte(scdc, HDMI_SCDCS_OFFSET_STASTUS_FLAG_0, flag); in HdmiScdcReadStatusFlag0()
117 int32_t HdmiScdcReadStatusFlag1(const struct HdmiScdc *scdc, uint8_t *flag) in HdmiScdcReadStatusFlag1() argument
119 return HdmiScdcReadByte(scdc, HDMI_SCDCS_OFFSET_STASTUS_FLAG_1, flag); in HdmiScdcReadStatusFlag1()
122 int32_t HdmiScdcReadStatusFlag2(const struct HdmiScdc *scdc, uint8_t *flag) in HdmiScdcReadStatusFlag2() argument
124 return HdmiScdcReadByte(scdc, HDMI_SCDCS_OFFSET_STASTUS_FLAG_2, flag); in HdmiScdcReadStatusFlag2()
133 static int32_t HdmiScdcWriteUpdate0(const struct HdmiScdc *scdc, uint8_t *flag) in HdmiScdcWriteUpdate0() argument
135 return HdmiScdcWriteByte(scdc, HDMI_SCDCS_OFFSET_UPDATE_0, flag); in HdmiScdcWriteUpdate0()
/drivers/hdf_core/framework/model/input/driver/
Devent_hub.c43 uint32_t flag; in PushOnePackage() local
50 OsalSpinLockIrqSave(&inputManager->lock, &flag); in PushOnePackage()
90 OsalSpinUnlockIrqRestore(&inputManager->lock, &flag); in PushOnePackage()
/drivers/peripheral/audio/test/sample/
Dframework_common.c174 uint32_t StringToInt(const char *flag) in StringToInt() argument
176 if (flag == NULL) { in StringToInt()
179 uint32_t temp = flag[0]; in StringToInt()
180 for (int32_t i = (int32_t)strlen(flag) - 1; i >= 0; i--) { in StringToInt()
182 temp += flag[i]; in StringToInt()
/drivers/hdf_core/framework/core/manager/test/unittest/common/
Dhdf_lite_manager_test.cpp120 bool flag = false; variable
133 flag = true;
139 EXPECT_TRUE(flag);
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/test/public_moudle/
Dbase.py173 flag = False
176 flag = True
178 return flag
185 flag = False
188 flag = True
190 return flag
/drivers/peripheral/codec/hal/v2.0/hdi_impl/src/
Dicodec_buffer.cpp117 omxBuffer.nFlags = codecBuffer.flag; in FillOmxBuffer()
125 omxBuffer.nFlags = codecBuffer.flag; in EmptyOmxBuffer()
141 codecBuffer_.flag = omxBuffer.nFlags; in FillOmxBufferDone()
/drivers/hdf_core/framework/test/unittest/osal/
Dosal_work_test.c158 static void OsalTestFile(int flag) in OsalTestFile() argument
165 if (flag != 0) { in OsalTestFile()
166 HDF_LOGE("%s file do not exist %d", __func__, flag); in OsalTestFile()
211 void OsalTestWork(int flag) in OsalTestWork() argument
215 OsalTestFile(flag); in OsalTestWork()
Dosal_list_test.h16 void OsalTestOther(int flag);
Dosal_work_test.h16 void OsalTestWork(int flag);
/drivers/peripheral/codec/hal/idl_service/src/
Dicodec_buffer.cpp90 omxBuffer.nFlags = codecBuffer.flag; in FillOmxBuffer()
98 omxBuffer.nFlags = codecBuffer.flag; in EmptyOmxBuffer()
114 codecBuffer_.flag = omxBuffer.nFlags; in FillOmxBufferDone()
/drivers/hdf_core/adapter/uhdf2/manager/include/
Ddevmgr_virtual_service.h23 struct IDevmgrService *inst, struct HdfSBuf *data, struct HdfSBuf *reply, bool flag);
/drivers/peripheral/thermal/interfaces/hdi_service/src/
Dthermal_hdf_timer.cpp73 void ThermalHdfTimer::SetSimFlag(int32_t flag) in SetSimFlag() argument
75 isSim_ = flag; in SetSimFlag()
Dthermal_simulation_node.cpp69 int32_t flag = mkdir(dir.c_str(), S_IRWXU | S_IRWXG | S_IROTH| S_IXOTH); in CreateNodeDir() local
70 if (flag == NUM_ZERO) { in CreateNodeDir()
73 THERMAL_HILOGE(COMP_HDI, "Fail to create directory, flag: %{public}d", flag); in CreateNodeDir()
74 return flag; in CreateNodeDir()
/drivers/peripheral/camera/vdi_base/common/adapter/platform/v4l2/src/driver_adapter/include/
Dv4l2_temp.h80 void SetBufferStatus(const CameraBufferStatus flag) in SetBufferStatus() argument
82 (void)flag; in SetBufferStatus()
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/test/testsuits/
Dtest_index.py107 flag = self.test.node_in_kuang('./Program_pictures/addnodedata1.png',
109 assert flag is True
569 flag = self.test.kuang_contain_text('./Program_pictures/addattr1.png',
571 assert flag == True # Verify that the property name was successfully modified
797 flag = self.test.kuang_contain_text(
799 assert flag is False
826 flag = self.test.kuang_contain_text(
828 assert flag is False
842 flag = self.test.kuang_contain_text(
844 assert flag is False
[all …]
/drivers/hdf_core/framework/model/usb/src/
Dusb_ddk_pnp_loader.c196 …nst struct UsbPnpNotifyMatchInfoTable *dev, int8_t index, struct UsbPnpMatchIdTable *id, bool flag) in UsbDdkPnpLoaderMatchHandle() argument
198 if ((!id->pnpMatchFlag) && flag) { in UsbDdkPnpLoaderMatchHandle()
250 …nst struct UsbPnpNotifyMatchInfoTable *dev, int8_t index, struct UsbPnpMatchIdTable *id, bool flag) in UsbDdkPnpLoaderMatchFlag() argument
287 UsbDdkPnpLoaderMatchHandle(dev, index, id, flag); in UsbDdkPnpLoaderMatchFlag()
989 bool flag = false; in UsbDdkPnpLoaderEventReceived() local
1002 flag = HdfSbufReadBuffer(data, (const void **)(&infoTable), &infoSize); in UsbDdkPnpLoaderEventReceived()
1003 if ((!flag) || (infoTable == NULL)) { in UsbDdkPnpLoaderEventReceived()
1005 HDF_LOGE("%s: fail to read infoTable in event data, flag = %d", __func__, flag); in UsbDdkPnpLoaderEventReceived()
1015 flag = HdfSbufReadBuffer(data, (const void **)(&infoTable), &infoSize); in UsbDdkPnpLoaderEventReceived()
1016 if ((!flag) || (infoTable == NULL)) { in UsbDdkPnpLoaderEventReceived()
[all …]

12345