Searched refs:newFlags (Results 1 – 7 of 7) sorted by relevance
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/utils/ |
D | GrantRevokeTests.kt | 355 val newFlags = FLAG_PERMISSION_USER_SET in grantOnePermTest() constant 357 expectPermGranted = true, expectedFlags = newFlags) in grantOnePermTest() 361 val expectedState = mutableMapOf(FG_PERM_NAME to (true to newFlags)) in grantOnePermTest() 381 val newFlags = FLAG_PERMISSION_USER_SET in grantTwoPermTest() constant 383 expectPermGranted = true, expectedFlags = newFlags) in grantTwoPermTest() 386 expectPermGranted = true, expectedFlags = newFlags) in grantTwoPermTest() 391 val expectedState = mutableMapOf(FG_PERM_NAME to (true to newFlags), in grantTwoPermTest() 392 FG_PERM_2_NAME to (true to newFlags)) in grantTwoPermTest() 410 val newFlags = FLAG_PERMISSION_USER_SET in grantNoAppOpPerm() constant 412 expectPermGranted = true, expectedFlags = newFlags) in grantNoAppOpPerm() [all …]
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/ |
D | KotlinUtils.kt | 843 var newFlags = perm.flags in <lambda>() variable 872 newFlags = if (affectsAppOp && withoutAppOps) { in <lambda>() 873 newFlags.setFlag(PackageManager.FLAG_PERMISSION_REVOKED_COMPAT) in <lambda>() 875 newFlags.clearFlag(PackageManager.FLAG_PERMISSION_REVOKED_COMPAT) in <lambda>() 877 newFlags = newFlags.clearFlag(PackageManager.FLAG_PERMISSION_REVOKE_WHEN_REQUESTED) in <lambda>() 888 newFlags = newFlags.clearFlag(FLAG_PERMISSION_REVIEW_REQUIRED) in <lambda>() 894 newFlags = newFlags.clearFlag(FLAG_PERMISSION_USER_FIXED) in <lambda>() 895 newFlags = newFlags.setFlag(FLAG_PERMISSION_USER_SET) in <lambda>() 897 newFlags = newFlags.setFlag(FLAG_PERMISSION_USER_FIXED) in <lambda>() 899 newFlags = newFlags.clearFlag(FLAG_PERMISSION_AUTO_REVOKED) in <lambda>() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | SystemUiController.java | 77 int newFlags = oldFlags; in updateUiState() local 79 newFlags = getSysUiVisibilityFlags(stateFlag, newFlags); in updateUiState() 81 if (newFlags != oldFlags) { in updateUiState() 82 mWindow.getDecorView().setSystemUiVisibility(newFlags); in updateUiState()
|
/packages/modules/adb/ |
D | sysdeps_unix.cpp | 66 const auto newFlags = (oldFlags & ~FD_CLOEXEC); in disable_close_on_exec() local 67 if (newFlags != oldFlags) { in disable_close_on_exec() 68 fcntl(fd.get(), F_SETFD, newFlags); in disable_close_on_exec()
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | ActionBarAdapter.java | 321 int newFlags = 0; in updateDisplayOptionsInner() local 323 newFlags |= ActionBar.DISPLAY_SHOW_HOME; in updateDisplayOptionsInner() 325 newFlags |= ActionBar.DISPLAY_HOME_AS_UP; in updateDisplayOptionsInner() 335 newFlags |= ActionBar.DISPLAY_SHOW_TITLE; in updateDisplayOptionsInner() 357 if (current != newFlags) { in updateDisplayOptionsInner() 359 mActionBar.setDisplayOptions(newFlags, MASK); in updateDisplayOptionsInner()
|
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/model/ |
D | Permissions.java | 237 int newFlags = 0; in grantSingle() local 239 newFlags |= PackageManager.FLAG_PERMISSION_GRANTED_BY_ROLE; in grantSingle() 242 newFlags |= PackageManager.FLAG_PERMISSION_GRANTED_BY_DEFAULT; in grantSingle() 245 newFlags |= PackageManager.FLAG_PERMISSION_SYSTEM_FIXED; in grantSingle() 247 int newMask = newFlags; in grantSingle() 268 setPermissionFlags(packageName, permission, newFlags, newMask, context); in grantSingle()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
D | AndroidSpellCheckerSession.java | 92 final int newFlags = 0; in fixWronglyInvalidatedWordWithSingleQuote() local 93 final SuggestionsInfo newSi = new SuggestionsInfo(newFlags, EMPTY_STRING_ARRAY); in fixWronglyInvalidatedWordWithSingleQuote()
|