Searched refs:automan (Results 1 – 3 of 3) sorted by relevance
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | SystemUtil.java | 177 final UiAutomation automan = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in runWithShellPermissionIdentity() local 179 runWithShellPermissionIdentity(automan, () -> result.set(supplier.get())); in runWithShellPermissionIdentity() 189 final UiAutomation automan = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in runWithShellPermissionIdentity() local 191 runWithShellPermissionIdentity(automan, () -> result.set(supplier.get()), permissions); in runWithShellPermissionIdentity() 199 final UiAutomation automan = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in runWithShellPermissionIdentity() local 200 runWithShellPermissionIdentity(automan, runnable); in runWithShellPermissionIdentity() 208 final UiAutomation automan = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in runWithShellPermissionIdentity() local 209 runWithShellPermissionIdentity(automan, runnable, permissions); in runWithShellPermissionIdentity() 217 @NonNull UiAutomation automan, @NonNull ThrowingRunnable runnable) { in runWithShellPermissionIdentity() 218 runWithShellPermissionIdentity(automan, runnable, null /* permissions */); in runWithShellPermissionIdentity() [all …]
|
/cts/tests/accessibility/src/android/view/accessibility/cts/ |
D | AccessibilityManagerTest.java | 414 UiAutomation automan = sInstrumentation.getUiAutomation( in testGetRecommendedTimeoutMillis() local 419 turnOffRecommendedUiTimoutSettings(automan); in testGetRecommendedTimeoutMillis() 421 turnOnRecommendedUiTimoutSettings(automan, 7000, 0); in testGetRecommendedTimeoutMillis() 423 turnOnRecommendedUiTimoutSettings(automan, 0, 4000); in testGetRecommendedTimeoutMillis() 425 turnOnRecommendedUiTimoutSettings(automan, 9000, 8000); in testGetRecommendedTimeoutMillis() 427 turnOffRecommendedUiTimoutSettings(automan); in testGetRecommendedTimeoutMillis() 436 automan.destroy(); in testGetRecommendedTimeoutMillis() 475 private void turnOffRecommendedUiTimoutSettings(UiAutomation automan) { in turnOffRecommendedUiTimoutSettings() argument 476 putSecureSetting(automan, ACCESSIBILITY_INTERACTIVE_UI_TIMEOUT_MS, null); in turnOffRecommendedUiTimoutSettings() 477 putSecureSetting(automan, ACCESSIBILITY_NON_INTERACTIVE_UI_TIMEOUT_MS, null); in turnOffRecommendedUiTimoutSettings() [all …]
|
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | ImsServiceTest.java | 738 final UiAutomation automan = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in testMmTelManagerRegistrationCallback() local 751 automan.adoptShellPermissionIdentity(); in testMmTelManagerRegistrationCallback() 756 automan.dropShellPermissionIdentity(); in testMmTelManagerRegistrationCallback() 790 automan.adoptShellPermissionIdentity(); in testMmTelManagerRegistrationCallback() 795 automan.dropShellPermissionIdentity(); in testMmTelManagerRegistrationCallback() 858 final UiAutomation automan = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in testRcsManagerRegistrationCallback() local 860 automan.adoptShellPermissionIdentity(); in testRcsManagerRegistrationCallback() 863 automan.dropShellPermissionIdentity(); in testRcsManagerRegistrationCallback() 887 automan.adoptShellPermissionIdentity(); in testRcsManagerRegistrationCallback() 890 automan.dropShellPermissionIdentity(); in testRcsManagerRegistrationCallback() [all …]
|