Searched defs:mService (Results 26 - 50 of 96) sorted by relevance

1234

/frameworks/base/core/java/android/net/
H A DNetworkPolicyManager.java62 private INetworkPolicyManager mService; field in class:NetworkPolicyManager
68 mService = service;
83 mService.setUidPolicy(uid, policy);
90 return mService.getUidPolicy(uid);
98 return mService.getUidsWithPolicy(policy);
106 mService.registerListener(listener);
113 mService.unregisterListener(listener);
120 mService.setNetworkPolicies(policies);
127 return mService.getNetworkPolicies();
135 mService
[all...]
/frameworks/base/core/java/android/view/textservice/
H A DSpellCheckerInfo.java45 private final ResolveInfo mService; field in class:SpellCheckerInfo
66 mService = service;
143 mService = ResolveInfo.CREATOR.createFromParcel(source);
160 mService.serviceInfo.packageName, mService.serviceInfo.name);
167 return mService.serviceInfo.packageName;
181 mService.writeToParcel(dest, flags);
209 return pm.getText(getPackageName(), mLabel, mService.serviceInfo.applicationInfo);
218 return mService.loadIcon(pm);
227 return mService
[all...]
/frameworks/base/media/java/android/media/
H A DMediaScannerConnection.java46 private IMediaScannerService mService; field in class:MediaScannerConnection
151 return (mService != null && mConnected);
165 if (mService == null || !mConnected) {
172 mService.requestScanFile(path, mimeType, mListener);
249 mService = IMediaScannerService.Stub.asInterface(service);
250 if (mService != null && mClient != null) {
264 mService = null;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPhoneStatusBarPolicy.java56 private final StatusBarManager mService; field in class:PhoneStatusBarPolicy
107 mService = (StatusBarManager)context.getSystemService(Context.STATUS_BAR_SERVICE);
121 mService.setIcon("tty", R.drawable.stat_sys_tty_mode, 0, null);
122 mService.setIconVisibility("tty", false);
125 mService.setIcon("cdma_eri", R.drawable.stat_sys_roaming_cdma_0, 0, null);
126 mService.setIconVisibility("cdma_eri", false);
137 mService.setIcon("bluetooth", bluetoothIcon, 0, null);
138 mService.setIconVisibility("bluetooth", mBluetoothEnabled);
141 mService.setIcon("alarm_clock", R.drawable.stat_sys_alarm, 0, null);
142 mService
[all...]
/frameworks/base/services/java/com/android/server/am/
H A DCompatModePackages.java32 private final ActivityManagerService mService; field in class:CompatModePackages
58 mService = service;
145 CompatibilityInfo ci = new CompatibilityInfo(ai, mService.mConfiguration.screenLayout,
146 mService.mConfiguration.smallestScreenWidthDp,
155 mService.mConfiguration.screenLayout,
156 mService.mConfiguration.smallestScreenWidthDp, enabled);
168 ActivityRecord r = mService.getFocusedStack().topRunningActivityLocked(null);
180 ActivityRecord r = mService.getFocusedStack().topRunningActivityLocked(null);
202 ActivityRecord r = mService.getFocusedStack().topRunningActivityLocked(null);
210 ActivityRecord r = mService
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DConnectivityServiceTest.java83 private ConnectivityService mService; field in class:ConnectivityServiceTest
138 mService = new ConnectivityService(
140 mService.systemReady();
/frameworks/native/include/binder/
H A DAppOpsManager.h81 sp<IAppOpsService> mService; member in class:android::AppOpsManager
/frameworks/native/services/sensorservice/
H A DSensorService.h88 sp<SensorService> const mService; member in class:android::SensorService::SensorEventConnection
/frameworks/base/core/java/android/app/
H A DStatusBarManager.java71 private IStatusBarService mService; field in class:StatusBarManager
79 if (mService == null) {
80 mService = IStatusBarService.Stub.asInterface(
82 if (mService == null) {
86 return mService;
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothA2dp.java109 private IBluetoothA2dp mService; field in class:BluetoothA2dp
120 mService = null;
129 if (mService == null) {
184 if (mService != null) {
186 mService = null;
222 if (mService != null && isEnabled() &&
225 return mService.connect(device);
231 if (mService == null) Log.w(TAG, "Proxy not attached to service");
263 if (mService != null && isEnabled() &&
266 return mService
[all...]
H A DBluetoothGattServer.java57 private IBluetoothGatt mService; field in class:BluetoothGattServer
283 mService = iGatt;
316 if (mService == null) {
331 mService.registerServer(new ParcelUuid(uuid), mBluetoothGattServerCallback);
359 if (mService == null || mServerIf == 0) return;
363 mService.unregisterServer(mServerIf);
409 if (mService == null || mServerIf == 0) return false;
412 mService.serverConnect(mServerIf, device.getAddress(),
432 if (mService == null || mServerIf == 0) return;
435 mService
[all...]
H A DBluetoothInputDevice.java188 private IBluetoothInputDevice mService; field in class:BluetoothInputDevice
198 mService = null;
207 if (mService == null) {
264 if (mService != null) {
266 mService = null;
298 if (mService != null && isEnabled() && isValidDevice(device)) {
300 return mService.connect(device);
306 if (mService == null) Log.w(TAG, "Proxy not attached to service");
338 if (mService != null && isEnabled() && isValidDevice(device)) {
340 return mService
[all...]
H A DBluetoothMap.java44 private IBluetoothMap mService; field in class:BluetoothMap
65 mService = null;
74 if (mService == null) {
141 if (mService != null) {
143 mService = null;
160 if (mService != null) {
162 return mService.getState();
179 if (mService != null) {
181 return mService.getClient();
197 if (mService !
[all...]
/frameworks/base/core/java/android/hardware/location/
H A DGeofenceHardware.java47 private IGeofenceHardware mService; field in class:GeofenceHardware
145 mService = service;
162 return mService.getMonitoringTypes();
185 return mService.getStatusOfMonitoringType(monitoringType);
245 return mService.addCircularFence(geofenceId, monitoringType,
285 return mService.removeGeofence(geofenceId, monitoringType);
315 return mService.pauseGeofence(geofenceId, monitoringType);
347 return mService.resumeGeofence(geofenceId, monitoringType, monitorTransition);
378 return mService.registerForMonitorStateChangeCallback(monitoringType,
407 result = mService
[all...]
/frameworks/base/core/java/android/hardware/usb/
H A DUsbManager.java222 private final IUsbManager mService; field in class:UsbManager
229 mService = service;
243 mService.getDeviceList(bundle);
265 ParcelFileDescriptor pfd = mService.openDevice(deviceName);
288 UsbAccessory accessory = mService.getCurrentAccessory();
308 return mService.openAccessory(accessory);
326 return mService.hasDevicePermission(device);
344 return mService.hasAccessoryPermission(accessory);
371 mService.requestDevicePermission(device, mContext.getPackageName(), pi);
397 mService
[all...]
/frameworks/base/core/java/android/nfc/cardemulation/
H A DApduServiceInfo.java51 final ResolveInfo mService; field in class:ApduServiceInfo
93 this.mService = info;
145 mService = info;
157 mService = info;
234 return new ComponentName(mService.serviceInfo.packageName,
235 mService.serviceInfo.name);
263 return mService.loadLabel(pm);
267 return mService.loadIcon(pm);
273 res = pm.getResourcesForApplication(mService.serviceInfo.packageName);
336 mService
[all...]
/frameworks/base/core/java/android/os/
H A DDropBoxManager.java46 private final IDropBoxManagerService mService; field in class:DropBoxManager
254 public DropBoxManager(IDropBoxManagerService service) { mService = service; }
261 protected DropBoxManager() { mService = null; }
272 try { mService.add(new Entry(tag, 0, data)); } catch (RemoteException e) {}
284 try { mService.add(new Entry(tag, 0, data, flags)); } catch (RemoteException e) {}
300 mService.add(entry);
317 try { return mService.isTagEnabled(tag); } catch (RemoteException e) { return false; }
330 try { return mService.getNextEntry(tag, msec); } catch (RemoteException e) { return null; }
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityManager.java84 final IAccessibilityManager mService; field in class:AccessibilityManager
198 mService = service;
202 final int stateFlags = mService.addClient(mClient, userId);
267 doRecycle = mService.sendAccessibilityEvent(event, mUserId);
289 mService.interrupt(mUserId);
325 services = mService.getInstalledAccessibilityServiceList(mUserId);
352 services = mService.getEnabledAccessibilityServiceList(feedbackTypeFlags, mUserId);
470 return mService.addAccessibilityInteractionConnection(windowToken, connection, mUserId);
485 mService.removeAccessibilityInteractionConnection(windowToken);
/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethodInfo.java66 final ResolveInfo mService; field in class:InputMethodInfo
129 mService = service;
248 mService = ResolveInfo.CREATOR.createFromParcel(source);
270 mService = ri;
311 return mService.serviceInfo.packageName;
319 return mService.serviceInfo.name;
327 return mService.serviceInfo;
335 return new ComponentName(mService.serviceInfo.packageName,
336 mService.serviceInfo.name);
346 return mService
[all...]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DFaceUnlock.java46 // TODO: is mServiceRunning needed or can we just use mIsRunning or check if mService is null?
51 private IFaceLockInterface mService; field in class:FaceUnlock
161 if (mService != null) {
163 mService.unregisterCallback(mFaceUnlockCallback);
186 if (mService != null) {
188 mService.unregisterCallback(mFaceUnlockCallback);
193 mService = null;
254 mService.registerCallback(mFaceUnlockCallback);
257 mService = null;
291 mService
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DServiceMonitor.java115 private IBinder mService; field in class:ServiceMonitor.SC
120 mService = service;
130 boolean unlinked = mService.unlinkToDeath(this, 0);
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardServiceWrapper.java35 private IKeyguardService mService; field in class:KeyguardServiceWrapper
39 mService = service;
44 return mService.isShowing();
53 return mService.isSecure();
62 return mService.isShowingAndNotHidden();
71 return mService.isInputRestricted();
80 return mService.isDismissable();
89 mService.verifyUnlock(callback);
97 mService.keyguardDone(authenticated, wakeup);
105 mService
[all...]
/frameworks/base/services/java/com/android/server/dreams/
H A DDreamController.java90 pw.println(" mService=" + mCurrentDream.mService);
151 if (oldDream.mService != null) {
156 oldDream.mService.detach();
162 oldDream.mService.asBinder().unlinkToDeath(oldDream, 0);
166 oldDream.mService = null;
197 mCurrentDream.mService = service;
220 public IDreamService mService; field in class:DreamController.DreamRecord
237 mService = null;
252 if (mCurrentDream == DreamRecord.this && mService
[all...]
/frameworks/base/services/java/com/android/server/wm/
H A DAppWindowAnimator.java21 final WindowManagerService mService; field in class:AppWindowAnimator
62 mService = atoken.service;
76 anim.scaleCurrentDuration(mService.mTransitionAnimationScale);
136 if (w == mService.mInputMethodTarget && !mService.mInputMethodTargetWaitingAnim) {
137 mService.setInputMethodAnimLayerAdjustment(adj);
139 if (w == mService.mWallpaperTarget && mService.mLowerWallpaperTarget == null) {
140 mService.setWallpaperAnimLayerAdjustmentLocked(adj);
158 final float tmpFloats[] = mService
[all...]
H A DDragState.java47 final WindowManagerService mService; field in class:DragState
70 mService = service;
103 mService.mInputManager.registerInputChannel(mServerChannel, null);
104 mInputEventReceiver = mService.new DragInputEventReceiver(mClientChannel,
105 mService.mH.getLooper());
147 mService.pauseRotationLocked();
156 mService.mInputManager.unregisterInputChannel(mServerChannel);
171 mService.resumeRotationLocked();
176 return mService.mPolicy.windowTypeToLayerLw(WindowManager.LayoutParams.TYPE_DRAG)
194 final WindowList windows = mService
[all...]

Completed in 1760 milliseconds

1234