Home
last modified time | relevance | path

Searched refs:PermissionManager (Results 1 – 25 of 83) sorted by relevance

1234

/frameworks/base/services/core/java/com/android/server/grammaticalinflection/
DGrammaticalInflectionUtils.java23 import android.permission.PermissionManager;
34 @NonNull PermissionManager permissionManager, in checkSystemGrammaticalGenderPermission()
39 if (permissionCheckResult != PermissionManager.PERMISSION_GRANTED) { in checkSystemGrammaticalGenderPermission()
DGrammaticalInflectionService.java39 import android.permission.PermissionManager;
87 private PermissionManager mPermissionManager;
108 mPermissionManager = context.getSystemService(PermissionManager.class); in GrammaticalInflectionService()
/frameworks/base/tests/utils/testutils/java/android/os/test/
DFakePermissionEnforcer.java19 import static android.permission.PermissionManager.PERMISSION_GRANTED;
20 import static android.permission.PermissionManager.PERMISSION_HARD_DENIED;
/frameworks/base/core/java/com/android/internal/pm/parsing/
DPackageParser2.java32 import android.permission.PermissionManager;
83 List<PermissionManager.SplitPermissionInfo> splitPermissions = null; in PackageParser2()
87 final PermissionManager permissionManager = in PackageParser2()
88 application.getSystemService(PermissionManager.class); in PackageParser2()
/frameworks/base/apct-tests/perftests/permission/src/android/perftests/permission/
DPermissionManagerPerfTest.kt23 import android.permission.PermissionManager
49 val permissionManager = context.getSystemService(PermissionManager::class.java)!!
/frameworks/base/services/tests/servicestests/src/com/android/server/appop/
DAppOpsDeviceAwareServiceTest.java32 import android.permission.PermissionManager;
67 private final PermissionManager mPermissionManager =
68 mContext.getSystemService(PermissionManager.class);
DAppOpsActiveWatcherTest.java43 import android.permission.PermissionManager;
163 PermissionManager permissionManager = in testWatchActiveOpsForExternalDevice()
164 getContext().getSystemService(PermissionManager.class); in testWatchActiveOpsForExternalDevice()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/parsing/
DParsingUtils.java24 import android.permission.PermissionManager;
46 @NonNull List<PermissionManager.SplitPermissionInfo> splitPermissions, in parseDefaultOneTime()
/frameworks/base/services/core/java/com/android/server/am/
DBaseAppStateTracker.java36 import android.permission.PermissionManager;
288 PermissionManager mPermissionManager;
314 mPermissionManager = context.getSystemService(PermissionManager.class); in onSystemReady()
364 PermissionManager getPermissionManager() { in getPermissionManager()
DBroadcastSkipPolicy.java44 import android.permission.PermissionManager;
61 private PermissionManager mPermissionManager;
750 private PermissionManager getPermissionManager() { in getPermissionManager()
752 mPermissionManager = mService.mContext.getSystemService(PermissionManager.class); in getPermissionManager()
761 final PermissionManager permissionManager = getPermissionManager(); in hasPermissionForDataDelivery()
/frameworks/base/core/java/android/permission/
DIPermissionManager.aidl26 import android.permission.PermissionManager.PermissionState;
117 parcelable PermissionManager.PermissionState;
/frameworks/base/ravenwood/junit-impl-src/android/platform/test/ravenwood/
DRavenwoodPermissionEnforcer.java19 import static android.permission.PermissionManager.PERMISSION_GRANTED;
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DHeaderPrivacyIconsController.kt8 import android.permission.PermissionManager
58 private val permissionManager: PermissionManager, in onChipVisibilityRefreshed()
173 startSafetyCenter.putParcelableArrayListExtra(PermissionManager.EXTRA_PERMISSION_USAGES, in onChipVisibilityRefreshed()
/frameworks/base/core/java/android/os/
DPermissionEnforcer.java27 import android.permission.PermissionManager;
89 @android.ravenwood.annotation.RavenwoodThrow(blockedBy = PermissionManager.class,
/frameworks/base/services/core/java/com/android/server/incident/
DPendingReports.java19 import static android.permission.PermissionManager.PERMISSION_GRANTED;
40 import android.permission.PermissionManager;
64 private final PermissionManager mPermissionManager;
136 mPermissionManager = context.getSystemService(PermissionManager.class); in PendingReports()
/frameworks/base/core/java/com/android/internal/util/
DDumpUtils.java97 blockedBy = android.permission.PermissionManager.class)
119 blockedBy = android.permission.PermissionManager.class)
175 blockedBy = android.permission.PermissionManager.class)
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/
DPrivacyDialogController.kt29 import android.permission.PermissionManager in <lambda>()
64 private val permissionManager: PermissionManager,
81 permissionManager: PermissionManager,
DPrivacyDialogControllerV2.kt29 import android.permission.PermissionManager in <lambda>()
67 private val permissionManager: PermissionManager,
85 permissionManager: PermissionManager,
/frameworks/base/services/permission/java/com/android/server/permission/access/permission/
DDevicePermissionPolicy.kt19 import android.permission.PermissionManager in <lambda>()
218 if (PermissionManager.DEBUG_DEVICE_PERMISSIONS) { in <lambda>()
283 if (PermissionManager.DEBUG_DEVICE_PERMISSIONS) { in <lambda>()
DPermissionService.kt47 import android.permission.PermissionManager in <lambda>()
48 import android.permission.PermissionManager.PermissionState in <lambda>()
164 PermissionManager.disablePackageNamePermissionCache() in <lambda>()
727 PermissionManager.DEBUG_TRACE_GRANTS in <lambda>()
729 PermissionManager.DEBUG_TRACE_PERMISSION_UPDATES in <lambda>()
733 PermissionManager.shouldTraceGrant(packageName, permissionName, userId) in <lambda>()
1273 PermissionManager.DEBUG_TRACE_PERMISSION_UPDATES && in <lambda>()
1274 PermissionManager.shouldTraceGrant(packageName, permissionName, userId) in <lambda>()
1398 if (PermissionManager.DEBUG_TRACE_PERMISSION_UPDATES) { in <lambda>()
1600 if (permissionName !in PermissionManager.DEVICE_AWARE_PERMISSIONS) { in <lambda>()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/sensorprivacy/
DCameraPrivacyLightControllerTest.java47 import android.permission.PermissionManager;
155 .when(() -> PermissionManager.getIndicatorExemptedPackages(any())); in prepareCameraPrivacyLightController()
165 .spyStatic(PermissionManager.class) in setUp()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DRecentAppOpsAccess.java30 import android.permission.PermissionManager;
180 if (showApp && PermissionManager.shouldShowPackageForIndicatorCached(mContext, in getAppList()
/frameworks/base/services/core/java/com/android/server/sensorprivacy/
DCameraPrivacyLightController.java35 import android.permission.PermissionManager;
227 Set<String> exemptedPackages = PermissionManager.getIndicatorExemptedPackages(mContext); in updateLightSession()
/frameworks/base/packages/SystemUI/src/com/android/systemui/dagger/
DFrameworkServicesModule.java89 import android.permission.PermissionManager;
683 static PermissionManager providePermissionManager(Context context) { in providePermissionManager()
684 PermissionManager pm = context.getSystemService(PermissionManager.class); in providePermissionManager()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/
DAppOpsUpgradeTest.java50 import android.permission.PermissionManager;
117 private PermissionManager mPermissionManager;
311 doReturn(mPermissionManager).when(mTestContext).getSystemService(PermissionManager.class); in resetUseFullScreenIntent()

1234