Home
last modified time | relevance | path

Searched refs:automan (Results 1 – 5 of 5) sorted by relevance

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DSystemUtil.java230 final UiAutomation automan = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in runWithShellPermissionIdentity() local
232 runWithShellPermissionIdentity(automan, () -> result.set(supplier.get())); in runWithShellPermissionIdentity()
242 final UiAutomation automan = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in runWithShellPermissionIdentity() local
244 runWithShellPermissionIdentity(automan, () -> result.set(supplier.get()), permissions); in runWithShellPermissionIdentity()
252 final UiAutomation automan = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in runWithShellPermissionIdentity() local
253 runWithShellPermissionIdentity(automan, runnable); in runWithShellPermissionIdentity()
261 final UiAutomation automan = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in runWithShellPermissionIdentity() local
262 runWithShellPermissionIdentity(automan, runnable, permissions); in runWithShellPermissionIdentity()
270 @NonNull UiAutomation automan, @NonNull ThrowingRunnable runnable) { in runWithShellPermissionIdentity()
271 runWithShellPermissionIdentity(automan, runnable, null /* permissions */); in runWithShellPermissionIdentity()
[all …]
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DImsServiceTest.java898 final UiAutomation automan = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in testMmTelManagerRegistrationCallbackS() local
911 automan.adoptShellPermissionIdentity(); in testMmTelManagerRegistrationCallbackS()
916 automan.dropShellPermissionIdentity(); in testMmTelManagerRegistrationCallbackS()
949 automan.adoptShellPermissionIdentity(); in testMmTelManagerRegistrationCallbackS()
954 automan.dropShellPermissionIdentity(); in testMmTelManagerRegistrationCallbackS()
1007 final UiAutomation automan = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in testMmTelManagerRegistrationCallback() local
1020 automan.adoptShellPermissionIdentity(); in testMmTelManagerRegistrationCallback()
1025 automan.dropShellPermissionIdentity(); in testMmTelManagerRegistrationCallback()
1059 automan.adoptShellPermissionIdentity(); in testMmTelManagerRegistrationCallback()
1064 automan.dropShellPermissionIdentity(); in testMmTelManagerRegistrationCallback()
[all …]
DEabControllerTest.java658 final UiAutomation automan = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in setProvisioningIntValue() local
660 automan.adoptShellPermissionIdentity(); in setProvisioningIntValue()
665 automan.dropShellPermissionIdentity(); in setProvisioningIntValue()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DNestedShellPermission.java46 final UiAutomation automan = in run() local
50 automan.adoptShellPermissionIdentity(); in run()
58 automan.dropShellPermissionIdentity(); in run()
/cts/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityManagerTest.java414 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 …]