/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 | 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 | 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 | 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()
|
/external/chromium_org/third_party/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/ |
D | WebRtcAudioTrack.java | 98 _context.getSystemService(Context.AUDIO_SERVICE); in InitPlayback() 217 _context.getSystemService(Context.AUDIO_SERVICE); in SetPlayoutSpeaker() 267 _context.getSystemService(Context.AUDIO_SERVICE); in SetPlayoutVolume() 287 _context.getSystemService(Context.AUDIO_SERVICE); in GetPlayoutVolume()
|
D | AudioManagerAndroid.java | 37 context.getSystemService(Context.AUDIO_SERVICE); in AudioManagerAndroid()
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
D | VibrationProvider.java | 46 mAudioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in VibrationProvider() 47 mVibrator = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE); in VibrationProvider()
|
D | ScreenOrientationListener.java | 163 (DisplayManager) mAppContext.getSystemService(Context.DISPLAY_SERVICE); in startListening() 170 (DisplayManager) mAppContext.getSystemService(Context.DISPLAY_SERVICE); in stopListening() 336 (WindowManager) mAppContext.getSystemService(Context.WINDOW_SERVICE); in updateOrientation()
|
/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()
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/ |
D | AccessibilityUtil.java | 52 context.getSystemService(Context.ACCESSIBILITY_SERVICE); in isAccessibilityEnabled() 64 context.getSystemService(Context.ACCESSIBILITY_SERVICE); in showWarningIfOldTalkbackRunning()
|
/external/chromium_org/media/base/android/java/src/org/chromium/media/ |
D | MediaPlayerListener.java | 116 AudioManager am = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE); in releaseResources() 137 AudioManager am = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE); in create()
|
/external/chromium_org/net/android/java/src/org/chromium/net/ |
D | NetworkChangeNotifierAutoDetect.java | 34 (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE); in ConnectivityManagerDelegate() 65 mWifiManager = (WifiManager) context.getSystemService(Context.WIFI_SERVICE); in WifiManagerDelegate()
|
D | AndroidNetworkLibrary.java | 249 (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE); in getNetworkCountryIso() 263 (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE); in getNetworkOperator()
|
/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/chromium_org/printing/android/java/src/org/chromium/printing/ |
D | PrintManagerDelegateImpl.java | 19 mPrintManager = (PrintManager) context.getSystemService(Context.PRINT_SERVICE); in PrintManagerDelegateImpl()
|
/external/chromium_org/ui/android/java/src/org/chromium/ui/ |
D | UiUtils.java | 64 (InputMethodManager) view.getContext().getSystemService( in showKeyboard() 77 (InputMethodManager) view.getContext().getSystemService( in hideKeyboard()
|
/external/chromium_org/content/shell/android/javatests/src/org/chromium/content_shell_apk/ |
D | ContentShellPreconditionsTest.java | 24 PowerManager pm = (PowerManager) getInstrumentation().getContext().getSystemService( in testScreenIsOn()
|
/external/glide/library/src/main/java/com/bumptech/glide/manager/ |
D | DefaultConnectivityMonitor.java | 55 …ConnectivityManager connectivityManager = (ConnectivityManager) context.getSystemService(Context.C… in isConnected()
|
/external/chromium_org/remoting/android/java/src/org/chromium/chromoting/ |
D | AccountsAdapter.java | 24 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in AccountsAdapter()
|
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/ |
D | ViewportTest.java | 43 WindowManager winManager = (WindowManager) context.getSystemService(Context.WINDOW_SERVICE); in testDefaultViewportSize()
|