/packages/services/Car/evs/manager/ |
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 | 49 bool EvsEnumerator::checkPermission() { in checkPermission() function in android::hardware::automotive::evs::V1_0::implementation::EvsEnumerator 174 if (!checkPermission()) { in getCameraList() 212 if (!checkPermission()) { in openCamera() 279 if (!checkPermission()) { in openDisplay() 321 if (!checkPermission()) { in getDisplayState()
|
D | EvsEnumerator.h | 62 bool checkPermission();
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
D | AdaptiveSleepPreferenceControllerTest.java | 71 when(mPackageManager.checkPermission(any(), any())).thenReturn( in setUp() 144 when(mPackageManager.checkPermission(any(), any())).thenReturn( in isChecked_returnsFalseWhenNotSufficientPermissions() 155 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 | 185 when(mContext.checkPermission(eq(Manifest.permission.ACCESS_FINE_LOCATION), in setupScenario() 189 when(mContext.checkPermission(eq(Manifest.permission.ACCESS_COARSE_LOCATION), in setupScenario() 202 when(mContext.checkPermission(eq(Manifest.permission.INTERACT_ACROSS_USERS_FULL), in setupScenario() 206 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/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 | 191 when(mMockPackageManager.checkPermission( in setUp() 194 when(mMockPackageManager.checkPermission( in setUp() 197 when(mMockPackageManager.checkPermission( in setUp() 200 when(mMockPackageManager.checkPermission( in setUp() 769 when(mMockPackageManager.checkPermission( in testNoBindToInvalidService_CarModeUI() 796 when(mMockPackageManager.checkPermission( in testSanitizeContactName() 1233 when(mMockPackageManager.checkPermission(Manifest.permission.ACCESS_FINE_LOCATION, pkg))
|
D | ComponentContextFixture.java | 511 when(mPackageManager.checkPermission( 584 when(mPackageManager.checkPermission(eq(Manifest.permission.CONTROL_INCALL_EXPERIENCE),
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | AdaptiveSleepPreferenceController.java | 71 return attentionPackage != null && packageManager.checkPermission( in hasSufficientPermission()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/ |
D | ContactsPermissions.java | 70 ok = context.getPackageManager().checkPermission(permission, pkg) in hasPackagePermission()
|
/packages/apps/Settings/src/com/android/settings/password/ |
D | PasswordUtils.java | 44 return context.checkPermission(permission, /* pid= */ -1, in isCallingAppPermitted()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/ |
D | PasswordUtils.java | 44 return context.checkPermission(permission, /* pid= */ -1, in isCallingAppPermitted()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/ |
D | ImageCategory.java | 116 return context.getPackageManager().checkPermission(permission.READ_EXTERNAL_STORAGE, in isReadExternalStoragePermissionGranted()
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/ |
D | PickImageInfo.java | 47 boolean canReadExternalStorage = context.checkPermission( in getThumbnailOfLastPhoto()
|
/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/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | StandalonePreviewActivity.java | 136 return getPackageManager().checkPermission(permission.READ_EXTERNAL_STORAGE, in isReadExternalStoragePermissionGrantedForApp()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/ |
D | MyPhotosViewHolder.java | 110 return context.getPackageManager().checkPermission(permission.READ_EXTERNAL_STORAGE, in isReadExternalStoragePermissionGranted()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | NotificationAssistantPicker.java | 120 if (mContext.getPackageManager().checkPermission( in onServicesReloaded()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | NotificationAssistantPicker.java | 120 if (mContext.getPackageManager().checkPermission( in onServicesReloaded()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | LocalCallingIdentity.java | 214 .checkPermission(WRITE_MEDIA_STORAGE, pid, uid) == PERMISSION_GRANTED; in isSystemInternal()
|