Lines Matching defs:permission
78 import static android.Manifest.permission.SEND_SMS_NO_CONFIRMATION;
1053 // Wait for user confirmation unless the user has set permission to always allow/deny
1204 * Returns the premium SMS permission for the specified package. If the package has never
1207 * @param packageName the name of the package to query permission
1218 * Sets the premium SMS permission for the specified package and save the value asynchronously
1220 * @param packageName the name of the package to set permission
1221 * @param permission one of {@link SmsUsageMonitor#PREMIUM_SMS_PERMISSION_ASK_USER},
1225 public void setPremiumSmsPermission(String packageName, int permission) {
1226 mUsageMonitor.setPremiumSmsPermission(packageName, permission);
1644 // Always set the SMS permission so that Settings will show a permission setting