Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/
DContentProvider.java259 if (enforceWritePermission(callingPkg, uri, null) != AppOpsManager.MODE_ALLOWED) { in insert()
274 if (enforceWritePermission(callingPkg, uri, null) != AppOpsManager.MODE_ALLOWED) { in bulkInsert()
308 if (enforceWritePermission(callingPkg, uri, null) in applyBatch()
335 if (enforceWritePermission(callingPkg, uri, null) != AppOpsManager.MODE_ALLOWED) { in delete()
351 if (enforceWritePermission(callingPkg, uri, null) != AppOpsManager.MODE_ALLOWED) { in update()
469 if (enforceWritePermission(callingPkg, uri, callerToken) in enforceFilePermission()
495 private int enforceWritePermission(String callingPkg, Uri uri, IBinder callerToken) in enforceWritePermission() method in ContentProvider.Transport
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java795 enforceWritePermission(Manifest.permission.WRITE_SECURE_SETTINGS); in mutateGlobalSetting()
926 enforceWritePermission(Manifest.permission.WRITE_SECURE_SETTINGS); in mutateSecureSetting()
1305 private void enforceWritePermission(String permission) { in enforceWritePermission() method in SettingsProvider