Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyPermissionsTest.java55 private static final int SUB_ID = 55555; field in TelephonyPermissionsTest
88 when(mMockSubscriptionManager.getActiveSubscriptionIdList()).thenReturn(new int[]{SUB_ID}); in setUp()
99 when(mMockTelephony.getCarrierPrivilegeStatusForUid(eq(SUB_ID), eq(UID))) in setUp()
111 mMockContext, () -> mMockTelephony, SUB_ID, PID, UID, PACKAGE, MSG); in testCheckReadPhoneState_noPermissions()
123 mMockContext, () -> mMockTelephony, SUB_ID, PID, UID, PACKAGE, MSG)); in testCheckReadPhoneState_hasPrivilegedPermission()
133 mMockContext, () -> mMockTelephony, SUB_ID, PID, UID, PACKAGE, MSG)); in testCheckReadPhoneState_hasPermissionAndAppOp()
141 mMockContext, () -> mMockTelephony, SUB_ID, PID, UID, PACKAGE, MSG)); in testCheckReadPhoneState_hasPermissionWithoutAppOp()
146 when(mMockTelephony.getCarrierPrivilegeStatusForUid(eq(SUB_ID), eq(UID))) in testCheckReadPhoneState_hasCarrierPrivileges()
149 mMockContext, () -> mMockTelephony, SUB_ID, PID, UID, PACKAGE, MSG)); in testCheckReadPhoneState_hasCarrierPrivileges()
186 when(mMockTelephony.getCarrierPrivilegeStatusForUid(eq(SUB_ID), eq(UID))) in testCheckReadPhoneStateOnAnyActiveSub_hasCarrierPrivileges()
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/net/
DDataUsageUtilsTest.java46 private static final int SUB_ID = 1; field in DataUsageUtilsTest
69 when(mTelephonyManager.createForSubscriptionId(SUB_ID)).thenReturn(mTelephonyManager); in setUp()
71 when(mTelephonyManager.getSubscriberId(SUB_ID)).thenReturn(SUBSCRIBER_ID); in setUp()
83 when(mSubscriptionManager.getActiveSubscriptionInfo(SUB_ID)).thenReturn(null); in getMobileTemplate_infoNull_returnMobileAll()
85 final NetworkTemplate networkTemplate = DataUsageUtils.getMobileTemplate(mContext, SUB_ID); in getMobileTemplate_infoNull_returnMobileAll()
92 when(mSubscriptionManager.getActiveSubscriptionInfo(SUB_ID)).thenReturn(mInfo1); in getMobileTemplate_infoExisted_returnMobileMerged()
95 final NetworkTemplate networkTemplate = DataUsageUtils.getMobileTemplate(mContext, SUB_ID); in getMobileTemplate_infoExisted_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.java473 public static final String SUB_ID = "sub_id"; field in CallLog.Calls
/frameworks/base/telephony/java/android/provider/
DTelephony.java316 public static final String SUB_ID = "sub_id"; field
/frameworks/base/api/
Dcurrent.txt38702 field public static final String EXTRA_SUB_ID = "android.provider.extra.SUB_ID";
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt59695 Landroid/provider/CallLog$Calls;->SUB_ID:Ljava/lang/String;