Home
last modified time | relevance | path

Searched refs:EcmState (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Permission/service/java/com/android/ecm/
DEnhancedConfirmationService.java106 @IntDef(prefix = {"ECM_STATE_"}, value = {EcmState.ECM_STATE_NOT_GUARDED,
107 EcmState.ECM_STATE_GUARDED, EcmState.ECM_STATE_GUARDED_AND_ACKNOWLEDGED,
108 EcmState.ECM_STATE_IMPLICIT})
109 private @interface EcmState { annotation in EnhancedConfirmationService.Stub
183 boolean isAllowed = state == EcmState.ECM_STATE_GUARDED_AND_ACKNOWLEDGED; in clearRestriction()
187 setAppEcmState(packageName, EcmState.ECM_STATE_NOT_GUARDED, userId); in clearRestriction()
206 return state == EcmState.ECM_STATE_GUARDED_AND_ACKNOWLEDGED; in isClearRestrictionAllowed()
222 setAppEcmState(packageName, EcmState.ECM_STATE_GUARDED_AND_ACKNOWLEDGED, in setClearRestrictionAllowed()
246 @EcmState int ecmState = getAppEcmState(packageName, userId); in isPackageEcmGuarded()
247 if (ecmState == EcmState.ECM_STATE_GUARDED in isPackageEcmGuarded()
[all …]
/packages/modules/Permission/framework-s/java/android/app/ecm/
DEnhancedConfirmationManager.java205 @IntDef(prefix = {"ECM_STATE_"}, value = {EcmState.ECM_STATE_NOT_GUARDED,
206 EcmState.ECM_STATE_GUARDED, EcmState.ECM_STATE_GUARDED_AND_ACKNOWLEDGED,
207 EcmState.ECM_STATE_IMPLICIT})
208 private @interface EcmState { annotation in EnhancedConfirmationManager