Searched refs:permissionString (Results 1 – 4 of 4) sorted by relevance
49 static bool checkPermission(const char* permissionString) { in checkPermission() argument51 bool ok = checkCallingPermission(String16(permissionString)); in checkPermission()52 if (!ok) ALOGE("Request requires %s", permissionString); in checkPermission()
260 static bool checkPermission(const char* permissionString) { in checkPermission() argument262 bool ok = checkCallingPermission(String16(permissionString)); in checkPermission()263 if (!ok) ALOGE("Request requires %s", permissionString); in checkPermission()
104 static bool checkPermission(const char* permissionString) { in checkPermission() argument106 bool ok = checkCallingPermission(String16(permissionString)); in checkPermission()107 if (!ok) ALOGE("Request requires %s", permissionString); in checkPermission()
2077 String16 permissionString = in enforceRequestPermissions() local2079 if (!checkCallingPermission(permissionString)) { in enforceRequestPermissions()