/frameworks/testing/androidtestlib/src/com/android/test/runner/listener/ |
CoverageListener.java | 55 mCoverageFilePath = instr.getTargetContext().getFilesDir().getAbsolutePath() +
|
/packages/apps/Camera/tests/src/com/android/camera/power/ |
ImageAndVideoCapture.java | 99 intent.setClass(getInstrumentation().getTargetContext(),
|
/packages/apps/LegacyCamera/tests/src/com/android/camera/power/ |
ImageAndVideoCapture.java | 99 intent.setClass(getInstrumentation().getTargetContext(),
|
/cts/tests/tests/app/src/android/app/cts/ |
ActivityManagerTest.java | 184 intent.setClass(mInstrumentation.getTargetContext(), MockService.class); 185 mInstrumentation.getTargetContext().startService(intent); 231 mInstrumentation.getTargetContext().startService(mIntent);
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
LevelListDrawableTest.java | 49 mResources = getInstrumentation().getTargetContext().getResources(); 167 Resources resources = getInstrumentation().getTargetContext().getResources(); 187 XmlResourceParser parser = getInstrumentation().getTargetContext().getResources().getXml(
|
TransitionDrawableTest.java | 47 mTransitionDrawable = (TransitionDrawable) getInstrumentation().getTargetContext() 56 Resources resources = getInstrumentation().getTargetContext().getResources();
|
/packages/apps/Mms/tests/src/com/android/mms/ui/ |
SmsTest.java | 125 FileInputStream f = mInst.getTargetContext().openFileInput(recipientFileName); 154 Context targetAppContext = mInst.getTargetContext().getApplicationContext(); 164 mInst.getTargetContext().openFileInput(messageFileName));
|
/external/chromium_org/sync/android/javatests/src/org/chromium/sync/notifier/signin/ |
SyncStatusHelperTest.java | 122 Context context = getInstrumentation().getTargetContext(); 127 mHelper = SyncStatusHelper.get(getInstrumentation().getTargetContext()); 131 getInstrumentation().getTargetContext()).setSignedInAccountName( 133 mAuthority = SyncStatusHelper.get(getInstrumentation().getTargetContext()) 313 getInstrumentation().getTargetContext().getPackageName(),
|
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsContract_GroupMembershipTest.java | 38 getInstrumentation().getTargetContext().getContentResolver();
|
ContactsContract_PhotoTest.java | 47 mContext= getInstrumentation().getTargetContext();
|
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/ |
AwContentsClientGetDefaultVideoPosterTest.java | 77 new DefaultVideoPosterClient(getInstrumentation().getTargetContext());
|
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/identity/ |
UuidBasedUniqueIdentificationGeneratorTest.java | 23 mContext = new AdvancedMockContext(getInstrumentation().getTargetContext());
|
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/signin/ |
OAuth2TokenServiceTest.java | 30 mContext = new AdvancedMockContext(getInstrumentation().getTargetContext());
|
OAuth2TokenServiceIntegrationTest.java | 49 startChromeBrowserProcessSync(getInstrumentation().getTargetContext()); 52 mContext = new AdvancedMockContext(getInstrumentation().getTargetContext());
|
/external/chromium_org/chrome/android/testshell/javatests/src/org/chromium/chrome/testshell/ |
ChromiumTestShellUrlTest.java | 101 new ContentViewRenderView(getInstrumentation().getTargetContext(),
|
/frameworks/base/nfc-extras/tests/src/com/android/nfc_extras/tests/ |
BasicNfcEeTest.java | 51 mContext = getInstrumentation().getTargetContext();
|
/frameworks/base/tests/DataIdleTest/src/com/android/tests/dataidle/ |
DataIdleTest.java | 46 Context c = getInstrumentation().getTargetContext();
|
/packages/apps/Email/tests/src/com/android/email/activity/setup/ |
AccountSettingsTests.java | 67 mContext = getInstrumentation().getTargetContext();
|
AccountSetupOutgoingTests.java | 190 Context context = getInstrumentation().getTargetContext();
|
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/sync/ |
SyncTest.java | 54 mContext = new SyncTestUtil.SyncTestContext(getInstrumentation().getTargetContext()); 63 startChromeBrowserProcessSync(getInstrumentation().getTargetContext());
|
/frameworks/base/core/tests/inputmethodtests/src/android/os/ |
InputMethodTest.java | 40 final Context context = getInstrumentation().getTargetContext(); 65 final Context context = getInstrumentation().getTargetContext();
|
/frameworks/base/test-runner/src/android/test/ |
InstrumentationTestRunner.java | 308 {getTargetContext().getPackageCodePath(), getContext().getPackageCodePath()}; 344 getTargetContext().getClassLoader()); 376 mTestRunner.setContext(getTargetContext()); 443 testSuiteBuilder.addTestClassByName(testClassName, testMethodName, getTargetContext()); 634 return getTargetContext().getFilesDir().getAbsolutePath() + File.separator + [all...] |
/packages/apps/Dialer/tests/src/com/android/dialer/ |
CallDetailActivityTest.java | 82 mLocaleTestUtils = new LocaleTestUtils(getInstrumentation().getTargetContext()); 261 String packageName = getInstrumentation().getTargetContext().getPackageName(); 306 return getInstrumentation().getTargetContext().getContentResolver();
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
MovieTest.java | 62 File dbDir = getInstrumentation().getTargetContext().getDir("tests",
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
MediaPlayerStressTest.java | 136 intent.setClass(inst.getTargetContext(), MediaFrameworkTest.class);
|