Searched refs:enabledComponents (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/java/android/content/pm/ |
D | PackageUserState.java | 74 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/ |
D | PackageUserStateTest.java | 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 …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageSettingBase.java | 440 ArraySet<String> enabledComponents, ArraySet<String> disabledComponents, in setUserState() argument 457 state.enabledComponents = enabledComponents; in setUserState() 474 otherState.enabledComponents, otherState.disabledComponents, in setUserState() 480 return readUserState(userId).enabledComponents; in getEnabledComponents() 488 modifyUserState(userId).enabledComponents = components; in setEnabledComponents() 496 modifyUserState(userId).enabledComponents = components != null in setEnabledComponentsCopy() 510 if (enabled && state.enabledComponents == null) { in modifyUserStateComponents() 511 state.enabledComponents = new ArraySet<String>(1); in modifyUserStateComponents() 521 modifyUserStateComponents(userId, false, true).enabledComponents.add(componentClassName); in addEnabledComponent() 528 changed |= state.enabledComponents.add(componentClassName); in enableComponentLPw() [all …]
|
D | Settings.java | 1660 ArraySet<String> enabledComponents = null; in readPackageRestrictionsLPr() local 1676 enabledComponents = readComponentsLPr(parser); in readPackageRestrictionsLPr() 1708 enabledCaller, enabledComponents, disabledComponents, verifState, in readPackageRestrictionsLPr() 2068 if (!ArrayUtils.isEmpty(ustate.enabledComponents)) { in writePackageRestrictionsLPr() 2070 for (final String name : ustate.enabledComponents) { in writePackageRestrictionsLPr()
|
/frameworks/base/services/core/java/com/android/server/role/ |
D | RoleManagerService.java | 289 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/ |
D | FusedPrintersProvider.java | 802 Set<ComponentName> enabledComponents = new ArraySet<>(); in onPostExecute() local 808 enabledComponents.add(componentName); in onPostExecute() 816 if (!enabledComponents.contains(printerServiceName)) { in onPostExecute()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 15912 Landroid/content/pm/PackageUserState;->enabledComponents:Landroid/util/ArraySet;
|