/external/libtextclassifier/notification/tests/src/com/android/textclassifier/notification/ |
D | CopyCodeActivityTest.java | 53 InstrumentationRegistry.getInstrumentation().getUiAutomation().adoptShellPermissionIdentity(); in onCreate_emptyCode() 61 InstrumentationRegistry.getInstrumentation().getUiAutomation().dropShellPermissionIdentity(); in onCreate_emptyCode() 70 InstrumentationRegistry.getInstrumentation().getUiAutomation().adoptShellPermissionIdentity(); in onCreate_codeCopied() 81 InstrumentationRegistry.getInstrumentation().getUiAutomation().dropShellPermissionIdentity(); in onCreate_codeCopied()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/controller/ |
D | ActivityController.java | 69 shadowMainLooper.runPaused(() -> getInstrumentation().callActivityOnCreate(component, bundle)); in create() 102 () -> getInstrumentation().callActivityOnRestoreInstanceState(component, bundle)); in restoreInstanceState() 170 shadowMainLooper.runPaused(() -> getInstrumentation().callActivityOnUserLeaving(component)); in userLeaving() 175 shadowMainLooper.runPaused(() -> getInstrumentation().callActivityOnPause(component)); in pause() 181 () -> getInstrumentation().callActivityOnSaveInstanceState(component, outState)); in saveInstanceState() 200 shadowMainLooper.runPaused(() -> getInstrumentation().callActivityOnDestroy(component)); in destroy() 395 private static Instrumentation getInstrumentation() { in getInstrumentation() method in ActivityController 396 return ((ActivityThread) RuntimeEnvironment.getActivityThread()).getInstrumentation(); in getInstrumentation()
|
/external/dagger2/java/dagger/hilt/android/example/gradle/simple/app/src/sharedTest/java/dagger/hilt/android/example/gradle/simple/ |
D | BroadcastReceiverTest.java | 49 Context context = InstrumentationRegistry.getInstrumentation().getTargetContext(); in verifyReceiverInjectedValue() 65 Context context = InstrumentationRegistry.getInstrumentation().getTargetContext(); in verifyBaseReceiverInjectedValue() 81 Context context = InstrumentationRegistry.getInstrumentation().getTargetContext(); in verifyBaseReceiverIsNotDoubleInjected() 98 Context context = InstrumentationRegistry.getInstrumentation().getTargetContext(); in verifyComplexReceiverInjectedValue()
|
/external/dagger2/javatests/artifacts/hilt-android/simpleKotlin/app/src/sharedTest/java/dagger/hilt/android/simpleKotlin/ |
D | TransitiveDependenciesTest.kt | 41 InstrumentationRegistry.getInstrumentation().targetContext.applicationContext in testEntryPointFromAndroidLib() 48 InstrumentationRegistry.getInstrumentation().targetContext.applicationContext in testEntryPointFromKotlinLib()
|
/external/downloader/src/test/java/com/google/android/downloader/ |
D | CronetUrlEngineTest.java | 17 import static androidx.test.InstrumentationRegistry.getInstrumentation; 52 new CronetEngine.Builder(getInstrumentation().getTargetContext()).build(); in setUp()
|
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/common/ |
D | TextClassifierSettingsTest.java | 43 InstrumentationRegistry.getInstrumentation() in setup() 50 InstrumentationRegistry.getInstrumentation().getUiAutomation().dropShellPermissionIdentity(); in tearDown()
|
/external/dagger2/javatests/artifacts/hilt-android/simple/app/src/sharedTest/java/dagger/hilt/android/simple/ |
D | TransitiveDependenciesTest.java | 41 InstrumentationRegistry.getInstrumentation().getTargetContext().getApplicationContext()); in testEntryPoint()
|
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/ |
D | LocalPermissionGranter.java | 25 (Application) InstrumentationRegistry.getInstrumentation().getTargetContext(); in requestPermissions()
|
/external/deqp-deps/amber/android_gradle/app/src/androidTest/java/com/google/amber/ |
D | AmberLauncher.java | 34 Context app_context = InstrumentationRegistry.getInstrumentation().getTargetContext(); in LaunchAmber()
|
/external/libchrome/base/test/android/javatests/src/org/chromium/base/test/ |
D | ScreenshotOnFailureStatement.java | 57 uiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in takeScreenshot()
|
D | BaseJUnit4ClassRunner.java | 88 new AndroidRunnerParams(InstrumentationRegistry.getInstrumentation(), in BaseJUnit4ClassRunner()
|
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/ |
D | TextClassifierApiTest.java | 161 UiAutomation uiAutomation = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in before() 181 UiAutomation uiAutomation = InstrumentationRegistry.getInstrumentation().getUiAutomation(); in after()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowContextWrapper.java | 114 return Shadow.extract(activityThread.getInstrumentation()); in getShadowInstrumentation()
|
D | ShadowActivity.java | 98 ((ActivityThread) RuntimeEnvironment.getActivityThread()).getInstrumentation(); in callAttach() 499 … ShadowInstrumentation shadowInstrumentation = Shadow.extract(activityThread.getInstrumentation()); in getNextStartedActivityForResult() 512 … ShadowInstrumentation shadowInstrumentation = Shadow.extract(activityThread.getInstrumentation()); in peekNextStartedActivityForResult() 603 … ShadowInstrumentation shadowInstrumentation = Shadow.extract(activityThread.getInstrumentation()); in receiveResult()
|
D | ShadowApplication.java | 226 Shadow.extract(activityThread.getInstrumentation()); in checkActivities()
|
D | ShadowInstrumentation.java | 777 public static Instrumentation getInstrumentation() { 779 return activityThread.getInstrumentation();
|
D | ShadowContextImpl.java | 377 return Shadow.extract(activityThread.getInstrumentation()); in getShadowInstrumentation()
|
D | ShadowPendingIntent.java | 166 … ShadowInstrumentation shadowInstrumentation = Shadow.extract(activityThread.getInstrumentation()); in send()
|
/external/libchrome/base/android/javatests/src/org/chromium/base/ |
D | AdvancedMockContextTest.java | 54 Context targetContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); in testComponentCallbacksForTargetContext()
|
D | ApiCompatibilityUtilsTest.java | 55 InstrumentationRegistry.getInstrumentation().runOnMainSync(new Runnable() { in testFinishAndRemoveTask()
|
/external/connectedappssdk/testing/sdk/src/main/java/com/google/android/enterprise/connectedapps/testing/ |
D | InstrumentedTestUtilities.java | 278 return InstrumentationRegistry.getInstrumentation() in runCommand()
|
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/common/statsd/ |
D | StatsdTestUtils.java | 109 Instrumentation instrumentation = InstrumentationRegistry.getInstrumentation(); in runShellCommand()
|
/external/connectedappssdk/tests/instrumented/src/main/java/com/google/android/enterprise/connectedapps/instrumented/utils/ |
D | InstrumentedTestUtilities.java | 384 return InstrumentationRegistry.getInstrumentation() in runCommand()
|