Home
last modified time | relevance | path

Searched refs:enabledComponents (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/content/pm/
DPackageUserState.java74 public ArraySet<String> enabledComponents; field in PackageUserState
111 enabledComponents = ArrayUtils.cloneOrNull(o.enabledComponents); in PackageUserState()
196 if (ArrayUtils.contains(this.enabledComponents, componentInfo.name)) { in isEnabled()
290 if ((enabledComponents == null && oldState.enabledComponents != null) in equals()
291 || (enabledComponents != null && oldState.enabledComponents == null)) { in equals()
294 if (enabledComponents != null) { in equals()
295 if (enabledComponents.size() != oldState.enabledComponents.size()) { in equals()
298 for (int i = enabledComponents.size() - 1; i >=0; --i) { in equals()
299 if (!oldState.enabledComponents.contains(enabledComponents.valueAt(i))) { in equals()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageUserStateTest.java148 testUserState01.enabledComponents = new ArraySet<>(); in testPackageUserState04()
153 oldUserState.enabledComponents = new ArraySet<>(); in testPackageUserState04()
158 testUserState03.enabledComponents = new ArraySet<>(); in testPackageUserState04()
161 testUserState03.enabledComponents.add("com.android.unit_test01"); in testPackageUserState04()
162 testUserState03.enabledComponents.add("com.android.unit_test02"); in testPackageUserState04()
163 testUserState03.enabledComponents.add("com.android.unit_test03"); in testPackageUserState04()
164 oldUserState.enabledComponents.add("com.android.unit_test03"); in testPackageUserState04()
165 oldUserState.enabledComponents.add("com.android.unit_test02"); in testPackageUserState04()
168 oldUserState.enabledComponents.add("com.android.unit_test01"); in testPackageUserState04()
171 oldUserState.enabledComponents.add("com.android.unit_test04"); in testPackageUserState04()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DPackageSettingBase.java439 ArraySet<String> enabledComponents, ArraySet<String> disabledComponents, in setUserState() argument
456 state.enabledComponents = enabledComponents; in setUserState()
467 return readUserState(userId).enabledComponents; in getEnabledComponents()
475 modifyUserState(userId).enabledComponents = components; in setEnabledComponents()
483 modifyUserState(userId).enabledComponents = components != null in setEnabledComponentsCopy()
497 if (enabled && state.enabledComponents == null) { in modifyUserStateComponents()
498 state.enabledComponents = new ArraySet<String>(1); in modifyUserStateComponents()
508 modifyUserStateComponents(userId, false, true).enabledComponents.add(componentClassName); in addEnabledComponent()
515 changed |= state.enabledComponents.add(componentClassName); in enableComponentLPw()
521 boolean changed = state.enabledComponents != null in disableComponentLPw()
[all …]
DSettings.java1664 ArraySet<String> enabledComponents = null; in readPackageRestrictionsLPr() local
1680 enabledComponents = readComponentsLPr(parser); in readPackageRestrictionsLPr()
1712 enabledCaller, enabledComponents, disabledComponents, verifState, in readPackageRestrictionsLPr()
2072 if (!ArrayUtils.isEmpty(ustate.enabledComponents)) { in writePackageRestrictionsLPr()
2074 for (final String name : ustate.enabledComponents) { in writePackageRestrictionsLPr()
/frameworks/base/services/core/java/com/android/server/role/
DRoleManagerService.java289 ArraySet<String> enabledComponents = in computeComponentStateHash()
291 int numComponents = CollectionUtils.size(enabledComponents); in computeComponentStateHash()
294 out.write(enabledComponents.valueAt(i).getBytes()); in computeComponentStateHash()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DFusedPrintersProvider.java802 Set<ComponentName> enabledComponents = new ArraySet<>(); in onPostExecute() local
808 enabledComponents.add(componentName); in onPostExecute()
816 if (!enabledComponents.contains(printerServiceName)) { in onPostExecute()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt17009 Landroid/content/pm/PackageUserState;->enabledComponents:Landroid/util/ArraySet;