Home
last modified time | relevance | path

Searched refs:setFlag (Results 1 – 6 of 6) sorted by relevance

/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39808/src/android/security/cts/CVE_2021_39808/
DPocService.java105 data.writeInt(getResources().getInteger(R.integer.setFlag)); in createNotificationGroup()
106 data.writeInt(getResources().getInteger(R.integer.setFlag)); in createNotificationGroup()
108 data.writeInt(getResources().getInteger(R.integer.setFlag)); in createNotificationGroup()
109 data.writeByte((byte) getResources().getInteger(R.integer.setFlag)); in createNotificationGroup()
112 getResources().getInteger(R.integer.setFlag)); in createNotificationGroup()
115 data.writeInt(getResources().getInteger(R.integer.setFlag)); in createNotificationGroup()
/cts/tests/backup/src/android/backup/cts/
DPermissionTest.java144 setFlag(APP, ACCESS_FINE_LOCATION, FLAG_PERMISSION_USER_SET); in testNoTriStateRuntimePermission()
145 setFlag(APP, ACCESS_BACKGROUND_LOCATION, FLAG_PERMISSION_USER_SET); in testNoTriStateRuntimePermission()
188 setFlag(APP, ACCESS_BACKGROUND_LOCATION, FLAG_PERMISSION_USER_SET); in testGrantForegroundRuntimePermission()
287 setFlag(APP, WRITE_CONTACTS, FLAG_PERMISSION_USER_SET); in testRestoreUserSet()
303 setFlag(APP, WRITE_CONTACTS, FLAG_PERMISSION_USER_FIXED); in testRestoreUserFixed()
319 setFlag(APP, WRITE_CONTACTS, FLAG_PERMISSION_USER_FIXED); in testRestoreOfFlagDoesNotGrantPermission()
403 private void setFlag(String app, String permission, int flag) { in setFlag() method in PermissionTest
/cts/tests/tests/security/src/android/security/cts/
DPermissionBackupCertificateCheckTest.kt468 setFlag(APP, ACCESS_FINE_LOCATION, FLAG_PERMISSION_USER_SET) in testRestore_fgBgDenied_matchingCerts_restoresFgBgPermissions()
469 setFlag(APP, ACCESS_BACKGROUND_LOCATION, FLAG_PERMISSION_USER_SET) in testRestore_fgBgDenied_matchingCerts_restoresFgBgPermissions()
503 setFlag(APP, ACCESS_FINE_LOCATION, FLAG_PERMISSION_USER_SET) in testRestore_fgBgDenied_notMatchingCerts_doesNotRestorePerms()
504 setFlag(APP, ACCESS_BACKGROUND_LOCATION, FLAG_PERMISSION_USER_SET) in testRestore_fgBgDenied_notMatchingCerts_doesNotRestorePerms()
535 setFlag(APP, ACCESS_BACKGROUND_LOCATION, FLAG_PERMISSION_USER_SET) in testRestore_fgGranted_matchingCerts_restoresFgBgPermissions()
563 setFlag(APP, ACCESS_BACKGROUND_LOCATION, FLAG_PERMISSION_USER_SET) in testRestore_fgGranted_notMatchingCerts_doesNotRestoreFgBgPerms()
641 setFlag(APP, WRITE_CONTACTS, FLAG_PERMISSION_USER_SET) in testRestore_matchingCerts_restoresFlags()
662 setFlag(APP, WRITE_CONTACTS, FLAG_PERMISSION_USER_SET) in testRestore_notMatchingCerts_doesNotRestoreFlag()
724 private fun setFlag(app: String, permission: String, flag: Int) { in setFlag() method in android.security.cts.PermissionBackupCertificateCheckTest
/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/
DStableUrisTest.java128 setFlag("persist.sys.fuse.backup.internal_db_backup", true); in testAttributesRestoration()
129 setFlag("persist.sys.fuse.backup.external_volume_backup", true); in testAttributesRestoration()
329 private static void setFlag(String flagName, boolean value) throws Exception { in setFlag() method in StableUrisTest
/cts/tests/tests/notification/src/android/app/notification/current/cts/
DNotificationManagerTest.java3233 .setFlag(FLAG_FOREGROUND_SERVICE, true) in testFlagForegroundServiceNeedsRealFgs()
3252 .setFlag(FLAG_USER_INITIATED_JOB, true) in testFlagUserInitiatedJobNeedsRealUij()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt6701 method @NonNull public android.app.Notification.Builder setFlag(int, boolean);