Home
last modified time | relevance | path

Searched refs:mServices (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSystemUIService.java47 private final SystemUI[] mServices = new SystemUI[SERVICES.length]; field in SystemUIService
57 mServices[i] = (SystemUI)cl.newInstance(); in onCreate()
63 mServices[i].mContext = this; in onCreate()
64 mServices[i].mComponents = components; in onCreate()
65 Log.d(TAG, "running: " + mServices[i]); in onCreate()
66 mServices[i].start(); in onCreate()
72 for (SystemUI ui: mServices) { in onConfigurationChanged()
88 for (SystemUI ui: mServices) { in dump()
94 for (SystemUI ui: mServices) { in dump()
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountManagerServiceTest.java192 private ArrayList<ServiceInfo<AuthenticatorDescription>> mServices; field in AccountManagerServiceTest.MockAccountAuthenticatorCache
195 mServices = new ArrayList<ServiceInfo<AuthenticatorDescription>>(); in MockAccountAuthenticatorCache()
198 mServices.add(new ServiceInfo<AuthenticatorDescription>(d1, null, 0)); in MockAccountAuthenticatorCache()
199 mServices.add(new ServiceInfo<AuthenticatorDescription>(d2, null, 0)); in MockAccountAuthenticatorCache()
205 for (ServiceInfo<AuthenticatorDescription> service : mServices) { in getServiceInfo()
215 return mServices; in getAllServices()
/frameworks/base/core/java/android/bluetooth/
DBluetoothGattServer.java62 private List<BluetoothGattService> mServices; field in BluetoothGattServer
287 mServices = new ArrayList<BluetoothGattService>(); in BluetoothGattServer()
375 for(BluetoothGattService svc : mServices) { in getService()
535 mServices.add(service); in addService()
595 mServices.remove(intService); in removeService()
614 mServices.clear(); in clearServices()
632 return mServices; in getServices()
649 for (BluetoothGattService service : mServices) { in getService()
DBluetoothGatt.java71 private List<BluetoothGattService> mServices; field in BluetoothGatt
202 mServices.add(new BluetoothGattService(mDevice, srvcUuid.getUuid(),
571 mServices = new ArrayList<BluetoothGattService>(); in BluetoothGatt()
595 for(BluetoothGattService svc : mServices) { in getService()
760 mServices.clear(); in discoverServices()
787 for (BluetoothGattService service : mServices) { in getServices()
813 for (BluetoothGattService service : mServices) { in getService()
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/
DTransport.java56 private final SparseArray<Callback> mServices = new SparseArray<Callback>(); field in Transport
186 mServices.put(service, callback); in registerService()
199 mServices.remove(service); in unregisterService()
206 callback = mServices.get(service); in dispatchMessageReceived()
/frameworks/base/core/java/android/app/
DLoadedApk.java95 …private final ArrayMap<Context, ArrayMap<ServiceConnection, LoadedApk.ServiceDispatcher>> mServices field in LoadedApk
559 mServices.remove(context); in removeContextRegistrations()
857 synchronized (mServices) { in getServiceDispatcher()
859 ArrayMap<ServiceConnection, LoadedApk.ServiceDispatcher> map = mServices.get(context); in getServiceDispatcher()
867 mServices.put(context, map); in getServiceDispatcher()
879 synchronized (mServices) { in forgetServiceDispatcher()
881 = mServices.get(context); in forgetServiceDispatcher()
889 mServices.remove(context); in forgetServiceDispatcher()
DActivityThread.java169 final ArrayMap<IBinder, Service> mServices field in ActivityThread
2559 mServices.put(data.token, service); in handleCreateService()
2576 Service s = mServices.get(data.token); in handleBindService()
2606 Service s = mServices.get(data.token); in handleUnbindService()
2634 Service s = mServices.get(info.token); in handleDumpService()
2680 Service s = mServices.get(data.token); in handleServiceArgs()
2714 Service s = mServices.remove(token); in handleStopService()
3785 final int NSVC = mServices.size(); in collectComponentCallbacks()
3787 callbacks.add(mServices.valueAt(i)); in collectComponentCallbacks()
/frameworks/base/core/java/com/android/internal/app/
DProcessStats.java238 final int NSRVS = otherState.mServices.size(); in add()
258 ServiceState otherSvc = otherState.mServices.valueAt(isvc); in add()
1013 for (int isvc=pkgState.mServices.size()-1; isvc>=0; isvc--) { in resetSafely()
1014 ServiceState ss = pkgState.mServices.valueAt(isvc); in resetSafely()
1018 pkgState.mServices.removeAt(isvc); in resetSafely()
1021 if (pkgState.mProcesses.size() <= 0 && pkgState.mServices.size() <= 0) { in resetSafely()
1210 final int NSRVS = pkgState.mServices.size(); in writeToParcel()
1212 pkgState.mServices.valueAt(isvc).commitStateTime(now); in writeToParcel()
1275 final int NSRVS = pkgState.mServices.size(); in writeToParcel()
1278 out.writeString(pkgState.mServices.keyAt(isvc)); in writeToParcel()
[all …]
/frameworks/base/services/java/com/android/server/am/
DAppNotRespondingDialog.java129 mService.mServices.scheduleServiceTimeoutLocked(app);
DProcessStatsService.java146 ArrayMap<String, ProcessStats.ServiceState> services = pkg.mServices; in setMemFactorLocked()
312 final int NSRVS = pkgState.mServices.size();
314 Slog.w(TAG, " Service " + pkgState.mServices.keyAt(isvc)
315 + ": " + pkgState.mServices.valueAt(isvc));
DActivityManagerService.java685 final ActiveServices mServices; field in ActivityManagerService
1225 mServices.serviceTimeout((ProcessRecord)msg.obj);
1614 mServices.dumpServicesLocked(null, catPw, emptyArgs, 0,
1966 mServices = new ActiveServices(this); in ActivityManagerService()
4078 mServices.scheduleServiceTimeoutLocked(app); in appNotResponding()
4662 if (mServices.forceStopLocked(name, userId, evenPersistent, doit)) { in forceStopPackageLocked()
4823 mServices.processStartTimedOutLocked(app); in processStartTimedOutLocked()
5014 didSomething |= mServices.attachApplicationLocked(app, processName); in attachApplicationLocked()
6946 mServices.cleanUpRemovedTaskLocked(tr, component, baseIntent);
10494 if (!mServices.dumpService(fd, pw, name, newArgs, 0, dumpAll)) { in dump()
[all …]
DBroadcastQueue.java384 if (mService.mServices.hasBackgroundServices(r.userId)) { in finishReceiverLocked()
DActivityStack.java2707 mService.mServices.removeConnectionLocked(c, null, r); in cleanUpActivityServicesLocked()
/frameworks/base/services/java/com/android/server/content/
DSyncStorageEngine.java360 private final HashMap<ComponentName, SparseArray<AuthorityInfo>> mServices = field in SyncStorageEngine
1518 AuthorityInfo authority = mServices.get(service).get(userId); in getAuthorityLocked()
1541 SparseArray<AuthorityInfo> aInfo = mServices.get(cname); in getOrCreateAuthorityLocked()
1544 mServices.put(cname, aInfo); in getOrCreateAuthorityLocked()
1669 mServices.clear(); in clearAndReadState()
/frameworks/base/services/java/com/android/server/pm/
DPackageManagerService.java392 final ServiceIntentResolver mServices = new ServiceIntentResolver(); field in PackageManagerService
2107 PackageParser.Service s = mServices.mServices.get(component); in getServiceInfo()
3139 return mServices.queryIntent(intent, resolvedType, flags, userId); in queryIntentServices()
3143 return mServices.queryIntentForPackage(intent, resolvedType, flags, pkg.services, in queryIntentServices()
4890 mServices.addService(s); in scanPackageLI()
5243 mServices.removeService(s); in cleanPackageDataStructuresLILPw()
5901 mServices.put(s.getComponentName(), s); in addService()
5924 mServices.remove(s.getComponentName()); in removeService()
6053 private final HashMap<ComponentName, PackageParser.Service> mServices field in PackageManagerService.ServiceIntentResolver
10769 if (mServices.dump(pw, dumpState.getTitlePrinted() ? "\nService Resolver Table:" in dump()