Home
last modified time | relevance | path

Searched refs:distractionFlags (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DDistractingPackageHelperTest.kt63 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/
DPackageSetting.java965 void setDistractionFlags(int distractionFlags, int userId) {
966 modifyUserState(userId).setDistractionFlags(distractionFlags);
990 int distractionFlags, ArrayMap<UserPackage, SuspendParams> suspendParams,
1005 .setDistractionFlags(distractionFlags)
DBroadcastHelper.java1067 int distractionFlags) { in sendDistractingPackagesChanged() argument
1071 extras.putInt(Intent.EXTRA_DISTRACTION_RESTRICTIONS, distractionFlags); in sendDistractingPackagesChanged()
DSettings.java1905 final int distractionFlags = parser.getAttributeInt(null,
2019 notLaunched, hidden, distractionFlags, suspendParamsMap, instantApp,
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java2904 public String[] setDistractingPackageRestrictions(String[] packages, int distractionFlags) { in setDistractingPackageRestrictions() argument
2906 return mPM.setDistractingPackageRestrictionsAsUser(packages, distractionFlags, in setDistractingPackageRestrictions()