Searched refs:enabledComponents (Results 1 – 7 of 7) sorted by relevance
74 public ArraySet<String> enabledComponents; field in PackageUserState111 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()
148 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 …]
439 ArraySet<String> enabledComponents, ArraySet<String> disabledComponents, in setUserState() argument456 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 …]
1664 ArraySet<String> enabledComponents = null; in readPackageRestrictionsLPr() local1680 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()
289 ArraySet<String> enabledComponents = in computeComponentStateHash()291 int numComponents = CollectionUtils.size(enabledComponents); in computeComponentStateHash()294 out.write(enabledComponents.valueAt(i).getBytes()); in computeComponentStateHash()
802 Set<ComponentName> enabledComponents = new ArraySet<>(); in onPostExecute() local808 enabledComponents.add(componentName); in onPostExecute()816 if (!enabledComponents.contains(printerServiceName)) { in onPostExecute()
17009 Landroid/content/pm/PackageUserState;->enabledComponents:Landroid/util/ArraySet;