/base/useriam/user_auth_framework/test/unittest/services/src/ |
D | schedule_node_test.cpp | 51 auto builder = ScheduleNode::Builder::New(nullptr, nullptr); variable 52 EXPECT_EQ(builder, nullptr); 59 auto builder = ScheduleNode::Builder::New(faceCollector, faceCollector); variable 60 EXPECT_EQ(builder, nullptr); 64 auto builder = ScheduleNode::Builder::New(faceVerifier, faceVerifier); variable 65 EXPECT_EQ(builder, nullptr); 70 auto builder = ScheduleNode::Builder::New(faceAllInOne, faceAllInOne); variable 71 ASSERT_NE(builder, nullptr); 72 auto scheduleNode = builder->Build(); 82 auto builder = ScheduleNode::Builder::New(faceVerifier, faceAllInOne); variable [all …]
|
/base/hiviewdfx/hiview/plugins/freeze_detector/ |
D | watch_point.cpp | 27 WatchPoint::WatchPoint(const WatchPoint::Builder& builder) in WatchPoint() argument 28 : seq_(builder.seq_), in WatchPoint() 29 timestamp_(builder.timestamp_), in WatchPoint() 30 pid_(builder.pid_), in WatchPoint() 31 uid_(builder.uid_), in WatchPoint() 32 tid_(builder.tid_), in WatchPoint() 33 domain_(builder.domain_), in WatchPoint() 34 stringId_(builder.stringId_), in WatchPoint() 35 msg_(builder.msg_), in WatchPoint() 36 packageName_(builder.packageName_), in WatchPoint() [all …]
|
D | watch_point.h | 59 explicit WatchPoint(const WatchPoint::Builder& builder);
|
/base/useriam/user_auth_framework/services/core/src/ |
D | schedule_node_impl.cpp | 164 auto builder = FiniteStateMachine::Builder::New(GetDescription(), S_INIT); in MakeFiniteStateMachine() local 165 if (builder == nullptr) { in MakeFiniteStateMachine() 169 builder->MakeTransition(S_INIT, E_START_AUTH, S_VERIFY_STARING, in MakeFiniteStateMachine() 173 builder->MakeTransition(S_VERIFY_STARING, E_VERIFY_STARTED_SUCCESS, S_COLLECT_STARING, in MakeFiniteStateMachine() 175 builder->MakeTransition(S_VERIFY_STARING, E_VERIFY_STARTED_FAILED, S_END, in MakeFiniteStateMachine() 177 builder->MakeTransition(S_VERIFY_STARING, E_SCHEDULE_RESULT_RECEIVED, S_END); in MakeFiniteStateMachine() 178 builder->MakeTransition(S_VERIFY_STARING, E_STOP_AUTH, S_END); in MakeFiniteStateMachine() 179 builder->MakeTransition(S_VERIFY_STARING, E_TIME_OUT, S_END); in MakeFiniteStateMachine() 182 builder->MakeTransition(S_COLLECT_STARING, E_COLLECT_STARTED_SUCCESS, S_AUTH_PROCESSING); in MakeFiniteStateMachine() 183 builder->MakeTransition(S_COLLECT_STARING, E_SCHEDULE_RESULT_RECEIVED, S_END); in MakeFiniteStateMachine() [all …]
|
D | schedule_node_helper.cpp | 67 auto builder = ScheduleNode::Builder::New(collector, verifier); in ScheduleInfoToScheduleNode() local 68 if (builder == nullptr) { in ScheduleInfoToScheduleNode() 73 builder->SetAccessTokenId(para.tokenId.value()); in ScheduleInfoToScheduleNode() 75 node = builder->SetAuthType(static_cast<AuthType>(info.authType)) in ScheduleInfoToScheduleNode()
|
/base/customization/enterprise_device_management/services/edm/src/utils/ |
D | json_serializer.cpp | 25 Json::CharReaderBuilder builder; in Deserialize() local 26 const std::unique_ptr<Json::CharReader> reader(builder.newCharReader()); in Deserialize() 36 Json::StreamWriterBuilder builder; in Serialize() local 37 builder["indentation"] = " "; in Serialize() 38 jsonString = Json::writeString(builder, dataObj); in Serialize()
|
D | map_string_serializer.cpp | 29 Json::CharReaderBuilder builder; in Deserialize() local 30 const std::unique_ptr<Json::CharReader> reader(builder.newCharReader()); in Deserialize() 58 Json::StreamWriterBuilder builder; in Serialize() local 59 builder["indentation"] = " "; in Serialize() 60 jsonString = Json::writeString(builder, root); in Serialize()
|
/base/usb/usb_manager/services/native/src/ |
D | usb_host_manager.cpp | 104 Json::StreamWriterBuilder builder; in PublishCommonEvent() local 105 builder["indentation"] = ""; in PublishCommonEvent() 106 auto jsonString = Json::writeString(builder, dev.ToJson()); in PublishCommonEvent() 123 Json::StreamWriterBuilder builder; in Dump() local 124 builder["indentation"] = " "; in Dump() 126 …dprintf(fd, "usb host list info: %s\n", Json::writeString(builder, item.second->ToJson()).c_str()); in Dump()
|
D | usb_service_subscriber.cpp | 50 Json::StreamWriterBuilder builder; in PortChangedEvent() local 51 builder["indentation"] = ""; in PortChangedEvent() 52 auto jsonString = Json::writeString(builder, port); in PortChangedEvent()
|
/base/hiviewdfx/hiappevent/frameworks/js/napi/src/ |
D | napi_hiappevent_js.cpp | 45 NapiHiAppEventBuilder builder; in Write() local 46 asyncContext->appEventPack = builder.Build(env, params, paramNum); in Write() 47 asyncContext->result = builder.GetResult(); in Write() 48 asyncContext->callback = builder.GetCallback(); in Write()
|
D | napi_hiappevent_js_v9.cpp | 39 NapiHiAppEventBuilder builder; in Write() local 40 auto appEventPack = builder.BuildV9(env, params, paramNum); in Write() 52 asyncContext->result = builder.GetResult(); in Write() 53 asyncContext->callback = builder.GetCallback(); in Write()
|
/base/usb/usb_manager/test/native/service_unittest/src/ |
D | usb_event_test.cpp | 145 Json::CharReaderBuilder builder; variable 147 const std::unique_ptr<Json::CharReader> reader(builder.newCharReader()); 199 Json::CharReaderBuilder builder; variable 201 const std::unique_ptr<Json::CharReader> reader(builder.newCharReader()); 235 Json::CharReaderBuilder builder; variable 237 const std::unique_ptr<Json::CharReader> reader(builder.newCharReader()); 269 Json::CharReaderBuilder builder; variable 271 const std::unique_ptr<Json::CharReader> reader(builder.newCharReader());
|
/base/customization/enterprise_device_management/services/edm/include/ |
D | ipolicy_serializer.h | 118 Json::CharReaderBuilder builder; in Deserialize() local 119 const std::unique_ptr<Json::CharReader> reader(builder.newCharReader()); in Deserialize() 156 Json::StreamWriterBuilder builder; in Serialize() local 157 builder["indentation"] = " "; in Serialize() 158 jsonString = Json::writeString(builder, arrayData); in Serialize()
|
/base/hiviewdfx/hiview/utility/smart_parser/rule/ |
D | compose_rule.cpp | 34 Json::CharReaderBuilder builder; in ParseComposeRule() local 35 Json::CharReaderBuilder::strictMode(&builder.settings_); in ParseComposeRule() 43 bool ret = parseFromStream(builder, fin, &root, &errs); in ParseComposeRule()
|
D | extract_rule.cpp | 33 Json::CharReaderBuilder builder; in ParseExtractRule() local 34 Json::CharReaderBuilder::strictMode(&builder.settings_); in ParseExtractRule() 42 bool ret = parseFromStream(builder, fin, &root, &errs); in ParseExtractRule()
|
/base/hiviewdfx/hiview/base/event_report/event/ |
D | logger_event.cpp | 99 Json::StreamWriterBuilder builder; in ToJsonString() local 100 builder["indentation"] = ""; in ToJsonString() 101 std::unique_ptr<Json::StreamWriter> jsonWriter(builder.newStreamWriter()); in ToJsonString()
|
/base/time/time_service/services/time/src/ |
D | ntp_update_time.cpp | 224 Json::CharReaderBuilder builder; in GetAutoTimeInfoFromFile() local 225 builder["collectComments"] = true; in GetAutoTimeInfoFromFile() 227 if (!parseFromStream(builder, ifs, &jsonValue, &errs)) { in GetAutoTimeInfoFromFile() 250 Json::StreamWriterBuilder builder; in SaveAutoTimeInfoToFile() local 251 const std::string json_file = Json::writeString(builder, jsonValue); in SaveAutoTimeInfoToFile()
|
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/src/ |
D | sys_event_service_ohos.cpp | 332 bool SysEventServiceOhos::BuildEventQuery(std::shared_ptr<EventQueryWrapperBuilder> builder, in BuildEventQuery() argument 335 if (builder == nullptr) { in BuildEventQuery() 342 builder->Append(eventType); in BuildEventQuery() 346 return !any_of(rules.cbegin(), rules.cend(), [this, callingUid, &builder] (auto& rule) { in BuildEventQuery() 352 [this, callingUid, &builder, &rule] (auto& eventName) { in BuildEventQuery() 368 builder->Append(rule.domain, eventName, eventType, rule.condition); in BuildEventQuery() 372 builder->Append(rule.domain, eventName, rule.eventType, rule.condition); in BuildEventQuery() 376 builder->Append(rule.domain, eventName, type, rule.condition); in BuildEventQuery()
|
/base/customization/enterprise_device_management/services/edm/src/ |
D | policy_manager.cpp | 52 Json::StreamWriterBuilder builder; in ParsePolicyItems() local 53 builder["indentation"] = " "; in ParsePolicyItems() 54 std::string arrayToString = Json::writeString(builder, items[i]); in ParsePolicyItems() 169 Json::CharReaderBuilder builder; in LoadPolicy() local 170 if (!parseFromStream(builder, ifs, &policyRoot_, &errs)) { in LoadPolicy() 189 Json::StreamWriterBuilder builder; in SavePolicy() local 191 builder["indentation"] = " "; in SavePolicy() 192 const std::unique_ptr<Json::StreamWriter> writer(builder.newStreamWriter()); in SavePolicy() 313 Json::CharReaderBuilder builder; in ParseJsonString() local 314 const std::unique_ptr<Json::CharReader> reader(builder.newCharReader()); in ParseJsonString()
|
/base/telephony/data_storage/common/src/ |
D | parser_util.cpp | 84 Json::CharReaderBuilder builder; in ParserPdpProfileJson() local 85 Json::CharReader *reader(builder.newCharReader()); in ParserPdpProfileJson() 187 Json::CharReaderBuilder builder; in ParserOpKeyJson() local 188 Json::CharReader *reader(builder.newCharReader()); in ParserOpKeyJson()
|
/base/global/i18n/frameworks/intl/src/ |
D | locale_config.cpp | 648 icu::LocaleBuilder builder = icu::LocaleBuilder().setLanguage(origin.getLanguage()). in GetRegionChangeLocale() local 650 icu::Locale temp = builder.setExtension('u', "").build(status); in GetRegionChangeLocale() 669 icu::LocaleBuilder builder = icu::LocaleBuilder().setLanguage(origin.getLanguage()). in GetMainLanguage() local 671 icu::Locale temp = builder.setExtension('u', "").build(status); in GetMainLanguage() 682 builder.setRegion(""); in GetMainLanguage() 683 temp = builder.build(status); in GetMainLanguage() 856 icu::LocaleBuilder builder = icu::LocaleBuilder().setRegion(region); in GetDisplayRegion() local 857 originLocale = builder.build(status); in GetDisplayRegion()
|
/base/telephony/core_service/services/sim/src/ |
D | operator_file_parser.cpp | 123 Json::CharReaderBuilder builder; in ParseOperatorConfigFromFile() local 124 Json::CharReader *reader(builder.newCharReader()); in ParseOperatorConfigFromFile()
|
/base/powermgr/power_manager/power_dialog/entry/src/main/ets/pages/ |
D | thermalLowDialog.ets | 65 builder: LowCustomDialog({
|
D | thermalHighDialog.ets | 66 builder: HighCustomDialog({
|
D | batteryDialog.ets | 66 builder: BatteryCustomDialog({
|