Home
last modified time | relevance | path

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

/platform_testing/utils/permissions/src/com/android/permissionutils/
DGrantPermissionUtil.java35 public static void grantAllPermissions (Context context) { in grantAllPermissions()
47 public static void dumpMissingPermissions (Context context) { in dumpMissingPermissions()
59 private static List<PackageInfo> getPackageInfos(Context context) { in getPackageInfos()
63 private static List<String> getMissingPermissions(Context context, PackageInfo info) { in getMissingPermissions()
/platform_testing/tests/perf/PerformanceLaunch/src/com/android/performanceLaunch/helper/
DSimpleGLSurfaceView.java32 public SimpleGLSurfaceView(Context context) { in SimpleGLSurfaceView()
/platform_testing/libraries/longevity/src/android/platform/longevity/listeners/
DBatteryTerminator.java38 public BatteryTerminator(RunNotifier notifier, Bundle args, Context context) { in BatteryTerminator()
/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/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.java69 Context context = getInstrumentation().getContext(); in setUp() local
DSystemUiJankTests.java222 Context context = getInstrumentation().getTargetContext(); in postInlineReplyNotification() local
/platform_testing/libraries/app-helpers/base/src/android/platform/test/helpers/base/
DHelperManager.java73 public static HelperManager getInstance(Context context, Instrumentation instr) { in getInstance()
/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/tests/functional/appsmoke/src/android/test/appsmoke/
DAppSmokeTest.java277 private boolean hasLeanback(Context context) { in hasLeanback()
/platform_testing/tests/functional/notificationtests/src/com/android/notification/functional/
DNotificationHelper.java312 public void showAppNotificationSettings(Context context) throws Exception { in showAppNotificationSettings()
423 public static PendingIntent getPendingIntent(Context context, String text) { in getPendingIntent()
/platform_testing/libraries/app-helpers/common/src/android/platform/test/helpers/common/
DAbstractStandardAppHelper.java140 Context context = mInstrumentation.getContext(); in hasRegisteredGoogleAccount() local