Searched refs:renouncedPermissions (Results 1 – 3 of 3) sorted by relevance
70 val renouncedPermissions = ArraySet<String>() in testCannotRenouncePermissionsWithoutPermission() constant71 renouncedPermissions.add(Manifest.permission.READ_CONTACTS); in testCannotRenouncePermissionsWithoutPermission()75 renouncedPermissions) in testCannotRenouncePermissionsWithoutPermission()80 val renouncedPermissions = ArraySet<String>() in testCannotRequestRenouncePermissions() constant81 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()
236 @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()
238 Set<String> renouncedPermissions = new ArraySet<>(); in createContext() local239 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()