Home
last modified time | relevance | path

Searched refs:renouncedPermissions (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/permission5/src/android/permission5/cts/
DRenouncedPermissionsTest.kt70 val renouncedPermissions = ArraySet<String>() in testCannotRenouncePermissionsWithoutPermission() constant
71 renouncedPermissions.add(Manifest.permission.READ_CONTACTS); in testCannotRenouncePermissionsWithoutPermission()
75 renouncedPermissions) in testCannotRenouncePermissionsWithoutPermission()
80 val renouncedPermissions = ArraySet<String>() in testCannotRequestRenouncePermissions() constant
81 renouncedPermissions.add(Manifest.permission.READ_CONTACTS); in testCannotRequestRenouncePermissions()
83 context.packageName, null, renouncedPermissions, null)) in testCannotRequestRenouncePermissions()
90 renouncedPermissions: Set<String>? = null) : Activity { in createActivityWithAttributionContext()
92 .setRenouncedPermissions(renouncedPermissions) in createActivityWithAttributionContext()
/cts/tests/uwb/src/android/uwb/cts/
DUwbManagerTest.java236 @Nullable Set<String> renouncedPermissions) { in getShellAttributionSourceWithRenouncedPermissions()
241 .setRenouncedPermissions(renouncedPermissions) in getShellAttributionSourceWithRenouncedPermissions()
254 @Nullable Set<String> renouncedPermissions) { in createShellContextWithRenouncedPermissionsAndAttributionSource()
256 .setRenouncedPermissions(renouncedPermissions) in createShellContextWithRenouncedPermissionsAndAttributionSource()
258 getShellAttributionSourceWithRenouncedPermissions(renouncedPermissions)) in createShellContextWithRenouncedPermissionsAndAttributionSource()
/cts/tests/tests/permission/src/android/permission/cts/
DNearbyDevicesRenouncePermissionTest.java238 Set<String> renouncedPermissions = new ArraySet<>(); in createContext() local
239 renouncedPermissions.add(ACCESS_FINE_LOCATION); in createContext()
246 .setRenouncedPermissions(renouncedPermissions) in createContext()
256 .setRenouncedPermissions(renouncedPermissions) in createContext()
263 Process.SHELL_UID, "com.android.shell", null, renouncedPermissions, null); in createContext()