/packages/apps/DocumentsUI/tests/common/com/android/documentsui/dirlist/ |
D | TestEnvironment.java | 29 private final Context testContext; field in TestEnvironment 33 public TestEnvironment(Context testContext, TestEnv env, ActionHandler actionHandler) { in TestEnvironment() argument 34 this.testContext = testContext; in TestEnvironment() 80 return testContext; in getContext()
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/dirlist/ |
D | ModelBackedDocumentsAdapterTest.java | 42 final Context testContext = TestContext.createStorageTestContext(getContext(), AUTHORITY); in setUp() local 46 DocumentsAdapter.Environment env = new TestEnvironment(testContext, mEnv, mActionHandler); in setUp() 50 new IconHelper(testContext, State.MODE_GRID, /* maybeShowBadge= */ false), in setUp()
|
D | DirectoryAddonsAdapterTest.java | 52 final Context testContext = TestContext.createStorageTestContext(getContext(), AUTHORITY); in setUp() local 53 DocumentsAdapter.Environment env = new TestEnvironment(testContext, mEnv, mActionHandler); in setUp() 59 new IconHelper(testContext, State.MODE_GRID, /* maybeShowBadge= */ false), in setUp()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/parser/ |
D | DisclaimersParserTest.java | 83 Context testContext = InstrumentationRegistry.getContext(); in setUpClass() local 88 DISCLAIMER_URI_1 = TestUtils.resourceToUri(testContext, R.raw.test_disclaimer1); in setUpClass() 91 DISCLAIMER_URI_2 = TestUtils.resourceToUri(testContext, R.raw.test_disclaimer2); in setUpClass() 94 DISCLAIMER_URI_3 = TestUtils.resourceToUri(testContext, R.raw.test_disclaimer3); in setUpClass()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | NetworkScoreTest.kt | 54 private val testContext: Context in <lambda>() constant 66 private val mCm = testContext.getSystemService(ConnectivityManager::class.java) in <lambda>() 130 val context = testContext in <lambda>()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | ConnectivityResources.java | 63 public static void setResourcesContextForTest(@Nullable Context testContext) { in setResourcesContextForTest() argument 64 sTestResourcesContext = testContext; in setResourcesContextForTest()
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/archives/ |
D | TestUtils.java | 38 public TestUtils(Context targetContext, Context testContext, ExecutorService executor) { in TestUtils() argument 40 mTestContext = testContext; in TestUtils()
|
/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/appstyledview/ |
D | AppStyledViewSampleActivity.java | 63 Context testContext = createConfigurationContext(config); in onCreate() local 65 Context contextThemeWrapper = new ContextThemeWrapper(testContext, in onCreate()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/ |
D | MoreKeySpecStringReferenceTests.java | 47 final Context testContext = instrumentation.getContext(); in setUp() local 48 final Resources testRes = testContext.getResources(); in setUp()
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/ |
D | FileCopyUiTest.java | 283 Context testContext = getInstrumentation().getContext(); in loadImages() local 284 Resources res = testContext.getResources(); in loadImages() 287 "uitest_images", "raw", testContext.getPackageName()); in loadImages()
|