Home
last modified time | relevance | path

Searched refs:PermissionChecker (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/speech/
DRecognitionService.java23 import android.content.PermissionChecker;
179 if (PermissionChecker.checkCallingOrSelfPermissionForDataDelivery(this, in checkPermissions()
181 == PermissionChecker.PERMISSION_GRANTED) { in checkPermissions()
185 if (PermissionChecker.checkCallingOrSelfPermissionForPreflight(this, in checkPermissions()
187 == PermissionChecker.PERMISSION_GRANTED) { in checkPermissions()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
DRecentLocationAccesses.java21 import android.content.PermissionChecker;
114 if (PermissionChecker.checkPermissionForPreflight(mContext, permission, in getAppList()
115 PermissionChecker.PID_UNKNOWN, uid, packageName) in getAppList()
116 == PermissionChecker.PERMISSION_GRANTED) { in getAppList()
DRecentLocationApps.java21 import android.content.PermissionChecker;
113 if (PermissionChecker.checkPermissionForPreflight(mContext, permission, in getAppList()
114 PermissionChecker.PID_UNKNOWN, uid, packageName) in getAppList()
115 == PermissionChecker.PERMISSION_GRANTED) { in getAppList()
/frameworks/base/core/java/android/content/
DPermissionChecker.java69 public final class PermissionChecker { class
89 private PermissionChecker() { in PermissionChecker() method in PermissionChecker
/frameworks/base/tests/net/integration/src/com/android/server/net/integrationtests/
DTestNetworkStackService.kt57 private class TestPermissionChecker : NetworkStackService.PermissionChecker() {
/frameworks/base/services/core/java/com/android/server/role/
DRoleManagerService.java36 import android.content.PermissionChecker;
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java146 import android.content.PermissionChecker;
11842 if (PermissionChecker.checkPermissionForPreflight(mContext, permission, in getPermissionGrantState()
11843 PermissionChecker.PID_UNKNOWN, uid, packageName) in getPermissionGrantState()
11844 != PermissionChecker.PERMISSION_GRANTED) { in getPermissionGrantState()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt13791 Landroid/content/PermissionChecker;-><init>()V
13792 Landroid/content/PermissionChecker;->checkCallingOrSelfPermission(Landroid/content/Context;Ljava/la…
13793 Landroid/content/PermissionChecker;->checkCallingPermission(Landroid/content/Context;Ljava/lang/Str…
13794 Landroid/content/PermissionChecker;->checkPermission(Landroid/content/Context;Ljava/lang/String;IIL…
13795 Landroid/content/PermissionChecker;->checkSelfPermission(Landroid/content/Context;Ljava/lang/String…
13796 Landroid/content/PermissionChecker;->PERMISSION_DENIED:I
13797 Landroid/content/PermissionChecker;->PERMISSION_DENIED_APP_OP:I
13798 Landroid/content/PermissionChecker;->PERMISSION_GRANTED:I