/base/telephony/core_service/test/unittest/core_service_gtest/ |
D | sim_core_service_test.cpp | 47 EXPECT_NE(mCoreService->GetImei(0, testU16Str), TELEPHONY_ERR_SUCCESS); 48 EXPECT_NE(mCoreService->GetMeid(0, testU16Str), TELEPHONY_ERR_SUCCESS); 49 EXPECT_NE(mCoreService->GetUniqueDeviceId(0, testU16Str), TELEPHONY_ERR_SUCCESS); 50 EXPECT_NE(mCoreService->GetNrOptionMode(0, callback), TELEPHONY_ERR_SUCCESS); 52 EXPECT_NE(mCoreService->GetCellInfoList(0, cellInfo), TELEPHONY_ERR_SUCCESS); 53 EXPECT_NE(mCoreService->GetSimIccId(0, testU16Str), TELEPHONY_ERR_SUCCESS); 54 EXPECT_NE(mCoreService->GetIMSI(0, testU16Str), TELEPHONY_ERR_SUCCESS); 56 EXPECT_NE(mCoreService->GetSimGid1(0, testU16Str), TELEPHONY_ERR_SUCCESS); 60 EXPECT_NE(mCoreService->UnlockPin(0, testU16Str, mLockStatusResponse), TELEPHONY_ERR_SUCCESS); 61 …NE(mCoreService->UnlockPuk(0, testU16Str, testU16Str, mLockStatusResponse), TELEPHONY_ERR_SUCCESS); [all …]
|
D | zero_branch_test.cpp | 704 EXPECT_GT(mInner.SetRadioState(0, 0, 0, nullptr), TELEPHONY_ERR_SUCCESS); 705 EXPECT_GT(mInner.GetRadioState(0, 0, nullptr), TELEPHONY_ERR_SUCCESS); 706 EXPECT_GT(mInner.ShutDown(0, 0, nullptr), TELEPHONY_ERR_SUCCESS); 707 EXPECT_GT(mInner.Dial(0, 0, "", 0, nullptr), TELEPHONY_ERR_SUCCESS); 708 EXPECT_GT(mInner.Reject(0, 0, nullptr), TELEPHONY_ERR_SUCCESS); 709 EXPECT_GT(mInner.Hangup(0, 0, 0, nullptr), TELEPHONY_ERR_SUCCESS); 710 EXPECT_GT(mInner.Answer(0, 0, nullptr), TELEPHONY_ERR_SUCCESS); 711 EXPECT_GT(mInner.GetCallList(0, 0, nullptr), TELEPHONY_ERR_SUCCESS); 712 EXPECT_GT(mInner.HoldCall(0, 0, nullptr), TELEPHONY_ERR_SUCCESS); 713 EXPECT_GT(mInner.UnHoldCall(0, 0, nullptr), TELEPHONY_ERR_SUCCESS); [all …]
|
D | sim_test.cpp | 328 EXPECT_EQ(result, TELEPHONY_ERR_SUCCESS); 344 EXPECT_EQ(result, TELEPHONY_ERR_SUCCESS); 359 EXPECT_NE(result, TELEPHONY_ERR_SUCCESS); 376 EXPECT_EQ(result, TELEPHONY_ERR_SUCCESS); 393 EXPECT_EQ(result, TELEPHONY_ERR_SUCCESS); 409 EXPECT_NE(result, TELEPHONY_ERR_SUCCESS); 426 EXPECT_EQ(result, TELEPHONY_ERR_SUCCESS); 443 EXPECT_EQ(result, TELEPHONY_ERR_SUCCESS); 459 EXPECT_NE(result, TELEPHONY_ERR_SUCCESS); 582 EXPECT_EQ(result, TELEPHONY_ERR_SUCCESS); [all …]
|
D | sim_elementary_file_test.cpp | 548 EXPECT_EQ(result, TELEPHONY_ERR_SUCCESS); 565 EXPECT_EQ(result, TELEPHONY_ERR_SUCCESS); 581 EXPECT_NE(result, TELEPHONY_ERR_SUCCESS); 692 EXPECT_EQ(result, TELEPHONY_ERR_SUCCESS); 709 EXPECT_EQ(result, TELEPHONY_ERR_SUCCESS); 725 EXPECT_NE(result, TELEPHONY_ERR_SUCCESS); 747 EXPECT_EQ(result, TELEPHONY_ERR_SUCCESS); 770 EXPECT_EQ(result, TELEPHONY_ERR_SUCCESS); 814 EXPECT_EQ(result, TELEPHONY_ERR_SUCCESS); 835 EXPECT_EQ(result, TELEPHONY_ERR_SUCCESS); [all …]
|
D | network_search_test.cpp | 630 EXPECT_EQ(result, TELEPHONY_ERR_SUCCESS); 649 EXPECT_EQ(result, TELEPHONY_ERR_SUCCESS); 777 EXPECT_EQ(result, TELEPHONY_ERR_SUCCESS); 797 EXPECT_EQ(result, TELEPHONY_ERR_SUCCESS); 865 …eServiceClient::GetInstance().GetIsoCountryCodeForNetwork(SLOT_ID, result), TELEPHONY_ERR_SUCCESS); 917 ASSERT_TRUE(result == TELEPHONY_ERR_SUCCESS); 945 ASSERT_TRUE(result == TELEPHONY_ERR_SUCCESS); 973 EXPECT_EQ(TELEPHONY_ERR_SUCCESS, result); 1001 EXPECT_EQ(TELEPHONY_ERR_SUCCESS, result); 1028 EXPECT_NE(TELEPHONY_ERR_SUCCESS, result); [all …]
|
/base/telephony/call_manager/test/unittest/call_manager_gtest/src/ |
D | zero_branch_test.cpp | 108 ASSERT_NE(callRequestHandler->DialCall(), TELEPHONY_ERR_SUCCESS); 109 ASSERT_NE(callRequestHandler->AnswerCall(1, 1), TELEPHONY_ERR_SUCCESS); 111 ASSERT_NE(callRequestHandler->RejectCall(1, true, content), TELEPHONY_ERR_SUCCESS); 112 ASSERT_NE(callRequestHandler->HangUpCall(1), TELEPHONY_ERR_SUCCESS); 113 ASSERT_NE(callRequestHandler->HoldCall(1), TELEPHONY_ERR_SUCCESS); 114 ASSERT_NE(callRequestHandler->UnHoldCall(1), TELEPHONY_ERR_SUCCESS); 115 ASSERT_NE(callRequestHandler->SwitchCall(1), TELEPHONY_ERR_SUCCESS); 116 ASSERT_NE(callRequestHandler->CombineConference(1), TELEPHONY_ERR_SUCCESS); 117 ASSERT_NE(callRequestHandler->SeparateConference(1), TELEPHONY_ERR_SUCCESS); 118 ASSERT_NE(callRequestHandler->KickOutFromConference(1), TELEPHONY_ERR_SUCCESS); [all …]
|
/base/telephony/cellular_data/test/ |
D | cellular_data_test.cpp | 189 if (result != TELEPHONY_ERR_SUCCESS) { in SetUpTestCase() 193 ASSERT_TRUE(enable == TELEPHONY_ERR_SUCCESS); in SetUpTestCase() 330 ASSERT_TRUE(result == TELEPHONY_ERR_SUCCESS); 333 ASSERT_TRUE(result == TELEPHONY_ERR_SUCCESS); 335 ASSERT_TRUE(result != TELEPHONY_ERR_SUCCESS); 349 ASSERT_TRUE(result == TELEPHONY_ERR_SUCCESS); 368 ASSERT_TRUE(result == TELEPHONY_ERR_SUCCESS); 370 ASSERT_TRUE(result != TELEPHONY_ERR_SUCCESS); 389 ASSERT_TRUE(result == TELEPHONY_ERR_SUCCESS); 419 ASSERT_TRUE(result == TELEPHONY_ERR_SUCCESS); [all …]
|
D | zero_branch_test.cpp | 94 ASSERT_NE(cellularDataHandler.SetCellularDataEnable(true), TELEPHONY_ERR_SUCCESS); 101 ASSERT_NE(cellularDataHandler.SetCellularDataRoamingEnabled(true), TELEPHONY_ERR_SUCCESS); 214 ASSERT_NE(TELEPHONY_ERR_SUCCESS, service.IsCellularDataEnabled(dataEnabled)); 215 ASSERT_NE(TELEPHONY_ERR_SUCCESS, service.EnableCellularData(false)); 216 ASSERT_NE(TELEPHONY_ERR_SUCCESS, service.GetCellularDataState()); 217 …ASSERT_NE(TELEPHONY_ERR_SUCCESS, service.IsCellularDataRoamingEnabled(INVALID_SLOTID, dataRoamingE… 218 ASSERT_NE(TELEPHONY_ERR_SUCCESS, service.EnableCellularDataRoaming(INVALID_SLOTID, false)); 219 ASSERT_NE(TELEPHONY_ERR_SUCCESS, service.HandleApnChanged(INVALID_SLOTID)); 220 ASSERT_NE(TELEPHONY_ERR_SUCCESS, service.GetDefaultCellularDataSlotId()); 221 ASSERT_NE(TELEPHONY_ERR_SUCCESS, service.SetDefaultCellularDataSlotId(INVALID_SLOTID)); [all …]
|
/base/telephony/cellular_call/services/common/src/ |
D | emergency_utils.cpp | 55 return TELEPHONY_ERR_SUCCESS; in IsEmergencyCallProcessing() 65 return TELEPHONY_ERR_SUCCESS; in IsEmergencyCallProcessing() 73 return TELEPHONY_ERR_SUCCESS; in IsEmergencyCallProcessing() 77 return TELEPHONY_ERR_SUCCESS; in IsEmergencyCallProcessing()
|
/base/telephony/cellular_data/services/src/ |
D | data_switch_settings.cpp | 60 if (result == TELEPHONY_ERR_SUCCESS) { in SetUserDataOn() 76 if (ret != TELEPHONY_ERR_SUCCESS) { in IsUserDataOn() 82 return TELEPHONY_ERR_SUCCESS; in IsUserDataOn() 103 if (result == TELEPHONY_ERR_SUCCESS) { in SetUserDataRoamingOn() 126 if (ret != TELEPHONY_ERR_SUCCESS) { in IsUserDataRoamingOn() 132 return TELEPHONY_ERR_SUCCESS; in IsUserDataRoamingOn()
|
/base/telephony/core_service/services/sim/src/ |
D | sim_manager.cpp | 130 return TELEPHONY_ERR_SUCCESS; in HasSimCard() 141 return TELEPHONY_ERR_SUCCESS; in HasSimCard() 155 return TELEPHONY_ERR_SUCCESS; in GetSimState() 158 return TELEPHONY_ERR_SUCCESS; in GetSimState() 168 return TELEPHONY_ERR_SUCCESS; in GetCardType() 281 if (ret == TELEPHONY_ERR_SUCCESS && multiSimMonitor_ != nullptr) { in SetActiveSim() 307 if (ret == TELEPHONY_ERR_SUCCESS && multiSimMonitor_ != nullptr) { in SetDefaultVoiceSlotId() 324 if (ret == TELEPHONY_ERR_SUCCESS && multiSimMonitor_ != nullptr) { in SetDefaultSmsSlotId() 341 if (ret == TELEPHONY_ERR_SUCCESS && multiSimMonitor_ != nullptr) { in SetDefaultCellularDataSlotId() 358 if (ret == TELEPHONY_ERR_SUCCESS && multiSimMonitor_ != nullptr) { in SetPrimarySlotId() [all …]
|
D | multi_sim_controller.cpp | 130 result = (SetActiveSim(slotId, ACTIVE, true) == TELEPHONY_ERR_SUCCESS); in InitActive() 133 if (result && (SetActiveSim(slotId, DEACTIVE, true) == TELEPHONY_ERR_SUCCESS)) { in InitActive() 253 return result == TELEPHONY_ERR_SUCCESS; in InitShowName() 275 return result == TELEPHONY_ERR_SUCCESS; in InitShowNumber() 435 return TELEPHONY_ERR_SUCCESS; in SetActiveSim() 481 return TELEPHONY_ERR_SUCCESS; in GetSimAccountInfo() 551 return TELEPHONY_ERR_SUCCESS; in SetDefaultVoiceSlotId() 557 return TELEPHONY_ERR_SUCCESS; in SetDefaultVoiceSlotId() 614 return TELEPHONY_ERR_SUCCESS; in SetDefaultSmsSlotId() 620 return TELEPHONY_ERR_SUCCESS; in SetDefaultSmsSlotId() [all …]
|
/base/telephony/state_registry/test/unittest/state_test/ |
D | state_registry_test.cpp | 143 EXPECT_EQ(TELEPHONY_ERR_SUCCESS, ret); in UpdateCallState() 156 EXPECT_EQ(TELEPHONY_ERR_SUCCESS, ret); in UpdateCallStateForSlotId() 168 EXPECT_EQ(TELEPHONY_ERR_SUCCESS, ret); in UpdateSignalInfo() 179 EXPECT_EQ(TELEPHONY_ERR_SUCCESS, ret); in UpdateCellularDataConnectState() 189 EXPECT_EQ(TELEPHONY_ERR_SUCCESS, ret); in UpdateCellularDataFlow() 201 EXPECT_EQ(TELEPHONY_ERR_SUCCESS, ret); in UpdateSimState() 212 EXPECT_EQ(TELEPHONY_ERR_SUCCESS, ret); in UpdateNetworkState() 222 EXPECT_EQ(TELEPHONY_ERR_SUCCESS, ret); in UpdateCfuIndicator() 232 EXPECT_EQ(TELEPHONY_ERR_SUCCESS, ret); in UpdateVoiceMailMsgIndicator() 239 EXPECT_EQ(TELEPHONY_ERR_SUCCESS, ret); in UpdateIccAccount() [all …]
|
/base/telephony/sms_mms/services/mms/ |
D | mms_send_manager.cpp | 49 if (sendResult == TELEPHONY_ERR_SUCCESS) { in SendMms() 51 return TELEPHONY_ERR_SUCCESS; in SendMms()
|
D | mms_receive_manager.cpp | 49 if (downloadResult == TELEPHONY_ERR_SUCCESS) { in DownloadMms() 51 return TELEPHONY_ERR_SUCCESS; in DownloadMms()
|
/base/telephony/core_service/services/core/src/ |
D | core_service_stub.cpp | 184 if (result == TELEPHONY_ERR_SUCCESS) { in OnGetPsRadioTech() 196 if (result == TELEPHONY_ERR_SUCCESS) { in OnGetCsRadioTech() 216 if (result == TELEPHONY_ERR_SUCCESS) { in OnGetOperatorName() 228 if (result != TELEPHONY_ERR_SUCCESS) { in OnGetSignalInfoList() 244 if (result == TELEPHONY_ERR_SUCCESS) { in OnGetNetworkState() 306 if (result == TELEPHONY_ERR_SUCCESS) { in OnGetIsoCountryCodeForNetwork() 321 if (result != TELEPHONY_ERR_SUCCESS) { in OnGetImei() 340 if (result != TELEPHONY_ERR_SUCCESS) { in OnGetMeid() 359 if (result != TELEPHONY_ERR_SUCCESS) { in OnGetUniqueDeviceId() 433 if (result == TELEPHONY_ERR_SUCCESS) { in OnHasSimCard() [all …]
|
/base/telephony/sms_mms/test/gtest/ |
D | zero_branch_sms_test.cpp | 181 …CT_TRUE(shortMessage->CreateMessage(pdu, specification, ShortMessageObj) != TELEPHONY_ERR_SUCCESS); 425 EXPECT_EQ(smsSendManager->GetImsShortMessageFormat(format), TELEPHONY_ERR_SUCCESS); 429 EXPECT_EQ(smsSendManager->GetImsShortMessageFormat(format), TELEPHONY_ERR_SUCCESS); 435 EXPECT_EQ(smsSendManager->GetImsShortMessageFormat(format), TELEPHONY_ERR_SUCCESS); 457 EXPECT_GT(smsSendManager->SplitMessage(scAddr, splitMessage), TELEPHONY_ERR_SUCCESS); 458 EXPECT_GT(smsSendManager->GetSmsSegmentsInfo(scAddr, true, lenInfo), TELEPHONY_ERR_SUCCESS); 459 … EXPECT_GT(smsSendManager->IsImsSmsSupported(INVALID_SLOTID, isSupported), TELEPHONY_ERR_SUCCESS); 463 … EXPECT_GT(smsSendManager->IsImsSmsSupported(INVALID_SLOTID, isSupported), TELEPHONY_ERR_SUCCESS); 466 … EXPECT_GT(smsSendManager->IsImsSmsSupported(INVALID_SLOTID, isSupported), TELEPHONY_ERR_SUCCESS); 474 … EXPECT_GT(smsSendManager->IsImsSmsSupported(INVALID_SLOTID, isSupported), TELEPHONY_ERR_SUCCESS); [all …]
|
/base/telephony/core_service/services/network_search/src/ |
D | network_search_manager.cpp | 248 return TELEPHONY_ERR_SUCCESS; in SetRadioState() 405 return TELEPHONY_ERR_SUCCESS; in GetPsRadioTech() 421 return TELEPHONY_ERR_SUCCESS; in GetCsRadioTech() 496 return TELEPHONY_ERR_SUCCESS; in GetOperatorName() 508 return TELEPHONY_ERR_SUCCESS; in GetNetworkStatus() 551 return TELEPHONY_ERR_SUCCESS; in GetRadioState() 562 return TELEPHONY_ERR_SUCCESS; in GetSignalInfoList() 576 return TELEPHONY_ERR_SUCCESS; in GetNetworkSearchInformation() 637 return TELEPHONY_ERR_SUCCESS; in GetNetworkSelectionMode() 677 return TELEPHONY_ERR_SUCCESS; in SetNetworkSelectionMode() [all …]
|
/base/telephony/cellular_data/frameworks/native/ |
D | cellular_data_client.cpp | 121 if (ret == TELEPHONY_ERR_SUCCESS) { in RegisterSimAccountCallback() 157 return TELEPHONY_ERR_SUCCESS; in GetDefaultCellularDataSimId() 165 if (result == TELEPHONY_ERR_SUCCESS) { in GetDefaultCellularDataSimId() 180 if (result == TELEPHONY_ERR_SUCCESS) { in SetDefaultCellularDataSlotId() 184 if (ret == TELEPHONY_ERR_SUCCESS) { in SetDefaultCellularDataSlotId()
|
/base/telephony/core_service/frameworks/native/src/ |
D | core_service_proxy.cpp | 59 if (result == TELEPHONY_ERR_SUCCESS) { in GetPsRadioTech() 87 if (result == TELEPHONY_ERR_SUCCESS) { in GetCsRadioTech() 138 if (result == TELEPHONY_ERR_SUCCESS) { in GetOperatorName() 168 if (result == TELEPHONY_ERR_SUCCESS) { in GetBasebandVersion() 222 if (result == TELEPHONY_ERR_SUCCESS) { in GetNetworkState() 250 if (result == TELEPHONY_ERR_SUCCESS) { in GetSignalInfoList() 428 if (result == TELEPHONY_ERR_SUCCESS) { in GetIsoCountryCodeForNetwork() 456 if (result == TELEPHONY_ERR_SUCCESS) { in GetImei() 484 if (result == TELEPHONY_ERR_SUCCESS) { in GetMeid() 512 if (result == TELEPHONY_ERR_SUCCESS) { in GetUniqueDeviceId() [all …]
|
/base/telephony/sms_mms/frameworks/native/sms/src/ |
D | short_message.cpp | 145 return TELEPHONY_ERR_SUCCESS; in GetScAddress() 198 if (errorCode != TELEPHONY_ERR_SUCCESS) { in CreateMessage() 221 if (errorCode != TELEPHONY_ERR_SUCCESS) { in CreateIccMessage()
|
D | sms_service_proxy.cpp | 148 if (result == TELEPHONY_ERR_SUCCESS) { in GetSmscAddr() 246 if (result != TELEPHONY_ERR_SUCCESS) { in GetAllSimMessages() 370 if (result == TELEPHONY_ERR_SUCCESS) { in GetDefaultSmsSimId() 394 if (result != TELEPHONY_ERR_SUCCESS) { in SplitMessage() 431 if (result != TELEPHONY_ERR_SUCCESS) { in GetSmsSegmentsInfo() 441 return TELEPHONY_ERR_SUCCESS; in GetSmsSegmentsInfo() 463 if (result != TELEPHONY_ERR_SUCCESS) { in IsImsSmsSupported() 489 if (result == TELEPHONY_ERR_SUCCESS) { in GetImsShortMessageFormat() 538 if (result != TELEPHONY_ERR_SUCCESS) { in SendMms() 566 if (result != TELEPHONY_ERR_SUCCESS) { in DownloadMms() [all …]
|
/base/telephony/cellular_data/services/src/utils/ |
D | cellular_data_settings_rdb_helper.cpp | 114 return TELEPHONY_ERR_SUCCESS; in GetValue() 132 if (getValueRet != TELEPHONY_ERR_SUCCESS) { in PutValue() 161 return TELEPHONY_ERR_SUCCESS; in PutValue()
|
/base/telephony/sms_mms/services/sms/ |
D | sms_interface_stub.cpp | 171 if (bundleName != MMS_APP && result == TELEPHONY_ERR_SUCCESS) { in OnSendSmsTextRequest() 247 if (result != TELEPHONY_ERR_SUCCESS) { in OnGetSmscAddr() 297 if (result != TELEPHONY_ERR_SUCCESS) { in OnGetAllSimMessages() 355 if (result != TELEPHONY_ERR_SUCCESS) { in OnGetDefaultSmsSimId() 371 if (result != TELEPHONY_ERR_SUCCESS) { in OnSplitMessage() 393 if (result == TELEPHONY_ERR_SUCCESS) { in OnGetSmsSegmentsInfo() 410 if (result != TELEPHONY_ERR_SUCCESS) { in OnIsImsSmsSupported() 425 if (result != TELEPHONY_ERR_SUCCESS) { in OnGetImsShortMessageFormat() 445 if (result != TELEPHONY_ERR_SUCCESS) { in OnCreateMessage() 545 return TELEPHONY_ERR_SUCCESS; in OnRemoteRequest()
|
/base/telephony/core_service/frameworks/js/network_search/src/ |
D | set_network_search_mode_callback.cpp | 35 …asyncContext_->errorCode = ((errorCode == HRIL_ERR_SUCCESS) ? TELEPHONY_ERR_SUCCESS : TELEPHONY_ER… in OnSetNetworkModeCallback()
|