/packages/apps/Bluetooth/src/com/android/bluetooth/ |
D | Utils.java | 320 if (context.checkCallingOrSelfPermission( in checkCallerHasCoarseLocation() 344 if (context.checkCallingOrSelfPermission( in checkCallerHasCoarseOrFineLocation() 352 if (context.checkCallingOrSelfPermission( in checkCallerHasCoarseOrFineLocation() 375 if (context.checkCallingOrSelfPermission( in checkCallerHasFineLocation() 391 return context.checkCallingOrSelfPermission(android.Manifest.permission.NETWORK_SETTINGS) in checkCallerHasNetworkSettingsPermission() 399 return context.checkCallingOrSelfPermission( in checkCallerHasNetworkSetupWizardPermission()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | TelecomServiceImplTest.java | 429 .when(mContext).checkCallingOrSelfPermission(MODIFY_PHONE_STATE); in testRegisterPhoneAccount() 445 .when(mContext).checkCallingOrSelfPermission(MODIFY_PHONE_STATE); in testRegisterPhoneAccountWithoutModifyPermission() 463 .when(mContext).checkCallingOrSelfPermission(MODIFY_PHONE_STATE); in testRegisterPhoneAccountWithoutModifyPermissionFailure() 481 .when(mContext).checkCallingOrSelfPermission(MODIFY_PHONE_STATE); in testRegisterPhoneAccountWithoutSimSubscriptionPermissionFailure() 500 .when(mContext).checkCallingOrSelfPermission(MODIFY_PHONE_STATE); in testRegisterPhoneAccountWithoutMultiUserPermissionFailure() 538 .when(mContext).checkCallingOrSelfPermission(MODIFY_PHONE_STATE); in testUnregisterPhoneAccount() 552 .when(mContext).checkCallingOrSelfPermission(MODIFY_PHONE_STATE); in testUnregisterPhoneAccountFailure()
|
D | ComponentContextFixture.java | 334 public int checkCallingOrSelfPermission(String permission) { in checkCallingOrSelfPermission() method
|
/packages/apps/Dialer/java/com/android/dialer/preferredsim/impl/ |
D | PreferredSimFallbackProvider.java | 162 if (getContext().checkCallingOrSelfPermission(permission.READ_CONTACTS) in checkReadContactsPermission() 169 if (getContext().checkCallingOrSelfPermission(permission.WRITE_CONTACTS) in checkWriteContactsPermission()
|
/packages/services/Car/service/src/com/android/car/ |
D | ICarImpl.java | 420 if (context.checkCallingOrSelfPermission(permission) != PackageManager.PERMISSION_GRANTED) { in assertPermission() 431 return context.checkCallingOrSelfPermission(permission) in hasPermission() 437 if (context.checkCallingOrSelfPermission(permission) == in assertAnyPermission() 447 if (mContext.checkCallingOrSelfPermission(android.Manifest.permission.DUMP) in dump()
|
D | CarBluetoothService.java | 440 && PackageManager.PERMISSION_GRANTED == mContext.checkCallingOrSelfPermission( in enforceBluetoothAdminPermission()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | VmsPublisherServiceTest.java | 179 when(mContext.checkCallingOrSelfPermission(Car.PERMISSION_VMS_PUBLISHER)).thenReturn( in testSetLayersOffering_PermissionDenied() 234 when(mContext.checkCallingOrSelfPermission(Car.PERMISSION_VMS_PUBLISHER)).thenReturn( in testPublish_PermissionDenied() 260 when(mContext.checkCallingOrSelfPermission(Car.PERMISSION_VMS_PUBLISHER)).thenReturn( in testGetSubscriptions_PermissionDenied() 285 when(mContext.checkCallingOrSelfPermission(Car.PERMISSION_VMS_PUBLISHER)).thenReturn( in testGetPublisherId_PermissionDenied()
|
/packages/services/Car/car-lib/src/com/android/car/internal/ |
D | CarPermission.java | 44 mContext.checkCallingOrSelfPermission(mName); in checkGranted()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadProvider.java | 757 if (getContext().checkCallingOrSelfPermission(Downloads.Impl.PERMISSION_ACCESS_ADVANCED) in insert() 767 getContext().checkCallingOrSelfPermission( in insert() 867 if (getContext().checkCallingOrSelfPermission(Downloads.Impl.PERMISSION_ACCESS_ADVANCED) in insert() 1219 if (getContext().checkCallingOrSelfPermission(Downloads.Impl.PERMISSION_ACCESS) in checkInsertPermissions() 1250 if (getContext().checkCallingOrSelfPermission(Downloads.Impl.PERMISSION_NO_NOTIFICATION) in checkInsertPermissions() 1639 if (getContext().checkCallingOrSelfPermission( in getQueryBuilder()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/ |
D | ContactsPermissions.java | 44 ok = context.checkCallingOrSelfPermission(permission) in hasCallerOrSelfPermission()
|
/packages/providers/TvProvider/tests/src/com/android/providers/tv/ |
D | MockTvProviderContext.java | 69 public int checkCallingOrSelfPermission(String permission) { in checkCallingOrSelfPermission() method in MockTvProviderContext
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | CarrierIdProvider.java | 671 int status = getContext().checkCallingOrSelfPermission( in checkReadPermission() 680 int status = getContext().checkCallingOrSelfPermission( in checkWritePermission()
|
/packages/apps/Car/Settings/src/com/android/car/settings/setupservice/ |
D | InitialLockSetupService.java | 67 if (checkCallingOrSelfPermission(SET_LOCK_PERMISSION) in onBind()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | ProfileService.java | 134 if (checkCallingOrSelfPermission(BLUETOOTH_ADMIN_PERM) in onStartCommand()
|
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/ |
D | SmsProviderTest.java | 140 public int checkCallingOrSelfPermission(String permission) { in checkCallingOrSelfPermission() method in SmsProviderTest.MockContextWithProvider
|
D | CarrierProviderTest.java | 112 public int checkCallingOrSelfPermission(String permission) { in checkCallingOrSelfPermission() method in CarrierProviderTest.MockContextWithProvider
|
D | CarrierIdProviderTest.java | 134 public int checkCallingOrSelfPermission(String permission) { in checkCallingOrSelfPermission() method in CarrierIdProviderTest.MockContextWithProvider
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/ |
D | FakeTvProvider.java | 2210 return getContext().checkCallingOrSelfPermission(PERMISSION_READ_TV_LISTINGS) in callerHasReadTvListingsPermission() 2215 return getContext().checkCallingOrSelfPermission(PERMISSION_ACCESS_ALL_EPG_DATA) in callerHasAccessAllEpgDataPermission() 2220 return getContext().checkCallingOrSelfPermission(PERMISSION_ACCESS_WATCHED_PROGRAMS) in callerHasAccessWatchedProgramsPermission() 2226 .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/AlternativeNetworkAccess/src/com/android/ons/ |
D | OpportunisticNetworkService.java | 113 if (context.checkCallingOrSelfPermission(android.Manifest.permission.MODIFY_PHONE_STATE) in enforceModifyPhoneStatePermission()
|
/packages/providers/TvProvider/src/com/android/providers/tv/ |
D | TvProvider.java | 1998 return getContext().checkCallingOrSelfPermission(PERMISSION_READ_TV_LISTINGS) in callerHasReadTvListingsPermission() 2003 return getContext().checkCallingOrSelfPermission(PERMISSION_ACCESS_ALL_EPG_DATA) in callerHasAccessAllEpgDataPermission() 2008 return getContext().checkCallingOrSelfPermission(PERMISSION_ACCESS_WATCHED_PROGRAMS) in callerHasAccessWatchedProgramsPermission() 2013 return getContext().checkCallingOrSelfPermission( in callerHasModifyParentalControlsPermission()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
D | GattService.java | 289 || (checkCallingOrSelfPermission(BLUETOOTH_PRIVILEGED) in permissionCheck() 299 return (checkCallingOrSelfPermission(BLUETOOTH_PRIVILEGED) in permissionCheck() 310 && checkCallingOrSelfPermission(BLUETOOTH_PRIVILEGED)== PERMISSION_GRANTED) { in permissionCheck() 1915 && checkCallingOrSelfPermission(BLUETOOTH_PRIVILEGED) != PERMISSION_GRANTED) { in registerScanner()
|
/packages/services/Car/car-lib/src/android/car/cluster/renderer/ |
D | InstrumentClusterRenderingService.java | 464 if (checkCallingOrSelfPermission(Car.PERMISSION_CAR_NAVIGATION_MANAGER) in assertClusterManagerPermission()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | TelecomServiceImpl.java | 1370 if (mContext.checkCallingOrSelfPermission( 1845 int result = mContext.checkCallingOrSelfPermission(MODIFY_PHONE_STATE); in enforcePhoneAccountModificationForPackage()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactsActor.java | 576 public int checkCallingOrSelfPermission(String permission) { in checkCallingOrSelfPermission() method in ContactsActor.RestrictionMockContext
|