Lines Matching defs:permission
89 public static final String RECEIVE_SMS_PERMISSION = "android.permission.RECEIVE_SMS";
93 "android.permission.RECEIVE_EMERGENCY_BROADCAST";
97 "android.permission.SEND_SMS_NO_CONFIRMATION";
388 * @param permission Receivers are required to have this permission
390 public void dispatch(Intent intent, String permission) {
394 mContext.sendOrderedBroadcast(intent, permission, mResultReceiver,
403 * @param permission Receivers are required to have this permission
406 public void dispatch(Intent intent, String permission, BroadcastReceiver resultReceiver) {
410 mContext.sendOrderedBroadcast(intent, permission, resultReceiver,
1057 // Wait for user confirmation unless the user has set permission to always allow/deny
1211 * Returns the premium SMS permission for the specified package. If the package has never
1214 * @param packageName the name of the package to query permission
1225 * Sets the premium SMS permission for the specified package and save the value asynchronously
1227 * @param packageName the name of the package to set permission
1228 * @param permission one of {@link SmsUsageMonitor#PREMIUM_SMS_PERMISSION_ASK_USER},
1232 public void setPremiumSmsPermission(String packageName, int permission) {
1233 mUsageMonitor.setPremiumSmsPermission(packageName, permission);
1301 mContext.sendBroadcast(intent, "android.permission.RECEIVE_SMS");
1371 // Always set the SMS permission so that Settings will show a permission setting