Home
last modified time | relevance | path

Searched refs:type (Results 1 - 25 of 359) sorted by relevance

12345678910>>...15

/developtools/smartperf_host/trace_streamer/src/trace_data/
H A Dsqllite_prepar_cache_data.h29 using TLVResultCallBack = std::function<void(const char *data, uint32_t len, uint32_t type, int32_t finish)>;
40 void FillAndSendCpuDataProto(sqlite3_stmt *stmt, uint32_t type, TLVResultCallBack tLVResultCallBack);
41 void FillAndSendCpuFreqDataProto(sqlite3_stmt *stmt, uint32_t type, TLVResultCallBack tLVResultCallBack);
42 void FillAndSendProcessDataProto(sqlite3_stmt *stmt, uint32_t type, TLVResultCallBack tLVResultCallBack);
43 void FillAndSendCpuFreqLimitDataProto(sqlite3_stmt *stmt, uint32_t type, TLVResultCallBack tLVResultCallBack);
44 void FillAndSendCpuStateDataProto(sqlite3_stmt *stmt, uint32_t type, TLVResultCallBack tLVResultCallBack);
45 void FillAndSendProcessMemDataProto(sqlite3_stmt *stmt, uint32_t type, TLVResultCallBack tLVResultCallBack);
46 void FillAndSendProcessSoInitDataProto(sqlite3_stmt *stmt, uint32_t type, TLVResultCallBack tLVResultCallBack);
47 void FillAndSendProcessStartupDataProto(sqlite3_stmt *stmt, uint32_t type, TLVResultCallBack tLVResultCallBack);
48 void FillAndSendClockDataDataProto(sqlite3_stmt *stmt, uint32_t type, TLVResultCallBac
[all...]
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/entity/
H A DSignBlockData.java26 private char type; field in SignBlockData
33 public SignBlockData(byte[] signData, char type) { in SignBlockData() argument
35 this.type = type; in SignBlockData()
40 public SignBlockData(String signFile, char type) { in SignBlockData() argument
42 this.type = type; in SignBlockData()
48 return type; in getType()
51 public void setType(char type) { in setType() argument
52 this.type in setType()
[all...]
H A DSigningBlock.java24 private int type; field in SigningBlock
31 * Init Signing Block type and value
33 * @param type signing type
36 public SigningBlock(int type, byte[] value) { in SigningBlock() argument
38 this.type = type; in SigningBlock()
44 * Init Signing Block type and value
46 * @param type signing type
50 SigningBlock(int type, byte[] value, int offset) SigningBlock() argument
[all...]
H A DSignContentInfo.java35 * the signature sub-block type
37 protected char type; field in SignContentHash
64 SignContentHash(char type, char tag, short algId, int length, byte[] hash) { in SignContentHash() argument
65 this.type = type; in SignContentHash()
89 * @param type the signature sub-block type
95 public void addContentHashData(char type, char tag, short algId, int length, byte[] hash) { in addContentHashData() argument
96 SignContentHash signInfo = new SignContentHash(type, tag, algId, length, hash); in addContentHashData()
132 ret[index] = (byte) tmp.type; in getByteContent()
[all...]
/developtools/global_resource_tool/src/
H A Dfactory_resource_compiler.cpp25 unique_ptr<IResourceCompiler> FactoryResourceCompiler::CreateCompiler(ResType type, const string &output) in CreateCompiler() argument
27 if (type == ResType::ELEMENT) { in CreateCompiler()
28 return make_unique<JsonCompiler>(type, output); in CreateCompiler()
30 return make_unique<GenericCompiler>(type, output); in CreateCompiler()
34 unique_ptr<IResourceCompiler> FactoryResourceCompiler::CreateCompilerForAppend(ResType type, const string &output) in CreateCompilerForAppend() argument
36 if (type == ResType::ELEMENT) { in CreateCompilerForAppend()
37 return make_unique<JsonCompiler>(type, output); in CreateCompilerForAppend()
38 } else if (type == ResType::MEDIA || type == ResType::PROF) { in CreateCompilerForAppend()
39 return make_unique<AppendCompiler>(type, outpu in CreateCompilerForAppend()
[all...]
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/datastructure/
H A DExtension.java27 * u32 type: Indicates the type of extension
39 private final int type; field in Extension
43 public Extension(int type, int size) { in Extension() argument
44 this.type = type; in Extension()
56 public boolean isType(int type) { in isType() argument
57 return this.type == type; in isType()
67 bf.putInt(this.type); in toByteArray()
[all...]
H A DSegmentHeader.java27 * u32 type: indicates the type of segment: fs-verity/so/hap info segment
42 * Fs-verity segment type
47 * Hap info segment type
52 * So info segment type
56 private final int type; field in SegmentHeader
65 * @param type segment type
68 public SegmentHeader(int type, int segmentSize) { in SegmentHeader() argument
69 this(type, in SegmentHeader()
79 SegmentHeader(int type, int segmentOffset, int segmentSize) SegmentHeader() argument
[all...]
/developtools/hapsigner/hapsigntool_cpp/codesigning/datastructure/src/
H A Dextension.cpp25 type = 0; in Extension()
29 Extension::Extension(int32_t type, int32_t size) in Extension() argument
31 this->type = type; in Extension()
44 bool Extension::IsType(int32_t type) in IsType() argument
46 return this->type == type; in IsType()
53 bf->PutInt32(type); in ToByteArray()
H A Dsegment_header.cpp25 SegmentHeader::SegmentHeader(int32_t type, int32_t segmentSize) :type(type), segmentOffset(0), segmentSize(segmentSize) in SegmentHeader() argument
29 SegmentHeader::SegmentHeader(int32_t type, int32_t segmentOffset, in SegmentHeader() argument
32 this->type = type; in SegmentHeader()
39 return type; in GetType()
60 bf->PutInt32(type); in ToByteArray()
81 PrintErrorNumberMsg("VERIFY_ERROR", VERIFY_ERROR, "The type of SegmentHeader is incorrect."); in FromByteArray()
/developtools/hapsigner/hapsigntool_cpp_test/unittest/elfVerify/
H A Dsignature_block_types_test.cpp37 * @tc.type: FUNC
43 char type = SignatureBlockTypes::GetProfileBlockTypes("0"); in HWTEST_F() local
44 bool flag = type == SignatureBlockTypes::PROFILE_NOSIGNED_BLOCK; in HWTEST_F()
53 * @tc.type: FUNC
59 char type = SignatureBlockTypes::GetProfileBlockTypes("1"); in HWTEST_F() local
60 bool flag = type == SignatureBlockTypes::PROFILE_SIGNED_BLOCK; in HWTEST_F()
69 * @tc.type: FUNC
75 char type = SignatureBlockTypes::GetProfileBlockTypes("2"); in HWTEST_F() local
76 bool flag = type == SignatureBlockTypes::PROFILE_NOSIGNED_BLOCK; in HWTEST_F()
85 * @tc.type
91 char type = SignatureBlockTypes::GetProfileBlockTypes(""); HWTEST_F() local
[all...]
/developtools/profiler/device/base/include/
H A Dlogging.h96 static inline int HiLogPrint(int type, int prio, int domain, ConstCharPtr tag, ConstCharPtr fmt, ...) in HiLogPrint() argument
99 UNUSED_PARAMETER(type); in HiLogPrint()
155 #define HILOG_PRINT_DEBUG(type, fmt, ...) \
156 HILOG_BASE_DEBUG(type, "%{public}s", logging::StringFormat(fmt, ##__VA_ARGS__).c_str())
157 #define HILOG_PRINT_INFO(type, fmt, ...) \
158 HILOG_BASE_INFO(type, "%{public}s", logging::StringFormat(fmt, ##__VA_ARGS__).c_str())
159 #define HILOG_PRINT_WARN(type, fmt, ...) \
160 HILOG_BASE_WARN(type, "%{public}s", logging::StringFormat(fmt, ##__VA_ARGS__).c_str())
161 #define HILOG_PRINT_ERROR(type, fmt, ...) \
162 HILOG_BASE_ERROR(type, "
[all...]
/developtools/profiler/device/plugins/ftrace_plugin/src/
H A Dftrace_parser.cpp87 bool FtraceParser::SetupEvent(const std::string& type, const std::string& name) in SetupEvent() argument
95 format.eventType = type; in SetupEvent()
97 std::string desc = FtraceFsOps::GetInstance().GetEventDataFormat(type, name); in SetupEvent()
100 type.c_str(), name.c_str()); in SetupEvent()
102 false, "setup %s/%s failed!", type.c_str(), name.c_str()); in SetupEvent()
104 false, "setup pbzero %s/%s failed!", type.c_str(), name.c_str()); in SetupEvent()
164 if (typeName.size() > 0) { // split type and name in SplitNameFromTypeName()
183 std::string type; in EraseNameFromTypeName() local
185 type = typeName; in EraseNameFromTypeName()
186 auto pos = type in EraseNameFromTypeName()
232 std::string type = EraseNameFromTypeName(typeName, name); // for field type ParseFieldFormat() local
251 ParseSepcialIntType(FieldFormat& field, const std::string& type, const std::string& typeName) ParseSepcialIntType() argument
312 ParseKernelAddrField(FieldFormat& field, const std::string& type) ParseKernelAddrField() argument
326 ParseFieldType(const std::string& type, FieldFormat& field) ParseFieldType() argument
[all...]
/developtools/profiler/device/base/src/
H A Di_semaphore.cpp19 ISemaphoreFactory& GetSemaphoreFactory(SemaphoreFactoryType type) in GetSemaphoreFactory() argument
22 if (type == STD_SEMAPHORE_FACTORY) { in GetSemaphoreFactory()
24 } else if (type == POSIX_SEMAPHORE_FACTORY) { in GetSemaphoreFactory()
27 } else if (type == PTHREAD_SEMAPHORE_FACTORY) { in GetSemaphoreFactory()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/profile/model/
H A DProvision.java107 * Field type.
109 @SerializedName("type")
110 private String type; field in Provision
113 * Field app-distribution-type.
115 @SerializedName("app-distribution-type")
180 * Check if dist type in scope.
182 * @param appDistType Input type
183 * @return Is type in scope
197 ValidateUtils.throwIfMatches(provision.type == null || !isBuildTypeValid(provision.type), in enforceValid()
233 setType(String type) setType() argument
[all...]
/developtools/hiperf/src/
H A Dspe_decoder.cpp34 const char *SpePktName(enum SpePktType type) in SpePktName() argument
37 switch (type) { in SpePktName()
81 packet->type = PERF_SPE_PAD; in SpeGetPad()
94 packet->type = PERF_SPE_PAD; in SpeGetAlignment()
101 packet->type = PERF_SPE_END; in SpeGetEnd()
109 packet->type = PERF_SPE_TIMESTAMP; in SpeGetTimestamp()
117 packet->type = PERF_SPE_EVENTS; in SpeGetEvents()
126 packet->type = PERF_SPE_DATA_SOURCE; in SpeGetDataSource()
134 packet->type = PERF_SPE_CONTEXT; in SpeGetContext()
143 packet->type in SpeGetOpType()
936 GetSpeEventNameByType(uint32_t type, std::string& eventName) GetSpeEventNameByType() argument
975 DumpSpeReportHead(int indent, uint32_t type, uint64_t count) DumpSpeReportHead() argument
[all...]
/developtools/hapsigner/hapsigntool_cpp_test/unittest/hapVerify/
H A Dprovision_verify_test.cpp33 "type": "release",
34 "app-distribution-type": "os_integration",
53 "type": "release",
54 "app-distribution-type": "os_integration",
73 "type": "release",
74 "app-distribution-type": "os_integration",
93 "type": "release",
94 "app-distribution-type": "app_gallery",
119 "type": "debug",
133 "device-id-type"
[all...]
/developtools/smartperf_host/trace_streamer/src/parser/ebpf_parser/
H A Dfile_system_data_parser.cpp85 uint16_t type) in FileWriteOperation()
88 tracerEventToStrIndexMap.Find(ITEM_EVENT_FS, fsFixedHeadrAddr->type, itid, fsFixedHeadrAddr->startTime); in FileWriteOperation()
90 tracerEventToStrIndexMap.Erase(ITEM_EVENT_FS, fsFixedHeadrAddr->type, itid, fsFixedHeadrAddr->startTime); in FileWriteOperation()
95 if ((type == READ || type == WRITE) && fsFixedHeadrAddr->ret >= 0) { in FileWriteOperation()
112 uint16_t type = INVALID_UINT16; in ParseFileSystemEvent() local
113 auto tmp = fucSubToSummaryType.find(fsFixedHeadrAddr->type); in ParseFileSystemEvent()
117 type = fucSubToSummaryType.at(fsFixedHeadrAddr->type); in ParseFileSystemEvent()
142 auto fd = GetFileDescriptor(fsFixedHeadrAddr, type); in ParseFileSystemEvent()
81 FileWriteOperation(TracerEventToStrIndexMap &tracerEventToStrIndexMap, const FsFixedHeader *fsFixedHeadrAddr, uint32_t itid, uint64_t &filePathId, uint16_t type) FileWriteOperation() argument
[all...]
/developtools/smartperf_host/trace_streamer/src/trace_data/trace_stdtype/measure/
H A Dmeasure_stdtype.cpp20 size_t Filter::AppendNewFilterData(std::string type, std::string name, uint64_t sourceArgSetId) in AppendNewFilterData() argument
25 typeDeque_.emplace_back(type); in AppendNewFilterData()
29 size_t Measure::AppendMeasureData(uint32_t type, uint64_t timeStamp, int64_t value, uint32_t filterId) in AppendMeasureData() argument
33 typeDeque_.emplace_back(type); in AppendMeasureData()
64 size_t SysMeasureFilter::AppendNewFilter(uint64_t filterId, DataIndex type, DataIndex nameId) in AppendNewFilter() argument
68 types_.emplace_back(type); in AppendNewFilter()
89 size_t ClockEventData::AppendNewFilter(uint64_t id, DataIndex type, DataIndex name, uint64_t cpu) in AppendNewFilter() argument
93 types_.emplace_back(type); in AppendNewFilter()
/developtools/hapsigner/hapsigntool_cpp_test/unittest/codeSigning/utils/
H A Dfs_digest_utils_test.cpp43 * @tc.type: FUNC
56 DigestUtils::Type type = DigestUtils::Type::HEX; in HWTEST_F() local
57 std::string str = api->Result(type); in HWTEST_F()
66 * @tc.type: FUNC
79 DigestUtils::Type type = DigestUtils::Type::HEX; in HWTEST_F() local
80 std::string str = api->Result(type); in HWTEST_F()
89 * @tc.type: FUNC
97 DigestUtils::Type type = DigestUtils::Type::HEX; in HWTEST_F() local
98 std::string str = api->Result(type); in HWTEST_F()
/developtools/profiler/host/smartperf/client/client_command/
H A DTemperature.cpp41 std::string dirType = dir + "/type"; in ItemData()
50 std::string type; in ItemData() local
52 SPUtils::LoadFile(dirType, type); in ItemData()
55 if (type.find(node) != std::string::npos) { in ItemData()
56 LOGI("type====: %s", type.c_str()); in ItemData()
60 result[type] = std::to_string(t); in ItemData()
62 result[type] = std::to_string(t / 1e3); in ItemData()
/developtools/packing_tool/adapter/ohos/
H A DHQFInfo.java36 private String type = ""; field in HQFInfo
91 return type; in getType()
94 public void setType(String type) { in setType() argument
95 this.type = type; in setType()
H A DResourcesParser.java77 private final String type; field in ResourcesParser.ResType
79 private ResType(int index, String type) { in ResType() argument
81 this.type = type; in ResType()
87 return resType.type; in getType()
97 return type; in getType()
113 private final String type; field in ResourcesParser.DeviceType
114 private DeviceType(int index, String type) { in DeviceType() argument
116 this.type = type; in DeviceType()
148 private final String type; global() field in ResourcesParser.Resolution
149 Resolution(int index, String type) Resolution() argument
199 int type; global() field in ResourcesParser.DataItem
[all...]
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/fsverity/
H A DFsVerityDescriptorWithSign.java25 * 1) u32 type: 0x1 fsverity descriptor
33 private int type = FsVerityDescriptor.FS_VERITY_DESCRIPTOR_TYPE; field in FsVerityDescriptorWithSign
58 * @param type fs-verity descriptor type
63 public FsVerityDescriptorWithSign(int type, int length, FsVerityDescriptor fsVerityDescriptor, byte[] signature) { in FsVerityDescriptorWithSign() argument
64 this.type = type; in FsVerityDescriptorWithSign()
87 buffer.putInt(type); in toByteArray()
/developtools/hapsigner/hapsigntool_cpp/hap/entity/src/
H A Dsigning_block.cpp21 SigningBlock::SigningBlock(const int32_t type, const std::vector<int8_t> &value) in SigningBlock() argument
23 m_type = type; in SigningBlock()
28 SigningBlock::SigningBlock(const int32_t type, const std::vector<int8_t> &value, const int64_t offset) in SigningBlock() argument
30 m_type = type; in SigningBlock()
/developtools/profiler/device/plugins/native_daemon/native_memory_profiler_sa/src/
H A Dnative_memory_profiler_sa_client_manager.cpp41 int32_t NativeMemoryProfilerSaClientManager::Start(NativeMemProfilerType type, uint32_t pid, uint32_t duration, in Start() argument
53 if (type == NativeMemProfilerType::MEM_PROFILER_LIBRARY) { in Start()
55 } else if (type == NativeMemProfilerType::MEM_PROFILER_CALL_STACK) { in Start()
122 int32_t NativeMemoryProfilerSaClientManager::GetMallocStats(int fd, int pid, int type) in GetMallocStats() argument
126 CHECK_TRUE(type == 0 || type == 1, RET_ERR, "NativeMemoryProfilerSaClientManager: type is invalid"); in GetMallocStats()
130 config->nmdType_ = static_cast<uint32_t>(type); in GetMallocStats()

Completed in 9 milliseconds

12345678910>>...15