Home
last modified time | relevance | path

Searched refs:getSubscriptionIds (Results 1 – 18 of 18) sorted by relevance

/packages/apps/Settings/src/com/android/settings/sim/smartForwarding/
DSmartForwardingUtils.java89 int subId = sm.getSubscriptionIds(i)[0]; in getAllSlotCallWaitingStatus()
102 int subId = sm.getSubscriptionIds(i)[0]; in getAllSlotCallForwardingStatus()
113 int subId = sm.getSubscriptionIds(i)[0]; in clearAllBackupData()
137 int[] subIdList = subscriptionManager.getSubscriptionIds(slotId); in getPhoneNumber()
DEnableSmartForwardingTask.java97 int[] subIdList = sm.getSubscriptionIds(i); in initObject()
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DDefaultCellBroadcastService.java89 Context.TELEPHONY_SUBSCRIPTION_SERVICE)).getSubscriptionIds(slotIndex); in onCdmaCellBroadcastSms()
151 int[] subIds = sm.getSubscriptionIds(slotIndex); in parseCdmaBroadcastSms()
DGsmSmsCbMessage.java103 int[] subIds = sm.getSubscriptionIds(slotIndex); in createSmsCbMessage()
DGsmCellBroadcastHandler.java256 int[] subIds = subMgr.getSubscriptionIds(slotIndex); in getResourcesForSlot()
DCellBroadcastHandler.java699 int[] subIds = subMan.getSubscriptionIds(phoneId); in getSubIdForPhone()
/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkCapabilitiesTest.java647 assertEquals(Set.of(TEST_SUBID2, TEST_SUBID1), nc2.getSubscriptionIds()); in testCombineCapabilities()
926 assertEquals(new ArraySet<>(subIds), nc.getSubscriptionIds()); in capsWithSubIds()
938 assertEmpty(requestWithoutId.networkCapabilities.getSubscriptionIds()); in testSubIds()
942 requestWithIds.networkCapabilities.getSubscriptionIds()); in testSubIds()
1156 assertEquals(Set.of(TEST_SUBID1), nc2.getSubscriptionIds()); in testBuilder()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastCursorAdapter.java198 int[] subIds = sm.getSubscriptionIds(slotIndex); in createFromCursor()
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/
DCellBroadcastServiceTestBase.java143 .getSubscriptionIds(anyInt()); in setUp()
DCellBroadcastHandlerTest.java256 doReturn(null).when(mMockedSubscriptionManager).getSubscriptionIds(anyInt()); in testPutPhoneIdAndSubIdExtra()
/packages/services/Telephony/src/com/android/services/telephony/rcs/
DTelephonyRcsService.java356 int[] subIds = manager.getSubscriptionIds(slotId); in getSubscriptionFromSlot()
/packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/
DGsmSmsCbMessage.java99 int[] subIds = sm.getSubscriptionIds(slotIndex); in createSmsCbMessage()
/packages/services/Telephony/tests/src/com/android/services/telephony/rcs/
DTelephonyRcsServiceTest.java348 doReturn(subIds).when(m).getSubscriptionIds(eq(slotId)); in setSlotToSubIdMapping()
/packages/modules/Connectivity/framework/src/android/net/
DNetworkCapabilities.java829 final Set<Integer> originalSubIds = getSubscriptionIds(); in restrictCapabilitesForTestNetwork()
2377 public Set<Integer> getSubscriptionIds() { in getSubscriptionIds() method in NetworkCapabilities
/packages/modules/Connectivity/framework/api/
Dsystem-current.txt280 method @NonNull public java.util.Set<java.lang.Integer> getSubscriptionIds();
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DClientModeImplTest.java6194 assertEquals(Collections.singleton(DATA_SUBID), cap.getSubscriptionIds()); in triggerConnectToMergedNetwork()
6263 assertTrue(cap.getSubscriptionIds().isEmpty()); in triggerConnectToUnmergedNetwork()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java13360 assertTrue(result.getSubscriptionIds().isEmpty()); in testSubIdsClearedWithoutNetworkFactoryPermission()
13374 assertEquals(subIds, result.getSubscriptionIds()); in testSubIdsExistWithNetworkFactoryPermission()
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java5951 if (!nc.getSubscriptionIds().isEmpty()) { in ensureSufficientPermissionsForRequest()