/frameworks/base/tests/PlatformCompatGating/src/com/android/tests/gating/ |
D | PlatformCompatPermissionsTest.java | 89 mUiAutomation.adoptShellPermissionIdentity(LOG_COMPAT_CHANGE); in reportChange_logCompatChangePermission_noThrow() 107 mUiAutomation.adoptShellPermissionIdentity(LOG_COMPAT_CHANGE); in reportChangeByPackageName_logCompatChangePermission_noThrow() 124 mUiAutomation.adoptShellPermissionIdentity(LOG_COMPAT_CHANGE); in reportChangeByUid_logCompatChangePermission_noThrow() 142 mUiAutomation.adoptShellPermissionIdentity(READ_COMPAT_CHANGE_CONFIG); in isChangeEnabled_noLogCompatChangeConfigPermission_throwsSecurityException() 151 mUiAutomation.adoptShellPermissionIdentity(READ_COMPAT_CHANGE_CONFIG, LOG_COMPAT_CHANGE); in isChangeEnabled_readAndLogCompatChangeConfigPermission_noThrow() 170 mUiAutomation.adoptShellPermissionIdentity(READ_COMPAT_CHANGE_CONFIG); in isChangeEnabledByPackageName_noLogompatConfigPermission_throwsSecurityException() 179 mUiAutomation.adoptShellPermissionIdentity(READ_COMPAT_CHANGE_CONFIG, LOG_COMPAT_CHANGE); in isChangeEnabledByPackageName_readAndLogCompatChangeConfigPermission_noThrow() 197 mUiAutomation.adoptShellPermissionIdentity(READ_COMPAT_CHANGE_CONFIG); in isChangeEnabledByUid_noLogCompatChangePermission_throwsSecurityException() 205 mUiAutomation.adoptShellPermissionIdentity(READ_COMPAT_CHANGE_CONFIG, LOG_COMPAT_CHANGE); in isChangeEnabledByUid_readAndLogCompatChangeConfigPermission_noThrow() 225 mUiAutomation.adoptShellPermissionIdentity(OVERRIDE_COMPAT_CHANGE_CONFIG); in setOverrides_overridesPermission_noThrow() [all …]
|
/frameworks/base/tests/RollbackTest/RollbackTest/src/com/android/tests/rollback/ |
D | RollbackTest.java | 95 InstallUtils.adoptShellPermissionIdentity( in testBasic() 181 InstallUtils.adoptShellPermissionIdentity( in testAvailableRollbackPersistence() 238 InstallUtils.adoptShellPermissionIdentity( in testAvailableMultiPackageRollbackPersistence() 317 InstallUtils.adoptShellPermissionIdentity( in testRecentlyCommittedRollbackPersistence() 373 InstallUtils.adoptShellPermissionIdentity( in testRollbackExpiresAfterLifetime() 437 InstallUtils.adoptShellPermissionIdentity( in testTimeChangeDoesNotAffectLifetime() 517 InstallUtils.adoptShellPermissionIdentity( in testRollbackExpiration() 550 InstallUtils.adoptShellPermissionIdentity( in testUserDataRollback() 575 InstallUtils.adoptShellPermissionIdentity( in testRollbackWithSplits() 626 InstallUtils.adoptShellPermissionIdentity( in testMultipleRollbackAvailable() [all …]
|
D | MultiUserRollbackTest.java | 46 InstallUtils.adoptShellPermissionIdentity( in adoptShellPermissions()
|
D | StagedRollbackTest.java | 75 InstallUtils.adoptShellPermissionIdentity( in adoptShellPermissions()
|
/frameworks/base/core/java/android/app/ |
D | IUiAutomationConnection.aidl | 51 void adoptShellPermissionIdentity(int uid, in String[] permissions); in adoptShellPermissionIdentity() method
|
D | UiAutomation.java | 371 public void adoptShellPermissionIdentity() { in adoptShellPermissionIdentity() method in UiAutomation 377 mUiAutomationConnection.adoptShellPermissionIdentity(Process.myUid(), null); in adoptShellPermissionIdentity() 399 public void adoptShellPermissionIdentity(@Nullable String... permissions) { in adoptShellPermissionIdentity() method in UiAutomation 405 mUiAutomationConnection.adoptShellPermissionIdentity(Process.myUid(), permissions); in adoptShellPermissionIdentity()
|
D | UiAutomationConnection.java | 304 public void adoptShellPermissionIdentity(int uid, @Nullable String[] permissions) in adoptShellPermissionIdentity() method in UiAutomationConnection
|
/frameworks/base/tests/PlatformCompatGating/test-rules/src/android/compat/testing/ |
D | PlatformCompatChangeRule.java | 97 uiAutomation.adoptShellPermissionIdentity( in evaluate()
|
/frameworks/base/tests/net/common/java/android/net/ |
D | NetworkProviderTest.kt | 54 instrumentation.getUiAutomation().adoptShellPermissionIdentity() in <lambda>()
|
/frameworks/base/core/tests/bugreports/src/android/server/bugreports/ |
D | BugreportManagerTest.java | 290 .adoptShellPermissionIdentity(Manifest.permission.DUMP); in getPermissions()
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/ |
D | BandwidthTest.java | 80 uiAutomation.adoptShellPermissionIdentity(); in setUp()
|
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | TetheringServiceTest.java | 143 if (permissions.length > 0) mUiAutomation.adoptShellPermissionIdentity(permissions); in runTetheringCall()
|
/frameworks/base/packages/Tethering/tests/integration/src/android/net/ |
D | EthernetTetheringTest.java | 111 mUiAutomation.adoptShellPermissionIdentity( in setUp()
|
/frameworks/base/tests/PackageWatchdog/src/com/android/server/ |
D | PackageWatchdogTest.java | 800 .adoptShellPermissionIdentity(permissions); in adoptShellPermissions()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationManagerServiceTest.java | 328 InstrumentationRegistry.getInstrumentation().getUiAutomation().adoptShellPermissionIdentity( in setUp()
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 6291 method public void adoptShellPermissionIdentity(); 6292 method public void adoptShellPermissionIdentity(@Nullable java.lang.String...);
|
/frameworks/base/api/ |
D | current.txt | 6291 method public void adoptShellPermissionIdentity(); 6292 method public void adoptShellPermissionIdentity(@Nullable java.lang.String...);
|