Home
last modified time | relevance | path

Searched refs:PermissionChecker (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/
DUtils.java25 import static android.content.PermissionChecker.PERMISSION_HARD_DENIED;
26 import static android.content.PermissionChecker.PID_UNKNOWN;
46 import android.content.PermissionChecker;
432 final int result = PermissionChecker.checkCallingOrSelfPermissionForPreflight( in checkPermissionForPreflight()
452 final int result = PermissionChecker.checkPermissionForDataDeliveryFromDataSource( in checkPermissionForDataDelivery()
694 if (PermissionChecker.checkPermissionForDataDeliveryFromDataSource( in checkCallerHasCoarseLocation()
722 if (PermissionChecker.checkPermissionForDataDeliveryFromDataSource( in checkCallerHasCoarseOrFineLocation()
729 if (PermissionChecker.checkPermissionForDataDeliveryFromDataSource( in checkCallerHasCoarseOrFineLocation()
756 if (PermissionChecker.checkPermissionForDataDeliveryFromDataSource( in checkCallerHasFineLocation()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/specialaccess/interactacrossprofiles/
DInteractAcrossProfilesDetailsTest.java24 import android.content.PermissionChecker;
72 PermissionChecker.PERMISSION_GRANTED); in getPreferenceSummary_appOpAllowed_returnsAllowed()
95 PermissionChecker.PERMISSION_SOFT_DENIED); in getPreferenceSummary_appOpNotAllowed_returnsNotAllowed()
DInteractAcrossProfilesSettingsTest.java25 import android.content.PermissionChecker;
156 PermissionChecker.PERMISSION_GRANTED); in getNumberOfEnabledApps_returnsNumberOfEnabledApps()
160 PermissionChecker.PERMISSION_SOFT_DENIED); in getNumberOfEnabledApps_returnsNumberOfEnabledApps()
/packages/modules/NetworkStack/src/com/android/server/
DNetworkStackService.java131 public static class PermissionChecker { class in NetworkStackService
188 private final PermissionChecker mPermChecker;
277 this(context, new PermissionChecker(), new Dependencies()); in NetworkStackConnector()
282 @NonNull Context context, @NonNull PermissionChecker permChecker, in NetworkStackConnector()
565 private final PermissionChecker mPermChecker;
568 @NonNull PermissionChecker permChecker) { in NetworkMonitorConnector()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/interactacrossprofiles/
DInteractAcrossProfilesDetails.java32 import android.content.PermissionChecker;
323 return PermissionChecker.PERMISSION_GRANTED in isInteractAcrossProfilesEnabledInProfile()
324 == PermissionChecker.checkPermissionForPreflight( in isInteractAcrossProfilesEnabledInProfile()
327 PermissionChecker.PID_UNKNOWN, in isInteractAcrossProfilesEnabledInProfile()
/packages/modules/NetworkStack/tests/unit/src/com/android/server/
DNetworkStackServiceTest.kt40 import com.android.server.NetworkStackService.PermissionChecker
77 private val permChecker = mock(PermissionChecker::class.java)
/packages/modules/Connectivity/tests/integration/src/com/android/server/net/integrationtests/
DTestNetworkStackService.kt57 private class TestPermissionChecker : NetworkStackService.PermissionChecker() {
/packages/services/Telecomm/src/com/android/server/telecom/
DInCallController.java33 import android.content.PermissionChecker;
2315 return PermissionChecker.checkPermissionForDataDeliveryFromDataSource(mContext, in isAppOpsPermittedManageOngoingCalls()
2316 Manifest.permission.MANAGE_ONGOING_CALLS, PermissionChecker.PID_UNKNOWN, in isAppOpsPermittedManageOngoingCalls()
2321 == PermissionChecker.PERMISSION_GRANTED; in isAppOpsPermittedManageOngoingCalls()
DTelecomServiceImpl.java40 import android.content.PermissionChecker;
855 return PermissionChecker.checkPermissionForDataDeliveryFromDataSource(
862 == PermissionChecker.PERMISSION_GRANTED;
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DInCallControllerTests.java59 import android.content.PermissionChecker;
921 .spyStatic(PermissionChecker.class) in testBindToService_ThirdPartyApp()
930 ExtendedMockito.doReturn(PermissionChecker.PERMISSION_GRANTED).when(() -> in testBindToService_ThirdPartyApp()
931 PermissionChecker.checkPermissionForDataDeliveryFromDataSource( in testBindToService_ThirdPartyApp()
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/
DMainClusterActivity.java23 import static android.content.PermissionChecker.PERMISSION_GRANTED;
/packages/services/Car/car-lib/src/android/car/cluster/renderer/
DInstrumentClusterRenderingService.java18 import static android.content.PermissionChecker.PERMISSION_GRANTED;
/packages/apps/Car/libs/car-ui-lib/car-ui-androidx/
Dcar-ui-jetifier-reverse.cfg2473 "androidx/car/ui/core/content/PermissionChecker": "androidx/core/content/PermissionChecker",