Home
last modified time | relevance | path

Searched refs:isInit (Results 1 – 14 of 14) sorted by relevance

/base/startup/init/services/param/liteos/
Dparam_litedac.c19 static int InitLocalSecurityLabel(ParamSecurityLabel *security, int isInit) in InitLocalSecurityLabel() argument
21 UNUSED(isInit); in InitLocalSecurityLabel()
67 INIT_LOCAL_API int RegisterSecurityDacOps(ParamSecurityOps *ops, int isInit) in RegisterSecurityDacOps() argument
70 PARAM_LOGV("RegisterSecurityDacOps %d", isInit); in RegisterSecurityDacOps()
77 if (isInit) { in RegisterSecurityDacOps()
/base/security/appverify/interfaces/innerkits/appverify/src/init/
Dtrusted_root_ca.cpp35 TrustedRootCa::TrustedRootCa() : rootCerts(), rootCertsForTest(), isInit(false), isDebug(false) in TrustedRootCa()
73 if (isInit) { in Init()
77 isInit = GetTrustedRootCAFromJson(rootCerts, TRUSTED_ROOT_CA_FILE_PATH); in Init()
78 if (isInit) { in Init()
81 return isInit; in Init()
90 isInit = false; in Recovery()
Dtrusted_ticket_manager.cpp45 : TicketTrustedSources(), version(), releaseTime(), isInit(false) in TrustedTicketManager()
55 if (isInit) { in Init()
59isInit = GetTicketTrustedSources(TicketTrustedSources, version, releaseTime, TICKET_TRUSTED_SOURCE… in Init()
60 if (isInit) { in Init()
64 return isInit; in Init()
69 isInit = false; in Recovery()
Dtrusted_source_manager.cpp51 releaseTimeForTest(), isInit(false), isDebug(false) in TrustedSourceManager()
82 if (isInit) { in Init()
86isInit = GetAppTrustedSources(appTrustedSources, version, releaseTime, APP_TRUSTED_SOURCE_FILE_PAT… in Init()
87 if (isInit) { in Init()
91 return isInit; in Init()
97 isInit = false; in Recovery()
Dhap_crl_manager.cpp44 HapCrlManager::HapCrlManager() : crlMtx(), crlsMap(), isInit(false) in HapCrlManager()
58 if (isInit) { in Init()
67 isInit = true; in Init()
/base/powermgr/power_manager/services/native/src/
Dpower_mode_module.cpp38 …PowerModePolicy::ModeAction displayOffTimeAction = [&](bool isInit) { SetDisplayOffTime(isInit); }; in PowerModeModule() argument
40 PowerModePolicy::ModeAction sleepTimeAction = [&](bool isInit) { SetSleepTime(isInit); }; in PowerModeModule() argument
42 …olicy::ModeAction autoAdjustBrightnessAction = [&](bool isInit) { SetAutoAdjustBrightness(isInit);… in PowerModeModule() argument
44 … PowerModePolicy::ModeAction lcdBrightnessAction = [&](bool isInit) { SetLcdBrightness(isInit); }; in PowerModeModule() argument
46 PowerModePolicy::ModeAction vibrationAction = [&](bool isInit) { SetVibration(isInit); }; in PowerModeModule() argument
48 … PowerModePolicy::ModeAction onOffRotationAction = [&](bool isInit) { SetWindowRotation(isInit); }; in PowerModeModule() argument
/base/startup/init/services/param/include/
Dparam_security.h89 int (*securityInitLabel)(ParamSecurityLabel *label, int isInit);
96 typedef int (*RegisterSecurityOpsPtr)(ParamSecurityOps *ops, int isInit);
110 INIT_LOCAL_API int RegisterSecuritySelinuxOps(ParamSecurityOps *ops, int isInit);
115 INIT_LOCAL_API int RegisterSecurityDacOps(ParamSecurityOps *ops, int isInit);
/base/startup/init/services/param/adapter/
Dparam_selinux.c83 static int InitLocalSecurityLabel(ParamSecurityLabel *security, int isInit) in InitLocalSecurityLabel() argument
86 UNUSED(isInit); in InitLocalSecurityLabel()
94 if ((bool)isInit) { in InitLocalSecurityLabel()
310 INIT_LOCAL_API int RegisterSecuritySelinuxOps(ParamSecurityOps *ops, int isInit) in RegisterSecuritySelinuxOps() argument
324 if (isInit != 0) { in RegisterSecuritySelinuxOps()
Dparam_dac.c108 static int InitLocalSecurityLabel(ParamSecurityLabel *security, int isInit) in InitLocalSecurityLabel() argument
110 UNUSED(isInit); in InitLocalSecurityLabel()
282 INIT_LOCAL_API int RegisterSecurityDacOps(ParamSecurityOps *ops, int isInit) in RegisterSecurityDacOps() argument
285 PARAM_LOGV("RegisterSecurityDacOps %d", isInit); in RegisterSecurityDacOps()
291 if (isInit) { in RegisterSecurityDacOps()
/base/startup/init/services/param/base/
Dparam_base.c58 RegisterSecurityOpsPtr registerOps, ParamSecurityType type, int isInit, int op) in InitParamSecurity() argument
63 ret = registerOps(&workSpace->paramSecurityOps[type], isInit); in InitParamSecurity()
66 … ret = workSpace->paramSecurityOps[type].securityInitLabel(&workSpace->securityLabel, isInit); in InitParamSecurity()
75 if (isInit == LABEL_INIT_FOR_INIT) { in InitParamSecurity()
86 int isInit = 0; in RegisterSecurityOps() local
89 isInit = LABEL_INIT_FOR_INIT; in RegisterSecurityOps()
92 …ret = InitParamSecurity(&g_paramWorkSpace, RegisterSecurityDacOps, PARAM_SECURITY_DAC, isInit, op); in RegisterSecurityOps()
95 …itParamSecurity(&g_paramWorkSpace, RegisterSecuritySelinuxOps, PARAM_SECURITY_SELINUX, isInit, op); in RegisterSecurityOps()
/base/security/appverify/interfaces/innerkits/appverify/include/init/
Dtrusted_root_ca.h56 bool isInit; variable
Dhap_crl_manager.h58 bool isInit; variable
Dtrusted_ticket_manager.h80 bool isInit; variable
Dtrusted_source_manager.h93 bool isInit; variable