Home
last modified time | relevance | path

Searched refs:setSwitchCode (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/app/
DAppOpInfo.java156 public Builder setSwitchCode(int value) { in setSwitchCode() method in AppOpInfo.Builder
DAppOpsManager.java2628 .setSwitchCode(OP_COARSE_LOCATION)
2632 .setSwitchCode(OP_VIBRATE).setPermission(android.Manifest.permission.VIBRATE)
2655 .setSwitchCode(OP_COARSE_LOCATION)
2664 .setSwitchCode(OP_COARSE_LOCATION).setDefaultMode(AppOpsManager.MODE_ALLOWED).build(),
2666 .setSwitchCode(OP_CALL_PHONE).setPermission(android.Manifest.permission.CALL_PHONE)
2680 "RECEIVE_EMERGENCY_BROADCAST").setSwitchCode(OP_RECEIVE_SMS)
2695 .setSwitchCode(OP_READ_SMS).setPermission(android.Manifest.permission.READ_SMS)
2699 .setSwitchCode(OP_WRITE_SMS).setRestriction(UserManager.DISALLOW_SMS)
2733 "AUDIO_MASTER_VOLUME").setSwitchCode(OP_AUDIO_MASTER_VOLUME)
2749 "AUDIO_NOTIFICATION_VOLUME").setSwitchCode(OP_AUDIO_NOTIFICATION_VOLUME)
[all …]