/external/robolectric/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()
|
D | SensorManagerTest.java | 26 sensorManager = (SensorManager) Robolectric.application.getSystemService(Context.SENSOR_SERVICE); in setup()
|
D | PowerManagerTest.java | 24 … powerManager = (PowerManager) Robolectric.application.getSystemService(Context.POWER_SERVICE); in before()
|
D | NotificationManagerTest.java | 23 …notificationManager = (NotificationManager) Robolectric.application.getSystemService(Context.NOTIF… in setUp()
|
D | ConnectivityManagerTest.java | 27 …connectivityManager = (ConnectivityManager) Robolectric.application.getSystemService(Context.CONNE… in setUp()
|
/external/robolectric/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()
|
D | ShadowPopupWindow.java | 163 return (WindowManager) context.getSystemService(Context.WINDOW_SERVICE); in getWindowManager()
|
/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/glide/library/src/main/java/com/bumptech/glide/manager/ |
D | DefaultConnectivityMonitor.java | 54 (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE); in isConnected()
|
/external/jmonkeyengine/engine/src/android/jme3test/android/ |
D | DemoLaunchAdapter.java | 45 .getSystemService(Context.LAYOUT_INFLATER_SERVICE); in getView()
|
/external/droiddriver/src/io/appium/droiddriver/actions/view/ |
D | CloseKeyboardAction.java | 59 .getSystemService(Context.INPUT_METHOD_SERVICE); in perform()
|
/external/droiddriver/src/io/appium/droiddriver/base/ |
D | BaseUiDevice.java | 50 .getSystemService(Service.POWER_SERVICE); in isScreenOn()
|
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/cache/ |
D | MemorySizeCalculator.java | 32 this((ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE), in MemorySizeCalculator()
|
/external/deqp/android/package/src/com/drawelements/deqp/testercore/ |
D | RemoteAPI.java | 143 …ActivityManager activityMgr = (ActivityManager)m_context.getSystemService(Context.ACTIVITY_SERVICE… in findProcess()
|
/external/androidplot/Examples/DemoApp/src/com/androidplot/demos/ |
D | ListViewActivity.java | 63 …LayoutInflater inf = (LayoutInflater) getContext().getSystemService(Context.LAYOUT_INFLATER_SERVIC… in getView()
|
/external/droiddriver/src/io/appium/droiddriver/uiautomation/ |
D | UiAutomationDriver.java | 152 .getSystemService(Context.ACCESSIBILITY_SERVICE); in clearAccessibilityNodeInfoCache()
|