Home
last modified time | relevance | path

Searched refs:checkPermission (Results 1 – 14 of 14) sorted by relevance

/packages/apps/TV/src/com/android/tv/util/
DPermissionUtils.java22 sHasAccessAllEpgPermission = context.getPackageManager().checkPermission( in hasAccessAllEpg()
37 sHasAccessWatchedHistoryPermission = context.getPackageManager().checkPermission( in hasAccessWatchedHistory()
52 sHasModifyParentalControlsPermission = context.getPackageManager().checkPermission( in hasModifyParentalControls()
65 return context.getPackageManager().checkPermission( in hasReadTvListings()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
DContactsPermissions.java70 ok = context.getPackageManager().checkPermission(permission, pkg) in hasPackagePermission()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DRequestIgnoreBatteryOptimizations.java82 if (getPackageManager().checkPermission( in onCreate()
/packages/apps/Settings/src/com/android/settings/
DTrustAgentUtils.java49 if (pm.checkPermission(PERMISSION_PROVIDE_AGENT, packageName) in checkProvidePermission()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DTelephonyProvider.java1726 checkPermission(); in query()
1732 checkPermission(); in query()
1789 checkPermission(); in insert()
1939 checkPermission(); in delete()
2074 checkPermission(); in update()
2207 private void checkPermission() { in checkPermission() method in TelephonyProvider
/packages/apps/PackageInstaller/src/com/android/packageinstaller/wear/
DWearPackageIconProvider.java156 if (context.checkPermission(REQUIRED_PERMISSION, pid, uid) == PERMISSION_GRANTED) { in enforcePermissions()
/packages/services/Car/service/src/com/android/car/pm/
DCarPackageManagerService.java417 if (mPackageManager.checkPermission(Car.PERMISSION_CONTROL_APP_BLOCKING, in startAppBlockingPolicies()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DRegisteredServicesCache.java243 if (pm.checkPermission(android.Manifest.permission.NFC, si.packageName) != in getInstalledServices()
DRegisteredNfcFServicesCache.java236 if (pm.checkPermission(android.Manifest.permission.NFC, si.packageName) != in getInstalledServices()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsActor.java489 public int checkPermission(String permission, int pid, int uid) { in checkPermission() method in ContactsActor.RestrictionMockContext
/packages/services/Telecomm/src/com/android/server/telecom/
DInCallController.java853 boolean hasControlInCallPermission = packageManager.checkPermission( in getInCallServiceType()
/packages/apps/TV/src/com/android/tv/ui/
DTunableTvView.java588 mCanReceiveInputEvent = getContext().getPackageManager().checkPermission( in tuneTo()
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
DWallpaperPickerActivity.java803 boolean canReadExternalStorage = getActivity().checkPermission(
/packages/services/Car/bluetooth/bt-map-service/
Dbt_hci_startup_issues.txt46797 at com.android.server.am.ActivityManagerService.checkPermission(ActivityManagerService.java:7460)
46798 at android.app.ContextImpl.checkPermission(ContextImpl.java:1406)