Searched refs:serviceNames (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/services/core/java/com/android/server/ambientcontext/ |
D | AmbientContextShellCommand.java | 286 String[] serviceNames = new String[2]; 298 serviceNames[0] = firstServiceName; 299 serviceNames[1] = secondServiceName; 301 mService.setTemporaryServices(userId, serviceNames, duration); 302 Slog.w(TAG, "AmbientContextDetectionService temporarily set to " + serviceNames[0] 303 + " and " + serviceNames[1] 305 out.println("AmbientContextDetectionService temporarily set to " + serviceNames[0] 306 + " and " + serviceNames[1]
|
D | AmbientContextManagerService.java | 218 boolean disabled, String[] serviceNames) { in newServiceListLocked() argument 219 if (serviceNames == null || serviceNames.length == 0) { in newServiceListLocked() 225 new ArrayList<>(serviceNames.length); in newServiceListLocked() 226 if (serviceNames.length == 2 in newServiceListLocked() 227 && !isDefaultService(serviceNames[0]) in newServiceListLocked() 228 && !isDefaultWearableService(serviceNames[1])) { in newServiceListLocked() 237 serviceNames[0])); in newServiceListLocked() 244 serviceNames[1])); in newServiceListLocked() 247 if (serviceNames.length > 2) { in newServiceListLocked() 251 for (String serviceName : serviceNames) { in newServiceListLocked()
|
/frameworks/base/services/core/java/com/android/server/infra/ |
D | ServiceNameBaseResolver.java | 107 String[] serviceNames = getServiceNameList(userId); in getServiceName() local 108 return (serviceNames == null || serviceNames.length == 0) ? null : serviceNames[0]; in getServiceName() 113 String[] serviceNames = getDefaultServiceNameList(userId); in getDefaultServiceName() local 114 return (serviceNames == null || serviceNames.length == 0) ? null : serviceNames[0]; in getDefaultServiceName()
|
D | SecureSettingsServiceNameResolver.java | 111 private String[] parseColonDelimitedServiceNames(String serviceNames) { in parseColonDelimitedServiceNames() argument 113 if (!TextUtils.isEmpty(serviceNames)) { in parseColonDelimitedServiceNames() 115 splitter.setString(serviceNames); in parseColonDelimitedServiceNames()
|
D | AbstractMasterSystemService.java | 551 String[] serviceNames) { in newServiceListLocked() argument 835 protected void onServiceNameListChanged(@UserIdInt int userId, @Nullable String[] serviceNames, in onServiceNameListChanged() argument 1173 final String[] serviceNames = mServiceNameResolver.getDefaultServiceNameList( in startTrackingPackageChanges() 1175 if (serviceNames != null) { in startTrackingPackageChanges() 1176 for (int i = 0; i < serviceNames.length; i++) { in startTrackingPackageChanges() 1177 peekAndUpdateCachedServiceLocked(packageName, userId, serviceNames[i]); in startTrackingPackageChanges()
|
/frameworks/base/services/credentials/java/com/android/server/credentials/ |
D | CredentialManagerService.java | 183 int resolvedUserId, boolean disabled, String[] serviceNames) { in newServiceListLocked() argument 185 if (serviceNames == null || serviceNames.length == 0) { in newServiceListLocked() 188 List<CredentialManagerServiceImpl> serviceList = new ArrayList<>(serviceNames.length); in newServiceListLocked() 189 for (String serviceName : serviceNames) { in newServiceListLocked() 306 String[] serviceNames = resolver.readServiceNameList(resolvedUserId); in getPrimaryProvidersForUserId() local 307 if (serviceNames == null) { in getPrimaryProvidersForUserId() 312 for (String serviceName : serviceNames) { in getPrimaryProvidersForUserId()
|
/frameworks/base/services/core/java/com/android/server/ondeviceintelligence/ |
D | OnDeviceIntelligenceManagerService.java | 870 String[] serviceNames = getServiceNames(); 871 ComponentName componentName = ComponentName.unflattenFromString(serviceNames[1]);
|