/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
D | TileServices.java | 56 private final ArrayMap<CustomTile, TileServiceManager> mServices = new ArrayMap<>(); field in TileServices 86 synchronized (mServices) { in getTileWrapper() 87 mServices.put(tile, service); in getTileWrapper() 101 synchronized (mServices) { in freeService() 104 mServices.remove(tile); in freeService() 121 synchronized (mServices) { in recalculateBindAllowance() 122 services = new ArrayList<>(mServices.values()); in recalculateBindAllowance() 160 synchronized (mServices) { in requestListening() 166 TileServiceManager service = mServices.get(customTile); in requestListening() 183 synchronized (mServices) { in updateQsTile() [all …]
|
D | TileServiceManager.java | 59 private final TileServices mServices; field in TileServiceManager 84 mServices = tileServices; in TileServiceManager() 91 Context context = mServices.getContext(); in TileServiceManager() 110 Context context = mServices.getContext(); in startLifecycleManagerAndAddTile() 145 mServices.recalculateBindAllowance(); in setBindRequested() 158 mServices.recalculateBindAllowance(); in setLastUpdate() 163 mServices.getContext().unregisterReceiver(mUninstallReceiver); in handleDestroy() 253 mServices.recalculateBindAllowance(); 286 mServices.getHost().removeTile(component);
|
/frameworks/base/services/core/java/com/android/server/ |
D | SystemServiceManager.java | 50 private final ArrayList<SystemService> mServices = new ArrayList<SystemService>(); field in SystemServiceManager 126 mServices.add(service); in startService() 153 final int serviceLen = mServices.size(); in startBootPhase() 155 final SystemService service = mServices.get(i); in startBootPhase() 185 final int serviceLen = mServices.size(); in startUser() 187 final SystemService service = mServices.get(i); in startUser() 206 final int serviceLen = mServices.size(); in unlockUser() 208 final SystemService service = mServices.get(i); in unlockUser() 227 final int serviceLen = mServices.size(); in switchUser() 229 final SystemService service = mServices.get(i); in switchUser() [all …]
|
D | NetworkManagementService.java | 160 private final SystemServices mServices; field in NetworkManagementService 259 mServices = services; in NetworkManagementService() 265 mServices.registerLocalService(new LocalService()); in NetworkManagementService() 276 mServices = null; in NetworkManagementService() 313 IBatteryStats.Stub.asInterface(mServices.getService(BatteryStats.SERVICE_NAME)); in getBatteryStats() 514 mNetdService = mServices.getNetd(); in connectNativeNetdService()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | SystemUIApplication.java | 59 private SystemUI[] mServices; field in SystemUIApplication 99 final int N = mServices.length; in onCreate() 101 mServices[i].onBootCompleted(); in onCreate() 164 mServices = new SystemUI[services.length]; in startServicesIfNeeded() 197 mServices[i] = (SystemUI) o; in startServicesIfNeeded() 206 mServices[i].mContext = this; in startServicesIfNeeded() 207 mServices[i].mComponents = mComponents; in startServicesIfNeeded() 208 if (DEBUG) Log.d(TAG, "running: " + mServices[i]); in startServicesIfNeeded() 209 mServices[i].start(); in startServicesIfNeeded() 218 mServices[i].onBootCompleted(); in startServicesIfNeeded() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DpmTestBase.java | 46 private MockSystemServices mServices; field in DpmTestBase 61 mServices = new MockSystemServices(mRealTestContext, "test-data"); in setUp() 62 mMockContext = new DpmMockContext(mServices, mRealTestContext); in setUp() 81 return mServices; in getServices() 126 doReturn(pi).when(mServices.ipackageManager).getPackageInfo( in markPackageAsInstalled() 131 doReturn(ai.uid).when(mServices.packageManager).getPackageUidAsUser( in markPackageAsInstalled() 201 doReturn(ai).when(mServices.ipackageManager).getApplicationInfo( in setUpPackageManagerForFakeAdmin() 228 doReturn(aci).when(mServices.ipackageManager).getReceiverInfo( in setUpPackageManagerForFakeAdmin() 233 doReturn(new String[] {admin.getPackageName()}).when(mServices.ipackageManager) in setUpPackageManagerForFakeAdmin()
|
D | DevicePolicyManagerServiceTestable.java | 73 private final MockSystemServices mServices; field in DevicePolicyManagerServiceTestable.OwnersTestable.MockInjector 76 mServices = services; in MockInjector() 81 return mServices.dataDir; in environmentGetDataSystemDirectory() 86 return mServices.environment.getUserSystemDirectory(userId); in environmentGetUserSystemDirectory()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothGattServer.java | 51 private List<BluetoothGattService> mServices; field in BluetoothGattServer 136 mServices.add(tmp); 385 mServices = new ArrayList<BluetoothGattService>(); in BluetoothGattServer() 394 for (BluetoothGattService svc : mServices) { in getCharacteristicByHandle() 410 for (BluetoothGattService svc : mServices) { in getDescriptorByHandle() 507 for (BluetoothGattService svc : mServices) { in getService() 747 mServices.remove(intService); in removeService() 766 mServices.clear(); in clearServices() 783 return mServices; in getServices() 800 for (BluetoothGattService service : mServices) { in getService()
|
D | BluetoothGatt.java | 78 private List<BluetoothGattService> mServices; field in BluetoothGatt 314 mServices.addAll(services); 317 for (BluetoothGattService fixedService : mServices) { 700 mServices = new ArrayList<BluetoothGattService>(); in BluetoothGatt() 727 for (BluetoothGattService svc : mServices) { in getService() 745 for (BluetoothGattService svc : mServices) { in getCharacteristicById() 761 for (BluetoothGattService svc : mServices) { in getDescriptorById() 989 mServices.clear(); in discoverServices() 1015 mServices.clear(); in discoverServiceByUuid() 1041 for (BluetoothGattService service : mServices) { in getServices() [all …]
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | RegisteredServicesCacheTest.java | 214 private SparseArray<Map<ResolveInfo, ServiceInfo<TestServiceType>>> mServices field in RegisteredServicesCacheTest.TestServicesCache 230 Map<ResolveInfo, ServiceInfo<TestServiceType>> map = mServices in queryIntentServices() 264 Map<ResolveInfo, ServiceInfo<TestServiceType>> map = mServices.get(userId); in addServiceForQuerying() 267 mServices.put(userId, map); in addServiceForQuerying() 273 mServices.clear(); in clearServicesForQuerying() 292 int size = mServices.size(); in parseServiceInfo() 294 Map<ResolveInfo, ServiceInfo<TestServiceType>> map = mServices.valueAt(i); in parseServiceInfo()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | ServiceListing.java | 51 private final List<ServiceInfo> mServices = new ArrayList<>(); field in ServiceListing 125 mServices.clear(); in reload() 144 mServices.add(info); in reload() 147 callback.onServicesReloaded(mServices); in reload()
|
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/ |
D | Transport.java | 56 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/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/xerox/ |
D | XeroxPrintServiceRecommendationPlugin.java | 35 private final String[] mServices = new String[]{"_ipp._tcp"}; field in XeroxPrintServiceRecommendationPlugin 40 …mServiceResolver = new ServiceResolver(context, this, mVendorInfo, mServices, new String[]{PDL__PD… in XeroxPrintServiceRecommendationPlugin()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ManagedServices.java | 124 private final ArrayList<ManagedServiceInfo> mServices = new ArrayList<>(); field in ManagedServices 177 List<ManagedServiceInfo> services = new ArrayList<>(mServices); in getServices() 225 pw.println(" Live " + getCaption() + "s (" + mServices.size() + "):"); in dump() 227 for (ManagedServiceInfo info : mServices) { in dump() 275 for (ManagedServiceInfo info : mServices) { in dump() 661 final int N = mServices.size(); in getServiceFromTokenLocked() 663 final ManagedServiceInfo info = mServices.get(i); in getServiceFromTokenLocked() 973 for (ManagedServiceInfo service : mServices) { in getRemovableConnectedServices() 1109 final int N = mServices.size(); in registerServiceLocked() 1111 final ManagedServiceInfo info = mServices.get(i); in registerServiceLocked() [all …]
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
D | AddPrinterActivity.java | 423 private @NonNull List<PrintServiceInfo> mServices; field in AddPrinterActivity.PrintServiceInfoAdapter 429 mServices = Collections.emptyList(); in PrintServiceInfoAdapter() 439 mServices = Collections.emptyList(); in updateData() 441 mServices = services; in updateData() 463 if (mServices.isEmpty()) { in getCount() 466 return mServices.size() + 1; in getCount() 475 return mServices.get(position - 1); in getItem()
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | ProcessStats.java | 277 final int NSRVS = otherState.mServices.size(); in add() 299 ServiceState otherSvc = otherState.mServices.valueAt(isvc); in add() 507 for (int isvc=pkgState.mServices.size()-1; isvc>=0; isvc--) { in resetSafely() 508 final ServiceState ss = pkgState.mServices.valueAt(isvc); in resetSafely() 512 pkgState.mServices.removeAt(isvc); in resetSafely() 523 if (pkgState.mProcesses.size() <= 0 && pkgState.mServices.size() <= 0 in resetSafely() 836 final int NSRVS = pkgState.mServices.size(); in writeToParcel() 838 pkgState.mServices.valueAt(isvc).commitStateTime(now); in writeToParcel() 919 final int NSRVS = pkgState.mServices.size(); in writeToParcel() 922 out.writeString(pkgState.mServices.keyAt(isvc)); in writeToParcel() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSTileHost.java | 79 private final TileServices mServices; field in QSTileHost 107 mServices = new TileServices(this, bgLooper); in QSTileHost() 132 mServices.destroy(); in destroy() 207 return mServices; in getTileServices() 326 mContext, mServices, new Tile(), intent, in changeTiles()
|
/frameworks/base/tests/net/java/com/android/server/ |
D | NetworkManagementServiceTest.java | 69 private final SystemServices mServices = new SystemServices() { field in NetworkManagementServiceTest 94 mNMService = NetworkManagementService.create(mContext, mServices); in setUp()
|
/frameworks/base/core/java/android/app/ |
D | LoadedApk.java | 152 …private final ArrayMap<Context, ArrayMap<ServiceConnection, LoadedApk.ServiceDispatcher>> mServices field in LoadedApk 1302 synchronized (mServices) { in removeContextRegistrations() 1305 mServices.remove(context); in removeContextRegistrations() 1642 synchronized (mServices) { in getServiceDispatcherCommon() 1644 ArrayMap<ServiceConnection, LoadedApk.ServiceDispatcher> map = mServices.get(context); in getServiceDispatcherCommon() 1658 mServices.put(context, map); in getServiceDispatcherCommon() 1671 synchronized (mServices) { in lookupServiceDispatcher() 1673 ArrayMap<ServiceConnection, LoadedApk.ServiceDispatcher> map = mServices.get(context); in lookupServiceDispatcher() 1683 synchronized (mServices) { in forgetServiceDispatcher() 1685 = mServices.get(context); in forgetServiceDispatcher() [all …]
|
D | ActivityThread.java | 326 final ArrayMap<IBinder, Service> mServices = new ArrayMap<>(); field in ActivityThread 3994 mServices.put(data.token, service); in handleCreateService() 4011 Service s = mServices.get(data.token); in handleBindService() 4042 Service s = mServices.get(data.token); in handleUnbindService() 4072 Service s = mServices.get(info.token); in handleDumpService() 4118 Service s = mServices.get(data.token); in handleServiceArgs() 4152 Service s = mServices.remove(token); in handleStopService() 5384 final int NSVC = mServices.size(); in collectComponentCallbacks() 5386 callbacks.add(mServices.valueAt(i)); in collectComponentCallbacks()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ComponentResolver.java | 166 private final ServiceIntentResolver mServices = new ServiceIntentResolver(); field in ComponentResolver 219 return mServices.mServices.get(component); in getService() 345 return mServices.queryIntent(intent, resolvedType, flags, userId); in queryServices() 352 return mServices.queryIntentForPackage(intent, resolvedType, flags, services, userId); in queryServices() 474 if (mServices.dump(pw, dumpState.getTitlePrinted() ? "\nService Resolver Table:" in dumpServiceResolvers() 524 final Iterator<ServiceIntentInfo> filterIterator = mServices.filterIterator(); in dumpServicePermissions() 658 mServices.addService(s); in addServicesLocked() 1030 mServices.removeService(s); in removeAllComponentsLocked() 1632 mServices.put(s.getComponentName(), s); in addService() 1655 mServices.remove(s.getComponentName()); in removeService() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ProcessStatsService.java | 174 final ArrayMap<String, ServiceState> services = pkg.mServices; in setMemFactorLocked() 363 final int NSRVS = pkgState.mServices.size(); in readLocked() 365 Slog.w(TAG, " Service " + pkgState.mServices.keyAt(isvc) in readLocked() 366 + ": " + pkgState.mServices.valueAt(isvc)); in readLocked() 372 + pkgState.mServices.keyAt(iasc) in readLocked()
|
D | AppNotRespondingDialog.java | 166 mService.mServices.scheduleServiceTimeoutLocked(app);
|
D | ActivityManagerService.java | 1018 final ActiveServices mServices; field in ActivityManagerService 1693 mServices.serviceTimeout((ProcessRecord)msg.obj); in handleMessage() 1696 mServices.serviceForegroundTimeout((ServiceRecord)msg.obj); in handleMessage() 1699 mServices.serviceForegroundCrash( in handleMessage() 2245 mService.mServices.systemServicesReady(); in onBootPhase() 2447 mServices = hasHandlerThread ? new ActiveServices(this) : null; in ActivityManagerService() 2519 mServices = new ActiveServices(this); in ActivityManagerService() 4618 mServices.bringDownDisabledPackageServicesLocked( in cleanupDisabledPackageComponentsLocked() 4683 if (mServices.bringDownDisabledPackageServicesLocked( in forceStopPackageLocked() 4759 mServices.processStartTimedOutLocked(app); in processStartTimedOutLocked() [all …]
|
D | ProcessRecord.java | 1274 mService.mServices.updateServiceConnectionActivitiesLocked(this); in updateServiceConnectionActivities() 1303 mService.mServices.updateServiceConnectionActivitiesLocked(this); in updateProcessInfo() 1569 mService.mServices.scheduleServiceTimeoutLocked(this); in appNotResponding()
|