/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | CallDomainSelectionTestOnMockModem.java | 277 private int getRegState(int domain, int subId) { in getRegState() 311 int subId = getActiveSubId(sTestSlot); in testCombinedAttachPsSelected() local 373 int subId = getActiveSubId(sTestSlot); in testVoiceCallOverPs() local 427 int subId = getActiveSubId(sTestSlot); in testVoiceCallOverCs() local 489 int subId = getActiveSubId(sTestSlot); in testVoiceCallOverVoWifi() local 550 int subId = getActiveSubId(sTestSlot); in testCallWhenImsForSmsOnlyAndCsfbSupported() local 608 int subId = getActiveSubId(sTestSlot); in testCallWhenImsForSmsOnlyAndCsfbNotSupported() local 658 int subId = getActiveSubId(sTestSlot); in testVoiceCallInNoService() local 684 int subId = getActiveSubId(sTestSlot); in testPsVoiceCallEndedWhenRinging() local 733 int subId = getActiveSubId(sTestSlot); in testCsVoiceCallEndedWhenAlerting() local [all …]
|
D | TestImsService.java | 153 public void enableImsForSubscription(int slotId, int subId) { in enableImsForSubscription() 162 public void disableImsForSubscription(int slotId, int subId) { in disableImsForSubscription() 171 public RcsFeature createRcsFeatureForSubscription(int slotId, int subId) { in createRcsFeatureForSubscription() 224 public ImsConfigImplBase getConfigForSubscription(int slotId, int subId) { in getConfigForSubscription() 230 public MmTelFeature createMmTelFeatureForSubscription(int slotId, int subId) { in createMmTelFeatureForSubscription() 266 public ImsRegistrationImplBase getRegistrationForSubscription(int slotId, int subId) { in getRegistrationForSubscription()
|
D | ImsUtils.java | 118 private static boolean isSubIdInInfoList(List<SubscriptionInfo> infos, int subId) { in isSubIdInInfoList() 127 public static boolean shouldRunSmsImsTests(int subId) { in shouldRunSmsImsTests()
|
D | MmTelFeatureTestOnMockModem.java | 132 CarrierConfigReceiver(int subId) { in CarrierConfigReceiver() 139 int subId = intent.getIntExtra(CarrierConfigManager.EXTRA_SUBSCRIPTION_INDEX, -1); in onReceive() local 186 int subId = SubscriptionManager.getSubscriptionId(sTestSlot); in beforeAllTests() local
|
/cts/tests/tests/vcn/src/android/net/vcn/cts/ |
D | VcnManagerTest.java | 332 boolean isRestricted, int subId) throws Exception { in createTestNetworkWrapperForPolicyTest() 351 final int subId = verifyAndGetValidDataSubId(); in testApplyVcnNetworkPolicyDuringVcnSetup_onUnrestrictedNetwork() local 355 createTestNetworkWrapperForPolicyTest(false /* isRestricted */, subId)) { in testApplyVcnNetworkPolicyDuringVcnSetup_onUnrestrictedNetwork() argument 385 final int subId = verifyAndGetValidDataSubId(); in testApplyVcnNetworkPolicyDuringVcnSetup_onRestrictedNetwork() local 389 createTestNetworkWrapperForPolicyTest(true /* isRestricted */, subId)) { in testApplyVcnNetworkPolicyDuringVcnSetup_onRestrictedNetwork() argument 439 final int subId = verifyAndGetValidDataSubId(); in verifyApplyVcnNetworkPolicyPostVcnSetupChangeNetworkRestriction() local 443 createTestNetworkWrapperForPolicyTest(true /* isRestricted */, subId)) { in verifyApplyVcnNetworkPolicyPostVcnSetupChangeNetworkRestriction() argument 569 @NonNull TestVcnStatusCallback callback, int subId) throws Exception { in registerVcnStatusCallbackForSubId() 580 final int subId = verifyAndGetValidDataSubId(); in testRegisterVcnStatusCallback() local 595 final int subId = verifyAndGetValidDataSubId(); in testRegisterVcnStatusCallback_reuseUnregisteredCallback() local [all …]
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | CarrierPrivilegeUtils.java | 87 int subId, in CarrierPrivilegeChangeMonitor() 180 private static TelephonyManager getTelephonyManager(Context c, int subId) { in getTelephonyManager() 184 private static boolean hasCarrierPrivileges(Context c, int subId) { in hasCarrierPrivileges() 190 private static boolean isCarrierServicePackage(Context c, int subId, boolean isShell) { in isCarrierServicePackage() 219 int subId, in changeCarrierPrivileges() 256 c, subId, gainCarrierPrivileges, overrideCarrierServicePackage, isShell)) { in changeCarrierPrivileges() argument 302 public static void withCarrierPrivileges(Context c, int subId, ThrowingRunnable action) in withCarrierPrivileges() 328 public static void withCarrierPrivilegesForShell(Context c, int subId, ThrowingRunnable action) in withCarrierPrivilegesForShell() 349 public static <R> R withCarrierPrivileges(Context c, int subId, ThrowingSupplier<R> action) in withCarrierPrivileges() 375 public static void asCarrierService(Context c, int subId, ThrowingRunnable action) in asCarrierService() [all …]
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | FakeCarrierMessagingService.java | 33 int subId, ResultCallback<Integer> callback) { in onReceiveTextSms() 41 public void onSendTextSms(String text, int subId, String destAddress, in onSendTextSms() 50 public void onSendDataSms(byte[] data, int subId, String destAddress, in onSendDataSms() 59 public void onSendMultipartTextSms(List<String> parts, int subId, in onSendMultipartTextSms() 70 public void onSendMms(Uri pduUri, int subId, Uri location, in onSendMms() 80 public void onDownloadMms(Uri contentUri, int subId, Uri location, in onDownloadMms()
|
D | CarrierServiceTest.java | 108 int subId = SubscriptionManager.getDefaultSubscriptionId(); in notifyCarrierNetworkChangeForSubIdWithoutCarrierPrivileges() local 121 int subId = SubscriptionManager.getDefaultSubscriptionId(); in notifyCarrierNetworkChangeForSubIdWithCarrierPrivileges() local 124 subId, in notifyCarrierNetworkChangeForSubIdWithCarrierPrivileges() local 139 public PersistableBundle onLoadConfig(int subId, CarrierIdentifier id) { in onLoadConfig()
|
D | CarrierConfigManagerTest.java | 546 int subId = SubscriptionManager.getDefaultSubscriptionId(); in testCarrierConfigNameOverride() local 613 int subId = SubscriptionManager.getDefaultSubscriptionId(); in testExtraRebroadcastOnUnlock() local 719 final int subId = SubscriptionManager.getDefaultSubscriptionId(); in testCellularServiceCapabilitiesOverride() local 766 private boolean isDataOnlyService(int subId) { in isDataOnlyService() 774 private void overrideCellularServiceCapabilities(int subId, int[] newCapabilities) { in overrideCellularServiceCapabilities() 787 CarrierConfigChangeParams(int slotIndex, int subId, int carrierId, int preciseCarrierId) { in CarrierConfigChangeParams()
|
D | MmsTest.java | 355 int subId = mTelephonyManager.getSubscriptionId(); in sendMmsMessage() local 598 public void setSubId(int subId) { in setSubId() 605 int subId = intent.getIntExtra(CarrierConfigManager.EXTRA_SUBSCRIPTION_INDEX, -1); in onReceive() local 615 private static boolean overrideCarrierConfig(int subId, PersistableBundle bundle) { in overrideCarrierConfig()
|
D | TelephonyManagerTestOnMockModem.java | 339 private NetworkRegistrationInfo getNri(int domain, int subId) { in getNri() 353 private int getRegState(int domain, int subId) { in getRegState() 364 private int getRegFailCause(int domain, int subId) { in getRegFailCause() 418 int subId; in testServiceStateChange() local 512 int subId; in testRegistrationFailed() local 616 int subId; in testVoiceCallState() local
|
D | SubscriptionManagerTest.java | 145 CarrierConfigReceiver(int subId) { in CarrierConfigReceiver() 152 int subId = intent.getIntExtra(CarrierConfigManager.EXTRA_SUBSCRIPTION_INDEX, in onReceive() local 169 private void overrideCarrierConfig(PersistableBundle bundle, int subId) throws Exception { in overrideCarrierConfig() 1375 private String getSubscriptionIso(int subId) { in getSubscriptionIso() 1381 private boolean isAdvancedCallingSettingEnabled(int subId) { in isAdvancedCallingSettingEnabled() 1558 private void setPreferredDataSubId(int subId) { in setPreferredDataSubId() 1689 private static void setSubPlanOwner(int subId, String packageName) throws Exception { in setSubPlanOwner()
|
D | SimultaneousCallingRestrictionsTest.java | 494 private static void updateCallCapablePhAcctsAfterSubAdded(int subId, TelecomManager tm) { in updateCallCapablePhAcctsAfterSubAdded() 504 private static boolean updateCallCapablePhAcctsAndCheckForSubId(int subId, TelecomManager tm) { in updateCallCapablePhAcctsAndCheckForSubId() 592 private void registerImsCallbackAndWaitForImsUnregister(int subId, in registerImsCallbackAndWaitForImsUnregister() 606 private void registerImsRegistrationCallback(int subId, in registerImsRegistrationCallback()
|
D | TestDomainSelectionService.java | 139 public void onServiceStateUpdated(int slotId, int subId, in onServiceStateUpdated() 149 public void onBarringInfoUpdated(int slotId, int subId, @NonNull BarringInfo barringInfo) { in onBarringInfoUpdated()
|
/cts/tests/tests/carrierapi/targetprep/device/src/android/carrierapi/cts/targetprep/ |
D | CsimRemover.java | 84 int subId = SubscriptionManager.getDefaultSubscriptionId(); in removeCsim() local 105 private boolean isCsimPresent(int subId) { in isCsimPresent()
|
D | ApduScriptUtil.java | 85 public static void runApduScript(int subId, List<ApduCommand> apdus) in runApduScript() 160 private static void rebootSimCard(int subId, int logicalSlotId, int targetPowerState, in rebootSimCard() 190 int subId, int logicalSlotId, int targetPowerState, in setSimPowerAndWaitForCardState()
|
/cts/tests/tests/telephony/current/src/android/telephony/satellite/cts/ |
D | CarrierRoamingSatelliteTestBase.java | 161 int subId = SubscriptionManager.getSubscriptionId(SLOT_ID_0); in beforeAllTestBaseForIms() local 184 int subId = SubscriptionManager.getSubscriptionId(SLOT_ID_0); in afterAllTestBaseForIms() local 206 int subId = intent.getIntExtra(CarrierConfigManager.EXTRA_SUBSCRIPTION_INDEX, -1); in onReceive() local 216 public void setSubId(int subId) { in setSubId() 392 private static void overrideCarrierConfig(int subId, PersistableBundle bundle) in overrideCarrierConfig() 419 int subId = SubscriptionManager.getSubscriptionId(slotId); in insertSatelliteEnabledSim() local 449 int subId = SubscriptionManager.getSubscriptionId(slotId); in removeSatelliteEnabledSim() local 460 private static void setPhoneNumber(int subId) throws Exception { in setPhoneNumber() 464 subId, in setPhoneNumber() local
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/util/ |
D | SubscriptionGroupUtils.java | 43 Context c, int subId, ThrowingConsumer<ParcelUuid> action) throws Exception { in withEphemeralSubscriptionGroup() 57 Context c, int subId, ThrowingFunction<ParcelUuid, R> action) throws Exception { in withEphemeralSubscriptionGroup()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | DeviceIdentifiersTest.java | 44 int subId = subscriptionManager.getDefaultSubscriptionId(); in testDeviceOwnerCanGetDeviceIdentifiersWithPermission() local
|
/cts/tests/tests/telephony3/src/android/telephony3/cts/ |
D | TelephonyManagerTest.java | 101 int subId = subscriptionManager.getDefaultSubscriptionId(); in testDeviceIdentifiersAreNotAccessible() local
|
/cts/hostsidetests/appsecurity/test-apps/DeviceIdentifiers/src/android/appsecurity/cts/deviceids/ |
D | DeviceIdentifierAppOpTest.java | 82 int subId = subscriptionManager.getDefaultSubscriptionId(); in testAccessToDeviceIdentifiersWithAppOp() local
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | DeviceIdentifiersTest.java | 81 int subId = subscriptionManager.getDefaultSubscriptionId(); in testProfileOwnerCanGetDeviceIdentifiersWithPermission() local
|
/cts/tests/tests/telephony2/src/android/telephony2/cts/ |
D | TelephonyManagerReadPhoneStatePermissionTest.java | 127 int subId = mTelephonyManager.getSubscriptionId(); in testTelephonyManagersAPIsRequiringReadPhoneStatePermissions() local
|
/cts/tests/tests/telephony/current/src/android/telephony/gba/cts/ |
D | TestGbaService.java | 40 public void onAuthenticationRequest(int subId, int token, int appType, in onAuthenticationRequest()
|
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/ |
D | CarrierApiTest.java | 255 int subId = SubscriptionManager.INVALID_SUBSCRIPTION_ID; in getFirstActivateCarrierPrivilegedSubscriptionId() local 503 int subId = SubscriptionManager.getDefaultSubscriptionId(); in testCarrierConfigIsAccessible() local 1069 int subId = SubscriptionManager.getDefaultSubscriptionId(); in testLine1NumberForDisplay() local 1138 int subId = SubscriptionManager.getDefaultSubscriptionId(); in testCreateAndRemoveSubscriptionGroup() local 1166 int subId = SubscriptionManager.getDefaultSubscriptionId(); in testAddSubscriptionToExistingGroupForMultipleSims() local 1203 int subId = SubscriptionManager.getDefaultSubscriptionId(); in testAddSubscriptionToExistingGroupForEsim() local 1233 int subId = SubscriptionManager.getDefaultSubscriptionId(); in testOpportunistic() local
|