/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowApplicationTest.java | 78 assertThat(context.getSystemService(Context.ACTIVITY_SERVICE)) in shouldProvideServices() 80 assertThat(context.getSystemService(Context.POWER_SERVICE)) in shouldProvideServices() 82 assertThat(context.getSystemService(Context.ALARM_SERVICE)) in shouldProvideServices() 84 assertThat(context.getSystemService(Context.NOTIFICATION_SERVICE)) in shouldProvideServices() 86 assertThat(context.getSystemService(Context.KEYGUARD_SERVICE)) in shouldProvideServices() 88 assertThat(context.getSystemService(Context.LOCATION_SERVICE)) in shouldProvideServices() 90 assertThat(context.getSystemService(Context.SEARCH_SERVICE)) in shouldProvideServices() 92 assertThat(context.getSystemService(Context.SENSOR_SERVICE)) in shouldProvideServices() 94 assertThat(context.getSystemService(Context.STORAGE_SERVICE)) in shouldProvideServices() 96 assertThat(context.getSystemService(Context.VIBRATOR_SERVICE)).isInstanceOf(Vibrator.class); in shouldProvideServices() [all …]
|
D | ShadowStatusBarManagerTest.java | 26 getApplicationContext().getSystemService(Context.STATUS_BAR_SERVICE))) in getDisable() 38 getApplicationContext().getSystemService(Context.STATUS_BAR_SERVICE))) in getDisable2() 47 getApplicationContext().getSystemService(Context.STATUS_BAR_SERVICE), in callDisableMethodofStatusBarManager() 56 getApplicationContext().getSystemService(Context.STATUS_BAR_SERVICE), in callDisable2MethodofStatusBarManager()
|
D | ShadowContextImplTest.java | 96 assertThat(context.getSystemService(Context.BLUETOOTH_SERVICE)) in getSystemService_shouldReturnBluetoothAdapter() 102 assertThat(context.getSystemService(Context.WALLPAPER_SERVICE)) in getSystemService_shouldReturnWallpaperManager() 109 assertThat(context.getSystemService(Context.WALLPAPER_SERVICE)).isNull(); in removeSystemService_getSystemServiceReturnsNull() 164 (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in createPackageContext()
|
D | ShadowStorageManagerTest.java | 29 storageManager = (StorageManager) application.getSystemService(Context.STORAGE_SERVICE); in setUp() 65 shadowOf(application.getSystemService(UserManager.class)).setUserUnlocked(true); in isUserKeyUnlocked()
|
D | ShadowBluetoothManagerTest.java | 20 ApplicationProvider.getApplicationContext().getSystemService(Context.BLUETOOTH_SERVICE);
|
/external/skia/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/helpers/ |
D | DisplayRotationHelper.java | 47 display = context.getSystemService(WindowManager.class).getDefaultDisplay(); in DisplayRotationHelper() 54 context.getSystemService(DisplayManager.class).registerDisplayListener(this, null); in onResume() 61 context.getSystemService(DisplayManager.class).unregisterDisplayListener(this); in onPause()
|
/external/skqp/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/helpers/ |
D | DisplayRotationHelper.java | 47 display = context.getSystemService(WindowManager.class).getDefaultDisplay(); in DisplayRotationHelper() 54 context.getSystemService(DisplayManager.class).registerDisplayListener(this, null); in onResume() 61 context.getSystemService(DisplayManager.class).unregisterDisplayListener(this); in onPause()
|
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/ |
D | PollingService.java | 106 SubscriptionManager subscriptionManager = getSystemService(SubscriptionManager.class); in onCreate() 138 SubscriptionManager subscriptionManager = getSystemService(SubscriptionManager.class); in onDestroy() 216 ImsManager manager = getSystemService(ImsManager.class); in hasUserEnabledUce() 231 CarrierConfigManager configManager = getSystemService(CarrierConfigManager.class); in isRcsSupportedByCarrier()
|
D | PollingTask.java | 179 mContext.getSystemService(Context.ALARM_SERVICE); in cancelRetryAlarm() 207 mContext.getSystemService(Context.ALARM_SERVICE); in scheduleRetry()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowService.java | 54 …NotificationManager nm = (NotificationManager)RuntimeEnvironment.application.getSystemService(Cont… in startForeground() 68 …NotificationManager nm = (NotificationManager)RuntimeEnvironment.application.getSystemService(Cont… in removeForegroundNotification()
|
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/ |
D | SubtitleView.java | 270 (CaptioningManager) getContext().getSystemService(Context.CAPTIONING_SERVICE); in isCaptionManagerEnabled() 277 (CaptioningManager) getContext().getSystemService(Context.CAPTIONING_SERVICE); in getUserCaptionFontScaleV19() 284 (CaptioningManager) getContext().getSystemService(Context.CAPTIONING_SERVICE); in getUserCaptionStyleV19()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
D | SettingsFacade.java | 72 mAudio = (AudioManager) mService.getSystemService(Context.AUDIO_SERVICE); in SettingsFacade() 73 mPower = (PowerManager) mService.getSystemService(Context.POWER_SERVICE); in SettingsFacade() 74 mAlarm = (AlarmManager) mService.getSystemService(Context.ALARM_SERVICE); in SettingsFacade() 77 (NotificationManager) mService.getSystemService(Context.NOTIFICATION_SERVICE); in SettingsFacade() 85 (TelephonyManager) mService.getSystemService(Context.TELEPHONY_SERVICE); in SettingsFacade()
|
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/ |
D | AudioTestService.java | 71 (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE); in runAsForegroundService() 104 (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE); in onDestroy()
|
/external/libtextclassifier/notification/tests/src/com/android/textclassifier/notification/ |
D | CopyCodeActivityTest.java | 51 ApplicationProvider.getApplicationContext().getSystemService(ClipboardManager.class); in onCreate_emptyCode() 68 ApplicationProvider.getApplicationContext().getSystemService(ClipboardManager.class); in onCreate_codeCopied()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/util/ |
D | NotificationUtil.java | 102 (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE); in createNotificationChannel() 125 (NotificationManager) context.getSystemService(Context.NOTIFICATION_SERVICE); in setNotification()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/ |
D | CarrierConfigFacade.java | 46 (CarrierConfigManager)mService.getSystemService(Context.CARRIER_CONFIG_SERVICE); in CarrierConfigFacade() 47 mTetheringManager = (TetheringManager) mService.getSystemService(Context.TETHERING_SERVICE); in CarrierConfigFacade()
|
/external/ims/rcs/rcsservice/src/com/android/service/ims/ |
D | RcsSettingUtils.java | 116 context.getSystemService(Context.CARRIER_CONFIG_SERVICE); in isEabProvisioned() 143 context.getSystemService(Context.CARRIER_CONFIG_SERVICE); in isPublishEnabled() 158 ImsManager imsManager = context.getSystemService(ImsManager.class); in hasUserEnabledContactDiscovery() 361 SubscriptionManager sm = context.getSystemService(SubscriptionManager.class); in getDefaultSubscriptionId()
|
D | RcsStackAdaptor.java | 210 SubscriptionManager subscriptionManager = mContext.getSystemService( in handleAssociatedSubscriptionChanged() 577 TelephonyManager tm = mContext.getSystemService(TelephonyManager.class); in createStackConnection() 578 SubscriptionManager sm = mContext.getSystemService(SubscriptionManager.class); in createStackConnection() 646 mAlarmManager = (AlarmManager) mContext.getSystemService(Context.ALARM_SERVICE); in init()
|
/external/ims/rcs/rcsservice/src/com/android/service/ims/presence/ |
D | PresencePublication.java | 211 TelecomManager tm = mContext.getSystemService(TelecomManager.class); in PresencePublication() 258 TelephonyManager teleMgr = (TelephonyManager) mContext.getSystemService( in isSimLoaded() 896 TelephonyManager teleMgr = (TelephonyManager) mContext.getSystemService( in doPublish() 949 TelephonyManager teleMgr = (TelephonyManager) mContext.getSystemService( in getUriForPublication() 1020 mAlarmManager = (AlarmManager) mContext.getSystemService(Context.ALARM_SERVICE); in scheduleRetryPublish() 1187 TelephonyManager teleMgr = (TelephonyManager) mContext.getSystemService( in isOnLTE() 1197 TelephonyManager teleMgr = (TelephonyManager) mContext.getSystemService( in isOnIWLAN()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/scheduler/ |
D | RequirementsWatcher.java | 130 (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE)); in registerNetworkCallbackV24() 138 (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE); in unregisterNetworkCallbackV24()
|
D | Requirements.java | 132 (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE); in getNotMetNetworkRequirements() 159 PowerManager powerManager = (PowerManager) context.getSystemService(Context.POWER_SERVICE); in isDeviceIdle()
|
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/service/ |
D | TriggerService.java | 170 AlarmManager alarmManager = (AlarmManager) getSystemService(Context.ALARM_SERVICE); in installAlarm() 176 AlarmManager alarmManager = (AlarmManager) getSystemService(Context.ALARM_SERVICE); in uninstallAlarm()
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | VibrationSystem.java | 37 Vibrator vibrator = (Vibrator)params.context.getSystemService(Context.VIBRATOR_SERVICE); in vibrate()
|
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/ |
D | HostActivity.java | 186 (WifiManager) appContext.getSystemService(Context.WIFI_SERVICE)); in onStart() 191 (PowerManager) appContext.getSystemService(Context.POWER_SERVICE)); in onStart()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/video/ |
D | VideoFrameReleaseTimeHelper.java | 77 windowManager = (WindowManager) context.getSystemService(Context.WINDOW_SERVICE); in VideoFrameReleaseTimeHelper() 191 DisplayManager manager = (DisplayManager) context.getSystemService(Context.DISPLAY_SERVICE); in maybeBuildDefaultDisplayListenerV17()
|