/packages/services/Car/evs/manager/1.0/ |
D | Enumerator.cpp | 41 bool Enumerator::checkPermission() { in checkPermission() function in android::automotive::evs::V1_0::implementation::Enumerator 55 if (!checkPermission()) { in getCameraList() 66 if (!checkPermission()) { in openCamera() 153 if (!checkPermission()) { in openDisplay() 203 if (!checkPermission()) { in getDisplayState()
|
D | Enumerator.h | 52 bool checkPermission();
|
/packages/services/Car/evs/sampleDriver/ |
D | EvsEnumerator.cpp | 57 bool EvsEnumerator::checkPermission() { in checkPermission() function in android::hardware::automotive::evs::V1_1::implementation::EvsEnumerator 239 if (!checkPermission()) { in getCameraList() 277 if (!checkPermission()) { in openCamera() 335 if (!checkPermission()) { in openDisplay() 378 if (!checkPermission()) { in getDisplayState() 395 if (!checkPermission()) { in getCameraList_1_1() 470 if (!checkPermission()) { in openCamera_1_1() 528 if (!checkPermission()) { in openDisplay_1_1()
|
D | EvsEnumerator.h | 87 bool checkPermission();
|
/packages/services/Car/evs/manager/1.1/ |
D | Enumerator.cpp | 104 bool Enumerator::checkPermission() { in checkPermission() function in android::automotive::evs::V1_1::implementation::Enumerator 220 if (!checkPermission()) { in checkPermission() 307 if (!checkPermission()) { in checkPermission() 402 if (!checkPermission()) { in checkPermission() 431 if (!checkPermission()) { in checkPermission() 481 if (!checkPermission()) { in checkPermission() 501 if (!checkPermission()) { in checkPermission()
|
/packages/providers/MediaProvider/src/com/android/providers/media/util/ |
D | PermissionUtils.java | 101 return (context.checkPermission(BACKUP, pid, uid) == PERMISSION_GRANTED) in checkPermissionDelegator() 102 || (context.checkPermission(UPDATE_DEVICE_STATS, pid, uid) == PERMISSION_GRANTED); in checkPermissionDelegator() 341 return context.checkPermission(permission, pid, uid) == PERMISSION_GRANTED; in checkPermissionCommon() 379 return context.checkPermission(permission, pid, uid) == PERMISSION_GRANTED; in checkAppOpPermission() 388 if (context.checkPermission(permission, pid, uid) == PackageManager.PERMISSION_DENIED) { in checkRuntimePermission()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
D | AdaptiveSleepPreferenceControllerTest.java | 76 when(mPackageManager.checkPermission(any(), any())).thenReturn( in setUp() 157 when(mPackageManager.checkPermission(any(), any())).thenReturn( in isChecked_returnsFalseWhenNotSufficientPermissions() 168 when(mPackageManager.checkPermission(any(), any())).thenReturn( in isEnabled_returnsFalseWhenNotSufficientPermissions()
|
D | AdaptiveSleepPermissionPreferenceControllerTest.java | 56 doReturn(PackageManager.PERMISSION_GRANTED).when(mPackageManager).checkPermission( in setUp() 76 doReturn(PackageManager.PERMISSION_DENIED).when(mPackageManager).checkPermission( in updateStates_permissionRevoked_preferenceVisible()
|
/packages/services/Telephony/tests/src/com/android/phone/ |
D | LocationAccessPolicyTest.java | 186 when(mContext.checkPermission(eq(Manifest.permission.ACCESS_FINE_LOCATION), in setupScenario() 190 when(mContext.checkPermission(eq(Manifest.permission.ACCESS_COARSE_LOCATION), in setupScenario() 203 when(mContext.checkPermission(eq(Manifest.permission.INTERACT_ACROSS_USERS_FULL), in setupScenario() 207 when(mContext.checkPermission(eq(Manifest.permission.INTERACT_ACROSS_USERS_FULL), in setupScenario()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/trustagent/ |
D | TrustAgentManagerTest.java | 52 when(mPackageManager.checkPermission(TrustAgentManager.PERMISSION_PROVIDE_AGENT, in shouldProvideTrust_doesProvideTrustWithPermission() 65 when(mPackageManager.checkPermission(TrustAgentManager.PERMISSION_PROVIDE_AGENT, in shouldProvideTrust_doesNotProvideTrustWithoutPermission()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | EmergencyCallHelper.java | 147 return mContext.getPackageManager().checkPermission( in hasBackgroundLocationPermission() 154 return mContext.getPackageManager().checkPermission( in hasFineLocationPermission()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | FocusEntryTest.java | 104 when(mMockPM.checkPermission(Car.PERMISSION_RECEIVE_CAR_AUDIO_DUCKING_EVENTS, PACKAGE_NAME)) in withPermission() 109 when(mMockPM.checkPermission(Car.PERMISSION_RECEIVE_CAR_AUDIO_DUCKING_EVENTS, PACKAGE_NAME)) in withoutPermission()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/ |
D | PasswordUtilsTest.java | 139 when(mContext.checkPermission(PERMISSION, -1, UID)).thenReturn(PERMISSION_GRANTED); in isCallingAppPermitted_permissionGranted_returnsTrue() 147 when(mContext.checkPermission(PERMISSION, -1, UID)).thenReturn(PERMISSION_DENIED); in isCallingAppPermitted_permissionDenied_returnsFalse()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | InCallControllerTests.java | 183 when(mMockPackageManager.checkPermission( in setUp() 186 when(mMockPackageManager.checkPermission( in setUp() 189 when(mMockPackageManager.checkPermission( in setUp() 753 when(mMockPackageManager.checkPermission( in testNoBindToInvalidService_CarModeUI() 780 when(mMockPackageManager.checkPermission( in testSanitizeContactName() 1157 when(mMockPackageManager.checkPermission(Manifest.permission.ACCESS_FINE_LOCATION, pkg))
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/ |
D | SettingsSliceProviderTest.java | 670 .when(mContext).checkPermission(anyString(), anyInt(), anyInt()); in isPrivateSlicesNeeded_correctUriWithPermissionAndIsSI_returnTrue() 682 .when(mContext).checkPermission(anyString(), anyInt(), anyInt()); in isPrivateSlicesNeeded_correctUriWithPermissionNotSI_returnFalse() 693 doReturn(PERMISSION_DENIED).when(mContext).checkPermission(anyString(), anyInt(), anyInt()); in isPrivateSlicesNeeded_correctUriNoPermission_returnFalse()
|
/packages/apps/Settings/src/com/android/settings/password/ |
D | PasswordUtils.java | 44 return context.checkPermission(permission, /* pid= */ -1, in isCallingAppPermitted()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/ |
D | ContactsPermissions.java | 70 ok = context.getPackageManager().checkPermission(permission, pkg) in hasPackagePermission()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/ |
D | PasswordUtils.java | 44 return context.checkPermission(permission, /* pid= */ -1, in isCallingAppPermitted()
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | FocusEntry.java | 101 return (mPackageManager.checkPermission( in receivesDuckEvents()
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | AdaptiveSleepPreferenceController.java | 89 return attentionPackage != null && packageManager.checkPermission( in hasSufficientPermission()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/ |
D | ImageCategory.java | 116 return context.getPackageManager().checkPermission(permission.READ_EXTERNAL_STORAGE, in isReadExternalStoragePermissionGranted()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | RequestIgnoreBatteryOptimizations.java | 82 if (getPackageManager().checkPermission( in onCreate()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/ |
D | RequestIgnoreBatteryOptimizations.java | 82 if (getPackageManager().checkPermission( in onCreate()
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/ |
D | PickImageInfo.java | 47 boolean canReadExternalStorage = context.checkPermission( in getThumbnailOfLastPhoto()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | StandalonePreviewActivity.java | 136 return getPackageManager().checkPermission(permission.READ_EXTERNAL_STORAGE, in isReadExternalStoragePermissionGrantedForApp()
|