/ohos5.0/foundation/filemanagement/app_file_service/tests/unittests/backup_sa/module_ipc/ |
H A D | service_reverse_proxy_test.cpp | 123 } catch (BError &err) { variable 133 } catch (BError &err) { variable 143 } catch (BError &err) { variable 154 } catch (BError &err) { variable 185 } catch (BError &err) { variable 197 } catch (BError &err) { variable 210 } catch (BError &err) { variable 243 } catch (BError &err) { variable 300 } catch (BError &err) { variable 310 } catch (BError &err) { variable [all …]
|
H A D | svc_session_manager_test.cpp | 102 } catch (BError &err) { variable 111 } catch (BError &err) { variable 145 } catch (BError &err) { variable 153 } catch (BError &err) { variable 163 } catch (BError &err) { variable 174 } catch (BError &err) { variable 213 } catch (BError &err) { variable 247 } catch (BError &err) { variable 256 } catch (BError &err) { variable 289 } catch (BError &err) { variable [all …]
|
H A D | service_stub_test.cpp | 219 auto err = service->CmdInitBackupSession(data, reply); variable 265 auto err = service->CmdStart(data, reply); variable 328 auto err = service->CmdPublishFile(data, reply); variable 370 auto err = service->CmdAppFileReady(data, reply); variable 449 auto err = service->CmdAppDone(data, reply); variable 487 auto err = service->CmdGetFileHandle(data, reply); variable 664 auto err = service->CmdFinish(data, reply); variable 696 auto err = service->CmdRelease(data, reply); variable 727 auto err = service->CmdGetBackupInfo(data, reply); variable 770 auto err = service->CmdUpdateTimer(data, reply); variable [all …]
|
H A D | svc_session_manager_ex_test.cpp | 34 } catch (BError &err) { variable 113 } catch (BError &err) { variable 141 } catch (BError &err) { variable
|
/ohos5.0/base/global/i18n/services/test/unittest/src/ |
H A D | i18n_service_test.cpp | 107 I18nErrorCode err = I18nServiceAbilityClient::SetSystemLanguage("en"); variable 120 I18nErrorCode err = I18nServiceAbilityClient::SetSystemLanguage("en"); variable 145 I18nErrorCode err = I18nServiceAbilityClient::SetSystemRegion("US"); variable 158 I18nErrorCode err = I18nServiceAbilityClient::SetSystemRegion("US"); variable 183 I18nErrorCode err = I18nServiceAbilityClient::SetSystemLocale("en-US"); variable 196 I18nErrorCode err = I18nServiceAbilityClient::SetSystemLocale("en-US"); variable 223 I18nErrorCode err = I18nServiceAbilityClient::Set24HourClock("false"); variable 236 I18nErrorCode err = I18nServiceAbilityClient::Set24HourClock("false"); variable 249 I18nErrorCode err = I18nServiceAbilityClient::Set24HourClock("true"); variable 287 I18nErrorCode err = I18nServiceAbilityClient::SetSystemLanguage("ar"); variable [all …]
|
/ohos5.0/foundation/window/window_manager/wm/test/unittest/ |
H A D | window_proxy_test.cpp | 96 WMError err = windowProxy_->UpdateFocusStatus(false); variable 144 WMError err = windowProxy_->UpdateDisplayId(0, 1); variable 168 WMError err = windowProxy_->UpdateActiveStatus(false); variable 179 WMError err = windowProxy_->NotifyTouchOutside(); variable 191 WMError err = windowProxy_->DumpInfo(params); variable 202 WMError err = windowProxy_->NotifyDestroy(); variable 214 WMError err = windowProxy_->NotifyForeground(); variable 226 WMError err = windowProxy_->NotifyBackground(); variable 272 WMError err = windowProxy_->RestoreSplitWindowMode(200); variable 283 WMError err = windowProxy_->NotifyScreenshot(); variable [all …]
|
H A D | window_agent_test.cpp | 111 WMError err = windowAgent_->UpdateFocusStatus(true); variable 175 WMError err = windowAgent_->UpdateDisplayId(0, 1); variable 192 WMError err = windowAgent_->UpdateOccupiedAreaChangeInfo(info); variable 211 WMError err = windowAgent_->UpdateOccupiedAreaAndRect( variable 227 WMError err = windowAgent_->UpdateActiveStatus(false); variable 272 WMError err = windowAgent_->NotifyTouchOutside(); variable 287 WMError err = windowAgent_->NotifyScreenshot(); variable 303 WMError err = windowAgent_->DumpInfo(params); variable 334 WMError err = windowAgent_->NotifyDestroy(); variable 349 WMError err = windowAgent_->NotifyForeground(); variable [all …]
|
/ohos5.0/foundation/window/window_manager/dm/test/unittest/ |
H A D | display_manager_adapter_test.cpp | 100 DMError err = SingletonContainer::Get<ScreenManagerAdapter>().SetScreenColorGamut(0, -1); variable 132 DMError err = SingletonContainer::Get<ScreenManagerAdapter>().GetScreenGamutMap(0, gamutMap); variable 162 DMError err = SingletonContainer::Get<ScreenManagerAdapter>().SetScreenColorTransform(0); variable 364 DMError err = SingletonContainer::Get<ScreenManagerAdapter>().SetScreenHDRFormat(0, 0); variable 429 DMError err = SingletonContainer::Get<ScreenManagerAdapter>().DestroyVirtualScreen(id); variable 606 DMError err = SingletonContainer::Get<ScreenManagerAdapter>().MakeMirror(0, variable 619 DMError err = SingletonContainer::Get<ScreenManagerAdapter>().StopMirror(mirrorScreenIds); variable 631 DMError err = SingletonContainer::Get<DisplayManagerAdapter>().HasPrivateWindow(0, variable 648 DMError err = SingletonContainer::Get<DisplayManagerAdapter>().AddSurfaceNodeToDisplay(0, variable 684 DMError err = SingletonContainer::Get<ScreenManagerAdapter>().MakeExpand(screenId, variable [all …]
|
/ohos5.0/foundation/filemanagement/app_file_service/tests/unittests/backup_sa/session/ |
H A D | b_incremental_session_test.cpp | 76 auto err = backupSession->Init(callbacks); variable 138 auto err = backupSession->AppendBundles(bundlesToBackup); variable 167 auto err = backupSession->Release(); variable 197 auto err = restoreSession->Init(callbacks); variable 290 auto err = restoreSession->Release(); variable 320 auto err = restoreSession->PublishFile(fileInfo); variable 352 auto err = restoreSession->GetFileHandle(bundleName, fileName); variable 414 auto err = restoreAsyncSession->Init(callbacks); variable 508 auto err = restoreAsyncSession->PublishFile(fileInfo); variable 601 auto err = restoreAsyncSession->Release(); variable [all …]
|
/ohos5.0/foundation/window/window_manager/wmserver/test/unittest/ |
H A D | window_manager_proxy_test.cpp | 63 WMError err = windowManagerProxy_->RequestFocus(windowId); variable 195 WMError err = windowManagerProxy_->UpdateRsTree(windowId, isAdd); variable 233 WMError err = windowManagerProxy_->GetVisibilityWindowInfo(infos); variable 405 WMError err = windowManagerProxy_->SetWindowLayoutMode(mode); variable 448 WMError err = windowManagerProxy_->GetSystemConfig(systemConfig); variable 479 WMError err = windowManagerProxy_->GetSystemConfig(systemConfig); variable 495 WMError err = windowManagerProxy_->GetSystemConfig(systemConfig); variable 509 WMError err = windowManagerProxy_->GetSystemConfig(systemConfig); variable 521 WMError err = windowManagerProxy_->RaiseToAppTop(windowId); variable 566 WMError err = windowManagerProxy_->GetSystemConfig(systemConfig); variable [all …]
|
/ohos5.0/foundation/distributeddatamgr/kv_store/test/unittest/distributedKVStore/ |
H A D | DeviceKvStoreKVCallbackJsTest.js | 361 kvStore.get(function (err, data) { argument 641 kvStore.delete(function (err) { argument 1032 kvStore.off(function (err) { argument 1409 kvStore.putBatch(function (err) { argument 1529 kvStore.putBatch(entries, function (err) { argument 1572 kvStore.putBatch(entries, function (err) { argument 1615 kvStore.putBatch(entries, function (err) { argument 1915 kvStore.commit(function (err) { argument 1943 kvStore.rollback(function (err) { argument 2021 kvStore.enableSync(function (err, data) { argument [all …]
|
H A D | SingleKvStoreKVCallbackJsTest.js | 518 kvStore.delete(function (err) { argument 664 kvStore.delete(predicates, function (err) { argument 1075 kvStore.off(function (err) { argument 1427 kvStore.putBatch(values, function (err) { argument 1452 kvStore.putBatch(function (err) { argument 1483 kvStore.putBatch(values, function (err) { argument 1563 kvStore.putBatch(entries, function (err) { argument 1944 kvStore.commit(function (err) { argument 1971 kvStore.rollback(function (err) { argument 2048 kvStore.enableSync(function (err, data) { argument [all …]
|
/ohos5.0/foundation/filemanagement/app_file_service/tests/unittests/backup_ext/ |
H A D | ext_extension_stub_test.cpp | 92 auto err = stub->OnRemoteRequest(code, data, reply, option); variable 129 auto err = stub->CmdGetFileHandle(data, reply); variable 176 auto err = stub->CmdHandleClear(data, reply); variable 208 auto err = stub->CmdHandleBackup(data, reply); variable 239 auto err = stub->CmdPublishFile(data, reply); variable 278 auto err = stub->CmdHandleRestore(data, reply); variable 349 auto err = stub->CmdPublishIncrementalFile(data, reply); variable 424 auto err = stub->CmdIncrementalOnBackup(data, reply); variable 499 auto err = stub->CmdGetBackupInfo(data, reply); variable 537 auto err = stub->CmdUpdateFdSendRate(data, reply); variable [all …]
|
/ohos5.0/foundation/distributeddatamgr/kv_store/test/unittest/distributeddata/ |
H A D | DeviceKvStoreDataCallbackJsTest.js | 1344 await kvStore.deleteBatch(keys, function (err,data) { argument 1562 await kvStore.commit(1, function (err,data) { argument 1610 await kvStore.commit(2.000, function (err,data) { argument 1634 await kvStore.rollback(1, function (err,data) { argument 1682 await kvStore.rollback(2.000, function (err,data) { argument 1706 await kvStore.enableSync(true, function (err,data) { argument 1758 await kvStore.enableSync(function (err,data) { argument 1782 await kvStore.enableSync(null, function (err,data) { argument 1841 await kvStore.removeDeviceData(function (err,data) { argument 1984 await kvStore.getResultSet(function (err, result) { argument [all …]
|
H A D | SingleKvStoreDataCallbackJsTest.js | 1518 await kvStore.commit(1, function (err,data) { argument 1566 await kvStore.commit(2.000, function (err,data) { argument 1590 await kvStore.rollback(1, function (err,data) { argument 1638 await kvStore.rollback(2.000, function (err,data) { argument 1662 await kvStore.enableSync(true, function (err,data) { argument 1714 await kvStore.enableSync(function (err,data) { argument 1738 await kvStore.enableSync(null, function (err,data) { argument 1797 await kvStore.removeDeviceData(function (err,data) { argument 1891 await kvStore.setSyncParam(function (err,data) { argument 2109 await kvStore.getResultSet(function (err, result) { argument [all …]
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/storage_daemon_communication/src/ |
H A D | storage_daemon_communication.cpp | 79 int32_t err = Connect(); in PrepareAddUser() local 94 int32_t err = Connect(); in RemoveUser() local 109 int32_t err = Connect(); in PrepareStartUser() local 124 int32_t err = Connect(); in StopUser() local 139 int32_t err = Connect(); in CompleteAddUser() local 154 int32_t err = Connect(); in Mount() local 169 int32_t err = Connect(); in Unmount() local 184 int32_t err = Connect(); in Check() local 199 int32_t err = Connect(); in Partition() local 214 int32_t err = Connect(); in Format() local [all …]
|
/ohos5.0/foundation/distributeddatamgr/relational_store/test/js/clouddata/unittest/src/ |
H A D | CloudSyncConfigCallback.js | 31 await cloudData.Config.enableCloud(account, null, function (err) { argument 60 cloudData.Config.enableCloud(account, function (err) { argument 87 cloudData.Config.disableCloud(null, function (err) { argument 114 cloudData.Config.disableCloud(function (err) { argument 172 cloudData.Config.changeAppCloudSwitch(account, bundleName, function (err) { argument 200 cloudData.Config.notifyDataChange(account, null, function (err) { argument 228 cloudData.Config.notifyDataChange(account, function (err) { argument 255 cloudData.Config.notifyDataChange(null, function(err) { argument 282 cloudData.Config.notifyDataChange(function (err) { argument 310 cloudData.Config.clear(account, function (err) { argument [all …]
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_manager/kits_impl/src/ |
H A D | storage_manager_connect.cpp | 70 int32_t err = Connect(); in GetBundleStats() local 84 int32_t err = Connect(); in GetFreeSizeOfVolume() local 98 int32_t err = Connect(); in GetTotalSizeOfVolume() local 112 int32_t err = Connect(); in Mount() local 126 int32_t err = Connect(); in Unmount() local 140 int32_t err = Connect(); in GetAllVolumes() local 154 int32_t err = Connect(); in GetSystemSize() local 168 int32_t err = Connect(); in GetTotalSize() local 182 int32_t err = Connect(); in GetFreeSize() local 196 int32_t err = Connect(); in GetUserStorageStats() local [all …]
|
/ohos5.0/foundation/communication/wifi/wifi/relation_services/wifi_hal_service/ |
H A D | wifi_hal_crpc_p2p.c | 30 WifiErrorNo err = P2pStart(); in RpcP2pStart() local 42 WifiErrorNo err = P2pStop(); in RpcP2pStop() local 175 WifiErrorNo err = P2pFlush(); in RpcP2pFlush() local 187 WifiErrorNo err = P2pFlushService(); in RpcP2pFlushService() local 199 WifiErrorNo err = P2pSaveConfig(); in RpcP2pSaveConfig() local 401 WifiErrorNo err = P2pStopFind(); in RpcP2pStopFind() local 462 WifiErrorNo err = P2pConnect(&info); in RpcP2pConnect() local 477 WifiErrorNo err = P2pCancelConnect(); in RpcP2pCancelConnect() local 686 WifiErrorNo err = in RpcP2pReqServiceDiscovery() local 895 WifiErrorNo err = WIFI_HAL_FAILED; in RpcP2pSetGroupConfig() local [all …]
|
H A D | wifi_hal_crpc_chip.c | 37 WifiErrorNo err = GetWifiChip(chipId, &wifiChip); in RpcGetWifiChip() local 63 WifiErrorNo err = GetWifiChipIds(chipIds, &maxSize); in RpcGetWifiChipIds() local 84 WifiErrorNo err = GetChipId(&chipId); in RpcGetChipId() local 107 WifiErrorNo err = CreateIface(type, &wifiIface); in RpcCreateIface() local 177 WifiErrorNo err = GetIfaceNames(type, ifname, size); in RpcGetIfaceNames() local 228 WifiErrorNo err = GetCapabilities(&capabilities); in RpcGetCapabilities() local 275 WifiErrorNo err = ConfigComboModes(mode); in RpcConfigComboModes() local 288 WifiErrorNo err = GetComboModes(&mode); in RpcGetComboModes() local 332 WifiErrorNo err = GetIsChipSupportDbdc(&support); in RpcIsChipSupportDbdc() local 348 WifiErrorNo err = GetIsChipSupportCsa(&support); in RpcIsChipSupportCsa() local [all …]
|
H A D | wifi_hal_crpc_sta.c | 32 WifiErrorNo err = Start(); in RpcStart() local 44 WifiErrorNo err = Stop(); in RpcStop() local 240 WifiErrorNo err = StopPnoScan(); in RpcStopPnoScan() local 256 WifiErrorNo err = Connect(networkId); in RpcConnect() local 268 WifiErrorNo err = Reconnect(); in RpcReconnect() local 280 WifiErrorNo err = Reassociate(); in RpcReassociate() local 292 WifiErrorNo err = Disconnect(); in RpcDisconnect() local 642 WifiErrorNo err = WIFI_HAL_FAILED; in RpcSetNetwork() local 659 WifiErrorNo err = SaveNetworkConfig(); in RpcSaveNetworkConfig() local 719 WifiErrorNo err = StopWps(); in RpcStopWps() local [all …]
|
/ohos5.0/foundation/distributeddatamgr/preferences/test/js/unittest/preferences/src/ |
H A D | PreferencesCallBackJsunit.test.js | 64 mPreferences.clear(async function (err, ret) { argument 78 mPreferences.has(KEY_TEST_STRING_ELEMENT, function (err, ret) { argument 91 mPreferences.has(KEY_TEST_INT_ELEMENT, function (err, ret) { argument 104 mPreferences.has(KEY_TEST_FLOAT_ELEMENT, function (err, ret) { argument 117 mPreferences.has(KEY_TEST_LONG_ELEMENT, function (err, ret) { argument 130 mPreferences.has(KEY_TEST_BOOLEAN_ELEMENT, function (err, ret) { argument 168 mPreferences.get(KEY_TEST_INT_ELEMENT, 0.0, function (err, ret) { argument 183 mPreferences.get(KEY_TEST_LONG_ELEMENT, 0, function (err, ret) { argument 319 mPreferences.clear(function (err, val) { argument 332 mPreferences.flush(function (err, val) { argument [all …]
|
/ohos5.0/foundation/multimedia/av_codec/test/unittest/hcodec_test/unittest/ |
H A D | hdecoder_unit_test.cpp | 93 int32_t err = testObj->Init(meta); variable 102 int32_t err = testObj->Init(meta); variable 118 int32_t err = testObj->Init(meta); variable 129 int32_t err = testObj->Init(meta); variable 143 int32_t err = testObj->Init(meta); variable 154 int32_t err = testObj->Init(meta); variable 167 int32_t err = testObj->Init(meta); variable 186 int32_t err = testObj->Init(meta); variable 204 int32_t err = testObj->Init(meta); variable 219 int32_t err = testObj->Init(meta); variable [all …]
|
H A D | hencoder_unit_test.cpp | 119 int32_t err = testObj->Init(meta); variable 128 int32_t err = testObj->Init(meta); variable 144 int32_t err = testObj->Init(meta); variable 155 int32_t err = testObj->Init(meta); variable 168 int32_t err = testObj->Init(meta); variable 179 int32_t err = testObj->Init(meta); variable 194 int32_t err = testObj->Init(meta); variable 205 int32_t err = testObj->Init(meta); variable 218 int32_t err = testObj->Init(meta); variable 230 int32_t err = testObj->Init(meta); variable [all …]
|
/ohos5.0/base/global/i18n/services/src/ |
H A D | i18n_service_ability_client.cpp | 25 sptr<II18nServiceAbility> I18nServiceAbilityClient::GetProxy(I18nErrorCode &err) in GetProxy() 42 I18nErrorCode err = I18nErrorCode::SUCCESS; in SetSystemLanguage() local 52 I18nErrorCode err = I18nErrorCode::SUCCESS; in SetSystemRegion() local 62 I18nErrorCode err = I18nErrorCode::SUCCESS; in SetSystemLocale() local 72 I18nErrorCode err = I18nErrorCode::SUCCESS; in Set24HourClock() local 82 I18nErrorCode err = I18nErrorCode::SUCCESS; in SetUsingLocalDigit() local 92 I18nErrorCode err = I18nErrorCode::SUCCESS; in AddPreferredLanguage() local 102 I18nErrorCode err = I18nErrorCode::SUCCESS; in RemovePreferredLanguage() local
|