Home
last modified time | relevance | path

Searched refs:componentNames (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/data/repository/
DInstalledTilesComponentRepositoryImplTest.kt107 val componentNames by collectLastValue(underTest.getInstalledTilesComponents(userId)) in <lambda>() constant
111 assertThat(componentNames).containsExactly(TEST_COMPONENT) in <lambda>()
122 val componentNames by collectLastValue(underTest.getInstalledTilesComponents(userId)) in <lambda>() constant
125 assertThat(componentNames).isEmpty() in <lambda>()
139 assertThat(componentNames).containsExactly(TEST_COMPONENT) in <lambda>()
158 val componentNames by collectLastValue(underTest.getInstalledTilesComponents(userId)) in <lambda>() constant
162 assertThat(componentNames).isEmpty() in <lambda>()
181 val componentNames by collectLastValue(underTest.getInstalledTilesComponents(userId)) in <lambda>() constant
185 assertThat(componentNames).isEmpty() in <lambda>()
230 val componentNames by collectLastValue(underTest.getInstalledTilesComponents(userId)) in <lambda>() constant
[all …]
/frameworks/base/services/core/java/com/android/server/infra/
DSecureSettingsServiceNameResolver.java96 public void setServiceNameList(List<String> componentNames, int userId) { in setServiceNameList() argument
97 if (componentNames == null || componentNames.isEmpty()) { in setServiceNameList()
102 StringBuilder builder = new StringBuilder(componentNames.get(0)); in setServiceNameList()
103 for (int i = 1; i < componentNames.size(); i++) { in setServiceNameList()
105 builder.append(componentNames.get(i)); in setServiceNameList()
DAbstractPerUserSystemService.java176 ComponentName[] componentNames = updateServiceInfoListLocked(); in updateServiceInfoLocked() local
177 return componentNames == null || componentNames.length == 0 ? null : componentNames[0]; in updateServiceInfoLocked()
193 final String[] componentNames = mMaster.mServiceNameResolver.getServiceNameList( in updateServiceInfoListLocked() local
195 if (componentNames == null) { in updateServiceInfoListLocked()
198 ComponentName[] serviceComponents = new ComponentName[componentNames.length]; in updateServiceInfoListLocked()
199 for (int i = 0; i < componentNames.length; i++) { in updateServiceInfoListLocked()
200 serviceComponents[i] = getServiceComponent(componentNames[i]); in updateServiceInfoListLocked()
DServiceNameBaseResolver.java217 public void setTemporaryServices(int userId, @NonNull String[] componentNames, int durationMs) { in setTemporaryServices() argument
219 mTemporaryServiceNamesList.put(userId, componentNames); in setTemporaryServices()
239 for (int i = 0; i < componentNames.length; i++) { in setTemporaryServices()
240 notifyTemporaryServiceNameChangedLocked(userId, componentNames[i], in setTemporaryServices()
DServiceNameResolver.java152 default void setTemporaryServices(@UserIdInt int userId, @NonNull String[] componentNames, in setTemporaryServices() argument
DAbstractMasterSystemService.java408 public final void setTemporaryServices(@UserIdInt int userId, @NonNull String[] componentNames, in setTemporaryServices() argument
410 Slog.i(mTag, "setTemporaryService(" + userId + ") to " + Arrays.toString(componentNames) in setTemporaryServices()
417 Objects.requireNonNull(componentNames); in setTemporaryServices()
429 mServiceNameResolver.setTemporaryServices(userId, componentNames, durationMs); in setTemporaryServices()
/frameworks/base/core/java/android/service/dreams/
DIDreamManager.aidl32 void setDreamComponents(in ComponentName[] componentNames); in setDreamComponents() argument
47 void setDreamComponentsForUser(int userId, in ComponentName[] componentNames); in setDreamComponentsForUser() argument
/frameworks/base/services/core/java/com/android/server/ambientcontext/
DAmbientContextManagerPerUserService.java455 ComponentName[] componentNames = updateServiceInfoListLocked(); in setUpServiceIfNeeded() local
456 if (componentNames == null || componentNames.length != 2) { in setUpServiceIfNeeded()
463 setComponentName(componentNames[0]); in setUpServiceIfNeeded()
466 setComponentName(componentNames[1]); in setUpServiceIfNeeded()
/frameworks/base/services/core/java/com/android/server/dreams/
DDreamManagerService.java661 private void setDreamComponentsForUser(int userId, ComponentName[] componentNames) { in setDreamComponentsForUser() argument
664 componentsToString(componentNames), in setDreamComponentsForUser()
814 private static String componentsToString(ComponentName[] componentNames) { in componentsToString() argument
815 if (componentNames == null) { in componentsToString()
819 for (ComponentName componentName : componentNames) { in componentsToString()
833 ComponentName[] componentNames = new ComponentName[namesArray.length]; in componentsFromString() local
835 componentNames[i] = ComponentName.unflattenFromString(namesArray[i]); in componentsFromString()
837 return componentNames; in componentsFromString()
919 public void setDreamComponents(ComponentName[] componentNames) { in setDreamComponents() argument
925 setDreamComponentsForUser(userId, componentNames); in setDreamComponents()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DPackageMonitorCallbackHelper.java131 ArrayList<String> componentNames, int packageUid, String reason, int[] userIds, in notifyPackageChanged() argument
134 extras.putString(Intent.EXTRA_CHANGED_COMPONENT_NAME, componentNames.get(0)); in notifyPackageChanged()
135 String[] nameList = new String[componentNames.size()]; in notifyPackageChanged()
136 componentNames.toArray(nameList); in notifyPackageChanged()
DBroadcastHelper.java299 @NonNull ArrayList<String> componentNames, in sendPackageChangedBroadcast() argument
307 + componentNames); in sendPackageChangedBroadcast()
310 extras.putString(Intent.EXTRA_CHANGED_COMPONENT_NAME, componentNames.get(0)); in sendPackageChangedBroadcast()
311 String[] nameList = new String[componentNames.size()]; in sendPackageChangedBroadcast()
312 componentNames.toArray(nameList); in sendPackageChangedBroadcast()
322 final int flags = !componentNames.contains(packageName) in sendPackageChangedBroadcast()
812 @NonNull ArrayList<String> componentNames, in sendPackageChangedBroadcast() argument
828 packageName, dontKillApp, componentNames, packageUid, reason, userIds, in sendPackageChangedBroadcast()
830 mPackageMonitorCallbackHelper.notifyPackageChanged(packageName, dontKillApp, componentNames, in sendPackageChangedBroadcast()
/frameworks/base/core/java/com/android/internal/accessibility/util/
DShortcutUtils.java194 Context context, Set<String> componentNames, int userId) { in updateInvisibleToggleAccessibilityServiceEnableState() argument
220 for (String componentName : componentNames) { in updateInvisibleToggleAccessibilityServiceEnableState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/controller/
DControlsControllerImpl.kt356 componentNames: List<ComponentName>, in <lambda>()
359 if (seedingInProgress || componentNames.isEmpty()) return in <lambda>()
367 { seedFavoritesForComponents(componentNames, callback) }, in <lambda>()
372 componentNames.forEach { in <lambda>()
379 startSeeding(componentNames, callback, false) in <lambda>()
DControlsController.kt117 componentNames: List<ComponentName>, in loadForComponent()
/frameworks/base/core/java/com/android/internal/appwidget/
DIAppWidgetService.aidl74 void notifyProviderInheritance(in ComponentName[] componentNames); in notifyProviderInheritance() argument
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DManagedServicesTest.java1907 List<ComponentName> componentNames = new ArrayList<>(); in rebindServices_onlyBindsIfAutobindMetaDataTrue() local
1908 componentNames.add(cn_allowed); in rebindServices_onlyBindsIfAutobindMetaDataTrue()
1909 componentNames.add(cn_disallowed); in rebindServices_onlyBindsIfAutobindMetaDataTrue()
1918 mockServiceInfoWithMetaData(componentNames, service, metaDatas); in rebindServices_onlyBindsIfAutobindMetaDataTrue()
1956 List<ComponentName> componentNames = new ArrayList<>(); in rebindServices_bindsIfAutobindMetaDataFalseWhenServiceBound() local
1957 componentNames.add(cn_disallowed); in rebindServices_bindsIfAutobindMetaDataFalseWhenServiceBound()
1963 mockServiceInfoWithMetaData(componentNames, service, metaDatas); in rebindServices_bindsIfAutobindMetaDataFalseWhenServiceBound()
1995 List<ComponentName> componentNames = new ArrayList<>(); in setComponentState_ignoresAutobindMetaData() local
1996 componentNames.add(cn_disallowed); in setComponentState_ignoresAutobindMetaData()
2002 mockServiceInfoWithMetaData(componentNames, service, metaDatas); in setComponentState_ignoresAutobindMetaData()
[all …]
/frameworks/base/services/core/java/com/android/server/ondeviceintelligence/
DOnDeviceIntelligenceManagerService.java911 public void setTemporaryServices(@NonNull String[] componentNames, int durationMs) {
912 Objects.requireNonNull(componentNames);
917 mTemporaryServiceNames = componentNames;
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityUserState.java1129 public void updateA11yTilesInQsPanelLocked(Set<ComponentName> componentNames) { in updateA11yTilesInQsPanelLocked() argument
1131 mA11yTilesInQsPanel.addAll(componentNames); in updateA11yTilesInQsPanelLocked()
DAbstractAccessibilityServiceConnection.java304 Set<ComponentName> componentNames, int userId); in persistComponentNamesToSettingLocked() argument
DAccessibilityManagerService.java2628 Set<ComponentName> componentNames, int userId) { in persistComponentNamesToSettingLocked() argument
2629 persistColonDelimitedSetToSettingLocked(settingName, userId, componentNames, in persistComponentNamesToSettingLocked()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java6355 final Set<String> componentNames = transformColonDelimitedStringToSet(
6357 if (componentNames != null && componentNames.contains(toRemove)) {
6358 componentNames.remove(toRemove);
6359 componentNames.add(toAdd);
6362 TextUtils.join(":", componentNames),
/frameworks/base/telecomm/java/android/telecom/
DConnectionService.java2927 final List<ComponentName> componentNames, in onAdapterAttached()
2932 for (int i = 0; i < componentNames.size() && i < services.size(); i++) { in onAdapterAttached()
2934 componentNames.get(i), in onAdapterAttached()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java1721 public void notifyProviderInheritance(@Nullable final ComponentName[] componentNames) { in notifyProviderInheritance() argument
1727 if (componentNames == null) { in notifyProviderInheritance()
1731 for (ComponentName componentName : componentNames) { in notifyProviderInheritance()
1740 for (ComponentName componentName : componentNames) { in notifyProviderInheritance()