/frameworks/support/v7/preference/tests/src/android/support/v7/preference/tests/ |
D | SimplePreferenceComparisonCallbackTest.java | 49 final Context context = InstrumentationRegistry.getTargetContext(); in setup() 72 new CheckBoxPreference(InstrumentationRegistry.getTargetContext()); in testClassComparison() 264 new CheckBoxPreference(InstrumentationRegistry.getTargetContext()); in testTwoStateComparison() 266 new CheckBoxPreference(InstrumentationRegistry.getTargetContext()); in testTwoStateComparison() 295 new DropDownPreference(InstrumentationRegistry.getTargetContext()); in testDropDownComparison() 297 new DropDownPreference(InstrumentationRegistry.getTargetContext()); in testDropDownComparison()
|
/frameworks/opt/setupwizard/library/full-support/test/instrumentation/src/com/android/setupwizardlib/test/ |
D | HeaderRecyclerViewTest.java | 86 mHeaderAdapter.setHeader(new View(InstrumentationRegistry.getTargetContext())); in testNotifyItemChangedWithHeader() 108 mHeaderAdapter.setHeader(new View(InstrumentationRegistry.getTargetContext())); in testNotifyItemInsertedWithHeader() 130 mHeaderAdapter.setHeader(new View(InstrumentationRegistry.getTargetContext())); in testNotifyItemRemovedWithHeader() 152 mHeaderAdapter.setHeader(new View(InstrumentationRegistry.getTargetContext())); in testNotifyItemMovedWithHeader()
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | FontsContractE2ETest.java | 58 final Context context = InstrumentationRegistry.getInstrumentation().getTargetContext(); 77 InstrumentationRegistry.getInstrumentation().getTargetContext()); in setUp() 83 InstrumentationRegistry.getInstrumentation().getTargetContext()); in tearDown() 117 Context ctx = inst.getTargetContext(); in typefaceCacheTest() 156 Context ctx = inst.getTargetContext(); in typefaceNotCacheTest() 179 Context ctx = inst.getTargetContext(); in typefaceNullFdTest()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/drawer/ |
D | SettingsDrawerActivityTest.java | 54 instrumentation.startActivitySync(new Intent(instrumentation.getTargetContext(), in startActivityWithNoExtra_showNoNavUp() 64 Intent intent = new Intent(instrumentation.getTargetContext(), TestActivity.class) in startActivityWithExtraToHideMenu_showNavUp() 75 Intent intent = new Intent(instrumentation.getTargetContext(), TestActivity.class) in startActivityWithExtraToShowMenu_showNavUp()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | PowerManagerVrTest.java | 51 Context context = getInstrumentation().getTargetContext(); in setUp() 52 mPm = (PowerManager) getInstrumentation().getTargetContext().getSystemService( in setUp() 143 Context context = getInstrumentation().getTargetContext(); in setTestVrListener()
|
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/media/ |
D | PlaybackControlGlueTest.java | 96 mContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); in usingDefaultRowAndPresenter() 115 mContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); in customRowPresenter() 142 mContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); in customControlsRow() 164 mContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); in customRowAndPresenter()
|
D | PlaybackBannerControlGlueTest.java | 73 mContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); in usingDefaultRowAndPresenter() 91 mContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); in customRowPresenter() 117 mContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); in customControlsRow() 138 mContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); in customRowAndPresenter() 167 InstrumentationRegistry.getInstrumentation().getTargetContext(), in playerAdapterTest() 222 InstrumentationRegistry.getInstrumentation().getTargetContext(), in savePlayerAdapterEventBeforeAttachToHost()
|
D | PlaybackTransportControlGlueTest.java | 73 mContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); in usingDefaultRowAndPresenter() 91 mContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); in customRowPresenter() 117 mContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); in customControlsRow() 138 mContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); in customRowAndPresenter() 167 InstrumentationRegistry.getInstrumentation().getTargetContext(), in playerAdapterTest() 221 InstrumentationRegistry.getInstrumentation().getTargetContext(), in savePlayerAdapterEventBeforeAttachToHost()
|
D | PlaybackGlueTest.java | 48 Context context = InstrumentationRegistry.getInstrumentation().getTargetContext(); in glueAndHostInteraction() 85 Context context = InstrumentationRegistry.getInstrumentation().getTargetContext(); in listenerModification()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | ListViewTest.java | 99 return getInstrumentation().getTargetContext().getResources(); in getResources() 104 return getInstrumentation().getTargetContext().getTheme(); in getTheme() 110 return getInstrumentation().getTargetContext().getSystemService(name); in getSystemService()
|
/frameworks/base/apct-tests/perftests/core/src/android/view/ |
D | ViewPerfTest.java | 40 final Context context = InstrumentationRegistry.getInstrumentation().getTargetContext(); in testSimpleViewInflate() 51 final Context context = InstrumentationRegistry.getInstrumentation().getTargetContext(); in testTwelveKeyInflate()
|
/frameworks/support/design/tests/src/android/support/design/widget/ |
D | BottomSheetBehaviorInitialStateTest.java | 43 Context context = InstrumentationRegistry.getInstrumentation().getTargetContext(); in testSetStateExpanded() 56 Context context = InstrumentationRegistry.getInstrumentation().getTargetContext(); in testSetStateHidden()
|
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/ |
D | ControlBarTest.java | 44 Context context = InstrumentationRegistry.getTargetContext(); in defaultFocus() 65 Context context = InstrumentationRegistry.getTargetContext(); in persistFocus() 107 Context context = InstrumentationRegistry.getTargetContext(); in getFocusables()
|
D | MediaNowPlayingViewTest.java | 38 mContext = InstrumentationRegistry.getTargetContext(); in setup()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/ |
D | WifiTrackerTest.java | 144 mContext = InstrumentationRegistry.getTargetContext(); in setUp() 206 InstrumentationRegistry.getTargetContext().getContentResolver(), in setUp() 210 InstrumentationRegistry.getTargetContext().getContentResolver(), in setUp() 218 InstrumentationRegistry.getTargetContext().getContentResolver(), in cleanUp() 354 InstrumentationRegistry.getTargetContext(), null, mWorkerLooper, true, true); in testAccessPointListenerSetWhenLookingUpUsingScanResults() 370 InstrumentationRegistry.getTargetContext(), null, mWorkerLooper, true, true); in testAccessPointListenerSetWhenLookingUpUsingWifiConfiguration() 496 InstrumentationRegistry.getTargetContext().getContentResolver(), in scoreCacheUpdateScoresShouldNotChangeSortOrderWhenSortingDisabled() 552 InstrumentationRegistry.getTargetContext().getContentResolver(), in noBadgesShouldBeInsertedIntoAccessPointWhenScoringUiDisabled()
|
/frameworks/multidex/instrumentation/src/com/android/test/runner/ |
D | MultiDexTestRunner.java | 35 MultiDex.install(getTargetContext()); in onCreate()
|
/frameworks/base/test-runner/src/android/test/ |
D | InstrumentationTestRunner.java | 314 {getTargetContext().getPackageCodePath(), getContext().getPackageCodePath()}; in onCreate() 350 getTargetContext().getClassLoader()); in onCreate() 382 mTestRunner.setContext(getTargetContext()); in onCreate() 449 testSuiteBuilder.addTestClassByName(testClassName, testMethodName, getTargetContext()); in parseTestClass() 640 return getTargetContext().getFilesDir().getAbsolutePath() + File.separator + in getCoverageFilePath()
|
D | ActivityInstrumentationTestCase.java | 75 final String targetPackageName = getInstrumentation().getTargetContext().getPackageName(); in setUp()
|
D | SyncBaseInstrumentation.java | 45 mTargetContext = getInstrumentation().getTargetContext(); in setUp()
|
/frameworks/opt/net/ims/tests/src/com/android/ims/ |
D | ImsTestBase.java | 37 mContext = InstrumentationRegistry.getTargetContext(); in setUp()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/ |
D | ImsTestBase.java | 37 mContext = InstrumentationRegistry.getTargetContext(); in setUp()
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
D | BluetoothRebootStressTest.java | 39 Context context = getInstrumentation().getTargetContext(); in setUp()
|
/frameworks/support/wear/tests/src/android/support/wear/widget/util/ |
D | WakeLockRule.java | 53 Context context = InstrumentationRegistry.getTargetContext();
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | RenderNodeAnimatorTest.java | 38 return InstrumentationRegistry.getTargetContext(); in getContext()
|
/frameworks/base/packages/CarrierDefaultApp/tests/unit/src/com/android/carrierdefaultapp/ |
D | CarrierDefaultActivityTestCase.java | 45 mContext = new TestContext(getInstrumentation().getTargetContext()); in setUp()
|