Home
last modified time | relevance | path

Searched refs:mService (Results 1 – 25 of 106) sorted by relevance

12345

/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java63 private final IDevicePolicyManager mService; field in DevicePolicyManager
67 mService = IDevicePolicyManager.Stub.asInterface( in DevicePolicyManager()
74 return me.mService != null ? me : null; in create()
140 if (mService != null) { in isAdminActive()
142 return mService.isAdminActive(who, UserHandle.myUserId()); in isAdminActive()
156 if (mService != null) { in getActiveAdmins()
158 return mService.getActiveAdmins(UserHandle.myUserId()); in getActiveAdmins()
172 if (mService != null) { in packageHasActiveAdmins()
174 return mService.packageHasActiveAdmins(packageName, UserHandle.myUserId()); in packageHasActiveAdmins()
189 if (mService != null) { in removeActiveAdmin()
[all …]
/frameworks/base/services/java/com/android/server/wm/
DSession.java56 final WindowManagerService mService; field in Session
68 mService = service; in Session()
90 synchronized (mService.mWindowMap) { in Session()
91 if (mService.mInputMethodManager == null && mService.mHaveInputMethods) { in Session()
94 mService.mInputMethodManager = IInputMethodManager.Stub.asInterface(b); in Session()
101 if (mService.mInputMethodManager != null) { in Session()
102 mService.mInputMethodManager.addClient(client, inputContext, in Session()
111 if (mService.mInputMethodManager != null) { in Session()
112 mService.mInputMethodManager.removeClient(client); in Session()
139 if (mService.mInputMethodManager != null) { in binderDied()
[all …]
DInputMonitor.java36 private final WindowManagerService mService; field in InputMonitor
62 mService = service; in InputMonitor()
75 synchronized (mService.mWindowMap) { in notifyInputChannelBroken()
79 mService.removeWindowLocked(windowState.mSession, windowState); in notifyInputChannelBroken()
95 synchronized (mService.mWindowMap) { in notifyANR()
113 int systemAlertLayer = mService.mPolicy.windowTypeToLayerLw( in notifyANR()
125 mService.saveANRStateLocked(appWindowToken, windowState, reason); in notifyANR()
240 final WindowStateAnimator universeBackground = mService.mAnimator.mUniverseBackground; in updateInputWindowsLw()
241 final int aboveUniverseLayer = mService.mAnimator.mAboveUniverseLayer; in updateInputWindowsLw()
245 final boolean inDrag = (mService.mDragState != null); in updateInputWindowsLw()
[all …]
DWindowAnimator.java39 final WindowManagerService mService; field in WindowAnimator
89 mService = service; in WindowAnimator()
96 synchronized (mService.mWindowMap) { in WindowAnimator()
97 mService.mAnimationScheduled = false; in WindowAnimator()
125 final WindowState wallpaperTarget = mService.mWallpaperTarget; in hideWallpapersLocked()
126 final WindowState lowerWallpaperTarget = mService.mLowerWallpaperTarget; in hideWallpapersLocked()
127 final ArrayList<WindowToken> wallpaperTokens = mService.mWallpaperTokens; in hideWallpapersLocked()
139 mService.dispatchWallpaperVisibility(wallpaper, false); in hideWallpapersLocked()
154 final DisplayContent displayContent = mService.getDisplayContentLocked(displayId); in updateAppWindowsLocked()
197 final WindowList windows = mService.getWindowListLocked(displayId); in updateWindowsLocked()
[all …]
/frameworks/base/core/java/android/net/
DConnectivityManager.java396 private final IConnectivityManager mService; field in ConnectivityManager
523 mService.setNetworkPreference(preference); in setNetworkPreference()
541 return mService.getNetworkPreference(); in getNetworkPreference()
562 return mService.getActiveNetworkInfo(); in getActiveNetworkInfo()
583 return mService.getActiveNetworkInfoForUid(uid); in getActiveNetworkInfoForUid()
604 return mService.getNetworkInfo(networkType); in getNetworkInfo()
622 return mService.getAllNetworkInfo(); in getAllNetworkInfo()
645 return mService.getProvisioningOrActiveNetworkInfo(); in getProvisioningOrActiveNetworkInfo()
664 return mService.getActiveLinkProperties(); in getActiveLinkProperties()
684 return mService.getLinkProperties(networkType); in getLinkProperties()
[all …]
/frameworks/base/core/java/android/bluetooth/
DBluetoothHeadset.java227 private IBluetoothHeadset mService; field in BluetoothHeadset
238 mService = null;
247 if (mService == null) {
309 if (mService != null) { in close()
311 mService = null; in close()
345 if (mService != null && isEnabled() && in connect()
348 return mService.connect(device); in connect()
354 if (mService == null) Log.w(TAG, "Proxy not attached to service"); in connect()
386 if (mService != null && isEnabled() && in disconnect()
389 return mService.disconnect(device); in disconnect()
[all …]
DBluetoothA2dp.java109 private IBluetoothA2dp mService; field in BluetoothA2dp
120 mService = null;
129 if (mService == null) {
184 if (mService != null) { in close()
186 mService = null; in close()
222 if (mService != null && isEnabled() && in connect()
225 return mService.connect(device); in connect()
231 if (mService == null) Log.w(TAG, "Proxy not attached to service"); in connect()
263 if (mService != null && isEnabled() && in disconnect()
266 return mService.disconnect(device); in disconnect()
[all …]
DBluetoothInputDevice.java188 private IBluetoothInputDevice mService; field in BluetoothInputDevice
198 mService = null;
207 if (mService == null) {
264 if (mService != null) { in close()
266 mService = null; in close()
298 if (mService != null && isEnabled() && isValidDevice(device)) { in connect()
300 return mService.connect(device); in connect()
306 if (mService == null) Log.w(TAG, "Proxy not attached to service"); in connect()
338 if (mService != null && isEnabled() && isValidDevice(device)) { in disconnect()
340 return mService.disconnect(device); in disconnect()
[all …]
DBluetoothMap.java44 private IBluetoothMap mService; field in BluetoothMap
65 mService = null;
74 if (mService == null) {
141 if (mService != null) { in close()
143 mService = null; in close()
160 if (mService != null) { in getState()
162 return mService.getState(); in getState()
179 if (mService != null) { in getClient()
181 return mService.getClient(); in getClient()
197 if (mService != null) { in isConnected()
[all …]
DBluetoothHealth.java109 mService = null;
118 if (mService == null) {
181 if (mService != null) { in registerAppConfiguration()
183 result = mService.registerAppConfiguration(config, wrapper); in registerAppConfiguration()
205 if (mService != null && isEnabled() && config != null) { in unregisterAppConfiguration()
207 result = mService.unregisterAppConfiguration(config); in unregisterAppConfiguration()
233 if (mService != null && isEnabled() && isValidDevice(device) && in connectChannelToSource()
236 return mService.connectChannelToSource(device, config); in connectChannelToSource()
262 if (mService != null && isEnabled() && isValidDevice(device) && in connectChannelToSink()
265 return mService.connectChannelToSink(device, config, channelType); in connectChannelToSink()
[all …]
DBluetoothPbap.java71 private IBluetoothPbap mService; field in BluetoothPbap
121 mService = null;
130 if (mService == null) {
196 if (mService != null) { in close()
198 mService = null; in close()
215 if (mService != null) { in getState()
217 return mService.getState(); in getState()
234 if (mService != null) { in getClient()
236 return mService.getClient(); in getClient()
252 if (mService != null) { in isConnected()
[all …]
/frameworks/base/test-runner/src/android/test/
DServiceTestCase.java114 private T mService; field in ServiceTestCase
127 return mService; in getService()
154 mService = null; in setupService()
156 mService = mServiceClass.newInstance(); in setupService()
158 assertNotNull(mService); in setupService()
163 mService.attach( in setupService()
172 assertNotNull(mService); in setupService()
192 assertNotNull(mService); in startService()
195 mService.onCreate(); in startService()
198 mService.onStartCommand(intent, 0, mServiceId); in startService()
[all …]
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
DKeyguardServiceWrapper.java35 private IKeyguardService mService; field in KeyguardServiceWrapper
39 mService = service; in KeyguardServiceWrapper()
44 return mService.isShowing(); in isShowing()
53 return mService.isSecure(); in isSecure()
62 return mService.isShowingAndNotHidden(); in isShowingAndNotHidden()
71 return mService.isInputRestricted(); in isInputRestricted()
80 return mService.isDismissable(); in isDismissable()
89 mService.verifyUnlock(callback); in verifyUnlock()
97 mService.keyguardDone(authenticated, wakeup); in keyguardDone()
105 mService.setHidden(isHidden); in setHidden()
[all …]
/frameworks/base/core/java/android/app/
DUiModeManager.java111 private IUiModeManager mService; field in UiModeManager
114 mService = IUiModeManager.Stub.asInterface( in UiModeManager()
134 if (mService != null) { in enableCarMode()
136 mService.enableCarMode(flags); in enableCarMode()
157 if (mService != null) { in disableCarMode()
159 mService.disableCarMode(flags); in disableCarMode()
174 if (mService != null) { in getCurrentModeType()
176 return mService.getCurrentModeType(); in getCurrentModeType()
199 if (mService != null) { in setNightMode()
201 mService.setNightMode(mode); in setNightMode()
[all …]
DWallpaperInfo.java52 final ResolveInfo mService; field in WallpaperInfo
84 mService = service; in WallpaperInfo()
150 mService = ResolveInfo.CREATOR.createFromParcel(source); in WallpaperInfo()
157 return mService.serviceInfo.packageName; in getPackageName()
165 return mService.serviceInfo.name; in getServiceName()
173 return mService.serviceInfo; in getServiceInfo()
180 return new ComponentName(mService.serviceInfo.packageName, in getComponent()
181 mService.serviceInfo.name); in getComponent()
191 return mService.loadLabel(pm); in loadLabel()
201 return mService.loadIcon(pm); in loadIcon()
[all …]
/frameworks/base/wifi/java/android/net/wifi/
DWifiManager.java536 IWifiManager mService; field in WifiManager
562 mService = service; in WifiManager()
587 return mService.getConfiguredNetworks(); in getConfiguredNetworks()
647 return mService.addOrUpdateNetwork(config); in addOrUpdateNetwork()
663 return mService.removeNetwork(netId); in removeNetwork()
683 return mService.enableNetwork(netId, disableOthers); in enableNetwork()
698 return mService.disableNetwork(netId); in disableNetwork()
711 mService.disconnect(); in disconnect()
726 mService.reconnect(); in reconnect()
741 mService.reassociate(); in reassociate()
[all …]
/frameworks/base/core/java/android/os/
DUserManager.java36 private final IUserManager mService; field in UserManager
162 mService = service; in UserManager()
192 return mService.getUserInfo(getUserHandle()).name; in getUserName()
216 return mService.isRestricted(); in isLinkedUser()
265 return mService.getUserInfo(userHandle); in getUserInfo()
287 return mService.getUserRestrictions(userHandle.getIdentifier()); in getUserRestrictions()
311 mService.setUserRestrictions(restrictions, userHandle.getIdentifier()); in setUserRestrictions()
404 return mService.createUser(name, flags); in createUser()
427 return mService.getUsers(false); in getUsers()
443 return mService.getUsers(excludeDying); in getUsers()
[all …]
DSystemVibrator.java32 private final IVibratorService mService; field in SystemVibrator
37 mService = IVibratorService.Stub.asInterface( in SystemVibrator()
43 mService = IVibratorService.Stub.asInterface( in SystemVibrator()
49 if (mService == null) { in hasVibrator()
54 return mService.hasVibrator(); in hasVibrator()
75 if (mService == null) { in vibrate()
80 mService.vibrate(owningUid, owningPackage, milliseconds, mToken); in vibrate()
91 if (mService == null) { in vibrate()
100 mService.vibratePattern(owningUid, owningPackage, pattern, repeat, mToken); in vibrate()
111 if (mService == null) { in cancel()
[all …]
DPowerManager.java294 final IPowerManager mService; field in PowerManager
302 mService = service; in PowerManager()
456 mService.userActivity(when, USER_ACTIVITY_EVENT_OTHER, in userActivity()
481 mService.goToSleep(time, GO_TO_SLEEP_REASON_USER); in goToSleep()
505 mService.wakeUp(time); in wakeUp()
533 mService.nap(time); in nap()
550 mService.setTemporaryScreenBrightnessSettingOverride(brightness); in setBacklightBrightness()
565 return mService.isWakeLockLevelSupported(level); in isWakeLockLevelSupported()
586 return mService.isScreenOn(); in isScreenOn()
603 mService.reboot(false, reason, true); in reboot()
[all …]
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
DBordeauxManagerService.java45 static private IBordeauxService mService = null; field in BordeauxManagerService
66 mService = null; in release()
72 if (mService == null) bindServices(context); in getService()
73 return mService; in getService()
77 if (mService == null) { in getAggregatorManager()
83 mService.getAggregatorManager()); in getAggregatorManager()
91 if (mService == null) { in getPredictor()
96 mPredictor = IPredictor.Stub.asInterface(mService.getPredictor(name)); in getPredictor()
105 if (mService == null) { in getRanker()
112 mService.getRanker(name)); in getRanker()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicy.java56 private final StatusBarManager mService; field in PhoneStatusBarPolicy
107 mService = (StatusBarManager)context.getSystemService(Context.STATUS_BAR_SERVICE); in PhoneStatusBarPolicy()
121 mService.setIcon("tty", R.drawable.stat_sys_tty_mode, 0, null); in PhoneStatusBarPolicy()
122 mService.setIconVisibility("tty", false); in PhoneStatusBarPolicy()
125 mService.setIcon("cdma_eri", R.drawable.stat_sys_roaming_cdma_0, 0, null); in PhoneStatusBarPolicy()
126 mService.setIconVisibility("cdma_eri", false); in PhoneStatusBarPolicy()
137 mService.setIcon("bluetooth", bluetoothIcon, 0, null); in PhoneStatusBarPolicy()
138 mService.setIconVisibility("bluetooth", mBluetoothEnabled); in PhoneStatusBarPolicy()
141 mService.setIcon("alarm_clock", R.drawable.stat_sys_alarm, 0, null); in PhoneStatusBarPolicy()
142 mService.setIconVisibility("alarm_clock", false); in PhoneStatusBarPolicy()
[all …]
DKeyguardTouchDelegate.java46 private volatile IKeyguardService mService; field in KeyguardTouchDelegate
55 mService = IKeyguardService.Stub.asInterface(service);
62 mService = null;
88 final IKeyguardService service = mService; in isSecure()
102 final IKeyguardService service = mService; in dispatch()
118 final IKeyguardService service = mService; in isInputRestricted()
132 final IKeyguardService service = mService; in isShowingAndNotHidden()
146 final IKeyguardService service = mService; in showAssistant()
160 final IKeyguardService service = mService; in launchCamera()
174 final IKeyguardService service = mService; in dismiss()
/frameworks/base/core/java/android/hardware/
DConsumerIrManager.java38 private final IConsumerIrService mService; field in ConsumerIrManager
45 mService = IConsumerIrService.Stub.asInterface( in ConsumerIrManager()
55 if (mService == null) { in hasIrEmitter()
61 return mService.hasIrEmitter(); in hasIrEmitter()
79 if (mService == null) { in transmit()
85 mService.transmit(mPackageName, carrierFrequency, pattern); in transmit()
134 if (mService == null) { in getCarrierFrequencies()
140 int[] freqs = mService.getCarrierFrequencies(); in getCarrierFrequencies()
/frameworks/base/services/java/com/android/server/am/
DCompatModeDialog.java32 final ActivityManagerService mService; field in CompatModeDialog
47 mService = service; in CompatModeDialog()
55 synchronized (mService) { in CompatModeDialog()
56 mService.mCompatModePackages.setPackageScreenCompatModeLocked( in CompatModeDialog()
68 synchronized (mService) { in CompatModeDialog()
69 mService.mCompatModePackages.setPackageAskCompatModeLocked( in CompatModeDialog()
81 synchronized (mService) { in updateControls()
82 int mode = mService.mCompatModePackages.computeCompatModeLocked(mAppInfo); in updateControls()
84 boolean ask = mService.mCompatModePackages.getPackageAskCompatModeLocked( in updateControls()
/frameworks/base/core/java/android/hardware/usb/
DUsbManager.java222 private final IUsbManager mService; field in UsbManager
229 mService = service; in UsbManager()
243 mService.getDeviceList(bundle); in getDeviceList()
265 ParcelFileDescriptor pfd = mService.openDevice(deviceName); in openDevice()
288 UsbAccessory accessory = mService.getCurrentAccessory(); in getAccessoryList()
308 return mService.openAccessory(accessory); in openAccessory()
326 return mService.hasDevicePermission(device); in hasPermission()
344 return mService.hasAccessoryPermission(accessory); in hasPermission()
371 mService.requestDevicePermission(device, mContext.getPackageName(), pi); in requestPermission()
397 mService.requestAccessoryPermission(accessory, mContext.getPackageName(), pi); in requestPermission()
[all …]

12345