Home
last modified time | relevance | path

Searched refs:dropShellPermissionIdentity (Results 1 – 25 of 56) sorted by relevance

123

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DShellIdentityUtils.java102 uiAutomation.dropShellPermissionIdentity(); in invokeMethodWithShellPermissions()
121 uiAutomation.dropShellPermissionIdentity(); in invokeMethodWithShellPermissions()
142 uiAutomation.dropShellPermissionIdentity(); in invokeThrowableMethodWithShellPermissions()
162 uiAutomation.dropShellPermissionIdentity(); in invokeMethodWithShellPermissionsNoReturn()
182 uiAutomation.dropShellPermissionIdentity(); in invokeThrowableMethodWithShellPermissionsNoReturn()
203 uiAutomation.dropShellPermissionIdentity(); in invokeThrowableMethodWithShellPermissionsNoReturn()
223 uiAutomation.dropShellPermissionIdentity(); in invokeMethodWithShellPermissionsNoReturn()
254 uiAutomation.dropShellPermissionIdentity(); in invokeStaticMethodWithShellPermissions()
DSystemUtil.java203 automan.dropShellPermissionIdentity(); in runWithShellPermissionIdentity()
217 automan.dropShellPermissionIdentity(); in callWithShellPermissionIdentity()
DAdoptShellPermissionsRule.java70 mUiAutomation.dropShellPermissionIdentity(); in apply()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DShellIdentityUtils.java72 uiAutomation.dropShellPermissionIdentity(); in invokeMethodWithShellPermissions()
91 uiAutomation.dropShellPermissionIdentity(); in invokeMethodWithShellPermissionsNoReturn()
122 uiAutomation.dropShellPermissionIdentity(); in invokeStaticMethodWithShellPermissions()
DSystemUtil.java189 automan.dropShellPermissionIdentity(); in runWithShellPermissionIdentity()
203 automan.dropShellPermissionIdentity(); in callWithShellPermissionIdentity()
DAdoptShellPermissionsRule.java71 mUiAutomation.dropShellPermissionIdentity(); in apply()
/cts/tests/tests/notificationlegacy/notificationlegacy29/src/android/app/notification/legacy29/cts/
DNotificationAssistantServiceTest.java95 mUi.dropShellPermissionIdentity(); in tearDown()
108 mUi.dropShellPermissionIdentity(); in testOnNotificationEnqueued()
144 mUi.dropShellPermissionIdentity(); in testAdjustNotification_userSentimentKey()
178 mUi.dropShellPermissionIdentity(); in testAdjustNotification_importanceKey()
211 mUi.dropShellPermissionIdentity(); in testAdjustNotification_smartActionKey()
262 mUi.dropShellPermissionIdentity(); in testAdjustNotification_smartReplyKey()
307 mUi.dropShellPermissionIdentity(); in testAdjustNotification_importanceKey_notAllowed()
377 mUi.dropShellPermissionIdentity(); in testGetAllowedAssistantCapabilities()
523 mUi.dropShellPermissionIdentity(); in toggleAssistantAccess()
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DImsServiceTest.java756 automan.dropShellPermissionIdentity(); in testMmTelManagerRegistrationCallback()
795 automan.dropShellPermissionIdentity(); in testMmTelManagerRegistrationCallback()
863 automan.dropShellPermissionIdentity(); in testRcsManagerRegistrationCallback()
890 automan.dropShellPermissionIdentity(); in testRcsManagerRegistrationCallback()
1101 automan.dropShellPermissionIdentity(); in testCapabilityStatusCallback()
1121 automan.dropShellPermissionIdentity(); in testCapabilityStatusCallback()
1152 automan.dropShellPermissionIdentity(); in testCapabilityStatusCallback()
1206 automan.dropShellPermissionIdentity(); in testCapabilityStatusWithIsAvailableDuringCallback()
1224 automan.dropShellPermissionIdentity(); in testCapabilityStatusWithIsAvailableDuringCallback()
1237 automan.dropShellPermissionIdentity(); in testCapabilityStatusWithIsAvailableDuringCallback()
[all …]
/cts/tests/tests/telecom/src/android/telecom/cts/
DConnectionServiceTest.java77 .dropShellPermissionIdentity(); in testAddExistingConnection()
279 .dropShellPermissionIdentity(); in testCallDirectionIncoming()
314 .dropShellPermissionIdentity(); in testCallDirectionOutgoing()
358 .dropShellPermissionIdentity(); in testGetAllConnections()
DNonUiInCallServiceTest.java80 .dropShellPermissionIdentity(); in testMidCallComponentEnablement()
115 .dropShellPermissionIdentity(); in testNullBinding()
/cts/tests/tests/hardware/src/android/hardware/lights/cts/
DLightsManagerTest.java67 .dropShellPermissionIdentity(); in tearDown()
73 .dropShellPermissionIdentity(); in testControlLightsPermissionIsRequiredToUseLights()
/cts/libs/install/src/com/android/cts/install/lib/
DInstallUtils.java61 public static void dropShellPermissionIdentity() { in dropShellPermissionIdentity() method in InstallUtils
65 .dropShellPermissionIdentity(); in dropShellPermissionIdentity()
/cts/tests/tests/os/src/android/os/image/cts/
DDynamicSystemClientTest.java92 mInstrumentation.getUiAutomation().dropShellPermissionIdentity(); in tearDown()
/cts/hostsidetests/appcompat/compatchanges/app/src/com/android/cts/appcompat/
DCompatChangesTest.java56 InstrumentationRegistry.getInstrumentation().getUiAutomation().dropShellPermissionIdentity(); in tearDown()
/cts/tests/app/src/android/app/cts/
DStatusBarManagerTest.java61 getInstrumentation().getUiAutomation().dropShellPermissionIdentity(); in tearDown()
/cts/tests/tests/appop/src/android/app/appops/cts/
DAppOpsUtils.kt112 uiAutomation.dropShellPermissionIdentity() in runWithShellPermissionIdentity()
/cts/tests/tests/tethering/src/android/tethering/cts/
DTetheringManagerTest.java112 private void dropShellPermissionIdentity() { in dropShellPermissionIdentity() method in TetheringManagerTest
115 uiAutomation.dropShellPermissionIdentity(); in dropShellPermissionIdentity()
138 dropShellPermissionIdentity(); in tearDown()
669 dropShellPermissionIdentity(); in testEnableTetheringPermission()
/cts/tests/rollback/src/com/android/cts/rollback/
DRollbackManagerTest.java72 .dropShellPermissionIdentity(); in teardown()
/cts/hostsidetests/devicepolicy/app/PackageInstaller/src/com/android/cts/packageinstaller/
DManualPackageInstallTest.java134 mUiAutomation.dropShellPermissionIdentity(); in getSettingsPackageName()
/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/
DApexShimValidationTest.java68 .dropShellPermissionIdentity(); in dropShellPermissions()
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/
DSuspendPackageTest.java133 mUiAutomation.dropShellPermissionIdentity(); in getSettingsPackageName()
/cts/tests/tests/deviceconfig/src/android/deviceconfig/cts/
DDeviceConfigApiPermissionTests.java55 .dropShellPermissionIdentity(); in dropShellPermissionIdentityAfterTest()
/cts/tests/contentsuggestions/src/android/contentsuggestions/cts/
DContentSuggestionsManagerTest.java103 getInstrumentation().getUiAutomation().dropShellPermissionIdentity(); in tearDown()
/cts/hostsidetests/backup/RestoreSessionTest/src/android/cts/backup/restoresessionapp/
DRestoreSessionTest.java149 mUiAutomation.dropShellPermissionIdentity(); in tearDown()
/cts/hostsidetests/appsecurity/test-apps/ApplicationVisibilityCrossUserApp/src/com/android/cts/applicationvisibility/
DApplicationVisibilityCrossUserTest.java193 uiAutomation.dropShellPermissionIdentity(); in ungrantAcrossUsersPermission()

123