Home
last modified time | relevance | path

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

/packages/modules/Permission/service/java/com/android/ecm/
DEnhancedConfirmationService.java187 setAppEcmState(packageName, EcmState.ECM_STATE_NOT_GUARDED, userId); in clearRestriction()
222 setAppEcmState(packageName, EcmState.ECM_STATE_GUARDED_AND_ACKNOWLEDGED, in setClearRestrictionAllowed()
325 private void setAppEcmState(@NonNull String packageName, @EcmState int ecmState, in setAppEcmState() method in EnhancedConfirmationService.Stub
/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/
DEnhancedConfirmationManagerTest.kt128 setAppEcmState(context, appOpsManager, APP_PACKAGE_NAME, AppOpsManager.MODE_ERRORED) in givenExplicitlyRestrictedAppThenIsRestrictedFromProtectedSetting()
289 private fun setAppEcmState( method