Home
last modified time | relevance | path

Searched defs:context (Results 1 – 25 of 44) sorted by relevance

12

/platform_testing/utils/permissions/src/com/android/permissionutils/
DGrantPermissionUtil.java36 public static void grantAllPermissions (Context context) { in grantAllPermissions()
48 public static void dumpMissingPermissions (Context context) { in dumpMissingPermissions()
60 private static List<PackageInfo> getPackageInfos(Context context) { in getPackageInfos()
64 private static List<String> getMissingPermissions(Context context, PackageInfo info) { in getMissingPermissions()
/platform_testing/libraries/screenshot/src/androidTest/java/platform/test/screenshot/
DGoldenImagePathManagerTest.kt34 val context = InstrumentationRegistry.getInstrumentation().getContext() in goldenWithContextTest() constant
60 val context = InstrumentationRegistry.getInstrumentation().getContext() in pathNoContextExtractor1() constant
71 val context = InstrumentationRegistry.getInstrumentation().context in emulatedDevicePathConfigTest() constant
DMaterialYouColorsRuleTest.kt18 val context = InstrumentationRegistry.getInstrumentation().targetContext in testApplyMaterialYouColors() constant
/platform_testing/libraries/screenshot/src/androidTest/java/platform/test/screenshot/utils/
DBitmapUtils.kt24 val context = InstrumentationRegistry.getInstrumentation().targetContext.applicationContext in loadBitmap() constant
/platform_testing/libraries/sts-common-util/host-side/src/com/android/sts/common/
DHostsideMainlineModuleDetector.java31 private BaseHostJUnit4Test context; field in HostsideMainlineModuleDetector
35 public HostsideMainlineModuleDetector(BaseHostJUnit4Test context) { in HostsideMainlineModuleDetector()
/platform_testing/libraries/sts-common-util/sts-sdk/package/test-app/src/main/java/android/security/sts/sts_test_app_package/
DPocReceiver.java27 public void onReceive(Context context, Intent intent) { in onReceive()
/platform_testing/tests/health/scenarios/src/android/platform/test/scenario/performancelaunch/hermeticapp/
DPerformanceBase.java42 Context context = InstrumentationRegistry.getContext(); in open() local
/platform_testing/libraries/media-helper/src/android/test/mediahelper/
DMediaStoreHelper.java39 private MediaStoreHelper(Context context) { in MediaStoreHelper()
43 public static MediaStoreHelper getInstance(Context context) { in getInstance()
/platform_testing/tests/perf/PerformanceLaunch/src/com/android/performanceLaunch/helper/
DSimpleGLSurfaceView.java32 public SimpleGLSurfaceView(Context context) { in SimpleGLSurfaceView()
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/rules/
DTemporaryMediaNotification.kt54 val context = InstrumentationRegistry.getTargetContext() in before() constant
/platform_testing/libraries/collectors-helper/app/src/com/android/helpers/
DAppVersionHelper.java40 private Context context; field in AppVersionHelper
/platform_testing/tests/functional/calculator/src/com/android/calculator/functional/
DCalculatorHelper.java46 private CalculatorHelper(UiDevice device, Context context) { in CalculatorHelper()
52 public static CalculatorHelper getInstance(UiDevice device, Context context) { in getInstance()
/platform_testing/tests/jank/uibench_wear/src/com/android/wearable/uibench/janktests/
DUiBenchJankTestsHelper.java60 private UiBenchJankTestsHelper(UiDevice device, Context context) { in UiBenchJankTestsHelper()
69 public static UiBenchJankTestsHelper getInstance(UiDevice device, Context context) { in getInstance()
/platform_testing/libraries/health/runners/longevity/platform/src/android/platform/test/longevity/listener/
DBatteryTerminator.java41 public BatteryTerminator(RunNotifier notifier, Map<String, String> args, Context context) { in BatteryTerminator()
/platform_testing/tests/jank/uibench/src/com/android/uibench/janktests/
DUiBenchJankTestsHelper.java60 private UiBenchJankTestsHelper(Context context, UiDevice device) { in UiBenchJankTestsHelper()
66 public static UiBenchJankTestsHelper getInstance(Context context, UiDevice device) { in getInstance()
/platform_testing/tests/jank/UbSystemUiJankTests/src/android/platform/systemui/tests/jank/
DSettingsJankTests.java72 Context context = getInstrumentation().getContext(); in setUp() local
DSystemUiJankTests.java220 Context context = getInstrumentation().getContext(); in postNotifications() local
253 Context context = getInstrumentation().getContext(); in createSmartSuggestionsNotificationBuilder() local
278 Context context = getInstrumentation().getContext(); in createSmartAction() local
295 Context context = getInstrumentation().getTargetContext(); in postInlineReplyNotification() local
/platform_testing/libraries/collectors-helper/statsd/test/src/com/android/helpers/
DHelperTestUtility.java109 Context context = InstrumentationRegistry.getContext(); in wakeUpAndUnlock() local
/platform_testing/libraries/telephony-utility/src/android/telephony/utility/
DSimCardUtil.java80 Context context = InstrumentationRegistry.getTargetContext(); in getSimCardInformation() local
/platform_testing/libraries/device-collectors/src/main/java/android/device/stressmodes/
DLockContentionStressMode.java48 final Context context = InstrumentationRegistry.getInstrumentation().getContext(); in LockContentionStressMode() local
/platform_testing/libraries/car-helpers/multiuser-helper/src/android/platform/helpers/
DMultiUserHelper.java50 Context context = InstrumentationRegistry.getTargetContext(); in MultiUserHelper() local
/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/
DThemeHelper.java54 public ThemeHelper(@NonNull UiDevice uiDevice, @NonNull Context context) { in ThemeHelper()
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/helpers/
DWindowUtils.kt34 private val context in isRotated() constant
/platform_testing/libraries/health/runners/longevity/platform/src/android/platform/test/longevity/
DProfileSuite.java60 Instrumentation instrumentation, Context context, Bundle arguments) in ProfileSuite()
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/media/
DMediaInstrumentation.java74 Context context, MediaSession mediaSession, in MediaInstrumentation()
290 public Builder(Context context, MediaSession session) { in Builder()

12