/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | ShellIdentityUtils.java | 114 uiAutomation.dropShellPermissionIdentity(); in invokeMethodWithShellPermissions() 133 uiAutomation.dropShellPermissionIdentity(); in invokeMethodWithShellPermissions() 163 uiAutomation.dropShellPermissionIdentity(); in invokeMethodWithShellPermissions() 185 uiAutomation.dropShellPermissionIdentity(); in invokeMethodWithShellPermissions() 207 uiAutomation.dropShellPermissionIdentity(); in invokeMethodWithShellPermissions() 228 uiAutomation.dropShellPermissionIdentity(); in invokeThrowableMethodWithShellPermissions() 248 uiAutomation.dropShellPermissionIdentity(); in invokeMethodWithShellPermissionsNoReturn() 268 uiAutomation.dropShellPermissionIdentity(); in invokeThrowableMethodWithShellPermissionsNoReturn() 289 uiAutomation.dropShellPermissionIdentity(); in invokeThrowableMethodWithShellPermissionsNoReturn() 309 uiAutomation.dropShellPermissionIdentity(); in invokeMethodWithShellPermissionsNoReturn() [all …]
|
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/ |
D | VisualQueryDetectionServiceBasicTest.java | 204 .dropShellPermissionIdentity(); in testVisualQueryDetectionService_destroyVisualQueryDetector_activeDetectorRemoved() 237 .dropShellPermissionIdentity(); in testVisualQueryDetectionService_startRecogintion_testCameraOpen() 266 .dropShellPermissionIdentity(); in testVisualQueryDetectionService_startRecogintion_noQuery() 302 .dropShellPermissionIdentity(); in testVisualQueryDetectionService_startRecogintion_attentionQueryFinishedLeave() 337 .dropShellPermissionIdentity(); in testVisualQueryDetectionService_startRecogintion_audioVisualAttentionQueryStream() 372 .dropShellPermissionIdentity(); in testVisualQueryDetectionService_startRecogintion_AccessibilityAttentionQueryStream() 412 .dropShellPermissionIdentity(); in testVisualQueryDetectionService_startRecogintion_enableA11ySettingStreamSuccess() 450 .dropShellPermissionIdentity(); in testVisualQueryDetectionService_startRecogintion_disableA11ySettingStreamFailure() 484 .dropShellPermissionIdentity(); in testVisualQueryDetectionService_startRecogintion_attentionQueryRejectedLeave() 520 .dropShellPermissionIdentity(); in testVisualQueryDetectionService_startRecogintion_attentionDoubleQueryFinishedLeave() [all …]
|
D | HotwordDetectionServiceProximityTest.java | 203 .dropShellPermissionIdentity(); in testAttentionService_onDetectFromDsp() 226 .dropShellPermissionIdentity(); in testAttentionService_onDetectFromMic_noUpdates() 252 .dropShellPermissionIdentity(); in testAttentionService_onDetectFromMic_unknownProximity() 278 .dropShellPermissionIdentity(); in testAttentionService_onDetectFromMic_updatedProximity() 306 .dropShellPermissionIdentity(); in testAttentionService_onDetectFromExternalSource_doesNotReceiveProximity() 347 uiAutomation.dropShellPermissionIdentity(); in adoptShellPermissionIdentityForHotword()
|
D | HotwordDetectionServiceBasicTest.java | 638 .dropShellPermissionIdentity(); in testHotwordDetectionService_onDetectFromDspTimeout_triggerOnFailure() 811 .dropShellPermissionIdentity(); in testHotwordDetectionService_onDetectFromExternalSourceAudioBroken_onFailure() 852 .dropShellPermissionIdentity(); in testHotwordDetectionService_createDetectorTwiceQuickly_triggerSuccess() 900 .dropShellPermissionIdentity(); in testHotwordDetectionServiceDspWithAudioEgress() 938 .dropShellPermissionIdentity(); in testHotwordDetectionService_softwareDetectorWithAudioEgress() 980 .dropShellPermissionIdentity(); in testHotwordDetectionService_onDetectFromExternalSourceWithAudioEgress() 1258 .dropShellPermissionIdentity(); in testHotwordDetectionServiceDspWithAudioEgressWrongCopyBufferSize() 1298 .dropShellPermissionIdentity(); in testHotwordDetectionService_softwareDetectorWithAudioEgressWrongCopyBufferSize() 1341 .dropShellPermissionIdentity(); in testHotwordDetectionService_externalSourceWithAudioEgressWrongCopyBufferSize() 1364 .dropShellPermissionIdentity(); in testHotwordDetectionService_onDetectFromDsp_success() [all …]
|
D | HotwordDetectionServicePermissionTest.java | 109 .dropShellPermissionIdentity(); in tearDown() 151 .dropShellPermissionIdentity(); in testHotwordDetectionService_hasCaptureAudioOutputPermission() 158 uiAutomation.dropShellPermissionIdentity(); in adoptShellPermissionIdentityForHotword()
|
/cts/tests/tests/car_permission_tests/src/android/car/cts/permissiontest/hardware/property/ |
D | CarVendorPropertyCustomPermissionTest.java | 83 mUiAutomation.dropShellPermissionIdentity(); in assumePropertyIsSupported() 98 mUiAutomation.dropShellPermissionIdentity(); in testGetMixedTypePropertyForTest() 119 mUiAutomation.dropShellPermissionIdentity(); in testSetMixedTypePropertyForTest() 142 mUiAutomation.dropShellPermissionIdentity(); in testGetVendorExtensionIntProperty() 175 mUiAutomation.dropShellPermissionIdentity(); in testGetVendorExtensionFloatProperty() 196 mUiAutomation.dropShellPermissionIdentity(); in testSetVendorExtensionFloatProperty()
|
/cts/tests/tests/car_permission_tests/src/android/car/cts/permissiontest/diagnostic/ |
D | CarDiagnosticManagerPermissionTest.java | 70 mUiAutomation.dropShellPermissionIdentity(); in testRegisterUnregisterListenerWithCorrectPermission() 85 mUiAutomation.dropShellPermissionIdentity(); in testRegisterListenerWithWrongPermission() 95 mUiAutomation.dropShellPermissionIdentity(); in testClearFreezeFrameWithCorrectPermission() 105 mUiAutomation.dropShellPermissionIdentity(); in testClearFreezeFrameWithWrongPermission()
|
/cts/tests/tests/usb/src/android/usb/cts/ |
D | UsbPortApiTest.java | 110 mUiAutomation.dropShellPermissionIdentity(); in test_UsbApiForResetUsbPort() 137 mUiAutomation.dropShellPermissionIdentity(); in test_UsbApiForEnableUsbDataWhileDocked() 166 mUiAutomation.dropShellPermissionIdentity(); in test_UsbApiForEnableUsbData() 195 mUiAutomation.dropShellPermissionIdentity(); in test_UsbApiForEnableLimitPowerTransfer() 224 mUiAutomation.dropShellPermissionIdentity(); in test_UsbApiForGetStatus() 255 mUiAutomation.dropShellPermissionIdentity(); in test_UsbApiForSupportsComplianceWarnings()
|
D | UsbManagerApiTest.java | 100 mUiAutomation.dropShellPermissionIdentity(); in test_UsbApiSetGetCurrentFunctionsSys() 137 mUiAutomation.dropShellPermissionIdentity(); in test_UsbApiForUsbGadgetHal() 167 mUiAutomation.dropShellPermissionIdentity(); in test_UsbApiForUsbHal() 198 mUiAutomation.dropShellPermissionIdentity(); in test_UsbApiForDisplayPortAltModeRegisterSecurity() 225 mUiAutomation.dropShellPermissionIdentity(); in test_UsbApiForDisplayPortAltModeUnregisterSecurity() 259 mUiAutomation.dropShellPermissionIdentity(); in test_UsbApiForDisplayPortAltModeRegisterFunctionality() 299 mUiAutomation.dropShellPermissionIdentity(); in test_UsbApiForDisplayPortAltModeRegisterMultiListenerFunctionality()
|
D | UsbPortStatusApiTest.java | 132 mUiAutomation.dropShellPermissionIdentity(); in test_UsbApiForGetComplianceWarnings() 190 mUiAutomation.dropShellPermissionIdentity(); in test_UsbApiForGetPlugState() 221 mUiAutomation.dropShellPermissionIdentity(); in test_UsbApiForDisplayPortAltMode() 245 mUiAutomation.dropShellPermissionIdentity(); in test_UsbApiForDisplayPortAltModeLinkTrainingStatus() 267 mUiAutomation.dropShellPermissionIdentity(); in test_UsbApiForDisplayPortAltModeHotPlugDetect()
|
/cts/tests/tests/nativemedia/aaudio/src/android/nativemedia/aaudio/ |
D | AAudioTests.java | 69 uiAutomation.dropShellPermissionIdentity(); in enableAudioOutputPermission() 77 uiAutomation.dropShellPermissionIdentity(); in enableAudioHotwordPermission() 85 uiAutomation.dropShellPermissionIdentity(); in disablePermissions()
|
/cts/tests/tests/batteryhealth/src/android/os/cts/batteryhealth/ |
D | BatteryHealthTest.java | 86 mAutomation.dropShellPermissionIdentity(); in testManufacturingDate_dataInRange() 102 mAutomation.dropShellPermissionIdentity(); in testFirstUsageDate_dataInRange() 117 mAutomation.dropShellPermissionIdentity(); in testChargingPolicy_dataInRange() 135 mAutomation.dropShellPermissionIdentity(); in testBatteryStateOfHealth_dataInRange() 153 mAutomation.dropShellPermissionIdentity(); in testBatterySerialNumber_dataValid() 172 mAutomation.dropShellPermissionIdentity(); in testBatteryPartStatus_dataInRange()
|
/cts/tests/app/src/android/app/cts/ |
D | StatusBarManagerTest.java | 82 mUiAutomation.dropShellPermissionIdentity(); in tearDown() 143 mUiAutomation.dropShellPermissionIdentity(); in testCollapsePanels_withoutStatusBarPermission_throws() 160 mUiAutomation.dropShellPermissionIdentity(); in testTogglePanel_withoutStatusBarPermission_throws() 177 mUiAutomation.dropShellPermissionIdentity(); in testHandleSystemKey_withoutStatusBarPermission_throws()
|
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/ |
D | BluetoothDeviceTest.java | 113 mUiAutomation.dropShellPermissionIdentity(); in tearDown() 218 mUiAutomation.dropShellPermissionIdentity(); in getBatteryLevel() 233 mUiAutomation.dropShellPermissionIdentity(); in isBondingInitiatedLocally() 259 mUiAutomation.dropShellPermissionIdentity(); in setPin() 282 mUiAutomation.dropShellPermissionIdentity(); in cancelBondProcess() 295 mUiAutomation.dropShellPermissionIdentity(); in createBond() 314 mUiAutomation.dropShellPermissionIdentity(); in createBondOutOfBand() 326 mUiAutomation.dropShellPermissionIdentity(); in getUuids() 342 mUiAutomation.dropShellPermissionIdentity(); in isEncrypted() 358 mUiAutomation.dropShellPermissionIdentity(); in removeBond() [all …]
|
D | BluetoothSapTest.java | 105 mUiAutomation.dropShellPermissionIdentity(); in tearDown() 133 mUiAutomation.dropShellPermissionIdentity(); in getConnectedDevices() 149 mUiAutomation.dropShellPermissionIdentity(); in getDevicesMatchingConnectionStates() 167 mUiAutomation.dropShellPermissionIdentity(); in getConnectionState() 183 mUiAutomation.dropShellPermissionIdentity(); in setgetConnectionPolicy()
|
/cts/tests/tests/wifi/src/android/net/wifi/cts/ |
D | EasyConnectStatusCallbackTest.java | 185 uiAutomation.dropShellPermissionIdentity(); in testConfiguratorInitiatorOnFailure() 217 uiAutomation.dropShellPermissionIdentity(); in testEnrolleeInitiatorOnFailure() 253 uiAutomation.dropShellPermissionIdentity(); in testEnrolleeResponderUriGeneration() 283 uiAutomation.dropShellPermissionIdentity(); in testStartEasyConnectAsEnrolleeResponderThrowsIllegalArgumentExceptionOnWrongDeviceInfo()
|
/cts/hostsidetests/appsearch/test-apps/AppSearchHostTestHelperA/src/android/appsearch/app/helper_a/ |
D | ContactsIndexerDeviceTest.java | 55 mUiAutomation.dropShellPermissionIdentity(); in testFullUpdateJobIsScheduled() 68 mUiAutomation.dropShellPermissionIdentity(); in testFullUpdateJobIsNotScheduled()
|
/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/ |
D | UpdateOwnershipEnforcementMultiUserTest.kt | 153 .dropShellPermissionIdentity() in installExistingPackage_updateOwnerIsNotTheSame_hasNoUpdateOwner() 185 .dropShellPermissionIdentity() in installExistingPackage_updateOwnerIsTheSame_ownerRetained() 205 .dropShellPermissionIdentity() in installExistingPackage_noUpdateOwnerIsSet_hasNoUpdateOwner()
|
D | UpdateOwnershipEnforcementTest.kt | 189 InstrumentationRegistry.getInstrumentation().uiAutomation.dropShellPermissionIdentity() in updateOwnershipEnforcement_updateByOwner_hasNoUserAction() 216 InstrumentationRegistry.getInstrumentation().uiAutomation.dropShellPermissionIdentity() in updateOwnershipEnforcement_updateByNonOwner_hasUserAction() 245 InstrumentationRegistry.getInstrumentation().uiAutomation.dropShellPermissionIdentity() in updateOwnershipEnforcement_updateViaIntentByNonOwner_hasUserAction() 304 .dropShellPermissionIdentity() in updateArchivedAppViaSessionByNonOwner_showConfirmDialog() 331 InstrumentationRegistry.getInstrumentation().uiAutomation.dropShellPermissionIdentity() in featureDisabled_updateByNonOwner_hasNoUserAction()
|
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | ImsServiceTest.java | 1016 .dropShellPermissionIdentity(); in testMmTelSendMemoryAvailabilityNotification() 1174 automan.dropShellPermissionIdentity(); in testMmTelManagerRegistrationCallbackS() 1212 automan.dropShellPermissionIdentity(); in testMmTelManagerRegistrationCallbackS() 1406 automan.dropShellPermissionIdentity(); in testMmTelManagerRegistrationCallback() 1445 automan.dropShellPermissionIdentity(); in testMmTelManagerRegistrationCallback() 1529 automan.dropShellPermissionIdentity(); in testRcsDeviceCapabilitiesPublish() 1551 automan.dropShellPermissionIdentity(); in testRcsDeviceCapabilitiesPublish() 1567 automan.dropShellPermissionIdentity(); in testRcsDeviceCapabilitiesPublish() 1620 automan.dropShellPermissionIdentity(); in testRcsDeviceCapabilitiesPublish() 1628 automan.dropShellPermissionIdentity(); in testRcsDeviceCapabilitiesPublish() [all …]
|
/cts/tests/tests/car/lib/CarIntegrationTestUtilsLib/src/android/car/cts/utils/ |
D | ShellPermissionUtils.java | 62 uiAutomation.dropShellPermissionIdentity(); in runWithShellPermissionIdentity() 135 uiAutomation.dropShellPermissionIdentity(); in runWithShellPermissionIdentity()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | SelfManagedConnectionTest.java | 237 mUiAutomation.dropShellPermissionIdentity(); in testBindToSupportNonUiInCallService() 264 mUiAutomation.dropShellPermissionIdentity(); in testBindToSupportDefaultDialerNoCarMode() 315 mUiAutomation.dropShellPermissionIdentity(); in testEnterCarMode() 483 mUiAutomation.dropShellPermissionIdentity(); in testIncomingVideoCallWithNoVideoSupportInCarMode() 586 mUiAutomation.dropShellPermissionIdentity(); in testSwapInCallServicesForSelfManagedCSCall() 629 mUiAutomation.dropShellPermissionIdentity(); in testChangeCarModeApp() 656 mUiAutomation.dropShellPermissionIdentity(); in testExitCarMode() 691 mUiAutomation.dropShellPermissionIdentity(); in setDefaultDialer() 698 mUiAutomation.dropShellPermissionIdentity(); in getDefaultDialer()
|
/cts/tests/tests/nfc/src/android/nfc/cts/ |
D | WalletRoleTestUtils.java | 137 .getUiAutomation().dropShellPermissionIdentity(); in getDefaultWalletRoleHolder() 178 .getUiAutomation().dropShellPermissionIdentity(); in runWithRole() 194 .getUiAutomation().dropShellPermissionIdentity(); in canAssignRoleToPackage() 236 .getUiAutomation().dropShellPermissionIdentity(); in runWithRoleNone() 264 .getUiAutomation().dropShellPermissionIdentity(); in clearRoleHolders()
|
/cts/hostsidetests/packagemanager/domainverification/device/standalone/src/com/android/cts/packagemanager/verify/domain/device/standalone/ |
D | DomainVerificationFilterGroupTests.kt | 85 instrumentation.uiAutomation.dropShellPermissionIdentity() in clearGroups() 109 instrumentation.uiAutomation.dropShellPermissionIdentity() in resolveWithUriRelativeFilterGroups_domainNotVerified() 179 instrumentation.uiAutomation.dropShellPermissionIdentity() in resolveWithUriRelativeFilterGroups_wildcardDomains() 213 instrumentation.uiAutomation.dropShellPermissionIdentity() in setUriRelativeFilterGroup_rejectBadDomains() 250 instrumentation.uiAutomation.dropShellPermissionIdentity() in assertResolveFilterGroups()
|
/cts/hostsidetests/content/test-apps/ContextCrossProfileApps/ContextCrossProfileApp/src/com/android/cts/context/ |
D | ContextCrossProfileDeviceTest.java | 68 .dropShellPermissionIdentity(); in tearDown() 144 uiAutomation.dropShellPermissionIdentity(); in testBindServiceAsUser_sameProfileGroup_samePackage_withAcrossProfilesPermission_bindsService() 186 uiAutomation.dropShellPermissionIdentity(); in testBindServiceAsUser_sameProfileGroup_samePackage_withAcrossProfilesAppOp_bindsService() 206 uiAutomation.dropShellPermissionIdentity(); in testBindServiceAsUser_sameProfileGroup_differentPackage_withAcrossProfilesAppOp_throwsException() 289 uiAutomation.dropShellPermissionIdentity(); in testBindServiceAsUser_differentProfileGroup_withInteractAcrossProfilesAppOp_throwsException() 332 uiAutomation.dropShellPermissionIdentity(); in testBindServiceAsUser_withInteractAcrossProfilePermission_noAsserts()
|