/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | TelephonyManagerTest.java | 46 …TelephonyManager telephonyManager = (TelephonyManager) application.getSystemService(TELEPHONY_SERV… in shouldGiveDeviceId() 53 …TelephonyManager telephonyManager = (TelephonyManager) application.getSystemService(TELEPHONY_SERV… in shouldGiveNetworkOperatorName() 61 …TelephonyManager telephonyManager = (TelephonyManager) application.getSystemService(TELEPHONY_SERV… in shouldGiveNetworkCountryIso() 69 …TelephonyManager telephonyManager = (TelephonyManager) application.getSystemService(TELEPHONY_SERV… in shouldGiveNetworkOperator() 83 …TelephonyManager telephonyManager = (TelephonyManager) application.getSystemService(TELEPHONY_SERV… in shouldGivePhoneType()
|
D | WifiInfoTest.java | 20 WifiManager wifiManager = (WifiManager) application.getSystemService(WIFI_SERVICE); in shouldReturnMacAddress() 24 wifiManager = (WifiManager) application.getSystemService(WIFI_SERVICE); in shouldReturnMacAddress()
|
D | ContextWrapperTest.java | 173 …assertThat(activity.getSystemService(serviceName), sameInstance(activity.getSystemService(serviceN… in assertSameInstanceEveryTime() 175 …assertThat(activity.getSystemService(serviceName), sameInstance(new Activity().getSystemService(se… in assertSameInstanceEveryTime()
|
D | ActivityManagerTest.java | 18 …Manager activityManager = (ActivityManager) Robolectric.application.getSystemService(Context.ACTIV… in canGetMemoryInfoForOurProcess() 30 …Manager activityManager = (ActivityManager) Robolectric.application.getSystemService(Context.ACTIV… in canGetMemoryInfoEvenWhenWeDidNotSetIt()
|
D | KeyguardManagerTest.java | 22 KeyguardManager mgr = ( KeyguardManager ) activity.getSystemService( KEYGUARD_SERVICE ); in testIsInRestrcitedInputMode() 32 KeyguardManager mgr = ( KeyguardManager ) activity.getSystemService( KEYGUARD_SERVICE ); in testShouldBeAbleToDisableTheKeyguardLock()
|
D | InputMethodManagerTest.java | 24 …manager = (InputMethodManager) Robolectric.application.getSystemService(Activity.INPUT_METHOD_SERV… in setUp()
|
D | ClipboardManagerTest.java | 22 …clipboardManager = (ClipboardManager) Robolectric.application.getSystemService(Context.CLIPBOARD_S… in setUp()
|
D | VibratorTest.java | 25 vibrator = (Vibrator) new Activity().getSystemService(Context.VIBRATOR_SERVICE); in before()
|
/external/libgdx/backends/gdx-backend-android/src/com/badlogic/gdx/backends/android/ |
D | AndroidClipboard.java | 31 clipboard = (android.text.ClipboardManager)context.getSystemService(Context.CLIPBOARD_SERVICE); in AndroidClipboard() 33 …honeycombClipboard = (android.content.ClipboardManager)context.getSystemService(Context.CLIPBOARD_… in AndroidClipboard()
|
D | AndroidInput.java | 172 vibrator = (Vibrator)context.getSystemService(Context.VIBRATOR_SERVICE); in AndroidInput() 570 …InputMethodManager manager = (InputMethodManager)context.getSystemService(Context.INPUT_METHOD_SER… in setOnscreenKeyboardVisible() 684 manager = (SensorManager)context.getSystemService(Context.SENSOR_SERVICE); in registerSensorListeners() 697 manager = (SensorManager)context.getSystemService(Context.SENSOR_SERVICE); in registerSensorListeners() 710 if (manager == null) manager = (SensorManager)context.getSystemService(Context.SENSOR_SERVICE); in registerSensorListeners() 813 …orientation = ((WindowManager)context.getSystemService(Context.WINDOW_SERVICE)).getDefaultDisplay(… in getRotation()
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowResourceCursorAdapter.java | 54 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in __constructor__() 73 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in __constructor__()
|
D | ShadowContextWrapper.java | 67 public Object getSystemService(String name) { in getSystemService() method in ShadowContextWrapper 68 return getApplicationContext().getSystemService(name); in getSystemService()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
D | SettingsFacade.java | 63 mAudio = (AudioManager) mService.getSystemService(Context.AUDIO_SERVICE); in SettingsFacade() 64 mPower = (PowerManager) mService.getSystemService(Context.POWER_SERVICE); in SettingsFacade() 65 mAlarm = (AlarmManager) mService.getSystemService(Context.ALARM_SERVICE); in SettingsFacade()
|
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/ |
D | TriggerService.java | 153 AlarmManager alarmManager = (AlarmManager) getSystemService(Context.ALARM_SERVICE); in installAlarm() 159 AlarmManager alarmManager = (AlarmManager) getSystemService(Context.ALARM_SERVICE); in uninstallAlarm()
|
D | ServiceUtils.java | 74 (NotificationManager) service.getSystemService(Context.NOTIFICATION_SERVICE); in setForeground()
|
/external/replicaisland/src/com/replica/replicaisland/ |
D | VibrationSystem.java | 37 Vibrator vibrator = (Vibrator)params.context.getSystemService(Context.VIBRATOR_SERVICE); in vibrate()
|
D | CustomToastSystem.java | 33 …LayoutInflater inflater = (LayoutInflater)context.getSystemService(Context.LAYOUT_INFLATER_SERVICE… in CustomToastSystem()
|
/external/dagger2/examples/android-activity-graphs/src/main/java/com/example/dagger/activitygraphs/ |
D | DemoApplicationModule.java | 46 return (LocationManager) application.getSystemService(LOCATION_SERVICE); in provideLocationManager()
|
/external/dagger2/examples/android-simple/src/main/java/com/example/dagger/simple/ |
D | AndroidModule.java | 47 return (LocationManager) application.getSystemService(LOCATION_SERVICE); in provideLocationManager()
|
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/ |
D | PollingTask.java | 177 mContext.getSystemService(Context.ALARM_SERVICE); in cancelRetryAlarm() 205 mContext.getSystemService(Context.ALARM_SERVICE); in scheduleRetry()
|
/external/glide/library/src/main/java/com/bumptech/glide/manager/ |
D | DefaultConnectivityMonitor.java | 54 (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE); in isConnected()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/media/ |
D | AudioManagerFacade.java | 41 mAudio = (AudioManager) mService.getSystemService(Context.AUDIO_SERVICE); in AudioManagerFacade()
|
/external/sl4a/Utils/src/com/googlecode/android_scripting/ |
D | ForegroundService.java | 92 mNotificationManager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE); in onCreate()
|
/external/libgdx/extensions/gdx-controllers/gdx-controllers-android/src/com/badlogic/gdx/controllers/android/ |
D | ControllerLifeCycleListener.java | 40 this.inputManager = (InputManager)((Context)Gdx.app).getSystemService(Context.INPUT_SERVICE); in ControllerLifeCycleListener()
|
/external/jmonkeyengine/engine/src/android/jme3test/android/ |
D | DemoLaunchAdapter.java | 45 .getSystemService(Context.LAYOUT_INFLATER_SERVICE); in getView()
|