Home
last modified time | relevance | path

Searched refs:pId (Results 1 – 23 of 23) sorted by relevance

/ohos5.0/base/hiviewdfx/hitrace/interfaces/native/innerkits/include/hitrace/
H A Dhitracechainc.h126 pId->ver = 0; in HiTraceChainInitId()
127 pId->chainId = 0; in HiTraceChainInitId()
128 pId->flags = 0; in HiTraceChainInitId()
129 pId->spanId = 0; in HiTraceChainInitId()
130 pId->parentSpanId = 0; in HiTraceChainInitId()
135 return (pId) && (pId->valid == HITRACE_ID_VALID); in HiTraceChainIsValid()
140 return HiTraceChainIsValid(pId) && ((pId->flags & (uint64_t)flag) != 0); in HiTraceChainIsFlagEnabled()
156 return pId->flags; in HiTraceChainGetFlags()
172 return pId->chainId; in HiTraceChainGetChainId()
184 pId->flags = pId->spanId = pId->parentSpanId = 0; in HiTraceChainSetChainId()
[all …]
/ohos5.0/base/hiviewdfx/hitrace/frameworks/native/c_wrapper/source/
H A Dhitracechain_c_wrapper.c31 return HiTraceChainIsFlagEnabled(pId, flag); in HiTraceChainIsFlagEnabledWrapper()
36 HiTraceChainEnableFlag(pId, flag); in HiTraceChainEnableFlagWrapper()
41 return HiTraceChainIsValid(pId); in HiTraceChainIsValidWrapper()
46 HiTraceChainSetFlags(pId, flags); in HiTraceChainSetFlagsWrapper()
51 return HiTraceChainGetFlags(pId); in HiTraceChainGetFlagsWrapper()
56 HiTraceChainSetChainId(pId, chainId); in HiTraceChainSetChainIdWrapper()
61 return HiTraceChainGetChainId(pId); in HiTraceChainGetChainIdWrapper()
66 HiTraceChainSetSpanId(pId, spanId); in HiTraceChainSetSpanIdWrapper()
71 return HiTraceChainGetSpanId(pId); in HiTraceChainGetSpanIdWrapper()
76 HiTraceChainSetParentSpanId(pId, parentSpanId); in HiTraceChainSetParentSpanIdWrapper()
[all …]
/ohos5.0/base/hiviewdfx/hitrace/frameworks/native/c_wrapper/include/
H A Dhitracechain_c_wrapper.h30 int HiTraceChainIsFlagEnabledWrapper(const HiTraceIdStruct* pId, int flag);
33 void HiTraceChainEnableFlagWrapper(HiTraceIdStruct* pId, int flag);
36 int HiTraceChainIsValidWrapper(const HiTraceIdStruct* pId);
39 void HiTraceChainSetFlagsWrapper(HiTraceIdStruct* pId, int flags);
42 int HiTraceChainGetFlagsWrapper(const HiTraceIdStruct* pId);
45 void HiTraceChainSetChainIdWrapper(HiTraceIdStruct* pId, uint64_t chainId);
48 uint64_t HiTraceChainGetChainIdWrapper(const HiTraceIdStruct* pId);
51 void HiTraceChainSetSpanIdWrapper(HiTraceIdStruct* pId, uint64_t spanId);
54 uint64_t HiTraceChainGetSpanIdWrapper(const HiTraceIdStruct* pId);
57 void HiTraceChainSetParentSpanIdWrapper(HiTraceIdStruct* pId, uint64_t parentSpanId);
[all …]
/ohos5.0/base/hiviewdfx/hitrace/frameworks/native/
H A Dhitracechainc.c95 if (!HiTraceChainIsValid(pId)) { in HiTraceChainSetId()
100 pThreadId->id = *pId; in HiTraceChainSetId()
179 void HiTraceChainEnd(const HiTraceIdStruct* pId) in HiTraceChainEnd() argument
181 if (!HiTraceChainIsValid(pId)) { in HiTraceChainEnd()
272 if (!HiTraceChainIsValid(pId)) { in HiTraceChainTracepointInner()
296 StartTraceChainPoint(pId, buff); in HiTraceChainTracepointInner()
313 … (unsigned long long)pId->spanId, (unsigned long long)pId->parentSpanId, buff + hitraceMask); in HiTraceChainTracepointInner()
380 if (pId != NULL && pId->valid == HITRACE_ID_VALID) { in HiTraceChainSaveAndSetId()
381 g_hiTraceId.id = *pId; in HiTraceChainSaveAndSetId()
388 if (pId != NULL) { in HiTraceChainRestoreId()
[all …]
H A Dhitracechain_inner.h29 …cepointInner(HiTraceCommunicationMode mode, HiTraceTracepointType type, const HiTraceIdStruct* pId,
/ohos5.0/foundation/barrierfree/accessibility/services/aams/src/
H A Daccessibility_multifinger_multitap.cpp353 for (int pId = 0; pId < fingerNum; pId++) { in ParamCheck() local
354 if (!lastUpPoint_.count(pId) || !lastUpPoint_[pId]) { in ParamCheck()
368 for (int32_t pId = 1; pId < fingerNum; pId++) { in GetLastFirstPointUpTime() local
398 nearestPid = pId; in IsDoubelTapSlopConditionMatch()
406 nearestPid = pId; in IsDoubelTapSlopConditionMatch()
428 for (int32_t pId = 0; pId < fingerNum; pId++) { in GetPointerItemWithFingerNum() local
429 if (!event.GetPointerItem(pIds[pId], curPoints[pId])) { in GetPointerItemWithFingerNum()
433 …if (!prePointsEventInfo[pId]->GetPointerItem(prePointsEventInfo[pId]->GetPointerId(), prePoints[pI… in GetPointerItemWithFingerNum()
583 int32_t pId = iter.first; in storeBaseDownPoint() local
638 if (pointInfo.count(pId) == 0 || !pointInfo[pId]) { in GetBasePointItem()
[all …]
H A Daccessibility_touch_guider.cpp1032 for (auto& pId : pIds) { in SendAllDownEvents() local
1033 if (injectedRecorder_.downPointers.find(pId) == injectedRecorder_.downPointers.end()) { in SendAllDownEvents()
1034 event.SetPointerId(pId); in SendAllDownEvents()
1045 for (auto& pId : pIds) { in SendAllUpEvents() local
1046 event.SetPointerId(pId); in SendAllUpEvents()
1056 for (const auto& pId : pIds) { in SendUpForAllInjectedEvent() local
1057 if (injectedRecorder_.downPointers.find(pId) == injectedRecorder_.downPointers.end()) { in SendUpForAllInjectedEvent()
/ohos5.0/docs/zh-cn/device-dev/subsystems/
H A Dsubsys-dfx-hitracechain.md55 | | void End(const HiTraceId&amp; id) | void HiTraceChainEnd(const HiTraceIdStruct* pId) |
57 | | void SetId(const HiTraceId&amp; id) | void HiTraceChainSetId(const HiTraceIdStruct* pId) |
62 | HiTraceId | HiTraceId(); | void HiTraceChainInitId(HiTraceIdStruct* pId) |
64 | | bool IsValid() | int HiTraceChainIsValid(const HiTraceIdStruct* pId) |
66 | | void EnableFlag(HiTraceFlag flag) | void HiTraceChainEnableFlag(HiTraceIdStruct* pId, HiTraceF…
67 | | int GetFlags() | int HiTraceChainGetFlags(const HiTraceIdStruct* pId) |
68 | | void SetFlags(int flags) | void HiTraceChainSetFlags(HiTraceIdStruct* pId, int flags) |
69 | | uint64_t GetChainId() | uint64_t HiTraceChainGetChainId(const HiTraceIdStruct* pId) |
71 | | uint64_t GetSpanId() | uint64_t HiTraceChainGetSpanId(const HiTraceIdStruct* pId) |
72 | | void SetSpanId(uint64_t spanId) | void HiTraceChainSetSpanId(HiTraceIdStruct* pId, uint64_t sp…
[all …]
/ohos5.0/foundation/communication/dsoftbus/adapter/common/dfx/
H A Dsoftbus_adapter_hitrace.c23 HiTraceIdStruct pId = HiTraceChainGetId(); in SoftbusHitraceStart() local
24 pId.valid = flags; in SoftbusHitraceStart()
25 pId.chainId = chainId > 0 ? chainId : (uint64_t)SoftBusCryptoRand(); in SoftbusHitraceStart()
26 HiTraceChainSetId(&pId); in SoftbusHitraceStart()
/ohos5.0/foundation/communication/dsoftbus/core/common/dfx/hisysevent_adapter/
H A Dsoftbus_hisysevt_connreporter.c80 uint32_t pId; member
194 static PIdOfPkgNameNode *GetPkgNameByPId(uint32_t pId) in GetPkgNameByPId() argument
200 if (pId == item->pId) { in GetPkgNameByPId()
207 static int32_t AddPIdOfPkgNameNode(PIdOfPkgNameNode **pIdOfNameNode, uint32_t pId, const char *pkgN… in AddPIdOfPkgNameNode() argument
216 newNode->pId = pId; in AddPIdOfPkgNameNode()
470 int32_t SoftBusRecordPIdAndPkgName(uint32_t pId, const char *pkgName) in SoftBusRecordPIdAndPkgName() argument
477 PIdOfPkgNameNode *pIdOfPkgNameNode = GetPkgNameByPId(pId); in SoftBusRecordPIdAndPkgName()
479 ret = AddPIdOfPkgNameNode(&pIdOfPkgNameNode, pId, pkgName); in SoftBusRecordPIdAndPkgName()
531 int32_t SoftbusRecordConnResult(uint32_t pId, SoftBusConnType connType, SoftBusConnStatus status, in SoftbusRecordConnResult() argument
544 PIdOfPkgNameNode *pIdNode = GetPkgNameByPId(pId); in SoftbusRecordConnResult()
[all …]
/ohos5.0/foundation/communication/dsoftbus/core/common/dfx/hisysevent_adapter/include/
H A Dsoftbus_hisysevt_connreporter.h85 int32_t SoftBusRecordPIdAndPkgName(uint32_t pId, const char *pkgName);
87 int32_t SoftbusRecordConnResult(uint32_t pId, SoftBusConnType connType, SoftBusConnStatus status,
90 int32_t SoftbusRecordProccessDuration(uint32_t pId, SoftBusConnType connType, SoftBusConnStatus sta…
/ohos5.0/docs/en/device-dev/subsystems/
H A Dsubsys-dfx-hitracechain.md55 | | void End(const HiTraceId&amp; id) | void HiTraceChainEnd(const HiTraceIdStruct* pId) |
57 | | void SetId(const HiTraceId&amp; id) | void HiTraceChainSetId(const HiTraceIdStruct* pId) |
62 | HiTraceId | HiTraceId(); | void HiTraceChainInitId(HiTraceIdStruct* pId) |
64 | | bool IsValid() | int HiTraceChainIsValid(const HiTraceIdStruct* pId) |
66 | | void EnableFlag(HiTraceFlag flag) | void HiTraceChainEnableFlag(HiTraceIdStruct* pId, HiTraceF…
67 | | int GetFlags() | int HiTraceChainGetFlags(const HiTraceIdStruct* pId) |
68 | | void SetFlags(int flags) | void HiTraceChainSetFlags(HiTraceIdStruct* pId, int flags) |
69 | | uint64_t GetChainId() | uint64_t HiTraceChainGetChainId(const HiTraceIdStruct* pId) |
71 | | uint64_t GetSpanId() | uint64_t HiTraceChainGetSpanId(const HiTraceIdStruct* pId) |
72 | | void SetSpanId(uint64_t spanId) | void HiTraceChainSetSpanId(HiTraceIdStruct* pId, uint64_t sp…
[all …]
/ohos5.0/base/telephony/ril_adapter/services/hril_hdf/src/
H A Dhril_hdf.c60 static UsbDeviceInfo *GetPresetInformation(const char *vId, const char *pId) in GetPresetInformation() argument
62 if (vId == NULL || pId == NULL) { in GetPresetInformation()
68 int32_t idProduct = (int32_t)strtol(pId, &out, BASE_HEX); in GetPresetInformation()
/ohos5.0/foundation/barrierfree/accessibility/services/aams/test/mock/src/
H A Dmock_accessibility_touch_guider.cpp638 for (auto& pId : pIds) { in SendAllDownEvents() local
639 if (injectedRecorder_.downPointers.find(pId) == injectedRecorder_.downPointers.end()) { in SendAllDownEvents()
640 event.SetPointerId(pId); in SendAllDownEvents()
651 for (auto& pId : pIds) { in SendAllUpEvents() local
652 event.SetPointerId(pId); in SendAllUpEvents()
662 for (const auto& pId : pIds) { in SendUpForAllInjectedEvent() local
663 if (injectedRecorder_.downPointers.find(pId) == injectedRecorder_.downPointers.end()) { in SendUpForAllInjectedEvent()
/ohos5.0/foundation/ability/ability_runtime/test/unittest/uri_permission_impl_test/mock/include/
H A Dmock_ipc_skeleton.h31 static void SetCallingPid(uint32_t pId);
/ohos5.0/foundation/barrierfree/accessibility/services/aams/include/
H A Daccessibility_multifinger_multitap.h355 int32_t pId, std::map<int32_t, std::shared_ptr<MMI::PointerEvent>> &pointInfo);
366 …const int32_t pId, const MMI::PointerEvent::PointerItem &pointerIterm, const int32_t dx, const int…
/ohos5.0/base/hiviewdfx/hitrace/test/unittest/common/native/
H A Dhitracechainc_test.cpp53 const HiTraceIdStruct* pId, const char* fmt, ...) in HiTraceChainTracepointExWithArgsWrapper() argument
57 HiTraceChainTracepointExWithArgs(mode, type, pId, fmt, vaList); in HiTraceChainTracepointExWithArgsWrapper()
61 … void HiTraceChainTracepointWithArgsWrapper(HiTraceTracepointType type, const HiTraceIdStruct* pId, in HiTraceChainTracepointWithArgsWrapper() argument
66 HiTraceChainTracepointWithArgs(type, pId, fmt, vaList); in HiTraceChainTracepointWithArgsWrapper()
/ohos5.0/foundation/multimodalinput/input/tools/inject_event/include/
H A Dinput_manager_command.h59 …std::shared_ptr<PointerEvent> CreateEvent(int32_t id, int32_t type, int32_t pId, int32_t srcType, …
/ohos5.0/foundation/barrierfree/accessibility/services/test/moduletest/aamstest/aams_accessibility_touch_guider_test/
H A Daams_accessibility_touch_guider_test.cpp383 int32_t pId = 0; in MultiFingerTapEventProduce() local
387 pId++; in MultiFingerTapEventProduce()
398 pId = pointsVec.size() - 1; in MultiFingerTapEventProduce()
400 … event = CreateTouchEvent(MMI::PointerEvent::POINTER_ACTION_UP, points, occurredTime, 0, pId); in MultiFingerTapEventProduce()
402 pId--; in MultiFingerTapEventProduce()
424 int32_t pId = 0; in MultiFingerTapAndMoveEventProduce() local
427 … event = CreateTouchEvent(MMI::PointerEvent::POINTER_ACTION_DOWN, points, occurredTime, 0, pId); in MultiFingerTapAndMoveEventProduce()
428 pId++; in MultiFingerTapAndMoveEventProduce()
439 pId = pointEndVec.size() - 1; in MultiFingerTapAndMoveEventProduce()
441 … event = CreateTouchEvent(MMI::PointerEvent::POINTER_ACTION_UP, points, occurredTime, 0, pId); in MultiFingerTapAndMoveEventProduce()
[all …]
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/br/
H A Dconnection_br_connection_test.cpp462 uint32_t pId = 0; variable
467 EXPECT_NO_FATAL_FAILURE(DfxRecordBrConnectFail(reqId, pId, device, nullptr, reason));
468 EXPECT_NO_FATAL_FAILURE(DfxRecordBrConnectFail(reqId, pId, device, &statistics, reason));
473 uint32_t pId = 0; variable
481 DfxRecordBrConnectSuccess(pId, connection, nullptr);
482 DfxRecordBrConnectSuccess(pId, connection, &statistics);
/ohos5.0/foundation/communication/dsoftbus/core/connection/tcp/src/
H A Dsoftbus_tcp_connect_manager.c75 static void DfxRecordTcpConnectFail(uint32_t pId, ConnectOption *option, TcpConnInfoNode *tcpInfo, in DfxRecordTcpConnectFail() argument
93 …SoftbusRecordConnResult(pId, SOFTBUS_HISYSEVT_CONN_TYPE_TCP, SOFTBUS_EVT_CONN_FAIL, costTime, reas… in DfxRecordTcpConnectFail()
96 static void DfxRecordTcpConnectSuccess(uint32_t pId, TcpConnInfoNode *tcpInfo, ConnectStatistics *s… in DfxRecordTcpConnectSuccess() argument
112 SoftbusRecordConnResult(pId, SOFTBUS_HISYSEVT_CONN_TYPE_TCP, SOFTBUS_EVT_CONN_SUCC, costTime, in DfxRecordTcpConnectSuccess()
/ohos5.0/foundation/communication/dsoftbus/core/connection/br/src/
H A Dsoftbus_conn_br_manager.c117 …uint32_t reqId, uint32_t pId, ConnBrDevice *device, const ConnectStatistics *statistics, int32_t r… in DfxRecordBrConnectFail() argument
126 …SoftbusRecordConnResult(pId, SOFTBUS_HISYSEVT_CONN_TYPE_BR, SOFTBUS_EVT_CONN_FAIL, costTime, reaso… in DfxRecordBrConnectFail()
138 static void DfxRecordBrConnectSuccess(uint32_t pId, ConnBrConnection *connection, ConnectStatistics… in DfxRecordBrConnectSuccess() argument
148pId, SOFTBUS_HISYSEVT_CONN_TYPE_BR, SOFTBUS_EVT_CONN_SUCC, costTime, SOFTBUS_HISYSEVT_CONN_OK); in DfxRecordBrConnectSuccess()
/ohos5.0/foundation/communication/dsoftbus/core/connection/ble/src/
H A Dsoftbus_conn_ble_manager.c171 …uint32_t reqId, uint32_t pId, ConnBleDevice *device, const ConnectStatistics *statistics, int32_t … in DfxRecordBleConnectFail() argument
184 SoftbusRecordConnResult(pId, connType, SOFTBUS_EVT_CONN_FAIL, costTime, reason); in DfxRecordBleConnectFail()
202 static void DfxRecordBleConnectSuccess(uint32_t pId, ConnBleConnection *connection, ConnectStatisti… in DfxRecordBleConnectSuccess() argument
214 … SoftbusRecordConnResult(pId, connType, SOFTBUS_EVT_CONN_SUCC, costTime, SOFTBUS_HISYSEVT_CONN_OK); in DfxRecordBleConnectSuccess()