Home
last modified time | relevance | path

Searched defs:permission (Results 1 – 25 of 113) sorted by relevance

12345

/frameworks/native/libs/binder/
DPermissionCache.cpp38 const String16& permission, uid_t uid) const { in check() argument
51 void PermissionCache::cache(const String16& permission, in cache()
77 bool PermissionCache::checkCallingPermission(const String16& permission) { in checkCallingPermission()
82 const String16& permission, int32_t* outPid, int32_t* outUid) { in checkCallingPermission()
92 const String16& permission, pid_t pid, uid_t uid) { in checkPermission()
DIPermissionController.cpp39 virtual bool checkPermission(const String16& permission, int32_t pid, int32_t uid) in checkPermission()
71 virtual bool isRuntimePermission(const String16& permission) in isRuntimePermission()
93 String16 permission = data.readString16(); in onTransact() local
118 String16 permission = data.readString16(); in onTransact() local
DIServiceManager.cpp51 bool checkCallingPermission(const String16& permission) in checkCallingPermission()
59 bool checkCallingPermission(const String16& permission, int32_t* outPid, int32_t* outUid) in checkCallingPermission()
69 bool checkPermission(const String16& permission, pid_t pid, uid_t uid) in checkPermission()
DIAppOpsService.cpp116 virtual int32_t permissionToOpCode(const String16& permission) { in permissionToOpCode()
203 String16 permission = data.readString16(); in onTransact() local
/frameworks/support/core-utils/java/android/support/v4/content/
DPermissionChecker.java93 public static int checkPermission(@NonNull Context context, @NonNull String permission, in checkPermission()
131 @NonNull String permission) { in checkSelfPermission()
149 @NonNull String permission, String packageName) { in checkCallingPermission()
168 @NonNull String permission) { in checkCallingOrSelfPermission()
/frameworks/base/core/java/android/content/
DPermissionChecker.java91 public static int checkPermission(@NonNull Context context, @NonNull String permission, in checkPermission()
130 @NonNull String permission) { in checkSelfPermission()
148 @NonNull String permission, @Nullable String packageName) { in checkCallingPermission()
167 @NonNull String permission) { in checkCallingOrSelfPermission()
/frameworks/native/services/nativeperms/android/os/
DIPermissionController.aidl22 boolean checkPermission(String permission, int pid, int uid); in checkPermission()
24 boolean isRuntimePermission(String permission); in isRuntimePermission()
/frameworks/base/core/java/android/os/
DIPermissionController.aidl22 boolean checkPermission(String permission, int pid, int uid); in checkPermission()
24 boolean isRuntimePermission(String permission); in isRuntimePermission()
/frameworks/base/legacy-test/src/android/test/
DAndroidTestCase.java100 String packageName, String className, String permission) { in assertActivityRequiresPermission()
123 public void assertReadingContentUriRequiresPermission(Uri uri, String permission) { in assertReadingContentUriRequiresPermission()
142 public void assertWritingContentUriRequiresPermission(Uri uri, String permission) { in assertWritingContentUriRequiresPermission()
/frameworks/base/services/core/java/com/android/server/pm/
DPermissionsState.java185 public int grantInstallPermission(BasePermission permission) { in grantInstallPermission()
197 public int revokeInstallPermission(BasePermission permission) { in revokeInstallPermission()
210 public int grantRuntimePermission(BasePermission permission, int userId) { in grantRuntimePermission()
227 public int revokeRuntimePermission(BasePermission permission, int userId) { in revokeRuntimePermission()
311 String permission = mPermissions.keyAt(i); in getPermissions() local
396 public boolean updatePermissionFlags(BasePermission permission, int userId, in updatePermissionFlags()
444 final PermissionData permission = mPermissions.valueAt(i); in hasPermissionRequiringReview() local
485 String permission = mPermissions.keyAt(i); in computeGids() local
559 private int grantPermission(BasePermission permission, int userId) { in grantPermission()
583 private int revokePermission(BasePermission permission, int userId) { in revokePermission()
[all …]
/frameworks/opt/chips/src/com/android/ex/chips/
DChipsUtil.java32 void onPermissionCheck(String permission, boolean granted); in onPermissionCheck()
62 public static int checkPermission(Context context, String permission) { in checkPermission()
/frameworks/support/v13/java/android/support/v13/app/
DFragmentCompat.java37 boolean shouldShowRequestPermissionRationale(Fragment fragment, String permission); in shouldShowRequestPermissionRationale()
73 public boolean shouldShowRequestPermissionRationale(Fragment fragment, String permission) { in shouldShowRequestPermissionRationale()
94 public boolean shouldShowRequestPermissionRationale(Fragment fragment, String permission) { in shouldShowRequestPermissionRationale()
240 @NonNull String permission) { in shouldShowRequestPermissionRationale()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DMockLockSettingsContext.java65 public void enforceCallingOrSelfPermission(String permission, String message) { in enforceCallingOrSelfPermission()
70 public int checkCallingOrSelfPermission(String permission) { in checkCallingOrSelfPermission()
/frameworks/native/services/nativeperms/
Dnativeperms.cpp37 ::android::binder::Status checkPermission( in checkPermission()
57 ::android::binder::Status isRuntimePermission( in isRuntimePermission()
/frameworks/base/services/core/java/com/android/server/connectivity/
DPermissionMonitor.java136 Boolean permission = mApps.get(uid); in startMonitoring() local
156 private boolean hasPermission(final PackageInfo app, final String permission) { in hasPermission()
259 final Boolean permission = highestPermissionForUid(mApps.get(appUid), appName); in onAppAdded() local
276 Boolean permission = null; in onAppRemoved() local
/frameworks/base/core/java/android/app/
DActivityManagerNative.java58 static public void broadcastStickyIntent(Intent intent, String permission, int userId) { in broadcastStickyIntent()
68 static public void broadcastStickyIntent(Intent intent, String permission, int appOp, in broadcastStickyIntent()
DIUiAutomationConnection.aidl47 void grantRuntimePermission(String packageName, String permission, int userId); in grantRuntimePermission()
48 void revokeRuntimePermission(String packageName, String permission, int userId); in revokeRuntimePermission()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DCachedBluetoothDevice.java690 int permission = mDevice.getPhonebookAccessPermission(); in getPhonebookPermissionChoice() local
700 int permission = BluetoothDevice.ACCESS_UNKNOWN; in setPhonebookPermissionChoice() local
733 int permission = mDevice.getMessageAccessPermission(); in getMessagePermissionChoice() local
743 int permission = BluetoothDevice.ACCESS_UNKNOWN; in setMessagePermissionChoice() local
753 int permission = mDevice.getSimAccessPermission(); in getSimPermissionChoice() local
763 int permission = BluetoothDevice.ACCESS_UNKNOWN; in setSimPermissionChoice() local
/frameworks/base/services/core/java/com/android/server/firewall/
DSenderPermissionFilter.java31 private SenderPermissionFilter(String permission) { in SenderPermissionFilter()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowContainerController.java67 boolean checkCallingPermission(String permission, String func) { in checkCallingPermission()
/frameworks/support/compat/java/android/support/v4/content/pm/
DShortcutManagerCompat.java63 String permission = info.activityInfo.permission; in isRequestPinShortcutSupported() local
/frameworks/support/compat/java/android/support/v4/app/
DAppOpsManagerCompat.java59 public static String permissionToOp(@NonNull String permission) { in permissionToOp()
/frameworks/native/services/vr/hardware_composer/
Dvr_composer.cpp14 const bool permission = PermissionCache::checkPermission( in CheckPermission() local
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
DMainActivity.java84 String []permission = { in checkPermission() local
/frameworks/base/core/java/android/content/pm/
DServiceInfo.java34 public String permission; field in ServiceInfo

12345