/base/account/os_account/frameworks/appaccount/native/test/unittest/ |
D | app_account_manager_test.cpp | 140 ErrCode result = AppAccountManager::AddAccount(STRING_EMPTY); variable 154 ErrCode result = AppAccountManager::AddAccount(STRING_NAME_OUT_OF_RANGE); variable 168 ErrCode result = AppAccountManager::AddAccount(STRING_NAME, STRING_EXTRA_INFO_OUT_OF_RANGE); variable 182 ErrCode result = AppAccountManager::AddAccount(STRING_NAME, STRING_EXTRA_INFO); variable 196 ErrCode result = AppAccountManager::CreateAccount(STRING_NAME_OUT_OF_RANGE, option); variable 210 ErrCode result = AppAccountManager::CreateAccount(STRING_EMPTY, option); variable 225 ErrCode result = AppAccountManager::CreateAccount(STRING_EMPTY, option); variable 240 ErrCode result = AppAccountManager::CreateAccount(STRING_EMPTY, option); variable 260 ErrCode result = AppAccountManager::CreateAccount(STRING_EMPTY, option); variable 275 …ErrCode result = AppAccountManager::AddAccountImplicitly(STRING_OWNER, STRING_AUTH_TYPE, options, … variable [all …]
|
/base/telephony/core_service/test/unittest/core_service_gtest/ |
D | sim_elementary_file_test.cpp | 46 std::string result = "testresult"; variable 64 std::string result = "testresult"; variable 85 std::string result = Str16ToStr8(iccId); variable 103 std::string result = Str16ToStr8(iccId); variable 120 std::string result = Str16ToStr8(iccId); variable 137 std::string result = Str16ToStr8(operatorNumeric); variable 154 std::string result = Str16ToStr8(operatorNumeric); variable 172 std::string result = Str16ToStr8(imsi); variable 190 std::string result = Str16ToStr8(imsi); variable 207 std::string result = Str16ToStr8(imsi); variable [all …]
|
D | sim_test.cpp | 189 int32_t result = CoreServiceClient::GetInstance().GetSimState(SimTest::slotId_, simState); variable 205 int32_t result = CoreServiceClient::GetInstance().GetSimState(SimTest::slotId1_, simState); variable 220 int32_t result = SimTest::HasSimCard(SimTest::slotId_); variable 235 int32_t result = SimTest::HasSimCard(SimTest::slotId1_); variable 252 std::string result = Str16ToStr8(countryCode); variable 269 std::string result = Str16ToStr8(countryCode); variable 285 std::string result = "test"; variable 303 …int32_t result = CoreServiceClient::GetInstance().SetVoiceCallForwarding(SimTest::slotId_, true, n… variable 319 int32_t result = CoreServiceClient::GetInstance().GetDefaultVoiceSlotId(); variable 335 int32_t result = CoreServiceClient::GetInstance().SetDefaultVoiceSlotId(SimTest::slotId_); variable [all …]
|
D | network_search_test_time_zone.cpp | 41 int32_t result = CoreServiceClient::GetInstance().FactoryReset(SLOT_ID_0); variable 59 int32_t result = CoreServiceClient::GetInstance().FactoryReset(SLOT_ID_1); variable 77 int32_t result = CoreServiceClient::GetInstance().FactoryReset(SLOT_ID_0); variable 96 int32_t result = CoreServiceClient::GetInstance().GetNrSsbIdInfo(SLOT_ID_0, nrCellSsbIdsInfo); variable 116 int32_t result = CoreServiceClient::GetInstance().GetNrSsbIdInfo(SLOT_ID_1, nrCellSsbIdsInfo); variable 135 int32_t result = CoreServiceClient::GetInstance().GetNrSsbIdInfo(SLOT_ID_0, nrCellSsbIdsInfo); variable
|
D | network_search_test.cpp | 411 void NetworkSearchTest::PrintNetworkStateInformation(sptr<NetworkState> result) in PrintNetworkStateInformation() 446 int32_t result = -1; variable 465 int32_t result = -1; variable 485 int32_t result = CoreServiceClient::GetInstance().GetPsRadioTech(SLOT_ID, radioTech); variable 502 int32_t result = -1; variable 520 int32_t result = -1; variable 539 int32_t result = CoreServiceClient::GetInstance().GetCsRadioTech(SLOT_ID, radioTech); variable 556 sptr<NetworkState> result = nullptr; variable 585 sptr<NetworkState> result = nullptr; variable 610 sptr<NetworkState> result = nullptr; variable [all …]
|
/base/account/os_account/frameworks/test/unittest/ |
D | account_appaccount_proxy_mock_test.cpp | 83 ErrCode result = AppAccountManager::AddAccount(STRING_NAME, STRING_EXTRA_INFO); variable 96 ErrCode result = AppAccountManager::CreateAccount("test", option); variable 112 …ErrCode result = AppAccountManager::AddAccountImplicitly(STRING_OWNER, STRING_AUTH_TYPE, options, … variable 128 ErrCode result = AppAccountManager::CreateAccountImplicitly(STRING_OWNER, options, callback); variable 140 ErrCode result = AppAccountManager::DeleteAccount(STRING_NAME); variable 153 ErrCode result = AppAccountManager::GetAccountExtraInfo(STRING_NAME, extraInfo); variable 165 ErrCode result = AppAccountManager::SetAccountExtraInfo(STRING_NAME, STRING_EXTRA_INFO); variable 178 ErrCode result = AppAccountManager::EnableAppAccess(STRING_NAME, STRING_BUNDLE_NAME); variable 190 ErrCode result = AppAccountManager::DisableAppAccess(STRING_NAME, STRING_BUNDLE_NAME); variable 202 ErrCode result = AppAccountManager::SetAppAccess(STRING_NAME, STRING_BUNDLE_NAME, false); variable [all …]
|
/base/account/os_account/services/accountmgr/test/moduletest/app_account/ |
D | app_account_manager_service_module_test.cpp | 129 ErrCode result = dataStoragePtr->DeleteKvStore(); in TearDownTestCase() local 167 ErrCode result = g_accountManagerService->AddAccount(STRING_NAME, STRING_EXTRA_INFO); variable 184 ErrCode result = g_accountManagerService->AddAccount(STRING_NAME, STRING_EMPTY); variable 201 ErrCode result = g_accountManagerService->AddAccount(STRING_NAME, STRING_EXTRA_INFO); variable 218 ErrCode result = g_accountManagerService->AddAccount(STRING_NAME_MAX_SIZE, STRING_EXTRA_INFO); variable 235 ErrCode result = g_accountManagerService->AddAccount(STRING_NAME, STRING_EXTRA_INFO); variable 256 ErrCode result = g_accountManagerService->CreateAccount(STRING_NAME, option); variable 274 ErrCode result = g_accountManagerService->AddAccount(STRING_NAME, STRING_EXTRA_INFO); variable 302 ErrCode result = g_accountManagerService->DeleteAccount(STRING_NAME_NOT_EXISTED); variable 316 ErrCode result = g_accountManagerService->AddAccount(STRING_NAME, STRING_EXTRA_INFO); variable [all …]
|
/base/account/os_account/frameworks/appaccount/native/test/moduletest/ |
D | app_account_manager_module_test.cpp | 96 ErrCode result = AppAccountManager::AddAccount(STRING_NAME, STRING_EXTRA_INFO); variable 110 ErrCode result = AppAccountManager::AddAccount(STRING_NAME_MAX_SIZE, STRING_EXTRA_INFO); variable 124 ErrCode result = AppAccountManager::CreateAccount(STRING_NAME, option); variable 139 ErrCode result = AppAccountManager::CreateAccount(STRING_NAME_MAX_SIZE, option); variable 153 ErrCode result = AppAccountManager::DeleteAccount(STRING_NAME); variable 168 ErrCode result = AppAccountManager::GetAccountExtraInfo(STRING_NAME, extraInfo); variable 182 ErrCode result = AppAccountManager::SetAccountExtraInfo(STRING_NAME, STRING_EXTRA_INFO); variable 196 ErrCode result = AppAccountManager::EnableAppAccess(STRING_NAME, STRING_AUTHORIZED_APP); variable 210 ErrCode result = AppAccountManager::SetAppAccess(STRING_NAME, STRING_AUTHORIZED_APP, true); variable 224 ErrCode result = AppAccountManager::DisableAppAccess(STRING_NAME, STRING_AUTHORIZED_APP); variable [all …]
|
/base/inputmethod/imf/test/unittest/cpp_test/src/ |
D | input_method_service_test.cpp | 77 bool result = KeyEventUtil::SimulateKeyEvent(MMI::KeyEvent::KEYCODE_0); variable 90 …bool result = KeyEventUtil::SimulateKeyEvents({ MMI::KeyEvent::KEYCODE_0, MMI::KeyEvent::KEYCODE_1… variable 103 bool result = KeyEventUtil::SimulateKeyEvent(MMI::KeyEvent::KEYCODE_CAPS_LOCK); variable 116 bool result = KeyEventUtil::SimulateKeyEvent(MMI::KeyEvent::KEYCODE_CTRL_LEFT); variable 129 bool result = KeyEventUtil::SimulateKeyEvent(MMI::KeyEvent::KEYCODE_CTRL_RIGHT); variable 142 bool result = KeyEventUtil::SimulateKeyEvent(MMI::KeyEvent::KEYCODE_SHIFT_LEFT); variable 155 bool result = KeyEventUtil::SimulateKeyEvent(MMI::KeyEvent::KEYCODE_SHIFT_RIGHT); variable 168 bool result = variable 182 bool result = variable 196 bool result = variable [all …]
|
/base/print/print_fwk/test/unittest/fwk_inner_napi_test/ |
D | print_utils_test.cpp | 54 std::string result = PrintUtils::ToLower("TEST"); variable 68 std::string result = PrintUtils::GetExtensionId(gid); variable 82 std::string result = PrintUtils::GetExtensionId(gid); variable 97 std::string result = PrintUtils::GetGlobalId(id, localId); variable 112 std::string result = PrintUtils::GetLocalId(gid, id); variable 127 std::string result = PrintUtils::GetLocalId(gid, id); variable 142 std::string result = PrintUtils::GetLocalId(gid, id); variable 157 std::string result = PrintUtils::EncodeExtensionCid(gid, cid); variable 202 std::string result = PrintUtils::GetTaskEventId(taskId, type); variable 214 int32_t result = PrintUtils::OpenFile("/error"); variable [all …]
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_proxy_test/ |
D | ans_manager_proxy_unit_test.cpp | 264 int32_t result = proxy->Publish(label, notification); variable 287 int32_t result = proxy->Publish(label, notification); variable 310 int32_t result = proxy->Publish(label, notification); variable 335 int32_t result = proxy->Publish(label, notification); variable 358 int32_t result = proxy->Publish(label, notification); variable 383 int32_t result = proxy->Publish(label, notification); variable 436 auto result = request.CheckLockScreenPictureSizeForLiveView(basicContent); variable 467 int32_t result = proxy->Cancel(notificationId, label); variable 488 int32_t result = proxy->Cancel(notificationId, label); variable 511 int32_t result = proxy->Cancel(notificationId, label); variable [all …]
|
/base/msdp/device_status/libs/test/unittest/src/ |
D | device_status_algorithm_test.cpp | 143 bool result = g_manager->StartSensor(Type::TYPE_ABSOLUTE_STILL); variable 161 bool result = g_manager->StartSensor(Type::TYPE_HORIZONTAL_POSITION); variable 179 bool result = g_manager->StartSensor(Type::TYPE_INVALID); variable 200 bool result = g_manager->StartSensor(Type::TYPE_LID_OPEN); variable 232 bool result = g_manager->StartSensor(Type::TYPE_ABSOLUTE_STILL); variable 251 bool result = g_manager->StartSensor(Type::TYPE_ABSOLUTE_STILL); variable 270 bool result = g_manager->StartSensor(Type::TYPE_ABSOLUTE_STILL); variable 289 bool result = g_manager->StartSensor(Type::TYPE_ABSOLUTE_STILL); variable 313 bool result = g_manager->StartSensor(Type::TYPE_ABSOLUTE_STILL); variable 327 bool result = g_manager->StartSensor(Type::TYPE_ABSOLUTE_STILL); variable [all …]
|
/base/account/os_account/services/accountmgr/test/unittest/app_account/ |
D | app_account_test.cpp | 141 ErrCode result = AppAccount::GetInstance().AddAccount(STRING_NAME, STRING_EXTRA_INFO); variable 156 ErrCode result = AppAccount::GetInstance().AddAccount(STRING_NAME_EMPTY, STRING_EXTRA_INFO); variable 171 ErrCode result = AppAccount::GetInstance().AddAccount(STRING_NAME, STRING_EXTRA_INFO_EMPTY); variable 186 …ErrCode result = AppAccount::GetInstance().AddAccount(STRING_NAME_OUT_OF_RANGE, STRING_EXTRA_INFO); variable 201 …ErrCode result = AppAccount::GetInstance().AddAccount(STRING_NAME_CONTAINS_SPECIAL_CHARACTERS, STR… variable 216 ErrCode result = AppAccount::GetInstance().AddAccount( variable 231 ErrCode result = AppAccount::GetInstance().AddAccount( variable 246 …ErrCode result = AppAccount::GetInstance().AddAccount(STRING_NAME, STRING_EXTRA_INFO_OUT_OF_RANGE); variable 261 ErrCode result = AppAccount::GetInstance().DeleteAccount(STRING_NAME); variable 276 ErrCode result = AppAccount::GetInstance().DeleteAccount(STRING_NAME_EMPTY); variable [all …]
|
/base/telephony/core_service/utils/common/src/ |
D | enum_convert.cpp | 24 std::string result = ""; in GetBoolValue() local 35 std::string result = ""; in GetSimState() local 63 std::string result = "CALL_STATUS_IDLE"; in GetCallState() local 100 std::string result = ""; in GetCardType() local 140 std::string result = ""; in GetCellularDataConnectionState() local 162 std::string result = ""; in GetCellularDataFlow() local 187 std::string result = ""; in GetCellularDataConnectionNetworkType() local 236 std::string result = ""; in GetLockReason() local
|
/base/notification/distributed_notification_service/frameworks/core/src/ |
D | ans_manager_stub.cpp | 365 ErrCode result = fun(this, data, reply); in OnRemoteRequest() local 388 ErrCode result = Publish(label, notification); in HandlePublish() local 410 ErrCode result = Cancel(notificationId, label); in HandleCancel() local 420 ErrCode result = CancelAll(); in HandleCancelAll() local 440 ErrCode result = CancelAsBundle(bundleOption, notificationId); in HandleCancelAsBundleOption() local 468 ErrCode result = CancelAsBundle(notificationId, representativeBundle, userId); in HandleCancelAsBundle() local 494 ErrCode result = CancelAsBundle(bundleOption, notificationId, userId); in HandleCancelAsBundleAndUser() local 505 ErrCode result = AddSlotByType(slotType); in HandleAddSlotByType() local 520 ErrCode result = AddSlots(slots); in HandleAddSlots() local 532 ErrCode result = RemoveSlotByType(slotType); in HandleRemoveSlotByType() local [all …]
|
/base/security/huks/interfaces/kits/c/src/ |
D | native_huks_api.c | 24 struct HksResult result = HksConvertErrCode(ret); in ConvertApiResult() local 30 int32_t result = HksGetSdkVersion((struct HksBlob *) sdkVersion); in OH_Huks_GetSdkVersion() local 37 int32_t result = HksGenerateKey((const struct HksBlob *) keyAlias, in OH_Huks_GenerateKeyItem() local 45 int32_t result = HksImportKey((const struct HksBlob *) keyAlias, in OH_Huks_ImportKeyItem() local 54 int32_t result = HksImportWrappedKey((const struct HksBlob *) keyAlias, in OH_Huks_ImportWrappedKeyItem() local 63 int32_t result = HksExportPublicKey((const struct HksBlob *) keyAlias, in OH_Huks_ExportPublicKeyItem() local 71 …int32_t result = HksDeleteKey((const struct HksBlob *) keyAlias, (const struct HksParamSet *) para… in OH_Huks_DeleteKeyItem() local 78 int32_t result = HksGetKeyParamSet((const struct HksBlob *) keyAlias, in OH_Huks_GetKeyItemParamSet() local 86 …int32_t result = HksKeyExist((const struct HksBlob *) keyAlias, (const struct HksParamSet *) param… in OH_Huks_IsKeyItemExist() local 93 int32_t result = HuksAttestAdapter(keyAlias, paramSet, certChain, false); in OH_Huks_AttestKeyItem() local [all …]
|
D | native_huks_param.c | 23 struct HksResult result = HksConvertErrCode(ret); in ConvertParamResult() local 29 int32_t result = HksInitParamSet((struct HksParamSet **) paramSet); in OH_Huks_InitParamSet() local 36 int32_t result = HksAddParams((struct HksParamSet *) paramSet, in OH_Huks_AddParams() local 43 int32_t result = HksBuildParamSet((struct HksParamSet **) paramSet); in OH_Huks_BuildParamSet() local 55 int32_t result = HksGetParamSet((const struct HksParamSet *) fromParamSet, in OH_Huks_CopyParamSet() local 63 …int32_t result = HksGetParam((const struct HksParamSet *) paramSet, tag, (struct HksParam **) para… in OH_Huks_GetParam() local 69 int32_t result = HksFreshParamSet((struct HksParamSet *) paramSet, isCopy); in OH_Huks_FreshParamSet() local 75 int32_t result = HksCheckParamSetTag((const struct HksParamSet *) paramSet); in OH_Huks_IsParamSetTagValid() local 81 int32_t result = HksCheckParamSet((const struct HksParamSet *) paramSet, size); in OH_Huks_IsParamSetValid() local 87 …int32_t result = HksCheckParamMatch((const struct HksParam *) baseParam, (const struct HksParam *)… in OH_Huks_CheckParamMatch() local
|
/base/web/webview/test/unittest/pasteboard_adapter/ |
D | pasteboard_client_adapter_test.cpp | 60 int result = 0; in SetUpTestCase() local 215 int result = 0; variable 237 int result = 0; variable 263 int result = 0; variable 301 int result = 0; variable 322 int result = 0; variable 343 int result = 0; variable 359 int result = 0; variable 375 int result = 0; variable 424 int result = 0; variable [all …]
|
/base/telephony/call_manager/services/call_manager_service/src/ |
D | call_manager_service_stub.cpp | 236 int32_t result = RegisterVoipCallManagerCallback(); in OnRegisterVoipCallManagerCallback() local 248 int32_t result = TELEPHONY_ERR_FAIL; in OnUnRegisterVoipCallManagerCallback() local 279 int32_t result = TELEPHONY_ERR_FAIL; in OnRegisterCallBack() local 294 int32_t result = TELEPHONY_ERR_FAIL; in OnUnRegisterCallBack() local 305 int32_t result = TELEPHONY_ERR_FAIL; in OnObserverOnCallDetailsChange() local 316 int32_t result = TELEPHONY_ERR_FAIL; in OnDialCall() local 342 int32_t result = AnswerCall(callId, videoState); in OnAcceptCall() local 356 int32_t result = RejectCall(callId, isSendSms, content); in OnRejectCall() local 368 int32_t result = HangUpCall(callId); in OnHangUpCall() local 379 int32_t result = GetCallState(); in OnGetCallState() local [all …]
|
/base/notification/common_event_service/test/systemtest/common/acts/actsCESSubscribeInfoTest/ |
D | actsCESSubscribeInfoTest.cpp | 80 bool result = false; variable 109 bool result = false; variable 138 bool result = false; variable 167 bool result = false; variable 196 bool result = false; variable 225 bool result = false; variable 255 bool result = false; variable 284 bool result = false; variable 313 bool result = false; variable 342 bool result = false; variable [all …]
|
/base/theme/screenlock_mgr/test/unittest/ |
D | screenlock_client_test.cpp | 83 bool result = ScreenLockManager::GetInstance()->GetSecure(); variable 99 int32_t result = ScreenLockManager::GetInstance()->Lock(listener); variable 128 int32_t result = ScreenLockAppManager::GetInstance()->OnSystemEvent(listener); variable 143 int32_t result = ScreenLockAppManager::GetInstance()->SendScreenLockEvent("test", testNum); variable 158 int32_t result = ScreenLockAppManager::GetInstance()->OnSystemEvent(listener); variable 193 int32_t result = proxy->OnSystemEvent(listener); variable 216 int32_t result = proxy->Lock(userId); variable
|
/base/telephony/cellular_data/services/src/ |
D | cellular_data_service_stub.cpp | 57 int32_t result = IsCellularDataEnabled(dataEnabled); in OnIsCellularDataEnabled() local 75 int32_t result = EnableCellularData(enable); in OnEnableCellularData() local 86 int32_t result = EnableIntelligenceSwitch(enable); in OnEnableIntelligenceSwitch() local 96 int32_t result = GetCellularDataState(); in OnGetCellularDataState() local 108 int32_t result = IsCellularDataRoamingEnabled(slotId, dataRoamingEnabled); in OnIsCellularDataRoamingEnabled() local 128 int32_t result = EnableCellularDataRoaming(slotId, enable); in OnEnableCellularDataRoaming() local 139 int32_t result = GetIntelligenceSwitchState(switchState); in OnGetIntelligenceSwitchState() local 157 int32_t result = HandleApnChanged(slotId); in OnHandleApnChanged() local 167 int32_t result = GetDefaultCellularDataSlotId(); in OnGetDefaultCellularDataSlotId() local 178 int32_t result = GetDefaultCellularDataSimId(simId); in OnGetDefaultCellularDataSimId() local [all …]
|
/base/time/time_service/test/unittest/service_test/src/ |
D | time_dfx_test.cpp | 70 bool TimeDfxTest::ExecuteCmd(const std::string &cmd, std::string &result) in ExecuteCmd() 93 std::string result; variable 107 std::string result; variable 129 std::string result; variable 155 std::string result; variable 173 std::string result; variable 188 std::string result; variable 211 std::string result; variable 226 std::string result; variable 259 std::string result; variable [all …]
|
/base/account/os_account/services/accountmgr/src/osaccount/ |
D | os_account_stub.cpp | 451 ErrCode result = AccountPermissionManager::CheckSystemApp(); in OnRemoteRequest() local 489 static ErrCode WriteResultWithOsAccountInfo(MessageParcel &reply, int32_t result, const OsAccountIn… in WriteResultWithOsAccountInfo() 512 ErrCode result = CreateOsAccount(name, type, osAccountInfo); in ProcCreateOsAccount() local 543 ErrCode result = CreateOsAccount(localName, shortName, osAccountType, osAccountInfo, *options); in ProcCreateOsAccountWithShortName() local 562 ErrCode result = CreateOsAccountWithFullInfo(*info); in ProcCreateOsAccountWithFullInfo() local 584 ErrCode result = UpdateOsAccountWithFullInfo(*info); in ProcUpdateOsAccountWithFullInfo() local 625 ErrCode result = CreateOsAccountForDomain(type, *info, callback, *options); in ProcCreateOsAccountForDomain() local 637 ErrCode result = RemoveOsAccount(localId); in ProcRemoveOsAccount() local 653 ErrCode result = SetOsAccountName(localId, localName); in ProcSetOsAccountName() local 675 ErrCode result = SetOsAccountConstraints(localId, constraints, enable); in ProcSetOsAccountConstraints() local [all …]
|
/base/startup/appspawn/test/moduletest/ |
D | appspawn_module_test.cpp | 627 AppSpawnResult result; variable 655 AppSpawnResult result; variable 683 AppSpawnResult result; variable 702 AppSpawnResult result; variable 721 AppSpawnResult result; variable 750 AppSpawnResult result; variable 771 AppSpawnResult result; variable 793 AppSpawnResult result; variable 815 AppSpawnResult result; variable 837 AppSpawnResult result; variable [all …]
|