/cts/tests/tests/telephony2/src/android/telephony2/cts/ |
D | TelephonyManagerReadPhoneStatePermissionTest.java | 35 import com.android.compatibility.common.util.ShellIdentityUtils; 114 ShellIdentityUtils.invokeMethodWithShellPermissions( in testTelephonyManagersAPIsRequiringReadPhoneStatePermissions() 117 ShellIdentityUtils.invokeMethodWithShellPermissions( in testTelephonyManagersAPIsRequiringReadPhoneStatePermissions() 130 ShellIdentityUtils.invokeMethodWithShellPermissions( in testTelephonyManagersAPIsRequiringReadPhoneStatePermissions() 137 ShellIdentityUtils.invokeMethodWithShellPermissions( in testTelephonyManagersAPIsRequiringReadPhoneStatePermissions() 144 ShellIdentityUtils.invokeMethodWithShellPermissions( in testTelephonyManagersAPIsRequiringReadPhoneStatePermissions() 151 ShellIdentityUtils.invokeMethodWithShellPermissions( in testTelephonyManagersAPIsRequiringReadPhoneStatePermissions() 158 ShellIdentityUtils.invokeMethodWithShellPermissions( in testTelephonyManagersAPIsRequiringReadPhoneStatePermissions() 165 ShellIdentityUtils.invokeMethodWithShellPermissions( in testTelephonyManagersAPIsRequiringReadPhoneStatePermissions() 174 ShellIdentityUtils.invokeMethodWithShellPermissions( in testTelephonyManagersAPIsRequiringReadPhoneStatePermissions() [all …]
|
/cts/tests/tests/gamemanager/src/android/gamemanager/cts/ |
D | GameManagerTest.java | 47 import com.android.compatibility.common.util.ShellIdentityUtils; 184 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mGameManager, in testIsAngleEnabled() 187 assertTrue(ShellIdentityUtils.invokeMethodWithShellPermissions(mGameManager, in testIsAngleEnabled() 190 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mGameManager, in testIsAngleEnabled() 193 assertFalse(ShellIdentityUtils.invokeMethodWithShellPermissions(mGameManager, in testIsAngleEnabled() 209 ShellIdentityUtils.invokeMethodWithShellPermissions(mGameManager, in testGetGameModeUnsupportedOnNotGame() 217 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mGameManager, in testGetGameModeUnsupportedOnNotGame() 220 gameMode = ShellIdentityUtils.invokeMethodWithShellPermissions(mGameManager, in testGetGameModeUnsupportedOnNotGame() 228 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mGameManager, in testGetGameModeUnsupportedOnNotGame() 231 gameMode = ShellIdentityUtils.invokeMethodWithShellPermissions(mGameManager, in testGetGameModeUnsupportedOnNotGame() [all …]
|
D | GameManagerLegacyTest.java | 29 import com.android.compatibility.common.util.ShellIdentityUtils; 78 ShellIdentityUtils.invokeMethodWithShellPermissions(mGameManager, in testGetGameMode() 85 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mGameManager, in testGetGameMode() 88 gameMode = ShellIdentityUtils.invokeMethodWithShellPermissions(mGameManager, in testGetGameMode() 96 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mGameManager, in testGetGameMode() 99 gameMode = ShellIdentityUtils.invokeMethodWithShellPermissions(mGameManager, in testGetGameMode() 107 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mGameManager, in testGetGameMode() 110 gameMode = ShellIdentityUtils.invokeMethodWithShellPermissions(mGameManager, in testGetGameMode()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | SensorToggleRestrictionTest.java | 24 import com.android.compatibility.common.util.ShellIdentityUtils; 56 ShellIdentityUtils.invokeMethodWithShellPermissions(mSensorPrivacyManager, in testCameraToggle_RestrictionSet_CannotChangeSensorPrivacy() 60 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mSensorPrivacyManager, in testCameraToggle_RestrictionSet_CannotChangeSensorPrivacy() 64 ShellIdentityUtils.invokeMethodWithShellPermissions(mSensorPrivacyManager, in testCameraToggle_RestrictionSet_CannotChangeSensorPrivacy() 73 ShellIdentityUtils.invokeMethodWithShellPermissions(mSensorPrivacyManager, in testMicrophoneToggle_RestrictionSet_CannotChangeSensorPrivacy() 77 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mSensorPrivacyManager, in testMicrophoneToggle_RestrictionSet_CannotChangeSensorPrivacy() 81 ShellIdentityUtils.invokeMethodWithShellPermissions(mSensorPrivacyManager, in testMicrophoneToggle_RestrictionSet_CannotChangeSensorPrivacy() 89 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mSensorPrivacyManager, in testCameraToggle_RestrictionSet_ResetSensorPrivacy() 96 if (!ShellIdentityUtils.invokeMethodWithShellPermissions(mSensorPrivacyManager, in testCameraToggle_RestrictionSet_ResetSensorPrivacy() 108 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mSensorPrivacyManager, in testMicrophoneToggle_RestrictionSet_ResetSensorPrivacy() [all …]
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | DeviceIdentifiersTest.java | 25 import com.android.compatibility.common.util.ShellIdentityUtils; 50 ShellIdentityUtils.invokeMethodWithShellPermissions(telephonyManager, in testProfileOwnerCanGetDeviceIdentifiersWithPermission() 55 ShellIdentityUtils.invokeMethodWithShellPermissions(telephonyManager, in testProfileOwnerCanGetDeviceIdentifiersWithPermission() 61 ShellIdentityUtils.invokeMethodWithShellPermissions(telephonyManager, in testProfileOwnerCanGetDeviceIdentifiersWithPermission() 65 ShellIdentityUtils.invokeMethodWithShellPermissions(telephonyManager, in testProfileOwnerCanGetDeviceIdentifiersWithPermission() 69 ShellIdentityUtils.invokeMethodWithShellPermissions(telephonyManager, in testProfileOwnerCanGetDeviceIdentifiersWithPermission() 73 ShellIdentityUtils.invokeMethodWithShellPermissions(telephonyManager, in testProfileOwnerCanGetDeviceIdentifiersWithPermission() 76 ShellIdentityUtils.invokeStaticMethodWithShellPermissions(Build::getSerial), in testProfileOwnerCanGetDeviceIdentifiersWithPermission() 84 ShellIdentityUtils.invokeMethodWithShellPermissions(subscriptionManager, in testProfileOwnerCanGetDeviceIdentifiersWithPermission()
|
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | ImsMmTelManagerTest.java | 52 import com.android.compatibility.common.util.ShellIdentityUtils; 237 boolean isEnabled = ShellIdentityUtils.invokeMethodWithShellPermissions(mMmTelManager, in testAdvancedCallingSetting() 239 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mMmTelManager, in testAdvancedCallingSetting() 243 boolean isEnabledResult = ShellIdentityUtils.invokeMethodWithShellPermissions(mMmTelManager, in testAdvancedCallingSetting() 249 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mMmTelManager, in testAdvancedCallingSetting() 269 boolean isEnabled = ShellIdentityUtils.invokeMethodWithShellPermissions(mMmTelManager, in testVtSetting() 271 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mMmTelManager, in testVtSetting() 275 boolean isEnabledResult = ShellIdentityUtils.invokeMethodWithShellPermissions(mMmTelManager, in testVtSetting() 281 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mMmTelManager, in testVtSetting() 305 boolean isEnabled = ShellIdentityUtils.invokeMethodWithShellPermissions(mMmTelManager, in testVoWiFiSetting() [all …]
|
D | ImsRcsManagerTest.java | 32 import com.android.compatibility.common.util.ShellIdentityUtils; 114 ShellIdentityUtils.invokeThrowableMethodWithShellPermissionsNoReturn(rcsManager, in testMethodPermissions() 130 ShellIdentityUtils.invokeThrowableMethodWithShellPermissionsNoReturn(rcsManager, in testMethodPermissions() 148 ShellIdentityUtils.invokeThrowableMethodWithShellPermissionsNoReturn(rcsManager, in testMethodPermissions()
|
/cts/hostsidetests/appsecurity/test-apps/DeviceIdentifiers/src/android/appsecurity/cts/deviceids/ |
D | DeviceIdentifierAppOpTest.java | 34 import com.android.compatibility.common.util.ShellIdentityUtils; 56 ShellIdentityUtils.invokeMethodWithShellPermissions(telephonyManager, in testAccessToDeviceIdentifiersWithAppOp() 59 ShellIdentityUtils.invokeMethodWithShellPermissions(telephonyManager, in testAccessToDeviceIdentifiersWithAppOp() 62 ShellIdentityUtils.invokeMethodWithShellPermissions(telephonyManager, in testAccessToDeviceIdentifiersWithAppOp() 65 ShellIdentityUtils.invokeMethodWithShellPermissions(telephonyManager, in testAccessToDeviceIdentifiersWithAppOp() 69 ShellIdentityUtils.invokeMethodWithShellPermissions(telephonyManager, in testAccessToDeviceIdentifiersWithAppOp() 73 ShellIdentityUtils.invokeMethodWithShellPermissions(telephonyManager, in testAccessToDeviceIdentifiersWithAppOp() 76 ShellIdentityUtils.invokeStaticMethodWithShellPermissions(Build::getSerial), in testAccessToDeviceIdentifiersWithAppOp() 85 ShellIdentityUtils.invokeMethodWithShellPermissions(subscriptionManager, in testAccessToDeviceIdentifiersWithAppOp()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | TelephonyManagerTest.java | 143 import com.android.compatibility.common.util.ShellIdentityUtils; 435 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mTelephonyManager, in CarrierPrivilegeChangeMonitor() 451 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mTelephonyManager, in close() 632 long allowedNetworkTypesUser = ShellIdentityUtils.invokeMethodWithShellPermissions( in saveAllowedNetworkTypesForAllReasons() 636 long allowedNetworkTypesPower = ShellIdentityUtils.invokeMethodWithShellPermissions( in saveAllowedNetworkTypesForAllReasons() 640 long allowedNetworkTypesCarrier = ShellIdentityUtils.invokeMethodWithShellPermissions( in saveAllowedNetworkTypesForAllReasons() 644 long allowedNetworkTypesEnable2g = ShellIdentityUtils.invokeMethodWithShellPermissions( in saveAllowedNetworkTypesForAllReasons() 663 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn( in recoverAllowedNetworkType() 741 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mCarrierConfigManager, in overrideCarrierConfig() 909 ShellIdentityUtils.invokeMethodWithShellPermissions(mTelephonyManager, in testTelephonyManager() [all …]
|
D | SubscriptionManagerTest.java | 78 import com.android.compatibility.common.util.ShellIdentityUtils; 176 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn( in overrideCarrierConfig() 278 SubscriptionInfo info = ShellIdentityUtils.invokeMethodWithShellPermissions(mSm, in testGetActiveSubscriptionInfoForIcc() 280 assertNotNull(ShellIdentityUtils.invokeMethodWithShellPermissions(mSm, in testGetActiveSubscriptionInfoForIcc() 286 List<SubscriptionInfo> allSubInfoList = ShellIdentityUtils.invokeMethodWithShellPermissions( in testGetAllSubscriptionInfoList() 288 SubscriptionInfo subInfo = ShellIdentityUtils.invokeMethodWithShellPermissions(mSm, in testGetAllSubscriptionInfoList() 314 Resources r = ShellIdentityUtils.invokeMethodWithShellPermissions(mSm, in testGetResourcesForSubId() 329 List<SubscriptionInfo> subList = ShellIdentityUtils.invokeMethodWithShellPermissions(mSm, in testActiveSubscriptions() 331 int[] idList = ShellIdentityUtils.invokeMethodWithShellPermissions(mSm, in testActiveSubscriptions() 358 List<SubscriptionInfo> specificProfileSubList = ShellIdentityUtils [all …]
|
D | TelephonyRegistryManagerTest.java | 37 import com.android.compatibility.common.util.ShellIdentityUtils; 115 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mTelephonyRegistryMgr, in testNotifyCallStateChangedForAllSubscriptions() 143 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mTelephonyRegistryMgr, in testNotifyCallStateChanged() 174 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mTelephonyRegistryMgr, in testNotifyServiceStateChanged() 203 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mTelephonyRegistryMgr, in testNotifySignalStrengthChanged() 232 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mTelephonyRegistryMgr, in testNotifyMessageWaitingChanged() 260 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mTelephonyRegistryMgr, in testNotifyCallForwardingChanged() 287 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mTelephonyRegistryMgr, in testNotifyDataActivityChanged() 314 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mTelephonyRegistryMgr, in testNotifyDataActivityChangedWithSlot() 340 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn( in testCarrierPrivilegesCallback() [all …]
|
D | CarrierSignalTest.java | 36 import com.android.compatibility.common.util.ShellIdentityUtils; 81 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mCarrierConfigManager, in setUp() 90 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mCarrierConfigManager, in tearDown() 93 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(cm, in tearDown() 108 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(cm, in testResetBroadcast()
|
/cts/tests/tests/wifi/src/android/net/wifi/cts/ |
D | MultiStaConcurrencyMultiInternetWifiNetworkTest.java | 51 import com.android.compatibility.common.util.ShellIdentityUtils; 146 sWasVerboseLoggingEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 148 ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 151 sWasScanThrottleEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 153 ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 157 sWasWifiEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 159 ShellIdentityUtils.invokeWithShellPermissions(() -> wifiManager.setWifiEnabled(true)); in setUpClass() 172 ShellIdentityUtils.invokeWithShellPermissions( in tearDownClass() 174 ShellIdentityUtils.invokeWithShellPermissions( in tearDownClass() 176 ShellIdentityUtils.invokeWithShellPermissions( in tearDownClass() [all …]
|
D | MultiStaConcurrencyWifiNetworkSpecifierTest.java | 43 import com.android.compatibility.common.util.ShellIdentityUtils; 109 sWasVerboseLoggingEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 111 ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 114 sWasScanThrottleEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 116 ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 120 sWasWifiEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 123 ShellIdentityUtils.invokeWithShellPermissions(() -> wifiManager.setWifiEnabled(true)); in setUpClass() 139 ShellIdentityUtils.invokeWithShellPermissions( in tearDownClass() 141 ShellIdentityUtils.invokeWithShellPermissions( in tearDownClass() 143 ShellIdentityUtils.invokeWithShellPermissions( in tearDownClass() [all …]
|
D | MultiStaConcurrencyRestrictedWifiNetworkSuggestionTest.java | 43 import com.android.compatibility.common.util.ShellIdentityUtils; 113 sWasVerboseLoggingEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 115 ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 118 sWasScanThrottleEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 120 ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 124 sWasWifiEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 127 ShellIdentityUtils.invokeWithShellPermissions(() -> sWifiManager.setWifiEnabled(true)); in setUpClass() 137 ShellIdentityUtils.invokeWithShellPermissions( in tearDownClass() 139 ShellIdentityUtils.invokeWithShellPermissions( in tearDownClass() 141 ShellIdentityUtils.invokeWithShellPermissions( in tearDownClass() [all …]
|
D | WifiLocationInfoForegroundTest.java | 42 import com.android.compatibility.common.util.ShellIdentityUtils; 107 sWasVerboseLoggingEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 109 ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 112 sWasScanThrottleEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 114 ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 122 List<WifiConfiguration> savedNetworks = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 127 ShellIdentityUtils.invokeWithShellPermissions(() -> sWifiManager.reconnect()); in setUpClass() 157 ShellIdentityUtils.invokeWithShellPermissions( in tearDownClass() 159 ShellIdentityUtils.invokeWithShellPermissions( in tearDownClass() 164 ShellIdentityUtils.invokeWithShellPermissions(() -> sWifiManager.setWifiEnabled(enable)); in setWifiEnabled()
|
D | WifiJUnit3TestBase.java | 24 import com.android.compatibility.common.util.ShellIdentityUtils; 41 ShellIdentityUtils.invokeWithShellPermissions(() -> in setUp() 52 ShellIdentityUtils.invokeWithShellPermissions(() -> in tearDown()
|
D | WifiJUnit4TestBase.java | 26 import com.android.compatibility.common.util.ShellIdentityUtils; 46 ShellIdentityUtils.invokeWithShellPermissions( in enableLocationIfNotEnabled() 57 ShellIdentityUtils.invokeWithShellPermissions(() -> in disableLocationIfOriginallyDisabled()
|
D | WifiLocationInfoBackgroundTest.java | 46 import com.android.compatibility.common.util.ShellIdentityUtils; 118 sWasVerboseLoggingEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 120 ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 123 sWasScanThrottleEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 125 ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 133 List<WifiConfiguration> savedNetworks = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 138 ShellIdentityUtils.invokeWithShellPermissions(() -> sWifiManager.reconnect()); in setUpClass() 170 ShellIdentityUtils.invokeWithShellPermissions( in tearDownClass() 172 ShellIdentityUtils.invokeWithShellPermissions( in tearDownClass() 178 ShellIdentityUtils.invokeWithShellPermissions(() -> sWifiManager.setWifiEnabled(enable)); in setWifiEnabled()
|
D | WifiNetworkSpecifierTest.java | 54 import com.android.compatibility.common.util.ShellIdentityUtils; 214 sWasVerboseLoggingEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 216 ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 219 sWasScanThrottleEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 221 ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 226 ShellIdentityUtils.invokeWithShellPermissions(() -> sWifiManager.setWifiEnabled(true)); in setUpClass() 231 List<WifiConfiguration> savedNetworks = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 242 ShellIdentityUtils.invokeWithShellPermissions( in enableAllSavedNetworks() 251 ShellIdentityUtils.invokeWithShellPermissions( in disableAllSavedNetworks() 265 ShellIdentityUtils.invokeWithShellPermissions(() -> sWifiManager.setWifiEnabled(true)); in tearDownClass() [all …]
|
/cts/tests/tests/telephony-cuj/src/android/telephony/cts/cuj/ |
D | DataTest.java | 39 import com.android.compatibility.common.util.ShellIdentityUtils; 68 == (int) ShellIdentityUtils.invokeMethodWithShellPermissions( in setUp() 78 assertThat((int) ShellIdentityUtils.invokeMethodWithShellPermissions( in testBasicPhoneAttributes() 80 assertThat((String) ShellIdentityUtils.invokeMethodWithShellPermissions( in testBasicPhoneAttributes() 82 assertThat((String) ShellIdentityUtils.invokeMethodWithShellPermissions( in testBasicPhoneAttributes() 84 assertThat((int) ShellIdentityUtils.invokeMethodWithShellPermissions( in testBasicPhoneAttributes() 94 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn( in testCellInfoList()
|
/cts/tests/tests/wifi/src/android/net/wifi/rtt/cts/ |
D | TestBase.java | 49 import com.android.compatibility.common.util.ShellIdentityUtils; 147 sWasVerboseLoggingEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setupClass() 149 ShellIdentityUtils.invokeWithShellPermissions( in setupClass() 152 sWasScanThrottleEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setupClass() 154 ShellIdentityUtils.invokeWithShellPermissions( in setupClass() 157 ShellIdentityUtils.invokeWithShellPermissions( in setupClass() 163 sWasWifiEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setupClass() 166 ShellIdentityUtils.invokeWithShellPermissions(() -> sWifiManager.setWifiEnabled(true)); in setupClass() 179 ShellIdentityUtils.invokeWithShellPermissions( in tearDownClass() 181 ShellIdentityUtils.invokeWithShellPermissions( in tearDownClass() [all …]
|
/cts/tests/tests/telecom2/src/android/telecom/cts/ |
D | TelecomManagerNoPermissionsTest.java | 25 import com.android.compatibility.common.util.ShellIdentityUtils; 142 handles = ShellIdentityUtils.invokeMethodWithShellPermissions(mTelecomManager, in testGetCallCapablePhoneAccountsAcrossProfilesPermission() 155 handles = ShellIdentityUtils.invokeMethodWithShellPermissions(mTelecomManager, in testGetCallCapablePhoneAccountsAcrossProfilesPermission() 168 handles = ShellIdentityUtils.invokeMethodWithShellPermissions(mTelecomManager, in testGetCallCapablePhoneAccountsAcrossProfilesPermission() 181 handles = ShellIdentityUtils.invokeMethodWithShellPermissions(mTelecomManager, in testGetCallCapablePhoneAccountsAcrossProfilesPermission()
|
/cts/tests/tests/batterysaving/src/android/os/cts/batterysaving/ |
D | ActionChargingTest.java | 36 import com.android.compatibility.common.util.ShellIdentityUtils; 95 ShellIdentityUtils.invokeMethodWithShellPermissions(mBatteryManager, in resetSetting() 119 ShellIdentityUtils.invokeMethodWithShellPermissions(mBatteryManager, in testActionChargingDeferred_withApi() 129 ShellIdentityUtils.invokeMethodWithShellPermissions(mBatteryManager, in testActionChargingDeferred_withApiThenReset() 131 ShellIdentityUtils.invokeMethodWithShellPermissions(mBatteryManager, in testActionChargingDeferred_withApiThenReset()
|
/cts/hostsidetests/usb/SerialTestApp/src/com/android/cts/usb/serialtest/ |
D | UsbSerialTest.java | 24 import com.android.compatibility.common.util.ShellIdentityUtils; 40 Log.e(TAG, ShellIdentityUtils.invokeStaticMethodWithShellPermissions(Build::getSerial)); in logSerial()
|