/cts/tests/tests/telephony/current/permissions/src/android/telephony/cts/telephonypermission/ |
D | TelephonyManagerReadPhoneStatePermissionTest.java | 35 import com.android.compatibility.common.util.ShellIdentityUtils; 113 ShellIdentityUtils.invokeMethodWithShellPermissions( in testTelephonyManagersAPIsRequiringReadPhoneStatePermissions() 115 ShellIdentityUtils.invokeMethodWithShellPermissions( in testTelephonyManagersAPIsRequiringReadPhoneStatePermissions() 127 ShellIdentityUtils.invokeMethodWithShellPermissions( in testTelephonyManagersAPIsRequiringReadPhoneStatePermissions() 133 ShellIdentityUtils.invokeMethodWithShellPermissions( in testTelephonyManagersAPIsRequiringReadPhoneStatePermissions() 140 ShellIdentityUtils.invokeMethodWithShellPermissions( in testTelephonyManagersAPIsRequiringReadPhoneStatePermissions() 147 ShellIdentityUtils.invokeMethodWithShellPermissions( in testTelephonyManagersAPIsRequiringReadPhoneStatePermissions() 154 ShellIdentityUtils.invokeMethodWithShellPermissions( in testTelephonyManagersAPIsRequiringReadPhoneStatePermissions() 161 ShellIdentityUtils.invokeMethodWithShellPermissions( in testTelephonyManagersAPIsRequiringReadPhoneStatePermissions() 168 ShellIdentityUtils.invokeMethodWithShellPermissions( in testTelephonyManagersAPIsRequiringReadPhoneStatePermissions() [all …]
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | TelephonyManagerTest.java | 100 import com.android.compatibility.common.util.ShellIdentityUtils; 378 long allowedNetworkTypesUser = ShellIdentityUtils.invokeMethodWithShellPermissions( in saveAllowedNetworkTypesForAllReasons() 384 long allowedNetworkTypesPower = ShellIdentityUtils.invokeMethodWithShellPermissions( in saveAllowedNetworkTypesForAllReasons() 390 long allowedNetworkTypesCarrier = ShellIdentityUtils.invokeMethodWithShellPermissions( in saveAllowedNetworkTypesForAllReasons() 396 long allowedNetworkTypesEnable2g = ShellIdentityUtils.invokeMethodWithShellPermissions( in saveAllowedNetworkTypesForAllReasons() 417 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn( in recoverAllowedNetworkType() 486 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mCarrierConfigManager, in overrideCarrierConfig() 669 ShellIdentityUtils.invokeMethodWithShellPermissions(mTelephonyManager, in testTelephonyManager() 674 ShellIdentityUtils.invokeMethodWithShellPermissions(mTelephonyManager, in testTelephonyManager() 693 ShellIdentityUtils.invokeMethodWithShellPermissions(mTelephonyManager, in testTelephonyManager() [all …]
|
D | SubscriptionManagerTest.java | 61 import com.android.compatibility.common.util.ShellIdentityUtils; 191 SubscriptionInfo info = ShellIdentityUtils.invokeMethodWithShellPermissions(mSm, in testGetActiveSubscriptionInfoForIcc() 193 assertNotNull(ShellIdentityUtils.invokeMethodWithShellPermissions(mSm, in testGetActiveSubscriptionInfoForIcc() 215 Resources r = ShellIdentityUtils.invokeMethodWithShellPermissions(mSm, in testGetResourcesForSubId() 596 ParcelUuid uuid = ShellIdentityUtils.invokeMethodWithShellPermissions(mSm, in testSubscriptionGroupingWithPermission() 605 infoList = ShellIdentityUtils.invokeMethodWithShellPermissions(mSm, in testSubscriptionGroupingWithPermission() 618 availableInfoList = ShellIdentityUtils.invokeMethodWithShellPermissions(mSm, in testSubscriptionGroupingWithPermission() 626 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mSm, in testSubscriptionGroupingWithPermission() 633 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mSm, in testSubscriptionGroupingWithPermission() 638 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mSm, in testSubscriptionGroupingWithPermission() [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()
|
D | TelephonyRegistryManagerTest.java | 22 import com.android.compatibility.common.util.ShellIdentityUtils; 76 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mTelephonyRegistryMgr, in testNotifyCallStateChangedForAllSubscriptions() 104 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mTelephonyRegistryMgr, in testNotifyCallStateChanged() 135 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mTelephonyRegistryMgr, in testNotifyServiceStateChanged() 164 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mTelephonyRegistryMgr, in testNotifySignalStrengthChanged() 193 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mTelephonyRegistryMgr, in testNotifyMessageWaitingChanged() 221 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mTelephonyRegistryMgr, in testNotifyCallForwardingChanged() 247 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mTelephonyRegistryMgr, in testNotifyDataActivityChanged()
|
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | ImsMmTelManagerTest.java | 45 import com.android.compatibility.common.util.ShellIdentityUtils; 178 boolean isEnabled = ShellIdentityUtils.invokeMethodWithShellPermissions(mMmTelManager, in testAdvancedCallingSetting() 180 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mMmTelManager, in testAdvancedCallingSetting() 184 boolean isEnabledResult = ShellIdentityUtils.invokeMethodWithShellPermissions(mMmTelManager, in testAdvancedCallingSetting() 190 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mMmTelManager, in testAdvancedCallingSetting() 210 boolean isEnabled = ShellIdentityUtils.invokeMethodWithShellPermissions(mMmTelManager, in testVtSetting() 212 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mMmTelManager, in testVtSetting() 216 boolean isEnabledResult = ShellIdentityUtils.invokeMethodWithShellPermissions(mMmTelManager, in testVtSetting() 222 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mMmTelManager, in testVtSetting() 246 boolean isEnabled = ShellIdentityUtils.invokeMethodWithShellPermissions(mMmTelManager, in testVoWiFiSetting() [all …]
|
/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 …]
|
D | DeviceIdentifiersTest.java | 26 import com.android.compatibility.common.util.ShellIdentityUtils; 47 ShellIdentityUtils.invokeMethodWithShellPermissions(telephonyManager, in testDeviceOwnerCanGetDeviceIdentifiersWithPermission() 50 ShellIdentityUtils.invokeMethodWithShellPermissions(telephonyManager, in testDeviceOwnerCanGetDeviceIdentifiersWithPermission() 53 ShellIdentityUtils.invokeMethodWithShellPermissions(telephonyManager, in testDeviceOwnerCanGetDeviceIdentifiersWithPermission() 56 ShellIdentityUtils.invokeMethodWithShellPermissions(telephonyManager, in testDeviceOwnerCanGetDeviceIdentifiersWithPermission() 60 ShellIdentityUtils.invokeMethodWithShellPermissions(telephonyManager, in testDeviceOwnerCanGetDeviceIdentifiersWithPermission() 65 ShellIdentityUtils.invokeMethodWithShellPermissions(telephonyManager, in testDeviceOwnerCanGetDeviceIdentifiersWithPermission() 68 ShellIdentityUtils.invokeStaticMethodWithShellPermissions(Build::getSerial), in testDeviceOwnerCanGetDeviceIdentifiersWithPermission() 76 ShellIdentityUtils.invokeMethodWithShellPermissions(subscriptionManager, in testDeviceOwnerCanGetDeviceIdentifiersWithPermission()
|
/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() 53 ShellIdentityUtils.invokeMethodWithShellPermissions(telephonyManager, in testProfileOwnerCanGetDeviceIdentifiersWithPermission() 56 ShellIdentityUtils.invokeMethodWithShellPermissions(telephonyManager, in testProfileOwnerCanGetDeviceIdentifiersWithPermission() 59 ShellIdentityUtils.invokeMethodWithShellPermissions(telephonyManager, in testProfileOwnerCanGetDeviceIdentifiersWithPermission() 63 ShellIdentityUtils.invokeMethodWithShellPermissions(telephonyManager, in testProfileOwnerCanGetDeviceIdentifiersWithPermission() 67 ShellIdentityUtils.invokeMethodWithShellPermissions(telephonyManager, in testProfileOwnerCanGetDeviceIdentifiersWithPermission() 70 ShellIdentityUtils.invokeStaticMethodWithShellPermissions(Build::getSerial), in testProfileOwnerCanGetDeviceIdentifiersWithPermission() 78 ShellIdentityUtils.invokeMethodWithShellPermissions(subscriptionManager, in testProfileOwnerCanGetDeviceIdentifiersWithPermission()
|
/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/wifi/src/android/net/wifi/cts/ |
D | MultiStaConcurrencyWifiNetworkSpecifierTest.java | 44 import com.android.compatibility.common.util.ShellIdentityUtils; 105 sWasVerboseLoggingEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 107 ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 110 sWasScanThrottleEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 112 ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 116 sWasWifiEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 119 ShellIdentityUtils.invokeWithShellPermissions(() -> wifiManager.setWifiEnabled(true)); in setUpClass() 132 ShellIdentityUtils.invokeWithShellPermissions( in tearDownClass() 134 ShellIdentityUtils.invokeWithShellPermissions( in tearDownClass() 136 ShellIdentityUtils.invokeWithShellPermissions( in tearDownClass() [all …]
|
D | MultiStaConcurrencyRestrictedWifiNetworkSuggestionTest.java | 45 import com.android.compatibility.common.util.ShellIdentityUtils; 104 sWasVerboseLoggingEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 106 ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 109 sWasScanThrottleEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 111 ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 115 sWasWifiEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 118 ShellIdentityUtils.invokeWithShellPermissions(() -> wifiManager.setWifiEnabled(true)); in setUpClass() 131 ShellIdentityUtils.invokeWithShellPermissions( in tearDownClass() 133 ShellIdentityUtils.invokeWithShellPermissions( in tearDownClass() 135 ShellIdentityUtils.invokeWithShellPermissions( in tearDownClass() [all …]
|
D | WifiNetworkSpecifierTest.java | 54 import com.android.compatibility.common.util.ShellIdentityUtils; 207 sWasVerboseLoggingEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 209 ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 212 sWasScanThrottleEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 214 ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 219 ShellIdentityUtils.invokeWithShellPermissions(() -> wifiManager.setWifiEnabled(true)); in setUpClass() 224 List<WifiConfiguration> savedNetworks = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 235 ShellIdentityUtils.invokeWithShellPermissions( in enableAllSavedNetworks() 244 ShellIdentityUtils.invokeWithShellPermissions( in disableAllSavedNetworks() 261 ShellIdentityUtils.invokeWithShellPermissions(() -> wifiManager.setWifiEnabled(true)); in tearDownClass() [all …]
|
D | WifiLocationInfoTest.java | 41 import com.android.compatibility.common.util.ShellIdentityUtils; 107 mWasVerboseLoggingEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUp() 109 ShellIdentityUtils.invokeWithShellPermissions( in setUp() 112 mWasScanThrottleEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUp() 114 ShellIdentityUtils.invokeWithShellPermissions( in setUp() 122 List<WifiConfiguration> savedNetworks = ShellIdentityUtils.invokeWithShellPermissions( in setUp() 127 ShellIdentityUtils.invokeWithShellPermissions(() -> mWifiManager.reconnect()); in setUp() 141 ShellIdentityUtils.invokeWithShellPermissions( in tearDown() 143 ShellIdentityUtils.invokeWithShellPermissions( in tearDown()
|
D | ScanResultTest.java | 38 import com.android.compatibility.common.util.ShellIdentityUtils; 123 mWasVerboseLoggingEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUp() 125 ShellIdentityUtils.invokeWithShellPermissions( in setUp() 128 mWasScanThrottleEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUp() 130 ShellIdentityUtils.invokeWithShellPermissions( in setUp() 155 ShellIdentityUtils.invokeWithShellPermissions( in tearDown() 157 ShellIdentityUtils.invokeWithShellPermissions( in tearDown() 308 ShellIdentityUtils.invokeWithShellPermissions(() -> mWifiManager.reconnect()); in testScanResultMatchesWifiInfo()
|
D | WifiNetworkSuggestionTest.java | 60 import com.android.compatibility.common.util.ShellIdentityUtils; 131 sWasVerboseLoggingEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 133 ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 136 sWasScanThrottleEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 138 ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 142 sWasWifiEnabled = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 145 ShellIdentityUtils.invokeWithShellPermissions(() -> sWifiManager.setWifiEnabled(true)); in setUpClass() 150 List<WifiConfiguration> savedNetworks = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 165 ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() 177 ShellIdentityUtils.invokeWithShellPermissions( in tearDownClass() [all …]
|
D | WifiJUnit3TestBase.java | 24 import com.android.compatibility.common.util.ShellIdentityUtils; 41 ShellIdentityUtils.invokeWithShellPermissions(() -> in setUp()
|
/cts/hostsidetests/devicepolicy/app/CrossProfileTestApps/CrossProfileAppsTest/src/com/android/cts/crossprofileappstest/ |
D | CrossProfileAppsStartActivityTest.java | 47 import com.android.compatibility.common.util.ShellIdentityUtils; 108 ShellIdentityUtils.dropShellPermissionIdentity(); in testCannotStartActivityByIntentWithNoPermissions() 117 ShellIdentityUtils.dropShellPermissionIdentity(); in testCanStartActivityByIntentWithInteractAcrossProfilesPermission() 119 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn( in testCanStartActivityByIntentWithInteractAcrossProfilesPermission() 137 ShellIdentityUtils.dropShellPermissionIdentity(); in testCanStartActivityByIntentWithInteractAcrossUsersPermission() 139 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn( in testCanStartActivityByIntentWithInteractAcrossUsersPermission() 157 ShellIdentityUtils.dropShellPermissionIdentity(); in testCanStartActivityByIntentWithInteractAcrossUsersFullPermission() 159 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn( in testCanStartActivityByIntentWithInteractAcrossUsersFullPermission() 179 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn( in testCannotStartActivityWithImplicitIntent() 191 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn( in testCanStartMainActivityByIntent() [all …]
|
/cts/tests/tests/gamemanager/src/android/gamemanager/cts/ |
D | GameManagerTest.java | 32 import com.android.compatibility.common.util.ShellIdentityUtils; 69 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mGameManager, in testGetGameModeUnsupported() 85 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mGameManager, in testGetGameModeStandard() 101 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mGameManager, in testGetGameModePerformance() 117 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(mGameManager, in testGetGameModeBattery()
|
/cts/tests/tests/batterysaving/src/android/os/cts/batterysaving/ |
D | ActionChargingTest.java | 35 import com.android.compatibility.common.util.ShellIdentityUtils; 96 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/tests/tests/telephony/sdk28/src/android/telephony/sdk28/cts/ |
D | CellInfoTest.java | 33 import com.android.compatibility.common.util.ShellIdentityUtils; 54 ServiceState ss = ShellIdentityUtils.invokeMethodWithShellPermissions( in isCamped() 83 List<CellInfo> cellInfo = ShellIdentityUtils.invokeMethodWithShellPermissions( in testCellInfoSdk28() 98 List<CellInfo> newCellInfo = ShellIdentityUtils.invokeMethodWithShellPermissions( in testCellInfoSdk28()
|
/cts/tests/app/AppExitTest/src/android/app/cts/ |
D | ActivityManagerAppExitInfoTest.java | 58 import com.android.compatibility.common.util.ShellIdentityUtils; 397 list = ShellIdentityUtils.invokeMethodWithShellPermissions( in testExitCode() 457 ShellIdentityUtils.invokeMethodWithShellPermissions( in testLmkdKill() 501 List<ApplicationExitInfo> list = ShellIdentityUtils.invokeMethodWithShellPermissions( in testKillBySignal() 565 List<ApplicationExitInfo> list = ShellIdentityUtils.invokeMethodWithShellPermissions( in testAnr() 584 String trace = ShellIdentityUtils.invokeMethodWithShellPermissions(info, (i) -> { in testAnr() 723 List<ApplicationExitInfo> list = ShellIdentityUtils.invokeMethodWithShellPermissions( in testPermissionChange() 776 List<ApplicationExitInfo> list = ShellIdentityUtils.invokeMethodWithShellPermissions( in testPermissionChangeWithReason() 809 List<ApplicationExitInfo> list = ShellIdentityUtils.invokeMethodWithShellPermissions( in testCrash() 834 List<ApplicationExitInfo> list = ShellIdentityUtils.invokeMethodWithShellPermissions( in testNativeCrash() [all …]
|
/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()
|
/cts/hostsidetests/appsecurity/test-apps/PackageInstallerWhitelistApp/src/com/android/cts/packageinstallerpermissionwhitelistapp/ |
D | PermissionWhitelistTest.kt | 28 import com.android.compatibility.common.util.ShellIdentityUtils 70 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(packageManager, in setTargetInstallerPackage() 71 ShellIdentityUtils.ShellPermissionMethodHelperNoReturn { in setTargetInstallerPackage()
|
/cts/hostsidetests/telephony/devicetest/src/android/telephony/device/cts/ |
D | TelephonyTest.java | 34 import com.android.compatibility.common.util.ShellIdentityUtils; 99 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(telephonyRegistryManager, in testListenerRegistrationWithChangeEnabled() 125 ShellIdentityUtils.invokeMethodWithShellPermissionsNoReturn(telephonyRegistryManager, in testListenerRegistrationWithChangeDisabled() 134 int registrationLimit = ShellIdentityUtils.invokeStaticMethodWithShellPermissions(() -> in registerFillerListeners()
|