Home
last modified time | relevance | path

Searched refs:SIM_SLOT_ID_1 (Results 1 – 4 of 4) sorted by relevance

/base/telephony/cellular_call/vendor/ims/test/unittest/ims_service_gtest/
Dims_service_test.cpp69 callInfoForSlot1_.slotId = SIM_SLOT_ID_1; in Init()
113 if (CoreServiceClient::GetInstance().GetProxy() == nullptr || !HasSimCard(SIM_SLOT_ID_1)) {
164 if (CoreServiceClient::GetInstance().GetProxy() == nullptr || !HasSimCard(SIM_SLOT_ID_1)) {
214 if (CoreServiceClient::GetInstance().GetProxy() == nullptr || !HasSimCard(SIM_SLOT_ID_1)) {
264 if (CoreServiceClient::GetInstance().GetProxy() == nullptr || !HasSimCard(SIM_SLOT_ID_1)) {
310 if (CoreServiceClient::GetInstance().GetProxy() == nullptr || !HasSimCard(SIM_SLOT_ID_1)) {
320 ret = imsCallPtr_->HoldCall(SIM_SLOT_ID_1, CALL_TYPE_IMS);
352 if (CoreServiceClient::GetInstance().GetProxy() == nullptr || !HasSimCard(SIM_SLOT_ID_1)) {
362 ret = imsCallPtr_->UnHoldCall(SIM_SLOT_ID_1, CALL_TYPE_IMS);
394 if (CoreServiceClient::GetInstance().GetProxy() == nullptr || !HasSimCard(SIM_SLOT_ID_1)) {
[all …]
Dims_service_test.h33 static const int32_t SIM_SLOT_ID_1 = 1; variable
/base/telephony/cellular_data/test/
Dcellular_data_test.cpp53 static const int32_t SIM_SLOT_ID_1 = DEFAULT_SIM_SLOT_ID + 1; variable
179 } else if (HasSimCard(SIM_SLOT_ID_1)) { in SetUpTestCase()
180 slotId = SIM_SLOT_ID_1; in SetUpTestCase()
337 if (!HasSimCard(SIM_SLOT_ID_1)) {
345 result = CellularDataTest::SetDefaultCellularDataSlotIdTest(SIM_SLOT_ID_1);
388 if (!HasSimCard(SIM_SLOT_ID_1)) {
392 CellularDataTest::SetDefaultCellularDataSlotIdTest(SIM_SLOT_ID_1);
458 if (!HasSimCard(SIM_SLOT_ID_1)) {
462 CellularDataTest::SetDefaultCellularDataSlotIdTest(SIM_SLOT_ID_1);
468 int32_t enabled = CellularDataTest::EnableCellularDataRoamingTest(SIM_SLOT_ID_1, true);
[all …]
/base/telephony/state_registry/test/unittest/state_test/
Dstate_registry_test.cpp33 static constexpr int32_t SIM_SLOT_ID_1 = DEFAULT_SIM_SLOT_ID + 1; variable
75 …ephony::TelephonyObserverClient::GetInstance().AddStateObserver(telephonyObserver1_, SIM_SLOT_ID_1, in InitTelephonyObserver()
103 SIM_SLOT_ID_1, Telephony::TelephonyObserverBroker::OBSERVER_MASK_NETWORK_STATE | in DisableTelephonyObserver()
248 if (!StateRegistryTest::HasSimCard(SIM_SLOT_ID_1)) {
251 UpdateCallState(SIM_SLOT_ID_1);
274 if (!StateRegistryTest::HasSimCard(SIM_SLOT_ID_1)) {
277 UpdateCallStateForSlotId(SIM_SLOT_ID_1);
300 if (!StateRegistryTest::HasSimCard(SIM_SLOT_ID_1)) {
303 UpdateSignalInfo(SIM_SLOT_ID_1);
326 if (!StateRegistryTest::HasSimCard(SIM_SLOT_ID_1)) {
[all …]