Searched refs:PermissionChecker (Results 1 – 13 of 13) sorted by relevance
25 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()
24 import android.content.PermissionChecker;72 PermissionChecker.PERMISSION_GRANTED); in getPreferenceSummary_appOpAllowed_returnsAllowed()95 PermissionChecker.PERMISSION_SOFT_DENIED); in getPreferenceSummary_appOpNotAllowed_returnsNotAllowed()
25 import android.content.PermissionChecker;156 PermissionChecker.PERMISSION_GRANTED); in getNumberOfEnabledApps_returnsNumberOfEnabledApps()160 PermissionChecker.PERMISSION_SOFT_DENIED); in getNumberOfEnabledApps_returnsNumberOfEnabledApps()
131 public static class PermissionChecker { class in NetworkStackService188 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()
32 import android.content.PermissionChecker;323 return PermissionChecker.PERMISSION_GRANTED in isInteractAcrossProfilesEnabledInProfile()324 == PermissionChecker.checkPermissionForPreflight( in isInteractAcrossProfilesEnabledInProfile()327 PermissionChecker.PID_UNKNOWN, in isInteractAcrossProfilesEnabledInProfile()
40 import com.android.server.NetworkStackService.PermissionChecker77 private val permChecker = mock(PermissionChecker::class.java)
57 private class TestPermissionChecker : NetworkStackService.PermissionChecker() {
33 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()
40 import android.content.PermissionChecker;855 return PermissionChecker.checkPermissionForDataDeliveryFromDataSource(862 == PermissionChecker.PERMISSION_GRANTED;
59 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()
23 import static android.content.PermissionChecker.PERMISSION_GRANTED;
18 import static android.content.PermissionChecker.PERMISSION_GRANTED;
2473 "androidx/car/ui/core/content/PermissionChecker": "androidx/core/content/PermissionChecker",