Searched refs:disabledComponents (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/java/android/content/pm/ |
D | PackageUserState.java | 73 public ArraySet<String> disabledComponents; field in PackageUserState 110 disabledComponents = ArrayUtils.cloneOrNull(o.disabledComponents); in PackageUserState() 199 if (ArrayUtils.contains(this.disabledComponents, componentInfo.name)) { in isEnabled() 276 if ((disabledComponents == null && oldState.disabledComponents != null) in equals() 277 || (disabledComponents != null && oldState.disabledComponents == null)) { in equals() 280 if (disabledComponents != null) { in equals() 281 if (disabledComponents.size() != oldState.disabledComponents.size()) { in equals() 284 for (int i = disabledComponents.size() - 1; i >=0; --i) { in equals() 285 if (!oldState.disabledComponents.contains(disabledComponents.valueAt(i))) { in equals()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | PackageUserStateTest.java | 112 testUserState01.disabledComponents = new ArraySet<>(); in testPackageUserState03() 117 oldUserState.disabledComponents = new ArraySet<>(); in testPackageUserState03() 122 testUserState03.disabledComponents = new ArraySet<>(); in testPackageUserState03() 125 testUserState03.disabledComponents.add("com.android.unit_test01"); in testPackageUserState03() 126 testUserState03.disabledComponents.add("com.android.unit_test02"); in testPackageUserState03() 127 testUserState03.disabledComponents.add("com.android.unit_test03"); in testPackageUserState03() 128 oldUserState.disabledComponents.add("com.android.unit_test03"); in testPackageUserState03() 129 oldUserState.disabledComponents.add("com.android.unit_test02"); in testPackageUserState03() 132 oldUserState.disabledComponents.add("com.android.unit_test01"); in testPackageUserState03() 135 oldUserState.disabledComponents.add("com.android.unit_test04"); in testPackageUserState03() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageSettingBase.java | 440 ArraySet<String> enabledComponents, ArraySet<String> disabledComponents, in setUserState() argument 458 state.disabledComponents = disabledComponents; in setUserState() 474 otherState.enabledComponents, otherState.disabledComponents, in setUserState() 484 return readUserState(userId).disabledComponents; in getDisabledComponents() 492 modifyUserState(userId).disabledComponents = components; in setDisabledComponents() 501 modifyUserState(userId).disabledComponents = components != null in setDisabledComponentsCopy() 507 if (disabled && state.disabledComponents == null) { in modifyUserStateComponents() 508 state.disabledComponents = new ArraySet<String>(1); in modifyUserStateComponents() 517 modifyUserStateComponents(userId, true, false).disabledComponents.add(componentClassName); in addDisabledComponent() 526 boolean changed = state.disabledComponents != null in enableComponentLPw() [all …]
|
D | Settings.java | 1661 ArraySet<String> disabledComponents = null; in readPackageRestrictionsLPr() local 1679 disabledComponents = readComponentsLPr(parser); in readPackageRestrictionsLPr() 1708 enabledCaller, enabledComponents, disabledComponents, verifState, in readPackageRestrictionsLPr() 2077 if (!ArrayUtils.isEmpty(ustate.disabledComponents)) { in writePackageRestrictionsLPr() 2079 for (final String name : ustate.disabledComponents) { in writePackageRestrictionsLPr()
|
/frameworks/base/services/core/java/com/android/server/role/ |
D | RoleManagerService.java | 297 ArraySet<String> disabledComponents = in computeComponentStateHash() 299 numComponents = CollectionUtils.size(disabledComponents); in computeComponentStateHash() 301 out.write(disabledComponents.valueAt(i).getBytes()); in computeComponentStateHash()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 15909 Landroid/content/pm/PackageUserState;->disabledComponents:Landroid/util/ArraySet;
|