Home
last modified time | relevance | path

Searched refs:SUB_ID (Results 1 – 11 of 11) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyPermissionsTest.java60 private static final int SUB_ID = 55555; field in TelephonyPermissionsTest
108 new int[] {SUB_ID}); in setUp()
119 when(mMockTelephony.getCarrierPrivilegeStatusForUid(eq(SUB_ID), eq(UID))) in setUp()
134 mMockContext, SUB_ID, PID, UID, PACKAGE, FEATURE, MSG); in testCheckReadPhoneState_noPermissions()
146 mMockContext, SUB_ID, PID, UID, PACKAGE, FEATURE, MSG)); in testCheckReadPhoneState_hasPrivilegedPermission()
156 mMockContext, SUB_ID, PID, UID, PACKAGE, FEATURE, MSG)); in testCheckReadPhoneState_hasPermissionAndAppOp()
164 mMockContext, SUB_ID, PID, UID, PACKAGE, FEATURE, MSG)); in testCheckReadPhoneState_hasPermissionWithoutAppOp()
169 when(mTelephonyManagerMock.createForSubscriptionId(eq(SUB_ID))).thenReturn( in testCheckReadPhoneState_hasCarrierPrivileges()
174 mMockContext, SUB_ID, PID, UID, PACKAGE, FEATURE, MSG)); in testCheckReadPhoneState_hasCarrierPrivileges()
211 when(mTelephonyManagerMock.createForSubscriptionId(eq(SUB_ID))).thenReturn( in testCheckReadPhoneStateOnAnyActiveSub_hasCarrierPrivileges()
[all …]
DCarrierServiceStateTrackerTest.java60 private static final int SUB_ID = 1; field in CarrierServiceStateTrackerTest
71 when(mPhone.getSubId()).thenReturn(SUB_ID); in setUp()
103 CarrierServiceStateTracker.EMERGENCY_NOTIFICATION_TAG, SUB_ID); in testCancelBothNotifications()
105 CarrierServiceStateTracker.PREF_NETWORK_NOTIFICATION_TAG, SUB_ID); in testCancelBothNotifications()
125 eq(SUB_ID), isA(Notification.class)); in testSendBothNotifications()
128 eq(SUB_ID), any()); in testSendBothNotifications()
161 eq(SUB_ID), isA(Notification.class)); in testSendPrefNetworkNotification()
170 CarrierServiceStateTracker.PREF_NETWORK_NOTIFICATION_TAG, SUB_ID); in testSendPrefNetworkNotification()
200 eq(SUB_ID), isA(Notification.class)); in testSendEmergencyNetworkNotification()
206 CarrierServiceStateTracker.EMERGENCY_NOTIFICATION_TAG, SUB_ID); in testSendEmergencyNetworkNotification()
DCarrierPrivilegesTrackerTest.java73 private static final int SUB_ID = 4; field in CarrierPrivilegesTrackerTest
111 when(mPhone.getSubId()).thenReturn(SUB_ID); in setUp()
130 when(mCarrierConfigManager.getConfigForSubId(SUB_ID)).thenReturn(mCarrierConfigs); in setupCarrierConfigCerts()
277 when(mCarrierConfigManager.getConfigForSubId(SUB_ID)).thenReturn(mCarrierConfigs); in testCarrierConfigUpdated()
279 sendCarrierConfigChangedIntent(SUB_ID, PHONE_ID); in testCarrierConfigUpdated()
290 sendCarrierConfigChangedIntent(SUB_ID, PHONE_ID_INCORRECT); in testCarrierConfigUpdatedMismatchedSlotIndex()
313 when(mCarrierConfigManager.getConfigForSubId(SUB_ID)).thenReturn(mCarrierConfigs); in testCarrierConfigUpdatedNotIdentifiedCarrier()
315 sendCarrierConfigChangedIntent(SUB_ID, PHONE_ID); in testCarrierConfigUpdatedNotIdentifiedCarrier()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/net/
DDataUsageUtilsTest.java46 private static final int SUB_ID = 1; field in DataUsageUtilsTest
71 when(mTelephonyManager.getSubscriberId(SUB_ID)).thenReturn(SUBSCRIBER_ID); in setUp()
79 when(mSubscriptionManager.isActiveSubId(SUB_ID)).thenReturn(false); in getMobileTemplate_infoNull_returnMobileAll()
81 final NetworkTemplate networkTemplate = DataUsageUtils.getMobileTemplate(mContext, SUB_ID); in getMobileTemplate_infoNull_returnMobileAll()
88 when(mSubscriptionManager.getActiveSubscriptionInfo(SUB_ID)).thenReturn(mInfo1); in getMobileTemplate_groupUuidNull_returnMobileAll()
93 final NetworkTemplate networkTemplate = DataUsageUtils.getMobileTemplate(mContext, SUB_ID); in getMobileTemplate_groupUuidNull_returnMobileAll()
100 when(mSubscriptionManager.getActiveSubscriptionInfo(SUB_ID)).thenReturn(mInfo1); in getMobileTemplate_groupUuidExist_returnMobileMerged()
105 final NetworkTemplate networkTemplate = DataUsageUtils.getMobileTemplate(mContext, SUB_ID); in getMobileTemplate_groupUuidExist_returnMobileMerged()
DDataUsageControllerTest.java53 private static final String SUB_ID = "Test Subscriber"; field in DataUsageControllerTest
88 doReturn(SUB_ID).when(mTelephonyManager).getSubscriberId(); in setUp()
90 mNetworkTemplate = NetworkTemplate.buildTemplateMobileAll(SUB_ID); in setUp()
DNetworkCycleDataForUidLoaderTest.java45 private static final String SUB_ID = "Test Subscriber"; field in NetworkCycleDataForUidLoaderTest
65 mNetworkTemplate = NetworkTemplate.buildTemplateMobileAll(SUB_ID); in setUp()
/frameworks/base/core/java/android/provider/
DCallLog.java474 public static final String SUB_ID = "sub_id"; field in CallLog.Calls
DTelephony.java318 public static final String SUB_ID = "sub_id"; field
/frameworks/base/non-updatable-api/
Dcurrent.txt39004 field public static final String EXTRA_SUB_ID = "android.provider.extra.SUB_ID";
/frameworks/base/api/
Dcurrent.txt39148 field public static final String EXTRA_SUB_ID = "android.provider.extra.SUB_ID";
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt55564 Landroid/provider/CallLog$Calls;->SUB_ID:Ljava/lang/String;