/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/ |
D | WindowPerfTestBase.java | 71 public static UiAutomation getUiAutomation() { in getUiAutomation() method in WindowPerfTestBase 72 return getInstrumentation().getUiAutomation(); in getUiAutomation() 76 getUiAutomation().executeShellCommand("atrace --async_start -b 32768 -c " + tags); in startAsyncAtrace() 83 getUiAutomation().executeShellCommand("atrace --async_stop")); in stopAsyncAtraceWithStream() 119 final ParcelFileDescriptor pfd = getUiAutomation().executeShellCommand(command); in executeShellCommand() 134 getUiAutomation().adoptShellPermissionIdentity(); in runWithShellPermissionIdentity() 138 getUiAutomation().dropShellPermissionIdentity(); in runWithShellPermissionIdentity()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/utils/ |
D | CommonUtils.java | 41 public static UiAutomation getUiAutomation() { in getUiAutomation() method in CommonUtils 42 return getInstrumentation().getUiAutomation(); in getUiAutomation() 46 getUiAutomation().adoptShellPermissionIdentity(); in runWithShellPermissionIdentity() 50 getUiAutomation().dropShellPermissionIdentity(); in runWithShellPermissionIdentity()
|
/frameworks/base/tests/permission/src/com/android/framework/permission/tests/ |
D | VibratorManagerServicePermissionTest.java | 74 getInstrumentation().getUiAutomation().dropShellPermissionIdentity(); in cleanUp() 118 getInstrumentation().getUiAutomation().adoptShellPermissionIdentity( in testVibrateWithVibratePermissionAndSameProcessUidIsAllowed() 128 getInstrumentation().getUiAutomation().adoptShellPermissionIdentity( in testVibrateWithVibratePermissionAndDifferentUidsFails() 137 getInstrumentation().getUiAutomation().adoptShellPermissionIdentity( in testVibrateWithAllPermissionsAndDifferentUidsIsAllowed()
|
/frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/testrunner/ |
D | UiAutomatorTestCase.java | 88 getInstrumentation().getUiAutomation().setRunAsMonkey(Boolean.valueOf(monkeyVal)); in initialize() 93 getInstrumentation().getUiAutomation())); in initialize()
|
/frameworks/base/core/tests/bugreports/src/com/android/os/bugreports/tests/ |
D | BugreportManagerTest.java | 527 InstrumentationRegistry.getInstrumentation().getUiAutomation().executeShellCommand( in startPreDumpedUiTraces() 531 InstrumentationRegistry.getInstrumentation().getUiAutomation().executeShellCommand( in startPreDumpedUiTraces() 538 InstrumentationRegistry.getInstrumentation().getUiAutomation().executeShellCommand( in startPreDumpedUiTraces() 541 InstrumentationRegistry.getInstrumentation().getUiAutomation().executeShellCommand( in startPreDumpedUiTraces() 547 InstrumentationRegistry.getInstrumentation().getUiAutomation().executeShellCommand( in stopPreDumpedUiTraces() 550 InstrumentationRegistry.getInstrumentation().getUiAutomation().executeShellCommand( in stopPreDumpedUiTraces() 553 InstrumentationRegistry.getInstrumentation().getUiAutomation().executeShellCommand( in stopPreDumpedUiTraces() 622 InstrumentationRegistry.getInstrumentation().getUiAutomation().executeShellCommand( in createFakeTraceFiles() 629 InstrumentationRegistry.getInstrumentation().getUiAutomation().executeShellCommand( in createFakeTraceFiles() 638 InstrumentationRegistry.getInstrumentation().getUiAutomation().executeShellCommand( in copyFiles() [all …]
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/ |
D | ShellTestCase.java | 58 .getUiAutomation() in shellSetup() 66 .getUiAutomation() in shellTearDown()
|
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/ |
D | AppLaunch.java | 195 getInstrumentation().getUiAutomation().setRotation(UiAutomation.ROTATION_FREEZE_0); in setUp() 200 getInstrumentation().getUiAutomation().setRotation(UiAutomation.ROTATION_UNFREEZE); in tearDown() 328 getInstrumentation().getUiAutomation().executeShellCommand( in testMeasureStartUpTime() 509 try (ParcelFileDescriptor result = getInstrumentation().getUiAutomation(). in compileApp() 546 getInstrumentation().getUiAutomation(). in compileAppForIorap() 607 ParcelFileDescriptor result = getInstrumentation().getUiAutomation(). in logDumpsysIorapd() 626 try (ParcelFileDescriptor result = getInstrumentation().getUiAutomation(). in waitForIorapCompiled() 764 getInstrumentation().getUiAutomation() in dropCache() 772 try (ParcelFileDescriptor result = getInstrumentation().getUiAutomation(). in checkIfRoot() 785 getInstrumentation().getUiAutomation() in stopIorapd() [all …]
|
/frameworks/base/apct-tests/perftests/core/src/android/accessibility/ |
D | AccessibilityPerfTest.java | 125 UiAutomation uiAutomation = sInstrumentation.getUiAutomation(); in testPrefetching() 150 UiAutomation uiAutomation = sInstrumentation.getUiAutomation(); in testConnectUiAutomation() 162 sInstrumentation.getUiAutomation(); in testConnectUiAutomation()
|
/frameworks/base/apct-tests/perftests/textclassifier/src/android/view/textclassifier/ |
D | TextClassificationManagerPerfTest.java | 45 InstrumentationRegistry.getInstrumentation().getUiAutomation() in setUpClass() 54 .getUiAutomation() in tearDownClass()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | SurfaceControlTests.java | 176 instrumentation.getUiAutomation().syncInputTransactions(); in testSurfaceChangedOnRotation() 187 instrumentation.getUiAutomation().syncInputTransactions(); in testSurfaceChangedOnRotation() 189 instrumentation.getUiAutomation().syncInputTransactions(); in testSurfaceChangedOnRotation()
|
/frameworks/base/apct-tests/perftests/windowmanager/src/android/wm/ |
D | WindowAddRemovePerfTest.java | 57 getUiAutomation().adoptShellPermissionIdentity(); in setUpClass() 62 getUiAutomation().dropShellPermissionIdentity(); in tearDownClass()
|
/frameworks/base/core/tests/coretests/src/android/window/ |
D | BackNavigationTest.java | 63 mInstrumentation.getUiAutomation().adoptShellPermissionIdentity(); in setup() 93 mInstrumentation.getUiAutomation().waitForIdle(500, 1000); in assertCallbackIsCalled()
|
/frameworks/base/tests/CtsSurfaceControlTestsStaging/src/main/java/android/view/surfacecontroltests/ |
D | SurfaceControlTest.java | 59 InstrumentationRegistry.getInstrumentation().getUiAutomation().adoptShellPermissionIdentity( in setUp() 81 .getUiAutomation() in tearDown()
|
/frameworks/base/apct-tests/perftests/permission/src/android/perftests/permission/ |
D | PermissionServicePerfTest.kt | 45 InstrumentationRegistry.getInstrumentation().getUiAutomation(), in <lambda>() 49 val mUiAutomation = InstrumentationRegistry.getInstrumentation().getUiAutomation() in <lambda>()
|
D | PermissionManagerPerfTest.kt | 40 InstrumentationRegistry.getInstrumentation().getUiAutomation(),
|
/frameworks/base/services/tests/servicestests/src/com/android/server/audio/ |
D | AudioDeviceBrokerTest.java | 266 InstrumentationRegistry.getInstrumentation().getUiAutomation() in testIsBluetoothAudioDeviceCategoryFixed() 286 InstrumentationRegistry.getInstrumentation().getUiAutomation() in testIsBluetoothAudioDeviceCategoryFixed() 308 InstrumentationRegistry.getInstrumentation().getUiAutomation() in testGetAndUpdateBtAdiDeviceStateCategoryForAddress() 336 InstrumentationRegistry.getInstrumentation().getUiAutomation() in testGetAndUpdateBtAdiDeviceStateCategoryForAddress()
|
/frameworks/base/services/tests/PackageManagerServiceTests/appenumeration/src/com/android/server/pm/test/appenumeration/ |
D | CrossUserPackageVisibilityTests.java | 129 mInstrumentation.getUiAutomation().dropShellPermissionIdentity(); in tearDown() 217 mInstrumentation.getUiAutomation().adoptShellPermissionIdentity(CLEAR_APP_USER_DATA); in testClearApplicationUserData_cannotDetectStubPkg() 227 mInstrumentation.getUiAutomation().adoptShellPermissionIdentity(DELETE_PACKAGES); in testGetBlockUninstallForUser_cannotDetectStubPkg() 246 mInstrumentation.getUiAutomation().adoptShellPermissionIdentity( in testMovePackage_cannotDetectStubPkg()
|
/frameworks/base/tests/ChoreographerTests/src/main/java/android/view/choreographertests/ |
D | AttachedChoreographerNativeTest.java | 92 InstrumentationRegistry.getInstrumentation().getUiAutomation().adoptShellPermissionIdentity( in setup() 113 .getUiAutomation() in tearDown()
|
/frameworks/base/apct-tests/perftests/surfaceflinger/src/android/surfaceflinger/ |
D | SurfaceFlingerPerfTest.java | 113 .getUiAutomation() in suiteSetup() 269 InstrumentationRegistry.getInstrumentation().getUiAutomation().takeScreenshot(); in displayScreenshot() 279 InstrumentationRegistry.getInstrumentation().getUiAutomation().takeScreenshot( in layerScreenshot()
|
/frameworks/base/core/java/android/os/ |
D | VintfObject.java | 127 var automation = instrumentation.getUiAutomation(); in runShellCommand()
|
/frameworks/base/cmds/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/ |
D | EventsCommand.java | 55 automationWrapper.getUiAutomation().setOnAccessibilityEventListener( in run()
|
/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger_middleware/ |
D | SoundTriggerMiddlewareLoggingLatencyTest.java | 80 InstrumentationRegistry.getInstrumentation().getUiAutomation() in setUp() 99 InstrumentationRegistry.getInstrumentation().getUiAutomation() in tearDown()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | PermissionCheckerTest.java | 42 InstrumentationRegistry.getInstrumentation().getUiAutomation(); 46 InstrumentationRegistry.getInstrumentation().getUiAutomation() in tearDown()
|
/frameworks/base/tests/GamePerformance/src/android/gameperformance/ |
D | ATraceRunner.java | 70 mInstrumentation.getUiAutomation().executeShellCommand(cmd); in doInBackground()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | KeyguardManagerTest.java | 66 .getUiAutomation() in setup() 74 .getUiAutomation() in cleanup()
|