Home
last modified time | relevance | path

Searched refs:capStrCapNum (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/base/startup/init/services/init/
H A Dinit_capability.c35 static const CapStrCapNum capStrCapNum[] = { in GetCapByString() local
78 int mapSize = (int)ARRAY_LENGTH(capStrCapNum); in GetCapByString()
81 if ((strcmp(capStr, capStrCapNum[j].capStr) == 0) || in GetCapByString()
83 (strcmp(capStr + capLen, capStrCapNum[j].capStr) == 0))) { in GetCapByString()
84 return capStrCapNum[j].CapNum; in GetCapByString()
/ohos5.0/docs/zh-cn/device-dev/faqs/
H A Dfaqs-startup.md164 …在init中解析的时候,解析失败,参考base/startup/init/services/init/init_capability.c中,capStrCapNum数据结构的定义,正确配置caps。
/ohos5.0/docs/en/device-dev/faqs/
H A Dfaqs-startup.md164 2. For case 2, correctly configure **caps** by referring to the definition of the **capStrCapNum** …