Home
last modified time | relevance | path

Searched refs:types (Results 1 – 25 of 162) sorted by relevance

1234567

/base/msdp/device_status/utils/common/src/
Dpreview_style_packer.cpp31 std::vector<int32_t> types; in Marshalling() local
32 for (const auto &elem : previewStyle.types) { in Marshalling()
33 types.push_back(static_cast<int32_t>(elem)); in Marshalling()
35 WRITEINT32VECTOR(data, types, ERR_INVALID_VALUE); in Marshalling()
45 std::vector<int32_t> types; in UnMarshalling() local
46 READINT32VECTOR(data, types, ERR_INVALID_VALUE); in UnMarshalling()
47 for (const auto &elem : types) { in UnMarshalling()
48 previewStyle.types.push_back(static_cast<PreviewType>(elem)); in UnMarshalling()
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/observer/
Dapp_event_observer.cpp68 uint32_t types) : domain(domain), names(names), types(types) in AppEventFilter() argument
71 …entFilter::AppEventFilter(const std::string& domain, uint32_t types) : domain(domain), types(types) in AppEventFilter() argument
82 if (types != 0 && !(types & (1 << event->GetType()))) { // 1: bit mask in IsValidEvent()
/base/hiviewdfx/hilog/services/hilogd/
Dservice_controller.cpp65 inline bool IsKmsg(uint16_t types) in IsKmsg() argument
67 return types == (0b01 << LOG_KMSG); in IsKmsg()
432 if (((rqst.types & (0b01 << LOG_KMSG)) != 0) && (GetBitsCount(rqst.types) > 1)) { in CheckOutputRqst()
454 if (rqst.types == 0) { in LogFilterFromOutputRqst()
455 filter.types = DEFAULT_LOG_TYPES; in LogFilterFromOutputRqst()
457 filter.types = rqst.types; in LogFilterFromOutputRqst()
511 bool isKmsg = IsKmsg(filter.types); in HandleOutputRqst()
566 bool isKmsgType = rqst.outputFilter.types == (0b01 << LOG_KMSG); in PersistStartRqst2Msg()
623 HilogBuffer& logBuffer = IsKmsg(rqst.outputFilter.types) ? m_kmsgBuffer : m_hilogBuffer; in HandlePersistStartRqst()
673 task.outputFilter.types = it->logType; in HandlePersistQueryRqst()
[all …]
/base/hiviewdfx/hilog/frameworks/libhilog/include/
Dhilog_cmd.h76 uint16_t types; member
171 uint16_t types; member
180 uint16_t types; member
188 uint16_t types; member
268 uint16_t types; member
272 uint16_t types; member
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/observer/include/
Dapp_event_observer.h36 uint32_t types = 0; member
41 uint32_t types = 0);
42 AppEventFilter(const std::string& domain, uint32_t types);
/base/hiviewdfx/hilog/services/hilogtool/
Dmain.cpp313 uint16_t types; member
327 … pidCount(0), pids { 0 }, types(0), blackTag(false), tagCount(0), tags { "" }, colorful(false),
334 rqst.types = types; in ToOutputRqst()
374 rqst.types = types; in ToBufferSizeSetRqst()
380 rqst.types = types; in ToBufferSizeGetRqst()
385 rqst.types = types; in ToStatsQueryRqst()
395 rqst.types = types; in ToLogRemoveRqst()
534 cout << "Get " << ComboLogType2Str(rqst.types) << " buffer size failed" << endl; in BufferSizeGetHandler()
724 cout << "Log type " << ComboLogType2Str(rsp.types) << " buffer clear successfully" << endl; in RemoveHandler()
764 uint16_t types = Str2ComboLogType(arg); in TypeHandler() local
[all …]
/base/security/selinux_adapter/sepolicy/base/system/
Dglb_roles.spt15 role r types domain;
17 role r types develop_domain;
/base/hiviewdfx/hilog/services/hilogd/include/
Dlog_filter.h28 uint16_t types; member
44 std::cout << " types: " << types << std::endl; in Print()
/base/notification/distributed_notification_service/test/fuzztest/setdonotdisturbdate_fuzzer/
Dsetdonotdisturbdate_fuzzer.cpp41 uint8_t types = *data % SLOT_TYPE_NUM; in DoSomethingInterestingWithMyAPI() local
42 …ion::NotificationConstant::SlotType slotType = Notification::NotificationConstant::SlotType(types); in DoSomethingInterestingWithMyAPI()
/base/security/asset/services/db_operator/src/
Dlib.rs22 pub mod types; module
/base/security/code_signature/utils/src/
Dhuks_attest_verifier.cpp184 STACK_OF(ASN1_TYPE) *types = d2i_ASN1_SEQUENCE_ANY( in ParseASN1Sequence()
186 if (types == nullptr) { in ParseASN1Sequence()
190 int num = sk_ASN1_TYPE_num(types); in ParseASN1Sequence()
194 ASN1_TYPE *type = sk_ASN1_TYPE_value(types, i); in ParseASN1Sequence()
/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/
Dsmaps_memory_info.cpp87 vector<string> types; in InsertSmapsTitle() local
88 StringUtils::GetInstance().StringSplit(str, "_", types); in InsertSmapsTitle()
89 if (types.size() == TYPE_SIZE) { in InsertSmapsTitle()
90 string title1 = types.at(0); in InsertSmapsTitle()
93 string title2 = types.at(1); in InsertSmapsTitle()
97 string title = types.at(0); in InsertSmapsTitle()
/base/hiviewdfx/hiappevent/frameworks/js/napi/src/
Dnapi_hiappevent_watch.cpp105 napi_value types = NapiUtil::GetProperty(env, filter, FILTERS_TYPES_PROP); in IsValidFilter() local
106 if (types != nullptr && !NapiUtil::IsArrayType(env, types, napi_number)) { in IsValidFilter()
245 std::vector<int> types; in GetFilters() local
246 NapiUtil::GetInt32s(env, typesValue, types); in GetFilters()
248 for (auto type : types) { in GetFilters()
/base/location/interfaces/inner_api/include/
Dsatellite_status.h141 inline void SetConstellationTypes(std::vector<int> types) in SetConstellationTypes() argument
144 for (std::vector<int>::iterator it = types.begin(); it != types.end(); ++it) { in SetConstellationTypes()
/base/msdp/device_status/interfaces/innerkits/interaction/include/
Ddrag_data.h158 std::vector<PreviewType> types; member
166 …return types == other.types && foregroundColor == other.foregroundColor && opacity == other.opacit…
/base/security/selinux_adapter/sepolicy/base/public/
Dattributes72 # All types in the sysfs file system.
76 # All types in the debugfs file system.
80 # All types of parameters.
84 # All types of services.
88 # All types of hdf_services.
/base/global/i18n/interfaces/js/kits/src/
Dentity_recognizer_addon.cpp150 std::vector<std::string> types = {"phone_number", "date"}; in GetEntityInfoItem() local
152 for (std::string::size_type t = 0; t < types.size(); t++) { in GetEntityInfoItem()
156 std::string type = types[t]; in GetEntityInfoItem()
/base/hiviewdfx/hiview/base/
Dplugin.cpp99 void Plugin::AddDispatchInfo(const std::unordered_set<uint8_t>& types, in AddDispatchInfo() argument
106 context_->AddDispatchInfo(shared_from_this(), types, eventNames, tags, domainRulesMap); in AddDispatchInfo()
/base/notification/distributed_notification_service/test/fuzztest/publishnotification_fuzzer/
Dpublishnotification_fuzzer.cpp74 uint8_t types = *data % SLOT_TYPE_NUM; in DoSomethingInterestingWithMyAPI() local
75 …ion::NotificationConstant::SlotType slotType = Notification::NotificationConstant::SlotType(types); in DoSomethingInterestingWithMyAPI()
/base/hiviewdfx/hiappevent/frameworks/native/ndk/src/
Dndk_app_event_watcher.cpp43 uint32_t types = eventTypes << 1; in AddAppEventFilter() local
44 HiAppEvent::AppEventFilter filter{domain, types}; in AddAppEventFilter()
/base/notification/distributed_notification_service/test/fuzztest/reminderrequest_fuzzer/
Dreminderrequest_fuzzer.cpp38 uint8_t types = *data % ACTION_BUTTON_TYPE; in DoSomethingInterestingWithMyAPI() local
40 Notification::ReminderRequest::ActionButtonType(types); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/publishcontinuoustasknotification_fuzzer/
Dpublishcontinuoustasknotification_fuzzer.cpp74 uint8_t types = *data % SLOT_TYPE_NUM; in DoSomethingInterestingWithMyAPI() local
75 …ion::NotificationConstant::SlotType slotType = Notification::NotificationConstant::SlotType(types); in DoSomethingInterestingWithMyAPI()
/base/security/selinux_adapter/sepolicy/ohos_policy/account/os_account/public/
Dfile.te14 # Filesystem types
/base/security/selinux_adapter/sepolicy/ohos_policy/developtools/hdc/public/
Dfile.te14 # Filesystem types
/base/security/selinux_adapter/sepolicy/min/
Dglb_roles.spt15 role r types sid_test_type;

1234567