/development/samples/ApiDemos/src/com/example/android/apis/app/ |
ContactsSelectInstrumentation.java | 52 intent.setClassName(getTargetContext(),
|
LocalSampleInstrumentation.java | 57 intent.setClass(getTargetContext(), SaveRestoreState.class);
|
/development/samples/SampleSyncAdapter/tests/src/com/example/android/samplesync/authenticator/ |
AuthenticatorActivityTest.java | 53 mContext = mInstrumentation.getTargetContext();
|
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/ |
ViewportTest.java | 56 Context context = getInstrumentation().getTargetContext();
|
ContentViewGestureHandlerTest.java | 187 getInstrumentation().getTargetContext(), mMockListener); 189 mMockZoomManager = new MockZoomManager(getInstrumentation().getTargetContext(), null); 191 getInstrumentation().getTargetContext(), mMockMotionEventDelegate, 194 getInstrumentation().getTargetContext(), mGestureHandler); 360 getInstrumentation().getTargetContext(), new MockMotionEventDelegate(), 363 getInstrumentation().getTargetContext(), mGestureHandler); 577 getInstrumentation().getTargetContext(), mockDelegate, mMockZoomManager); 631 getInstrumentation().getTargetContext(), mockDelegate, mMockZoomManager); 695 getInstrumentation().getTargetContext(), mockDelegate, mMockZoomManager); [all...] |
ImportantFileWriterAndroidTest.java | 71 File dir = getInstrumentation().getTargetContext().getFilesDir();
|
/frameworks/base/test-runner/src/android/test/ |
ActivityInstrumentationTestCase2.java | 101 final String targetPackage = getInstrumentation().getTargetContext().getPackageName();
|
SyncBaseInstrumentation.java | 39 mTargetContext = getInstrumentation().getTargetContext();
|
ProviderTestCase.java | 66 getInstrumentation().getTargetContext(), // The context that file methods are delegated to
|
/frameworks/testing/androidtestlib/src/com/android/test/runner/junit3/ |
AndroidTestSuite.java | 57 ((AndroidTestCase)test).setContext(mInstr.getTargetContext());
|
/packages/apps/Email/tests/src/com/android/email/ |
UtilityLargeTest.java | 47 getInstrumentation().getTargetContext());
|
/cts/tests/tests/admin/src/android/admin/cts/ |
DeviceAdminActivationTest.java | 170 getInstrumentation().getTargetContext(), 202 new ComponentName(getInstrumentation().getTargetContext(), receiverClass)));
|
/packages/apps/Camera/tests/src/com/android/camera/stress/ |
CameraStartUp.java | 49 intent.setClass(getInstrumentation().getTargetContext(), CameraActivity.class); 72 intent.setClass(getInstrumentation().getTargetContext(), CameraActivity.class);
|
/packages/apps/Camera2/tests/src/com/android/camera/stress/ |
CameraStartUp.java | 49 intent.setClass(getInstrumentation().getTargetContext(), CameraActivity.class); 72 intent.setClass(getInstrumentation().getTargetContext(), CameraActivity.class);
|
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/ |
ContactDeletionInteractionTest.java | 80 mUtils.acquireScreenWakeLock(getInstrumentation().getTargetContext()); 82 mContext = new ContactsMockContext(getInstrumentation().getTargetContext());
|
/packages/apps/LegacyCamera/tests/src/com/android/camera/stress/ |
CameraStartUp.java | 50 intent.setClass(getInstrumentation().getTargetContext(), Camera.class); 72 intent.setClass(getInstrumentation().getTargetContext(), VideoCamera.class);
|
/cts/tests/tests/app/src/android/app/cts/ |
Instrumentation_ActivityMonitorTest.java | 43 Context context = instrumentation.getTargetContext();
|
/cts/tests/tests/media/src/android/media/cts/ |
FaceDetector_FaceTest.java | 37 intent.setClass(getInstrumentation().getTargetContext(), FaceDetectorStub.class);
|
/cts/tests/tests/os/src/android/os/cts/ |
CountDownTimerTest.java | 35 mContext = getInstrumentation().getTargetContext();
|
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStoreTest.java | 90 MediaStore.getVersion(getInstrumentation().getTargetContext());
|
MediaStore_VideoTest.java | 55 mContext = getInstrumentation().getTargetContext();
|
/development/samples/training/testingfun/app/tests/src/com/example/android/testingfun/tests/lesson4/ |
LaunchActivityTest.java | 43 mLaunchIntent = new Intent(getInstrumentation().getTargetContext(),
|
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/ |
AwViewportTest.java | 39 DeviceDisplayInfo.create(getInstrumentation().getTargetContext()); 74 DeviceDisplayInfo.create(getInstrumentation().getTargetContext()); 100 DeviceDisplayInfo.create(getInstrumentation().getTargetContext()); 129 DeviceDisplayInfo.create(getInstrumentation().getTargetContext());
|
/frameworks/base/media/mca/tests/src/android/camera/mediaeffects/tests/functional/ |
EffectsVideoCapture.java | 61 intent.setClass(getInstrumentation().getTargetContext(),
|
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/ |
SmokeTestRunner.java | 47 final PackageManager pm = getTargetContext().getPackageManager();
|