/packages/services/Car/service/src/com/android/car/ |
D | ICarImpl.java | 235 if (context.checkCallingOrSelfPermission(Car.PERMISSION_MOCK_VEHICLE_HAL) in assertVehicleHalMockPermission() 242 if (context.checkCallingOrSelfPermission(Car.PERMISSION_CAR_CAMERA) in assertCameraPermission() 250 if (context.checkCallingOrSelfPermission(Car.PERMISSION_CAR_NAVIGATION_MANAGER) in assertNavigationManagerPermission() 258 if (context.checkCallingOrSelfPermission(Car.PERMISSION_CAR_HVAC) in assertHvacPermission() 266 if (context.checkCallingOrSelfPermission(Car.PERMISSION_CAR_RADIO) in assertRadioPermission() 274 if (context.checkCallingOrSelfPermission(Car.PERMISSION_CAR_PROJECTION) in assertProjectionPermission()
|
D | CarRadioService.java | 205 mContext.checkCallingOrSelfPermission(Car.PERMISSION_CAR_RADIO) != in checkRadioPremissions()
|
D | CarSensorService.java | 399 return mContext.checkCallingOrSelfPermission(permission); in getSensorPermission()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/ |
D | Utils.java | 281 if (context.checkCallingOrSelfPermission(android.Manifest.permission. in checkCallerHasLocationPermission() 287 if (context.checkCallingOrSelfPermission(android.Manifest.permission. in checkCallerHasLocationPermission() 316 return context.checkCallingOrSelfPermission( in checkCallerHasPeersMacAddressPermission()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | TelecomServiceImplTest.java | 396 .when(mContext).checkCallingOrSelfPermission(MODIFY_PHONE_STATE); in testRegisterPhoneAccount() 411 .when(mContext).checkCallingOrSelfPermission(MODIFY_PHONE_STATE); in testRegisterPhoneAccountWithoutModifyPermission() 428 .when(mContext).checkCallingOrSelfPermission(MODIFY_PHONE_STATE); in testRegisterPhoneAccountWithoutModifyPermissionFailure() 445 .when(mContext).checkCallingOrSelfPermission(MODIFY_PHONE_STATE); in testRegisterPhoneAccountWithoutSimSubscriptionPermissionFailure() 462 .when(mContext).checkCallingOrSelfPermission(MODIFY_PHONE_STATE); in testRegisterPhoneAccountWithoutMultiUserPermissionFailure() 511 .when(mContext).checkCallingOrSelfPermission(MODIFY_PHONE_STATE); in testUnregisterPhoneAccount() 532 .when(mContext).checkCallingOrSelfPermission(MODIFY_PHONE_STATE); in testUnregisterPhoneAccountFailure()
|
D | ComponentContextFixture.java | 296 public int checkCallingOrSelfPermission(String permission) { in checkCallingOrSelfPermission() method
|
/packages/providers/TvProvider/tests/src/com/android/providers/tv/ |
D | MockTvProviderContext.java | 66 public int checkCallingOrSelfPermission(String permission) { in checkCallingOrSelfPermission() method in MockTvProviderContext
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/ |
D | ContactsPermissions.java | 44 ok = context.checkCallingOrSelfPermission(permission) in hasCallerOrSelfPermission()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadProvider.java | 541 if (getContext().checkCallingOrSelfPermission(Downloads.Impl.PERMISSION_ACCESS_ADVANCED) in insert() 552 getContext().checkCallingOrSelfPermission( in insert() 647 if (getContext().checkCallingOrSelfPermission(Downloads.Impl.PERMISSION_ACCESS_ADVANCED) in insert() 766 if (getContext().checkCallingOrSelfPermission(Downloads.Impl.PERMISSION_ACCESS) in checkInsertPermissions() 797 if (getContext().checkCallingOrSelfPermission(Downloads.Impl.PERMISSION_NO_NOTIFICATION) in checkInsertPermissions() 1178 && getContext().checkCallingOrSelfPermission(Downloads.Impl.PERMISSION_ACCESS_ALL) in getWhereClause()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | ProfileService.java | 127 if (checkCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM)!=PackageManager.PERMISSION_GRANTED) { in onStartCommand()
|
/packages/providers/TvProvider/src/com/android/providers/tv/ |
D | TvProvider.java | 1138 return getContext().checkCallingOrSelfPermission(PERMISSION_READ_TV_LISTINGS) in callerHasReadTvListingsPermission() 1143 return getContext().checkCallingOrSelfPermission(PERMISSION_ACCESS_ALL_EPG_DATA) in callerHasAccessAllEpgDataPermission() 1148 return getContext().checkCallingOrSelfPermission(PERMISSION_ACCESS_WATCHED_PROGRAMS) in callerHasAccessWatchedProgramsPermission() 1153 return getContext().checkCallingOrSelfPermission( in callerHasModifyParentalControlsPermission()
|
/packages/apps/Email/provider_src/com/android/email/provider/ |
D | AttachmentProvider.java | 149 if (context.checkCallingOrSelfPermission(EmailContent.PROVIDER_PERMISSION) in openFile()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | TelecomServiceImpl.java | 1167 if (mContext.checkCallingOrSelfPermission( 1331 int result = mContext.checkCallingOrSelfPermission(MODIFY_PHONE_STATE); in enforcePhoneAccountModificationForPackage()
|
/packages/services/Car/service/src/com/android/car/pm/ |
D | CarPackageManagerService.java | 100 if (mContext.checkCallingOrSelfPermission(Car.PERMISSION_CONTROL_APP_BLOCKING) in doSetAppBlockingPolicy()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
D | GattService.java | 231 (0 != checkCallingOrSelfPermission(BLUETOOTH_PRIVILEGED))) in permissionCheck() 241 (0 != checkCallingOrSelfPermission(BLUETOOTH_PRIVILEGED))) in permissionCheck() 1316 checkCallingOrSelfPermission(BLUETOOTH_PRIVILEGED) != PERMISSION_GRANTED) { in startScan()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactsActor.java | 517 public int checkCallingOrSelfPermission(String permission) { in checkCallingOrSelfPermission() method in ContactsActor.RestrictionMockContext
|
/packages/services/Telephony/src/com/android/phone/ |
D | CarrierConfigLoader.java | 704 if (mContext.checkCallingOrSelfPermission(android.Manifest.permission.DUMP) in dump()
|
D | PhoneInterfaceManager.java | 1594 return mPhone.getContext().checkCallingOrSelfPermission( in checkCallerInteractAcrossUsersFull() 1646 int permission = mApp.checkCallingOrSelfPermission( in enforceModifyPermissionOrCarrierPrivilege()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | NfcService.java | 2175 if (mContext.checkCallingOrSelfPermission(android.Manifest.permission.DUMP) in dump()
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | TelephonyProvider.java | 2208 int status = getContext().checkCallingOrSelfPermission( in checkPermission()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapContentObserver.java | 3269 (context.checkCallingOrSelfPermission("android.Manifest.permission.WRITE_SMS") in actionSmsSentDisconnected()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaProvider.java | 4745 if (c.checkCallingOrSelfPermission(WRITE_MEDIA_STORAGE) in checkAccess()
|
/packages/services/Car/bluetooth/bt-map-service/ |
D | bt_hci_startup_issues.txt | 46799 at android.app.ContextImpl.checkCallingOrSelfPermission(ContextImpl.java:1447)
|