Home
last modified time | relevance | path

Searched refs:TELEPHONY_ERR_SUCCESS (Results 1 – 25 of 71) sorted by relevance

123

/base/telephony/core_service/test/unittest/core_service_gtest/
Dsim_core_service_test.cpp47 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 …]
Dzero_branch_test.cpp704 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 …]
Dsim_test.cpp328 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 …]
Dsim_elementary_file_test.cpp548 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 …]
Dnetwork_search_test.cpp630 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/
Dzero_branch_test.cpp108 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/
Dcellular_data_test.cpp189 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 …]
Dzero_branch_test.cpp94 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/
Demergency_utils.cpp55 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/
Ddata_switch_settings.cpp60 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/
Dsim_manager.cpp130 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 …]
Dmulti_sim_controller.cpp130 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/
Dstate_registry_test.cpp143 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/
Dmms_send_manager.cpp49 if (sendResult == TELEPHONY_ERR_SUCCESS) { in SendMms()
51 return TELEPHONY_ERR_SUCCESS; in SendMms()
Dmms_receive_manager.cpp49 if (downloadResult == TELEPHONY_ERR_SUCCESS) { in DownloadMms()
51 return TELEPHONY_ERR_SUCCESS; in DownloadMms()
/base/telephony/core_service/services/core/src/
Dcore_service_stub.cpp184 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/
Dzero_branch_sms_test.cpp181 …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/
Dnetwork_search_manager.cpp248 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/
Dcellular_data_client.cpp121 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/
Dcore_service_proxy.cpp59 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/
Dshort_message.cpp145 return TELEPHONY_ERR_SUCCESS; in GetScAddress()
198 if (errorCode != TELEPHONY_ERR_SUCCESS) { in CreateMessage()
221 if (errorCode != TELEPHONY_ERR_SUCCESS) { in CreateIccMessage()
Dsms_service_proxy.cpp148 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/
Dcellular_data_settings_rdb_helper.cpp114 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/
Dsms_interface_stub.cpp171 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/
Dset_network_search_mode_callback.cpp35 …asyncContext_->errorCode = ((errorCode == HRIL_ERR_SUCCESS) ? TELEPHONY_ERR_SUCCESS : TELEPHONY_ER… in OnSetNetworkModeCallback()

123