Searched refs:distractionFlags (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageSettingBase.java | 441 return readUserState(userId).distractionFlags; in getDistractionFlags() 444 void setDistractionFlags(int distractionFlags, int userId) { in setDistractionFlags() argument 445 modifyUserState(userId).distractionFlags = distractionFlags; in setDistractionFlags() 520 boolean notLaunched, boolean hidden, int distractionFlags, boolean suspended, in setUserState() argument 533 state.distractionFlags = distractionFlags; in setUserState() 551 otherState.distractionFlags, otherState.suspended, otherState.suspendParams, in setUserState() 703 proto.write(PackageProto.UserInfoProto.DISTRACTION_FLAGS, state.distractionFlags); in writeUsersInfoToProto()
|
D | Settings.java | 1676 … final int distractionFlags = parser.getAttributeInt(null, ATTR_DISTRACTION_FLAGS, 0); 1777 hidden, distractionFlags, suspended, suspendParamsMap, 2008 if (ustate.distractionFlags != 0) { 2009 serializer.attributeInt(null, ATTR_DISTRACTION_FLAGS, ustate.distractionFlags);
|
D | PackageManagerService.java | 16036 int distractionFlags) { in sendDistractingPackagesChanged() argument 16040 extras.putInt(Intent.EXTRA_DISTRACTION_RESTRICTIONS, distractionFlags); in sendDistractingPackagesChanged()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageUserState.java | 73 public int distractionFlags; field in PackageUserState 114 distractionFlags = o.distractionFlags; in PackageUserState() 421 if (distractionFlags != oldState.distractionFlags) { in equals() 502 hashCode = 31 * hashCode + distractionFlags; in hashCode()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | PackageUserStateTest.java | 247 assertThat(userState1.distractionFlags, is(PackageManager.RESTRICTION_NONE)); in testPackageUserState06() 248 userState1.distractionFlags = PackageManager.RESTRICTION_HIDE_FROM_SUGGESTIONS; in testPackageUserState06() 251 assertThat(userState1.distractionFlags, is(copyOfUserState1.distractionFlags)); in testPackageUserState06() 255 userState2.distractionFlags = PackageManager.RESTRICTION_HIDE_NOTIFICATIONS; in testPackageUserState06()
|
D | PackageManagerSettingsTests.java | 414 assertThat(readPus1.distractionFlags, is(distractionFlags1)); in testReadWritePackageRestrictions_distractionFlags() 418 assertThat(readPus2.distractionFlags, is(distractionFlags2)); in testReadWritePackageRestrictions_distractionFlags() 422 assertThat(readPus3.distractionFlags, is(distractionFlags3)); in testReadWritePackageRestrictions_distractionFlags() 904 assertThat(userState.distractionFlags, is(0)); in verifyUserState()
|
/frameworks/base/core/java/android/app/ |
D | ApplicationPackageManager.java | 2565 public String[] setDistractingPackageRestrictions(String[] packages, int distractionFlags) { in setDistractingPackageRestrictions() argument 2567 return mPM.setDistractingPackageRestrictionsAsUser(packages, distractionFlags, in setDistractingPackageRestrictions()
|