Home
last modified time | relevance | path

Searched refs:context (Results 1 – 13 of 13) sorted by relevance

/platform_testing/tests/functional/launchertests/src/com/android/launcher/functional/
DHotseatHelper.java43 private HotseatHelper(UiDevice device, Context context) { in HotseatHelper() argument
45 mContext = context; in HotseatHelper()
48 public static HotseatHelper getInstance(UiDevice device, Context context) { in getInstance() argument
50 mInstance = new HotseatHelper(device, context); in getInstance()
/platform_testing/tests/jank/uibench/src/com/android/uibench/janktests/
DUiBenchJankTestsHelper.java46 private UiBenchJankTestsHelper(Context context, UiDevice device) { in UiBenchJankTestsHelper() argument
47 mContext = context; in UiBenchJankTestsHelper()
51 public static UiBenchJankTestsHelper getInstance(Context context, UiDevice device) { in getInstance() argument
53 mInstance = new UiBenchJankTestsHelper(context, device); in getInstance()
/platform_testing/tests/perf/PerformanceLaunch/src/com/android/performanceLaunch/helper/
DSimpleGLSurfaceView.java32 public SimpleGLSurfaceView(Context context) { in SimpleGLSurfaceView() argument
33 super(context); in SimpleGLSurfaceView()
/platform_testing/tests/androidbvt/src/com/android/androidbvt/
DAndroidBvtHelper.java53 public AndroidBvtHelper(UiDevice device, Context context, UiAutomation uiAutomation) { in AndroidBvtHelper() argument
54 mContext = context; in AndroidBvtHelper()
59 public static AndroidBvtHelper getInstance(UiDevice device, Context context, in getInstance() argument
62 sInstance = new AndroidBvtHelper(device, context, uiAutomation); in getInstance()
DSysUINotificationShadeTests.java311 public static PendingIntent getPendingIntent(Context context, String text) { in getPendingIntent() argument
312 Intent toastIntent = new Intent(context, ToastService.class); in getPendingIntent()
317 context, 58, toastIntent, PendingIntent.FLAG_UPDATE_CURRENT); in getPendingIntent()
DFrameworkDownloadTests.java151 public void onReceive(Context context, Intent intent) { in onReceive() argument
/platform_testing/tests/jank/uibench_wear/src/com/android/wearable/uibench/janktests/
DUiBenchJankTestsHelper.java54 private UiBenchJankTestsHelper(UiDevice device, Context context) { in UiBenchJankTestsHelper() argument
56 mContext = context; in UiBenchJankTestsHelper()
63 public static UiBenchJankTestsHelper getInstance(UiDevice device, Context context) { in getInstance() argument
65 mInstance = new UiBenchJankTestsHelper(device, context); in getInstance()
/platform_testing/tests/jank/UbSystemUiJankTests/src/android/platform/systemui/tests/jank/
DSettingsJankTests.java69 Context context = getInstrumentation().getContext(); in setUp() local
70 Intent intent = context.getPackageManager().getLaunchIntentForPackage(SETTINGS_PACKAGE); in setUp()
72 context.startActivity(intent); in setUp()
/platform_testing/tests/functional/downloadapp/src/com/android/functional/downloadapp/
DDownloadAppTestHelper.java62 private DownloadAppTestHelper(UiDevice device, Context context) { in DownloadAppTestHelper() argument
64 mContext = context; in DownloadAppTestHelper()
68 public static DownloadAppTestHelper getInstance(UiDevice device, Context context) { in getInstance() argument
70 mInstance = new DownloadAppTestHelper(device, context); in getInstance()
/platform_testing/tests/functional/externalstorage/src/com/android/functional/externalstoragetests/
DExternalStorageHelper.java71 public ExternalStorageHelper(UiDevice device, Context context, UiAutomation uiAutomation, in ExternalStorageHelper() argument
74 mContext = context; in ExternalStorageHelper()
79 public static ExternalStorageHelper getInstance(UiDevice device, Context context, in getInstance() argument
82 mInstance = new ExternalStorageHelper(device, context, uiAutomation, instrumentation); in getInstance()
/platform_testing/tests/functional/notificationtests/src/com/android/notification/functional/
DNotificationHelper.java282 public void showInstalledAppDetails(Context context, String packageName) throws Exception { in showInstalledAppDetails() argument
291 context.startActivity(intent); in showInstalledAppDetails()
373 public static PendingIntent getPendingIntent(Context context, String text) { in getPendingIntent() argument
374 Intent toastIntent = new Intent(context, ToastService.class); in getPendingIntent()
379 context, 58, toastIntent, PendingIntent.FLAG_UPDATE_CURRENT); in getPendingIntent()
/platform_testing/tests/functional/permission/src/com/android/functional/permissiontests/
DPermissionHelper.java57 private PermissionHelper(UiDevice device, Context context, UiAutomation uiAutomation) { in PermissionHelper() argument
59 mContext = context; in PermissionHelper()
64 public static PermissionHelper getInstance(UiDevice device, Context context, in getInstance() argument
67 mInstance = new PermissionHelper(device, context, uiAutomation); in getInstance()
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
DAuptTestCase.java99 Context context) { in MemHealthRecord() argument
104 mContext = context; in MemHealthRecord()
427 MemHealthRecord.Context context = foregroundProcs.contains(proc) ? in recordMemoryUsage() local
433 new MemHealthRecord(timeMs, dalvikHeap, nativeHeap, pss, context)); in recordMemoryUsage()