Searched refs:subscriptionManager (Results 1 – 6 of 6) sorted by relevance
72 SubscriptionManager subscriptionManager = in testProfileOwnerCanGetDeviceIdentifiersWithPermission() local75 int subId = subscriptionManager.getDefaultSubscriptionId(); in testProfileOwnerCanGetDeviceIdentifiersWithPermission()78 ShellIdentityUtils.invokeMethodWithShellPermissions(subscriptionManager, in testProfileOwnerCanGetDeviceIdentifiersWithPermission()80 SubscriptionInfo actualSubInfo = subscriptionManager.getActiveSubscriptionInfo( in testProfileOwnerCanGetDeviceIdentifiersWithPermission()
70 SubscriptionManager subscriptionManager = in testDeviceOwnerCanGetDeviceIdentifiersWithPermission() local73 int subId = subscriptionManager.getDefaultSubscriptionId(); in testDeviceOwnerCanGetDeviceIdentifiersWithPermission()76 ShellIdentityUtils.invokeMethodWithShellPermissions(subscriptionManager, in testDeviceOwnerCanGetDeviceIdentifiersWithPermission()78 SubscriptionInfo actualSubInfo = subscriptionManager.getActiveSubscriptionInfo( in testDeviceOwnerCanGetDeviceIdentifiersWithPermission()
79 SubscriptionManager subscriptionManager = in testAccessToDeviceIdentifiersWithAppOp() local82 int subId = subscriptionManager.getDefaultSubscriptionId(); in testAccessToDeviceIdentifiersWithAppOp()85 ShellIdentityUtils.invokeMethodWithShellPermissions(subscriptionManager, in testAccessToDeviceIdentifiersWithAppOp()87 SubscriptionInfo actualSubInfo = subscriptionManager.getActiveSubscriptionInfo( in testAccessToDeviceIdentifiersWithAppOp()
98 SubscriptionManager subscriptionManager = in testDeviceIdentifiersAreNotAccessible() local101 int subId = subscriptionManager.getDefaultSubscriptionId(); in testDeviceIdentifiersAreNotAccessible()103 SubscriptionInfo subInfo = subscriptionManager.getActiveSubscriptionInfo( in testDeviceIdentifiersAreNotAccessible()
53 SubscriptionManager subscriptionManager = Objects.requireNonNull( in initialize() local72 subscriptionManager.getActiveSubscriptionInfoList(), in initialize()
98 … SubscriptionManager subscriptionManager = context.getSystemService(SubscriptionManager.class); in setUp() local99 assumeThat(subscriptionManager, Matchers.notNullValue()); in setUp()103 () -> subscriptionManager.getActiveSubscriptionInfo(mSubId), in setUp()