Lines Matching refs:OP_WRITE_SMS
486 int mode = appOps.checkOp(AppOpsManager.OP_WRITE_SMS, applicationData.mUid,
489 Rlog.e(LOG_TAG, applicationData.mPackageName + " lost OP_WRITE_SMS: " +
492 appOps.setMode(AppOpsManager.OP_WRITE_SMS, applicationData.mUid,
576 // Ignore OP_WRITE_SMS for the previously configured default SMS app.
582 appOps.setMode(AppOpsManager.OP_WRITE_SMS, info.applicationInfo.uid,
598 // Allow OP_WRITE_SMS for the newly configured default SMS app.
599 appOps.setMode(AppOpsManager.OP_WRITE_SMS, applicationData.mUid,
676 int mode = appOps.checkOp(AppOpsManager.OP_WRITE_SMS, info.applicationInfo.uid,
679 Rlog.w(LOG_TAG, packageName + " does not have OP_WRITE_SMS: (fixing)");
680 appOps.setMode(AppOpsManager.OP_WRITE_SMS, info.applicationInfo.uid,
691 appOps.setUidMode(AppOpsManager.OP_WRITE_SMS, uid, AppOpsManager.MODE_ALLOWED);