Home
last modified time | relevance | path

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

/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/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/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/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.java219 Context context = getInstrumentation().getContext(); in postNotifications() local
248 Context context = getInstrumentation().getContext(); in createSmartSuggestionsNotificationBuilder() local
273 Context context = getInstrumentation().getContext(); in createSmartAction() local
286 Context context = getInstrumentation().getTargetContext(); in postInlineReplyNotification() local
/platform_testing/libraries/collectors-helper/statsd/test/src/com/android/helpers/
DHelperTestUtility.java107 Context context = InstrumentationRegistry.getContext(); in wakeUpAndUnlock() local
/platform_testing/libraries/telephony-utility/src/android/telephony/utility/
DSimCardUtil.java82 Context context = InstrumentationRegistry.getTargetContext(); in getSimCardInformation() local
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/
DHelperManager.java74 public static HelperManager getInstance(Context context, Instrumentation instr) { in getInstance()
DAbstractStandardAppHelper.java220 Context context = mInstrumentation.getContext(); in hasRegisteredGoogleAccount() local
/platform_testing/libraries/longevity/platform/src/android/platform/test/longevity/
DProfileSuite.java68 Instrumentation instrumentation, Context context, Bundle arguments) in ProfileSuite()
DLongevitySuite.java111 Instrumentation instrumentation, Context context, Bundle arguments) in LongevitySuite()
/platform_testing/libraries/aoa-helper/src/com/android/helper/aoa/
DIUsbNative.java31 int libusb_init(PointerByReference context); in libusb_init()
DUsbHelper.java58 PointerByReference context = new PointerByReference(); in UsbHelper() 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.java254 public void showAppNotificationSettings(Context context) throws Exception { in showAppNotificationSettings()
340 public static PendingIntent getPendingIntent(Context context, String text) { in getPendingIntent()
DNotificationInteractionTests.java322 Context context = getInstrumentation().getContext(); in testNotificationClickedEvents() local
/platform_testing/tests/functional/appsmoke/src/android/test/appsmoke/
DAppSmokeTest.java288 private boolean hasLeanback(Context context) { in hasLeanback()
/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/
DNotificationHelper.java251 public static PendingIntent getPendingIntent(Context context, String text) { in getPendingIntent()
/platform_testing/tests/perf/PerfTransitionTest/src/com/android/apptransition/tests/
DAppTransitionTests.java629 private boolean hasLeanback(Context context) { in hasLeanback()
/platform_testing/libraries/system-helpers/settings-helper/src/android/system/helpers/
DSettingsHelper.java99 public void openSearch(Context context) throws Exception { in openSearch()