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 | 412 val newFlags = FLAG_PERMISSION_USER_SET in grantOnePermTest() constant 417 expectedFlags = newFlags in grantOnePermTest() 422 val expectedState = mutableMapOf(FG_PERM_NAME to (true to newFlags)) in grantOnePermTest() 442 val newFlags = FLAG_PERMISSION_USER_SET in grantTwoPermTest() constant 447 expectedFlags = newFlags in grantTwoPermTest() 454 expectedFlags = newFlags in grantTwoPermTest() 464 mutableMapOf(FG_PERM_NAME to (true to newFlags), FG_PERM_2_NAME to (true to newFlags)) in grantTwoPermTest() 482 val newFlags = FLAG_PERMISSION_USER_SET in grantNoAppOpPerm() constant 487 expectedFlags = newFlags in grantNoAppOpPerm() 493 val expectedState = mutableMapOf(FG_PERM_NAME_NO_APP_OP to (true to newFlags)) in grantNoAppOpPerm() [all …]
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/ |
D | KotlinUtils.kt | 967 var newFlags = perm.flags in <lambda>() variable 1006 newFlags = in <lambda>() 1008 newFlags.setFlag(PackageManager.FLAG_PERMISSION_REVOKED_COMPAT) in <lambda>() 1010 newFlags.clearFlag(PackageManager.FLAG_PERMISSION_REVOKED_COMPAT) in <lambda>() 1012 newFlags = newFlags.clearFlag(PackageManager.FLAG_PERMISSION_REVOKE_WHEN_REQUESTED) in <lambda>() 1024 newFlags = newFlags.clearFlag(FLAG_PERMISSION_REVIEW_REQUIRED) in <lambda>() 1030 newFlags = newFlags.clearFlag(FLAG_PERMISSION_USER_FIXED) in <lambda>() 1031 newFlags = newFlags.setFlag(FLAG_PERMISSION_USER_SET) in <lambda>() 1033 newFlags = newFlags.setFlag(FLAG_PERMISSION_USER_FIXED) in <lambda>() 1035 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 | 246 int newFlags = 0; in grantSingleAsUser() local 248 newFlags |= PackageManager.FLAG_PERMISSION_GRANTED_BY_ROLE; in grantSingleAsUser() 251 newFlags |= PackageManager.FLAG_PERMISSION_GRANTED_BY_DEFAULT; in grantSingleAsUser() 254 newFlags |= PackageManager.FLAG_PERMISSION_SYSTEM_FIXED; in grantSingleAsUser() 256 int newMask = newFlags; in grantSingleAsUser() 277 setPermissionFlagsAsUser(packageName, permission, newFlags, newMask, in grantSingleAsUser()
|
/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()
|