Home
last modified time | relevance | path

Searched defs:context (Results 1 – 13 of 13) 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/jank/uibench/src/com/android/uibench/janktests/
DUiBenchJankTestsHelper.java46 private UiBenchJankTestsHelper(Context context, UiDevice device) { in UiBenchJankTestsHelper()
51 public static UiBenchJankTestsHelper getInstance(Context context, UiDevice device) { in getInstance()
/platform_testing/tests/perf/PerformanceLaunch/src/com/android/performanceLaunch/helper/
DSimpleGLSurfaceView.java32 public SimpleGLSurfaceView(Context context) { in SimpleGLSurfaceView()
/platform_testing/tests/jank/notificationsgenerator_wear/src/com/google/android/wearable/support/
DCustomPostNotificationReceiver.java43 public void onReceive(Context context, Intent intent) { in onReceive()
/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/UbSystemUiJankTests/src/android/platform/systemui/tests/jank/
DSettingsJankTests.java69 Context context = getInstrumentation().getContext(); in setUp() local
/platform_testing/libraries/base-app-helpers/src/android/platform/test/helpers/
DHelperManager.java68 public static HelperManager getInstance(Context context, Instrumentation instr) { in getInstance()
DAbstractStandardAppHelper.java117 Context context = mInstrumentation.getContext(); in hasRegisteredGoogleAccount() 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/tests/functional/notificationtests/src/com/android/notification/functional/
DNotificationHelper.java282 public void showInstalledAppDetails(Context context, String packageName) throws Exception { in showInstalledAppDetails()
373 public static PendingIntent getPendingIntent(Context context, String text) { in getPendingIntent()
/platform_testing/tests/functional/permission/src/com/android/functional/permissiontests/
DPermissionHelper.java57 private PermissionHelper(UiDevice device, Context context, UiAutomation uiAutomation) { in PermissionHelper()
64 public static PermissionHelper getInstance(UiDevice device, Context context, in getInstance()
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
DAuptTestCase.java113 Context context) { in MemHealthRecord()
130 Context context) { in MemHealthRecord()
691 MemHealthRecord.Context context = foregroundProcs.contains(proc) ? in recordMemoryUsage() local