Home
last modified time | relevance | path

Searched full:id (Results 1 – 25 of 2019) sorted by relevance

12345678910>>...81

/base/global/resource_management/test/resource/src/all/resources/base/element/
Did_defined.json5 "id": "0x01000000" string
9 "id": "0x01000001" string
13 "id": "0x01000002" string
17 "id": "0x01000003" string
21 "id": "0x01000004" string
25 "id": "0x01000005" string
29 "id": "0x01000006" string
33 "id": "0x01000007" string
37 "id": "0x01000008" string
41 "id": "0x01000009" string
[all …]
/base/global/i18n/frameworks/intl/etc/timezone/
Dohos_timezones.xml18 <id>Pacific/Auckland</id>
22 <id>Asia/Magadan</id>
26 <id>Australia/Lord_Howe</id>
30 <id>Asia/Tokyo</id>
34 <id>Asia/Shanghai</id>
38 <id>Asia/Hovd</id>
42 <id>Asia/Omsk</id>
46 <id>Asia/Ashgabat</id>
50 <id>Asia/Yerevan</id>
54 <id>Europe/Moscow</id>
[all …]
/base/hiviewdfx/hitrace/frameworks/hitrace_ndk/
Dhitrace_chain_ndk.c34 HiTraceId id = HiTraceChainGetId(); in OH_HiTrace_EndChain() local
35 HiTraceChainEnd(&id); in OH_HiTrace_EndChain()
43 void OH_HiTrace_SetId(const HiTraceId* id) in OH_HiTrace_SetId() argument
45 HiTraceChainSetId(id); in OH_HiTrace_SetId()
59 const HiTraceId* id, const char* fmt, ...) in OH_HiTrace_Tracepoint() argument
63 HiTraceChainTracepointExWithArgs(mode, type, id, fmt, args); in OH_HiTrace_Tracepoint()
67 void OH_HiTrace_InitId(HiTraceId* id) in OH_HiTrace_InitId() argument
69 HiTraceChainInitId(id); in OH_HiTrace_InitId()
72 void OH_HiTrace_IdFromBytes(HiTraceId *id, const uint8_t* pIdArray, int len) in OH_HiTrace_IdFromBytes() argument
74 *id = HiTraceChainBytesToId(pIdArray, len); in OH_HiTrace_IdFromBytes()
[all …]
/base/web/webview/interfaces/kits/cj/include/
Dwebview_ffi.h30 FFI_EXPORT int32_t FfiOHOSWebviewCtlLoadUrl(int64_t id, char *url);
31 …FFI_EXPORT int32_t FfiOHOSWebviewCtlLoadUrlWithHeaders(int64_t id, char *url, OHOS::Webview::ArrWe…
32 FFI_EXPORT int32_t FfiOHOSWebviewCtlLoadData(int64_t id, OHOS::Webview::LoadDatas loadDatas);
33 FFI_EXPORT int32_t FfiOHOSWebviewCtlRefresh(int64_t id);
34 FFI_EXPORT char *FfiOHOSWebviewCtlGetUserAgent(int64_t id, int32_t *errCode);
35 FFI_EXPORT bool FfiOHOSWebviewCtlAccessForward(int64_t id, int32_t *errCode);
36 FFI_EXPORT bool FfiOHOSWebviewCtlAccessBackward(int64_t id, int32_t *errCode);
37 FFI_EXPORT int32_t FfiOHOSWebviewCtlSetCustomUserAgent(int64_t id, char *cUserAgent);
38 FFI_EXPORT RetDataCString FfiOHOSWebviewCtlGetCustomUserAgent(int64_t id);
39 FFI_EXPORT int32_t FfiOHOSWebviewCtlRunJavaScript(int64_t id, char* cScript,
[all …]
/base/hiviewdfx/hiview/plugins/eventlogger/config/
Devent_logger_config2 event id="" name="UI_BLOCK_6S" action="s,t,cmd:c,cmd:m,tr,k:SysRqFile" interval="10"
3 event id="" name="UI_BLOCK_3S" action="s,pb:1:r,t" interval="10"
4 event id="" name="THREAD_BLOCK_6S" action="t,cmd:c,cmd:dam,tr,k:SysRqFile" interval="10"
5 event id="" name="THREAD_BLOCK_3S" action="pb:1:r,t" interval="10"
6 event id="" name="BUSSINESS_THREAD_BLOCK_6S" action="t,cmd:c,cmd:dam,tr,k:SysRqFile" interval="10"
7 event id="" name="BUSSINESS_THREAD_BLOCK_3S" action="pb:1:r,t" interval="10"
8 event id="" name="LIFECYCLE_TIMEOUT" action="t,cmd:c,cmd:dam,tr,k:SysRqFile" interval="10"
9 event id="" name="LIFECYCLE_HALF_TIMEOUT" action="pb:1:r,t" interval="10"
10 event id="" name="APP_INPUT_BLOCK" action="t:input,t,cmd:c,cmd:dam,tr,k:SysRqFile" interval="10"
11 event id="" name="SCREEN_ON_TIMEOUT" action="cmd:p,cmd:d,cmd:w,T,e" interval="10"
[all …]
/base/global/resource_management/interfaces/cj/src/
Dresource_manager_ffi.h40 /** the resource id in hap */
41 int32_t id; member
45 FFI_EXPORT int32_t CJ_CloseRawFd(int64_t id, const char* path);
46 FFI_EXPORT int32_t CJ_GetRawFd(int64_t id, const char* rawFileName,
48 FFI_EXPORT RetDataCArrUI8 CJ_GetRawFileContent(int64_t id, const char* path);
49 FFI_EXPORT RetDataCArrString CJ_GetRawFileList(int64_t id, const char* path);
50 FFI_EXPORT RetDataCString CJ_GetPluralStringValue(int64_t id, uint32_t resId, int64_t num);
51 …FFI_EXPORT RetDataCString CJ_GetPluralStringValueByResource(int64_t id, CResource resource, int64_…
52 …FFI_EXPORT RetDataCString CJ_GetPluralStringByName(int64_t id, const char* name, int64_t quantity);
53 FFI_EXPORT RetDataCArrString CJ_GetStringArrayValue(int64_t id, uint32_t resId);
[all …]
/base/notification/common_event_service/interfaces/kits/cj/src/
Dcommon_event_manager_ffi.h33 FFI_EXPORT int64_t CJ_CreateSubscriber(int64_t id);
34 FFI_EXPORT int32_t CJ_Subscribe(int64_t id, void (*callbackRef)(const CCommonEventData data));
35 FFI_EXPORT int32_t CJ_Unsubscribe(int64_t id);
37 FFI_EXPORT RetDataI64 CJ_GetCode(int64_t id);
38 FFI_EXPORT int32_t CJ_SetCode(int64_t id, int32_t code);
39 FFI_EXPORT RetDataCString CJ_GetData(int64_t id);
40 FFI_EXPORT int32_t CJ_SetData(int64_t id, char *data);
41 FFI_EXPORT int32_t CJ_SetCodeAndData(int64_t id, int32_t code, char *data);
44 FFI_EXPORT RetDataI64 CJ_GetCode(int64_t id);
45 FFI_EXPORT int32_t CJ_SetCode(int64_t id, int32_t code);
[all …]
Dcommon_event_manager_ffi.cpp62 int64_t CJ_CreateSubscriber(int64_t id) in CJ_CreateSubscriber() argument
65 int64_t managerId = GetManagerId(id, haveId); in CJ_CreateSubscriber()
69 auto instance = FFIData::GetData<CommonEventSubscribeInfoImpl>(id); in CJ_CreateSubscriber()
71 LOGE("CommonEventSubscribeInfoImpl instance not exist %{public}" PRId64, id); in CJ_CreateSubscriber()
75 auto ptr = FFIData::Create<SubscriberManager>(info, id); in CJ_CreateSubscriber()
83 int32_t CJ_Subscribe(int64_t id, void (*callbackRef)(const CCommonEventData data)) in CJ_Subscribe() argument
85 auto instance = FFIData::GetData<SubscriberManager>(id); in CJ_Subscribe()
87 LOGE("SubscriberManager instance not exist %{public}" PRId64, id); in CJ_Subscribe()
97 int32_t CJ_Unsubscribe(int64_t id) in CJ_Unsubscribe() argument
99 auto instance = FFIData::GetData<SubscriberManager>(id); in CJ_Unsubscribe()
[all …]
/base/hiviewdfx/hitrace/interfaces/native/innerkits/include/hitrace/
Dhitracechain.h33 * @return trace id.
38 * @brief Stop process tracing and clear trace id of current thread
39 * if the given trace id is valid, otherwise do nothing.
40 * @param id the trace id to end.
42 static void End(const HiTraceId& id);
44 // Get trace id of current thread, and return a invalid trace id if no
45 // trace id belong to current thread.
49 * @brief Set id as trace id of current thread. Do nothing if id is invalid.
50 * @param id the trace id to set.
52 static void SetId(const HiTraceId& id);
[all …]
Dhitraceid.h28 HiTraceId(const HiTraceIdStruct& id);
32 // Judge whether the trace id is valid or not.
36 * @brief Judge whether the trace id has enabled a trace flag or not.
43 * @brief Enable the designative trace flag for the trace id.
48 // Get trace flag of the trace id.
52 * @brief Set trace flag for the trace id.
57 // Get chain id of the trace id.
61 * @brief Set chain id for the trace id.
62 * @param chainId the chain id to set.
66 // Get span id of the trace id.
[all …]
/base/security/crypto_framework/frameworks/cj/include/
Dcrypto_ffi.h55 FFI_EXPORT const char *FfiOHOSRandomGetAlgName(int64_t id, int32_t* errCode);
56 FFI_EXPORT HcfBlob FfiOHOSGenerateRandom(int64_t id, int32_t numBytes, int32_t* errCode);
57 FFI_EXPORT void FfiOHOSSetSeed(int64_t id, HcfBlob *seed, int32_t* errCode);
61 FFI_EXPORT int32_t FfiOHOSMdUpdate(int64_t id, HcfBlob *input);
62 FFI_EXPORT HcfBlob FfiOHOSDigest(int64_t id, int32_t* errCode);
63 FFI_EXPORT uint32_t FfiOHOSGetMdLength(int64_t id, int32_t* errCode);
67 FFI_EXPORT const char *FfiOHOSSymKeyGeneratorGetAlgName(int64_t id, int32_t* errCode);
68 FFI_EXPORT int64_t FfiOHOSGenerateSymKey(int64_t id, int32_t* errCode);
69 FFI_EXPORT int64_t FfiOHOSConvertKey(int64_t id, HcfBlob *key, int32_t* errCode);
72 FFI_EXPORT const char *FfiOHOSSymKeyGetAlgName(int64_t id, int32_t* errCode);
[all …]
/base/powermgr/power_manager/test/unittest/resources/push_xml/
Dpower_mode_config.xml34 <proxy id="600">
35 <switch id="101" value="30000" recover_flag="0"/>
36 <switch id="102" value="30000" recover_flag="0"/>
37 <switch id="103" value="-1" recover_flag="0"/>
38 <switch id="107" value="1" recover_flag="0"/>
39 <switch id="115" value="102" recover_flag="0"/>
40 <switch id="120" value="1" recover_flag="0"/>
42 <proxy id="601">
43 <switch id="101" value="10000" recover_flag="0"/>
44 <switch id="102" value="5000" recover_flag="0"/>
[all …]
/base/powermgr/power_manager/test/systemtest/resources/push_xml/
Dpower_mode_config.xml34 <proxy id="600">
35 <switch id="101" value="20000" recover_flag="0"/>
36 <switch id="102" value="0" recover_flag="0"/>
37 <switch id="103" value="-1" recover_flag="0"/>
38 <switch id="107" value="1" recover_flag="0"/>
39 <switch id="115" value="102" recover_flag="0"/>
40 <switch id="120" value="1" recover_flag="0"/>
42 <proxy id="601">
43 <switch id="101" value="8000" recover_flag="0"/>
44 <switch id="102" value="5000" recover_flag="0"/>
[all …]
/base/powermgr/power_manager/services/native/profile/
Dpower_mode_config.xml34 <proxy id="600">
35 <switch id="101" value="30000" recover_flag="0"/>
36 <switch id="102" value="0" recover_flag="0"/>
37 <switch id="103" value="-1" recover_flag="0"/>
38 <switch id="107" value="1" recover_flag="0"/>
39 <switch id="115" value="102" recover_flag="0"/>
40 <switch id="120" value="1" recover_flag="0"/>
42 <proxy id="601">
43 <switch id="101" value="10000" recover_flag="0"/>
44 <switch id="102" value="5000" recover_flag="0"/>
[all …]
/base/hiviewdfx/hitrace/test/unittest/common/native/
Dhitracechainc_test.cpp151 * @tc.desc: Get, set and clear trace id
158 * @tc.steps: step1. get and validate trace id.
159 * @tc.expected: step1. trace id is invalid.
160 * @tc.steps: step2. construct trace id with chain id, span id, parent span id
162 * @tc.expected: step2. trace id is valid with same chain id, span id, parent
163 * span id and flags.
164 * @tc.steps: step3. construct invalid trace id and set into context, then get
166 * @tc.expected: step3. trace id is the same with step2.
167 * @tc.steps: step4. clear trace id, then get and validate it.
168 * @tc.expected: step4. trace id is invalid.
[all …]
Dhitracechaincpp_test.cpp127 * @tc.desc: Get, set and clear trace id
134 * @tc.steps: step1. get and validate trace id.
135 * @tc.expected: step1. trace id is invalid.
136 * @tc.steps: step2. construct trace id with chain id, span id, parent span id
138 * @tc.expected: step2. trace id is valid with same chain id, span id, parent
139 * span id and flags.
140 * @tc.steps: step3. construct invalid trace id and set into context, then get
142 * @tc.expected: step3. trace id is the same with step2.
143 * @tc.steps: step4. clear trace id, then get and validate it.
144 * @tc.expected: step4. trace id is invalid.
[all …]
/base/hiviewdfx/hiview/plugins/performance/timer/
DAppTimerAdapter.cpp32 int id = AssignId(key); in Start() local
33 ValidateDuplication(id); in Start()
34 impl->Start(userId, id, timeoutPeriod); in Start()
35 sessions.push_back(id); in Start()
41 int id = KeyToId(key); in Stop() local
42 ValidateExistence(id); in Stop()
43 impl->Stop(userId, id); in Stop()
44 sessions.erase(std::find(sessions.begin(), sessions.end(), id)); in Stop()
45 RecycleId(id); in Stop()
48 void AppTimerAdapter::Expired(int id) in Expired() argument
[all …]
/base/telephony/sms_mms/services/sms/cdma/
Dcdma_sms_teleservice_message.cpp77 uint8_t id = CdmaSmsSubParameter::RESERVED; in GetMessageType() local
80 while (pdu.ReadByte(id)) { in GetMessageType()
81 if (id == CdmaSmsSubParameter::MESSAGE_IDENTIFIER) { in GetMessageType()
137 uint8_t id = 0; in CdmaSmsSubmitMessage() local
139 while ((parameter_.size() < SUB_PARAMETER_SIZE_MAX) && pdu.ReadByte(id) && pdu.ReadByte(len)) { in CdmaSmsSubmitMessage()
140 if (id == CdmaSmsSubParameter::MESSAGE_IDENTIFIER) { in CdmaSmsSubmitMessage()
142 } else if (id == CdmaSmsSubParameter::USER_DATA) { in CdmaSmsSubmitMessage()
144 } else if (id == CdmaSmsSubParameter::VALIDITY_PERIOD_ABSOLUTE) { in CdmaSmsSubmitMessage()
146 … parameter_.push_back(std::make_unique<CdmaSmsAbsoluteTime>(id, msg.valPeriod.time.absTime)); in CdmaSmsSubmitMessage()
147 } else if (id == CdmaSmsSubParameter::VALIDITY_PERIOD_RELATIVE) { in CdmaSmsSubmitMessage()
[all …]
/base/global/i18n/frameworks/intl/etc/lang/
Dzh-Hans.xml17 <id>zh</id>
21 <id>zh-Hans</id>
25 <id>zh-Hant</id>
29 <id>zh-Hant-HK</id>
33 <id>ro</id>
37 <id>ro-MD</id>
41 <id>fa</id>
45 <id>fa-AF</id>
Den-Latn.xml17 <id>zh</id>
21 <id>zh-Hans</id>
25 <id>zh-Hant</id>
29 <id>zh-Hant-HK</id>
33 <id>ro</id>
37 <id>ro-MD</id>
41 <id>fa</id>
45 <id>fa-AF</id>
/base/global/resource_management_lite/frameworks/resmgr_lite/include/
Dresource_manager_impl.h56 * Get string resource by id
57 * @param id the resource id
61 virtual RState GetStringById(uint32_t id, std::string &outValue);
72 * Get formatstring by resource id
73 * @param id the resource id
77 virtual RState GetStringFormatById(std::string &outValue, uint32_t id, ...);
88 * Get the STRINGARRAY resource by resource id
89 * @param id the resource id
93 virtual RState GetStringArrayById(uint32_t id, std::vector<std::string> &outValue);
104 * Get the PATTERN resource by resource id
[all …]
/base/hiviewdfx/hitrace/frameworks/native/
Dhitracechainc.c76 HiTraceIdStruct id; member
90 return pThreadId->id; in HiTraceChainGetId()
100 pThreadId->id = *pId; in HiTraceChainSetId()
107 HiTraceChainInitId(&(pThreadId->id)); in HiTraceChainClearId()
113 // save device id and use it later in HiTraceChainGetDeviceId()
152 HiTraceIdStruct id; in HiTraceChainBegin() local
153 HiTraceChainInitId(&id); in HiTraceChainBegin()
156 return id; in HiTraceChainBegin()
160 if (HiTraceChainIsValid(&(pThreadId->id))) { in HiTraceChainBegin()
161 return id; in HiTraceChainBegin()
[all …]
/base/hiviewdfx/hitrace/interfaces/cj/kits/ffi/src/
Dhitracechain_ffi.cpp25 OHOS::HiviewDFX::HiTraceId id = HiTraceChainImpl::Begin(name, flag); in FfiOHOSHiTraceChainBegin() local
26 return Parse(id); in FfiOHOSHiTraceChainBegin()
29 void FfiOHOSHiTraceChainEnd(CHiTraceId id) in FfiOHOSHiTraceChainEnd() argument
31 OHOS::HiviewDFX::HiTraceId traceId = Parse(id); in FfiOHOSHiTraceChainEnd()
37 OHOS::HiviewDFX::HiTraceId id = HiTraceChainImpl::GetId(); in FfiOHOSHiTraceChainGetId() local
38 return Parse(id); in FfiOHOSHiTraceChainGetId()
41 void FfiOHOSHiTraceChainSetId(CHiTraceId id) in FfiOHOSHiTraceChainSetId() argument
43 OHOS::HiviewDFX::HiTraceId traceId = Parse(id); in FfiOHOSHiTraceChainSetId()
54 OHOS::HiviewDFX::HiTraceId id = HiTraceChainImpl::CreateSpan(); in FfiOHOSHiTraceChainCreateSpan() local
55 return Parse(id); in FfiOHOSHiTraceChainCreateSpan()
[all …]
/base/account/os_account/
DREADME_zh.md91 …le><thead align="left"><tr id="row175061254462"><th class="cellrowborder" valign="top" width="51.5…
93 <th class="cellrowborder" valign="top" width="48.47%" id="mcps1.2.3.1.2"><p id="p85066541767"><a na…
98 <tr id="row0506185417614"><td class="cellrowborder" valign="top" width="51.53%" headers="mcps1.2.3.…
100 <td class="cellrowborder" valign="top" width="48.47%" headers="mcps1.2.3.1.2 "><p id="p195453116111…
109 …e><thead align="left"><tr id="row43241021174219"><th class="cellrowborder" valign="top" width="51.…
111 <th class="cellrowborder" valign="top" width="48.39%" id="mcps1.2.3.1.2"><p id="p2324221174213"><a …
115 <tbody><tr id="row1432413213425"><td class="cellrowborder" valign="top" width="51.61%" headers="mcp…
117 <td class="cellrowborder" valign="top" width="48.39%" headers="mcps1.2.3.1.2 "><p id="p193243211042…
120 <tr id="row12324162116427"><td class="cellrowborder" valign="top" width="51.61%" headers="mcps1.2.3…
122 <td class="cellrowborder" valign="top" width="48.39%" headers="mcps1.2.3.1.2 "><p id="p132482116421…
[all …]
/base/account/os_account/frameworks/osaccount/native/src/
Dos_account_manager.cpp59 ErrCode OsAccountManager::RemoveOsAccount(const int id) in RemoveOsAccount() argument
61 return OsAccount::GetInstance().RemoveOsAccount(id); in RemoveOsAccount()
64 ErrCode OsAccountManager::IsOsAccountExists(const int id, bool &isOsAccountExists) in IsOsAccountExists() argument
66 return OsAccount::GetInstance().IsOsAccountExists(id, isOsAccountExists); in IsOsAccountExists()
69 ErrCode OsAccountManager::IsOsAccountActived(const int id, bool &isOsAccountActived) in IsOsAccountActived() argument
71 return OsAccount::GetInstance().IsOsAccountActived(id, isOsAccountActived); in IsOsAccountActived()
75 const int id, const std::string &constraint, bool &isConstraintEnable) in IsOsAccountConstraintEnable() argument
77 return OsAccount::GetInstance().IsOsAccountConstraintEnable(id, constraint, isConstraintEnable); in IsOsAccountConstraintEnable()
81 const int id, const std::string &constraint, bool &isEnabled) in CheckOsAccountConstraintEnabled() argument
83 return OsAccount::GetInstance().CheckOsAccountConstraintEnabled(id, constraint, isEnabled); in CheckOsAccountConstraintEnabled()
[all …]

12345678910>>...81