Home
last modified time | relevance | path

Searched defs:result (Results 1 – 25 of 192) sorted by relevance

12345678

/test/testfwk/developer_test/examples/calculator/src/
Dcalculator.cpp19 int result = e1 + e2; in Add() local
28 int result = e1 - e2; in Sub() local
34 int result = e1 * e2; in Mul() local
50 int result = e1 / e2; in Div() local
/test/xts/acts/distributed_schedule_lite/system_ability_manager_hal/src/
Ddefaultfeatureapi_func_test.c74 BOOL result = SAMGR_GetInstance()->RegisterService((Service *)&g_service); in DefaultFeatureApiTestSuiteSetUp() local
96 …BOOL result = SAMGR_GetInstance()->RegisterDefaultFeatureApi("serviceName301", (IUnknown *)&g_api); variable
109 BOOL result = SAMGR_GetInstance()->RegisterDefaultFeatureApi(NULL, (IUnknown *)&g_api); variable
120 …BOOL result = SAMGR_GetInstance()->RegisterDefaultFeatureApi("noExistService", (IUnknown *)&g_api); variable
131 BOOL result = SAMGR_GetInstance()->RegisterDefaultFeatureApi("serviceName301", NULL); variable
143 …BOOL result = SAMGR_GetInstance()->RegisterDefaultFeatureApi("serviceName301", (IUnknown *)&g_api); variable
261 …BOOL result = SAMGR_GetInstance()->RegisterDefaultFeatureApi("serviceName301", (IUnknown *)&g_api); variable
Dbroadcast_subscribe_func_test.c81 BOOL result = SAMGR_GetInstance()->RegisterService(&g_service); in Init() local
97 int result = iUnknown->QueryInterface(iUnknown, 0, (void **)&fapi); in CASE_GetIUnknown() local
140 int result = subscriber->AddTopic((IUnknown *)fapi, &topic0); variable
165 int result = subscriber->AddTopic((IUnknown *)fapi, NULL); variable
193 int result = subscriber->Subscribe((IUnknown *)fapi, &topic0, &c1); variable
220 int result = subscriber->Subscribe((IUnknown *)fapi, NULL, &c1); variable
245 int result = subscriber->Subscribe((IUnknown *)fapi, &topic0, NULL); variable
273 int result = subscriber->Subscribe((IUnknown *)fapi, &topic0, &c1); variable
303 Consumer *result = subscriber->Unsubscribe((IUnknown *)fapi, &topic0, &c1); variable
330 Consumer *result = subscriber->Unsubscribe((IUnknown *)fapi, NULL, &c1); variable
[all …]
Dfeatureapi_func_test.c136 BOOL result = SAMGR_GetInstance()->RegisterFeatureApi("serviceName401", "featureName401", variable
155 …BOOL result = SAMGR_GetInstance()->RegisterFeatureApi(NULL, "featureName401", GET_IUNKNOWN(g_featu… variable
175 …BOOL result = SAMGR_GetInstance()->RegisterFeatureApi("serviceName401", "", GET_IUNKNOWN(g_feature… variable
192 BOOL result = SAMGR_GetInstance()->RegisterFeatureApi("serviceName401", "featureName401", NULL); variable
210 …BOOL result = SAMGR_GetInstance()->RegisterFeatureApi("serviceName401", NULL, GET_IUNKNOWN(g_featu… variable
230 …BOOL result = SAMGR_GetInstance()->RegisterFeatureApi("noExistService", "featureName401", GET_IUNK… variable
247 …BOOL result = SAMGR_GetInstance()->RegisterFeatureApi("serviceName401", "noExistFeature", GET_IUNK… variable
265 BOOL result = SAMGR_GetInstance()->RegisterFeatureApi("serviceName401", "featureName401", variable
496 BOOL result = SAMGR_GetInstance()->RegisterService((Service *)&g_service); variable
Dfeature_func_test.c135 BOOL result = SAMGR_GetInstance()->RegisterService((Service *)&g_service); in FeatureTestSuiteSetUp() local
156 BOOL result = SAMGR_GetInstance()->RegisterFeature("serviceName201", (Feature *)&g_feature); variable
169 BOOL result = SAMGR_GetInstance()->RegisterFeature(NULL, (Feature *)&g_feature); variable
180 BOOL result = SAMGR_GetInstance()->RegisterFeature("serviceName201", NULL); variable
191 BOOL result = SAMGR_GetInstance()->RegisterFeature("noExistServiceName", (Feature *)&g_feature); variable
204 BOOL result = SAMGR_GetInstance()->RegisterFeature("serviceName201", (Feature *)&g_feature); variable
315 Feature *result = SAMGR_GetInstance()->UnregisterFeature("serviceName201", "featureName201"); variable
331 BOOL result = SAMGR_GetInstance()->RegisterFeature("serviceName201", (Feature *)&g_feature); variable
Dbroadcast_publish_func_test.c83 BOOL result = SAMGR_GetInstance()->RegisterService(&g_service); in Init() local
99 int result = iUnknown->QueryInterface(iUnknown, 0, (void **)&fapi); in CASE_GetIUnknown() local
149 BOOL result = provider->Publish((IUnknown *)fapi, &topic0, (uint8 *) "==>111<==", TEST_LEN); variable
181 … BOOL result = provider->Publish((IUnknown *)fapi, &noExisttopic, (uint8 *) "==>111<==", TEST_LEN); variable
212 BOOL result = provider->Publish((IUnknown *)fapi, &topic0, (uint8 *) "==>111<==", TEST_LEN - 1); variable
246 BOOL result = provider->Publish((IUnknown *)fapi, &topic0, (uint8 *) "", 0); variable
276 BOOL result = provider->Publish((IUnknown *)fapi, &topic0, (uint8 *) "==>111<==", TEST_LEN); variable
307 BOOL result = provider->Publish((IUnknown *)fapi, &topic0, (uint8 *) "==>111<==", TEST_LEN); variable
339 BOOL result = provider->Publish((IUnknown *)fapi, &topic0, (uint8 *) "==>111<==", TEST_LEN); variable
/test/xts/acts/distributed_schedule_lite/system_ability_manager_posix/src/
DDefaultFeatureApiTest.cpp83 BOOL result = SAMGR_GetInstance()->RegisterService((Service *)&g_service); in SetUp() local
101 …BOOL result = SAMGR_GetInstance()->RegisterDefaultFeatureApi("serviceName301", (IUnknown *)&g_api); variable
113 BOOL result = SAMGR_GetInstance()->RegisterDefaultFeatureApi(NULL, (IUnknown *)&g_api); variable
123 …BOOL result = SAMGR_GetInstance()->RegisterDefaultFeatureApi("noExistService", (IUnknown *)&g_api); variable
133 BOOL result = SAMGR_GetInstance()->RegisterDefaultFeatureApi("serviceName301", nullptr); variable
144 …BOOL result = SAMGR_GetInstance()->RegisterDefaultFeatureApi("serviceName301", (IUnknown *)&g_api); variable
254 …BOOL result = SAMGR_GetInstance()->RegisterDefaultFeatureApi("serviceName301", (IUnknown *)&g_api); variable
DBroadcastSubscribeTest.cpp90 int result = iUnknown->QueryInterface(iUnknown, 0x20, (void **)&fapi); in CASE_GetIUnknown() local
140 int result = subscriber->AddTopic((IUnknown *)fapi, &topic0); variable
165 int result = subscriber->AddTopic((IUnknown *)fapi, nullptr); variable
193 int result = subscriber->Subscribe((IUnknown *)fapi, &topic0, &c1); variable
220 int result = subscriber->Subscribe((IUnknown *)fapi, nullptr, &c1); variable
249 int result = subscriber->Subscribe((IUnknown *)fapi, &topic0, nullptr); variable
277 int result = subscriber->Subscribe((IUnknown *)fapi, &topic0, &c1); variable
306 Consumer *result = subscriber->Unsubscribe((IUnknown *)fapi, &topic0, &c1); variable
333 Consumer *result = subscriber->Unsubscribe((IUnknown *)fapi, nullptr, &c1); variable
365 Consumer *result = subscriber->Unsubscribe((IUnknown *)fapi, &topic0, &c2); variable
[all …]
DFeatureApiTest.cpp143 BOOL result = SAMGR_GetInstance()->RegisterFeatureApi("serviceName401", "featureName401", variable
161 …BOOL result = SAMGR_GetInstance()->RegisterFeatureApi(NULL, "featureName401", GET_IUNKNOWN(g_featu… variable
180 …BOOL result = SAMGR_GetInstance()->RegisterFeatureApi("serviceName401", "", GET_IUNKNOWN(g_feature… variable
196 …BOOL result = SAMGR_GetInstance()->RegisterFeatureApi("serviceName401", "featureName401", nullptr); variable
213 …BOOL result = SAMGR_GetInstance()->RegisterFeatureApi("serviceName401", nullptr, GET_IUNKNOWN(g_fe… variable
230 …BOOL result = SAMGR_GetInstance()->RegisterFeatureApi("noExistService", "featureName401", GET_IUNK… variable
246 …BOOL result = SAMGR_GetInstance()->RegisterFeatureApi("serviceName401", "noExistFeature", GET_IUNK… variable
264 BOOL result = SAMGR_GetInstance()->RegisterFeatureApi("serviceName401", "featureName401", variable
485 BOOL result = SAMGR_GetInstance()->RegisterFeatureApi("serviceName401", "featureName401", variable
DFeatureTest.cpp146 BOOL result = SAMGR_GetInstance()->RegisterService((Service *)&g_service); in SetUp() local
164 BOOL result = SAMGR_GetInstance()->RegisterFeature("serviceName201", (Feature *)&g_feature); variable
176 BOOL result = SAMGR_GetInstance()->RegisterFeature(NULL, (Feature *)&g_feature); variable
186 BOOL result = SAMGR_GetInstance()->RegisterFeature("serviceName201", nullptr); variable
196 BOOL result = SAMGR_GetInstance()->RegisterFeature("noExistServiceName", (Feature *)&g_feature); variable
208 BOOL result = SAMGR_GetInstance()->RegisterFeature("serviceName201", (Feature *)&g_feature); variable
312 Feature *result = SAMGR_GetInstance()->UnregisterFeature("serviceName201", "featureName201"); variable
327 BOOL result = SAMGR_GetInstance()->RegisterFeature("serviceName201", (Feature *)&g_feature); variable
DBroadcastPublishTest.cpp92 int result = iUnknown->QueryInterface(iUnknown, 0x20, (void **)&fapi); in CASE_GetIUnknown() local
152 BOOL result = provider->Publish((IUnknown *)fapi, &topic0, (uint8_t *) "==>111<==", TEST_LEN); variable
184 …BOOL result = provider->Publish((IUnknown *)fapi, &noExisttopic, (uint8_t *) "==>111<==", TEST_LEN… variable
215 … BOOL result = provider->Publish((IUnknown *)fapi, &topic0, (uint8_t *) "==>111<==", TEST_LEN - 1); variable
249 BOOL result = provider->Publish((IUnknown *)fapi, &topic0, (uint8_t *) "", 0); variable
276 BOOL result = provider->Publish((IUnknown *)fapi, &topic0, (uint8_t *) "==>111<==", TEST_LEN); variable
307 BOOL result = provider->Publish((IUnknown *)fapi, &topic0, (uint8_t *) "==>111<==", TEST_LEN); variable
344 BOOL result = provider->Publish((IUnknown *)fapi, &topic0, (uint8_t *) "==>111<==", TEST_LEN); variable
DLiteIPCClientTest.cpp96 int result = iUnknown->QueryInterface(iUnknown, CLIENT_PROXY_VER, (void **)&demoApi); variable
136 int result = remoteApi->Invoke(remoteApi, funcId, &request, data2, CurrentCallback); variable
154 int result = remoteApi->Invoke(remoteApi, funcId, nullptr, data2, CurrentCallback); variable
178 int result = remoteApi->Invoke(remoteApi, funcId, &request, nullptr, nullptr); variable
203 int result = remoteApi->Invoke(remoteApi, funcId, &request, data2, CurrentCallback); variable
278 int result = SAMGR_RegisterFactory("abilityms", "AmsFeature", creatClient, destroyClient); variable
/test/xts/acts/multimedia/image/image_js_standard/imageModifyProperty/src/main/js/test/
Dmodify.test.js245 function checkProps(result) { argument
269 function checkProps(result) { argument
293 function checkProps(result) { argument
317 function checkProps(result) { argument
341 function checkProps(result) { argument
365 function checkProps(result) { argument
382 function checkProps(result) { argument
406 function checkProps(result) { argument
430 function checkProps(result) { argument
454 function checkProps(result) { argument
[all …]
/test/xts/acts/useriam/face_auth/js_api_test/function_test/userauthpart2/src/main/js/test/
DSecurity_IAM_FUNC_Jsunit.test.js133 callback: (result) => { argument
245 callback: function (result) { argument
260 callback: function (result) { argument
275 callback: function (result) { argument
290 callback: function (result) { argument
365 callback: (result) => { argument
375 callback: (result) => { argument
/test/xts/acts/multimedia/audio/audio_cpp_standard/openslesRecorderNdk/
DActsOpenslesRecoderNdkTest.cpp68 SLresult result = slCreateEngine(&engineObject, 0, nullptr, 0, nullptr, nullptr); in OpenSLESCaptureTest() local
152 SLresult result = (*bufferQueueItf)->GetBuffer(sBufferQueueItf, &buffer, &pSize); in BufferQueueCallback() local
178 SLresult result = (*recordItf)->SetRecordState(sRecordItf, SL_RECORDSTATE_RECORDING); in CaptureStart() local
216 SLresult result = (*recordItf)->SetRecordState(sRecordItf, SL_RECORDSTATE_PAUSED); in CapturePause() local
229 SLresult result = (*recordItf)->SetRecordState(sRecordItf, SL_RECORDSTATE_STOPPED); in CaptureStop() local
255 SLresult result = OpenSLESCaptureTest(); variable
/test/ostest/wukong/test_flow/src/
Dspecial_test_flow.cpp95 ErrCode result = OHOS::ERR_OK; in EnvInit() local
169 ErrCode result; in RunStep() local
226 ErrCode result = OHOS::ERR_OK; in HandleUnknownOption() local
257 ErrCode result = OHOS::ERR_OK; in HandleNormalOption() local
332 ErrCode result = OHOS::ERR_OK; in CheckArgument() local
390 ErrCode result = WuKongUtil::GetInstance()->GetScreenSize(screenWidth, screenHeight); in CheckPosition() local
409 ErrCode result = inputaction->OrderInput(specialTestObject_); in LauncherApp() local
/test/xts/acts/appexecfwk_lite/appexecfwk_hal/src/
Dbundle_mgr_test.c57 int result = memset_s(&abilityInfo, sizeof(abilityInfo), 0, sizeof(abilityInfo)); variable
80 int result = memset_s(&abilityInfo, sizeof(abilityInfo), 0, sizeof(abilityInfo)); variable
103 int result = memset_s(&bundleInfo, sizeof(bundleInfo), 0, sizeof(bundleInfo)); variable
126 int result = memset_s(&bundleInfo, sizeof(bundleInfo), 0, sizeof(bundleInfo)); variable
149 int result = memset_s(&moduleInfo, sizeof(moduleInfo), 0, sizeof(moduleInfo)); variable
172 int result = memset_s(&moduleInfo, sizeof(moduleInfo), 0, sizeof(moduleInfo)); variable
323 int result = memset_s(&bundleInfo, sizeof(bundleInfo), 0, sizeof(bundleInfo)); variable
/test/xts/acts/ability_lite/ability_posix/src/
DAbilityMgrTest.cpp454 int result = StartAbility(&want); variable
476 int result = StartAbility(&want); variable
497 int result = StartAbility(&want); variable
522 int result = ability->StartAbility(want); variable
544 int result = StartAbility(&want); variable
561 int result = StartAbility(nullptr); variable
622 int result = ConnectAbility(&want, &g_conn, this); variable
652 int result = ConnectAbility(&want, &g_conn, this); variable
708 int result = ConnectAbility(&want, &g_conn, this); variable
777 int result = StartAbility(&want); variable
[all …]
DAbilityMgrTest2.cpp452 int result = StartAbility(&want); variable
476 int result = StartAbility(&want); variable
500 int result = StartAbility(&want); variable
527 int result = ability->StartAbility(want); variable
551 int result = StartAbility(&want); variable
570 int result = StartAbility(nullptr); variable
631 int result = ConnectAbility(&want, &g_conn, this); variable
662 int result = ConnectAbility(&want, &g_conn, this); variable
719 int result = ConnectAbility(&want, &g_conn, this); variable
789 int result = StartAbility(&want); variable
[all …]
/test/xts/acts/communication/wifi_p2p/src/main/js/test/
DWifiP2PEvent.test.js77 let p2pStateChangeCallback = result => { argument
95 let p2pConnectionChangeCallback = result => { argument
132 let p2pDeviceChangeCallback = result => { argument
150 let p2pPeerDeviceChangeCallback = result => { argument
210 let p2pDiscoveryChangeCallback = result => { argument
DWifiManagerP2PEvent.test.js75 let p2pStateChangeCallback = result => { argument
93 let p2pConnectionChangeCallback = result => { argument
133 let p2pDeviceChangeCallback = result => { argument
151 let p2pPeerDeviceChangeCallback = result => { argument
209 let p2pDiscoveryChangeCallback = result => { argument
/test/xts/acts/hiviewdfx/hiappeventtest/hiappeventcpptest/
DHiAppEventCPPTest.cpp67 bool result = false; variable
102 bool result = false; variable
136 bool result = false; variable
170 bool result = false; variable
204 bool result = false; variable
240 bool result = false; variable
274 bool result = false; variable
308 bool result = false; variable
342 bool result = false; variable
376 bool result = false; variable
[all …]
/test/xts/acts/communication/wifi_standard/src/main/js/test/
DWifiStationEvent.test.js81 let wifiStateChangeCallback = result => { argument
99 let wifiConnectionChangeCallback = result => { argument
117 let wifiScanStateChangeCallback = result => { argument
136 let wifiRssiChangeCallback = result => { argument
154 let hotspotStateChangeCallback = result => { argument
DWifiManagerStationEvent.test.js78 let wifiStateChangeCallback = result => { argument
96 let wifiConnectionChangeCallback = result => { argument
114 let wifiScanStateChangeCallback = result => { argument
133 let wifiRssiChangeCallback = result => { argument
151 let hotspotStateChangeCallback = result => { argument
/test/ostest/wukong/common/src/
Dcomponent_manager.cpp189 ErrCode result = OHOS::ERR_OK; in GetReportInfo() local
214 ErrCode result = componentRespond(elementInfo); in ComponentEventInput() local
220 ErrCode result; in ComponentTouchInput() local
239 ErrCode result = ERR_OK; in BackToPrePage() local
254 …ErrCode result = MultimodeManager::GetInstance()->IntervalSwap(componentUpSwapStartX, componentUpS… in ComponentUpSwapInput() local
269 …ErrCode result = MultimodeManager::GetInstance()->IntervalSwap(componentDownSwapStartX, componentD… in ComponentDownSwapInput() local
277 ErrCode result = ComponentTouchInput(elementInfo); in ComponentMultikeyInput() local
288 ErrCode result; in ComponentLeftSwapInput() local

12345678