Searched refs:oldFlags (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 | 590 val oldFlags = FLAG_PERMISSION_ONE_TIME in grantOneTimeTest() constant 592 perms[FG_PERM_NAME] = createMockPerm(pkg, FG_PERM_NAME, flags = oldFlags) in grantOneTimeTest() 600 expectedFlags = newFlags, originalFlags = oldFlags) in grantOneTimeTest() 615 val oldFlags = FLAG_PERMISSION_REVOKED_COMPAT in grantPreMAppTest() constant 617 perms[FG_PERM_NAME] = createMockPerm(pkg, FG_PERM_NAME, flags = oldFlags) in grantPreMAppTest() 624 expectedFlags = newFlags, originalFlags = oldFlags) in grantPreMAppTest() 728 val oldFlags = FLAG_PERMISSION_USER_FIXED or FLAG_PERMISSION_REVIEW_REQUIRED in grantClearsUserFixedAndReviewRequired() constant 730 perms[FG_PERM_NAME] = createMockPerm(pkg, FG_PERM_NAME, flags = oldFlags) in grantClearsUserFixedAndReviewRequired() 737 expectedFlags = newFlags, originalFlags = oldFlags) in grantClearsUserFixedAndReviewRequired() 959 val oldFlags = FLAG_PERMISSION_ONE_TIME in revokeOneTimeTest() constant [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | SystemUiController.java | 75 int oldFlags = mWindow.getDecorView().getSystemUiVisibility(); in updateUiState() local 77 int newFlags = oldFlags; in updateUiState() 81 if (newFlags != oldFlags) { in updateUiState()
|
/packages/modules/adb/ |
D | sysdeps_unix.cpp | 65 const auto oldFlags = fcntl(fd.get(), F_GETFD); in disable_close_on_exec() local 66 const auto newFlags = (oldFlags & ~FD_CLOEXEC); in disable_close_on_exec() 67 if (newFlags != oldFlags) { in disable_close_on_exec()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | BaseActivity.java | 310 final int oldFlags = mActivityFlags; in addActivityFlags() local 313 Log.d(TAG, "Launcher flags updated: " + formatFlagChange(mActivityFlags, oldFlags, in addActivityFlags() 320 final int oldFlags = mActivityFlags; in removeActivityFlags() local 323 Log.d(TAG, "Launcher flags updated: " + formatFlagChange(mActivityFlags, oldFlags, in removeActivityFlags()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/ |
D | UserSensitiveFlagsUtils.kt | 70 val oldFlags = pm.getPermissionFlags(perm, pkg.packageName, user) and in updateUserSensitiveForUidsInternal() constant 72 if (flags != oldFlags) { in updateUserSensitiveForUidsInternal()
|
D | KotlinUtils.kt | 844 var oldFlags = perm.flags in <lambda>() variable 857 oldFlags = oldFlags.setFlag(PackageManager.FLAG_PERMISSION_REVOKED_COMPAT) in <lambda>() 859 PERMISSION_CONTROLLER_CHANGED_FLAG_MASK, oldFlags, user) in <lambda>() 924 if (oldFlags != newFlags) { in <lambda>()
|
/packages/modules/Permission/PermissionController/role-controller/java/com/android/role/controller/model/ |
D | Permissions.java | 257 int oldFlags = getPermissionFlags(packageName, permission, context); in grantSingle() local 258 if ((oldFlags & PackageManager.FLAG_PERMISSION_GRANTED_BY_DEFAULT) != 0 in grantSingle() 259 && (oldFlags & PackageManager.FLAG_PERMISSION_SYSTEM_FIXED) != 0) { in grantSingle()
|