Searched refs:distractionFlags (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/ |
D | DistractingPackageHelperTest.kt | 63 val distractionFlags = flagsCaptor.value in setDistractingPackageRestrictionsAsUser() constant 65 assertThat(distractionFlags).isEqualTo(PackageManager.RESTRICTION_HIDE_NOTIFICATIONS) in setDistractingPackageRestrictionsAsUser() 164 val distractionFlags = flagsCaptor.value in removeDistractingPackageRestrictions() constant 166 assertThat(distractionFlags).isEqualTo(PackageManager.RESTRICTION_NONE) in removeDistractingPackageRestrictions()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageSetting.java | 965 void setDistractionFlags(int distractionFlags, int userId) { 966 modifyUserState(userId).setDistractionFlags(distractionFlags); 990 int distractionFlags, ArrayMap<UserPackage, SuspendParams> suspendParams, 1005 .setDistractionFlags(distractionFlags)
|
D | BroadcastHelper.java | 1067 int distractionFlags) { in sendDistractingPackagesChanged() argument 1071 extras.putInt(Intent.EXTRA_DISTRACTION_RESTRICTIONS, distractionFlags); in sendDistractingPackagesChanged()
|
D | Settings.java | 1905 final int distractionFlags = parser.getAttributeInt(null, 2019 notLaunched, hidden, distractionFlags, suspendParamsMap, instantApp,
|
/frameworks/base/core/java/android/app/ |
D | ApplicationPackageManager.java | 2904 public String[] setDistractingPackageRestrictions(String[] packages, int distractionFlags) { in setDistractingPackageRestrictions() argument 2906 return mPM.setDistractingPackageRestrictionsAsUser(packages, distractionFlags, in setDistractingPackageRestrictions()
|