Searched refs:phoneId (Results 1 – 7 of 7) sorted by relevance
/cts/tests/tests/telephony/current/mockmodem/src/android/telephony/mockmodem/ |
D | MockModemService.java | 196 byte phoneId = intent.getByteExtra(PHONE_ID, PHONE_ID_0); in onBind() 198 if (phoneId >= MAX_PHONE_NUM) { in onBind() 199 Log.e(TAG, "Not suuport for phone " + phoneId); in onBind() 204 Log.i(TAG, "onBind-IRadioConfig " + phoneId); in onBind() 207 Log.i(TAG, "onBind-IRadioModem " + phoneId); in onBind() 208 return sIRadioModemImpl[phoneId]; in onBind() 210 Log.i(TAG, "onBind-IRadioSim " + phoneId); in onBind() 211 return sIRadioSimImpl[phoneId]; in onBind() 213 Log.i(TAG, "onBind-IRadioNetwork " + phoneId); in onBind() 214 return sIRadioNetworkImpl[phoneId]; in onBind() [all …]
|
D | MockCentralizedNetworkAgent.java | 50 public static void setPreferredDataPhone(int phoneId) { in setPreferredDataPhone() argument 52 Log.d(TAG, "setPreferredDataPhone: " + phoneId); in setPreferredDataPhone() 53 sPreferredDataPhone = phoneId; in setPreferredDataPhone() 85 public static synchronized void storeDataCall(int phoneId, String string) { in storeDataCall() argument 87 String patternDataNetworkController = "DataNetworkController-" + phoneId; in storeDataCall() 107 if (phoneId == 0) { in storeDataCall() 114 if (phoneId == 1) { in storeDataCall()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | SimultaneousCallingRestrictionsTest.java | 480 private static int waitForActiveSubIdOrTimeout(int phoneId) throws Exception { in waitForActiveSubIdOrTimeout() argument 482 + getActiveSubId(phoneId) + "] for slot=[" + phoneId + "].", in waitForActiveSubIdOrTimeout() 483 ImsUtils.retryUntilTrue(() -> getActiveSubId(phoneId) >= 0, TEST_TIMEOUT_MS, 50)); in waitForActiveSubIdOrTimeout() 484 return getActiveSubId(phoneId); in waitForActiveSubIdOrTimeout() 487 private static void waitForSimStateReadyOrTimeout(int phoneId) throws Exception { in waitForSimStateReadyOrTimeout() argument 489 + sTelephonyManager.getSimState(phoneId) + "] for slot=[" + phoneId + "].", in waitForSimStateReadyOrTimeout() 490 ImsUtils.retryUntilTrue(() -> (sTelephonyManager.getSimState(phoneId) in waitForSimStateReadyOrTimeout() 757 private static int getActiveSubId(int phoneId) { in getActiveSubId() argument 769 return (phoneId < subsLength) ? allSubs[phoneId] : -1; in getActiveSubId()
|
D | TelephonyManagerTestOnMockModem.java | 324 private int getActiveSubId(int phoneId) { in getActiveSubId() argument 336 return (phoneId < subsLength) ? allSubs[phoneId] : -1; in getActiveSubId()
|
D | TelephonyRegistryManagerTest.java | 712 int phoneId = SubscriptionManager.getSlotIndex(defaultSubId); in testNotifyOutgoingEmergencyCall() local 725 (trm) -> trm.notifyOutgoingEmergencyCall(phoneId, defaultSubId, emergencyNumber)); in testNotifyOutgoingEmergencyCall()
|
D | TelephonyManagerTest.java | 6007 int phoneId = 1; in testGetCarrierPackageNamesForIntentAndPhoneEnforcesReadPrivilege() local 6008 mTelephonyManager.getCarrierPackageNamesForIntentAndPhone(intent, phoneId); in testGetCarrierPackageNamesForIntentAndPhoneEnforcesReadPrivilege() 6024 int phoneId = 1; in testGetCarrierPackageNamesForIntentAndPhoneThrowsExceptionWithoutReadPrivilege() local 6025 mTelephonyManager.getCarrierPackageNamesForIntentAndPhone(intent, phoneId); in testGetCarrierPackageNamesForIntentAndPhoneThrowsExceptionWithoutReadPrivilege()
|
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | CallDomainSelectionTestOnMockModem.java | 248 private int getActiveSubId(int phoneId) { in getActiveSubId() argument 260 assertTrue(phoneId <= (subsLength - 1)); in getActiveSubId() 262 return allSubs[phoneId]; in getActiveSubId()
|