Home
last modified time | relevance | path

Searched defs:context (Results 1 – 25 of 32) 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/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/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/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/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/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/flicker/test/src/com/android/server/wm/flicker/
DUtils.kt62 val context: Context = InstrumentationRegistry.getInstrumentation().context in readTestFile() constant
/platform_testing/libraries/car-helpers/multiuser-helper/src/android/platform/helpers/
DMultiUserHelper.java50 Context context = InstrumentationRegistry.getTargetContext(); in MultiUserHelper() 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/flicker/src/com/android/server/wm/flicker/helpers/
DWindowUtils.kt35 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()
DScheduledScenarioRunner.java206 Context context = InstrumentationRegistry.getContext(); in suspensionAwareSleep() local
DLongevitySuite.java131 Context context, in LongevitySuite()
/platform_testing/libraries/automotive-helpers/notifications-app-helper/src/android/platform/helpers/
DAutoNotificationMockingHelperImpl.java151 Context context = mInstrumentation.getContext(); in getBuilder() local
/platform_testing/tests/functional/downloadapp/src/com/android/functional/downloadapp/
DDownloadAppTestHelper.java62 private DownloadAppTestHelper(UiDevice device, Context context) { in DownloadAppTestHelper()
68 public static DownloadAppTestHelper getInstance(UiDevice device, Context context) { in getInstance()
/platform_testing/utils/wifistrengthscanner/src/com/android/test/util/wifistrengthscanner/
DWifiStrengthScannerInstrumentation.java189 public void onReceive(Context context, Intent intent) { in onReceive()
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/
DHelperManager.java76 public static HelperManager getInstance(Context context, Instrumentation instr) { in getInstance()
/platform_testing/tests/functional/notificationtests/src/com/android/notification/functional/
DNotificationHelper.java256 public void showAppNotificationSettings(Context context) throws Exception { in showAppNotificationSettings()
342 public static PendingIntent getPendingIntent(Context context, String text) { in getPendingIntent()
/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/
DNotificationHelper.java252 public static PendingIntent getPendingIntent(Context context, String text) { in getPendingIntent()

12