Home
last modified time | relevance | path

Searched refs:getSystemService (Results 1 – 24 of 24) sorted by relevance

/platform_testing/tests/androidbvt/src/com/android/androidbvt/
DAndroidBvtHelper.java68 return (TelecomManager) mContext.getSystemService(Context.TELECOM_SERVICE); in getTelecomManager()
72 return (WifiManager) mContext.getSystemService(Context.WIFI_SERVICE); in getWifiManager()
77 .getSystemService(Context.CONNECTIVITY_SERVICE); in getConnectivityManager()
82 .getSystemService(Context.DOWNLOAD_SERVICE); in getDownloadManager()
113 WindowManager wm = (WindowManager) mContext.getSystemService( in isTablet()
DFrameworkDownloadTests.java122 .getSystemService(Context.DOWNLOAD_SERVICE); in removeAllCurrentDownloads()
DSysUINotificationShadeTests.java95 .getSystemService(Context.NOTIFICATION_SERVICE); in setUp()
179 .getSystemService(Context.INPUT_METHOD_SERVICE); in verifyInlineAndDimissNotification()
DSysUILockScreenTests.java211 KeyguardManager km = (KeyguardManager) mContext.getSystemService(Context.KEYGUARD_SERVICE); in isLockScreenEnabled()
/platform_testing/tests/functional/notificationtests/src/com/android/notification/functional/
DNotificationInlineReplyTests.java45 .getSystemService(Context.NOTIFICATION_SERVICE); in setUp()
78 .getSystemService(Context.INPUT_METHOD_SERVICE); in testInLineNotificationWithLockScreen()
98 .getSystemService(Context.INPUT_METHOD_SERVICE); in testInLineNotificationsWithQuickSetting()
DHeadsUpNotificationTests.java53 .getSystemService(Context.NOTIFICATION_SERVICE); in setUp()
79 .getSystemService(Context.INPUT_METHOD_SERVICE); in testHeadsUpNotificationInlineReply()
120 .getSystemService(Context.INPUT_METHOD_SERVICE); in testHeadsUpNotificationInlineReplyMulti()
DNotificationSecurityTests.java43 .getSystemService(Context.NOTIFICATION_SERVICE); in setUp()
DNotificationSecurityLargeTests.java47 .getSystemService(Context.NOTIFICATION_SERVICE); in setUp()
DNotificationInteractionTests.java51 .getSystemService(Context.NOTIFICATION_SERVICE); in setUp()
DNotificationBundlingTests.java51 .getSystemService(Context.NOTIFICATION_SERVICE); in setUp()
DNotificationDNDTests.java60 .getSystemService(Context.NOTIFICATION_SERVICE); in setUp()
DNotificationHelper.java275 .getSystemService(Context.KEYGUARD_SERVICE); in unlockScreen()
/platform_testing/tests/functional/otatests/src/com/android/functional/otatests/
DPackageProcessTest.java50 public Object getSystemService(String name) { in getSystemService() method in PackageProcessTest.PackageProcessMockContext
54 return mInternal.getSystemService(name); in getSystemService()
/platform_testing/tests/functional/settingstests/src/com/android/settings/functional/
DBluetoothNetworkSettingsTests.java109 .getSystemService(Context.BLUETOOTH_SERVICE)).getAdapter(); in verifyBluetoothOverflowOptions()
137 .getSystemService(Context.BLUETOOTH_SERVICE)).getAdapter(); in verifyBluetoothOnOrOff()
DQuickSettingsTest.java159 .getSystemService(Context.WIFI_SERVICE); in verifyWiFiOnOrOff()
195 .getSystemService(Context.BLUETOOTH_SERVICE); in verifyBluetoothOnOrOff()
295 .getSystemService(Context.LOCATION_SERVICE); in testQuickSettingLocation()
DMoreWirelessSettingsTests.java74 .getSystemService(Context.NFC_SERVICE); in testNFCToggle()
DMainSettingsTests.java114 .getSystemService(Context.INPUT_METHOD_SERVICE); in testSearchSetting()
DWirelessNetworkSettingsTests.java636 .getSystemService(Context.WIFI_SERVICE); in loadWiFiSettingsPage()
/platform_testing/tests/jank/sysapp_wear/src/com/android/wearable/sysapp/janktests/
DAppLauncherFlingJankTest.java54 getContext().getSystemService(Context.POWER_SERVICE); in setUp()
/platform_testing/tests/functional/appsmoke/src/android/test/appsmoke/
DAppSmokeTest.java178 LauncherApps la = (LauncherApps)ctx.getSystemService(Context.LAUNCHER_APPS_SERVICE); in generateAppsList()
179 UserManager um = (UserManager)ctx.getSystemService(Context.USER_SERVICE); in generateAppsList()
/platform_testing/tests/jank/UbSystemUiJankTests/src/android/platform/systemui/tests/jank/
DSystemUiJankTests.java161 .getSystemService(Context.NOTIFICATION_SERVICE); in prepareNotifications()
177 .getSystemService(Context.NOTIFICATION_SERVICE); in cancelNotifications()
/platform_testing/tests/functional/downloadapp/src/com/android/functional/downloadapp/
DDownloadAppTestHelper.java76 return (DownloadManager) mContext.getSystemService(Context.DOWNLOAD_SERVICE); in getDLManager()
165 AlarmManager am = (AlarmManager) mContext.getSystemService(Context.ALARM_SERVICE); in changeSystemTime()
/platform_testing/tests/perf/PerformanceAppTest/src/com/android/performanceapp/tests/
DAppLaunchTests.java221 .getContext().getSystemService(Context.ACTIVITY_SERVICE); in getProcessId()
/platform_testing/tests/functional/launchertests/src/com/android/launcher/functional/
DHomeScreenTests.java112 .getSystemService(currentContext.POWER_SERVICE); in testScreenOffOnUsingPowerButton()