/ohos5.0/base/powermgr/battery_statistics/services/native/src/ |
H A D | battery_stats_listener.cpp | 59 Json::Value root; in OnEvent() local 70 void BatteryStatsListener::ProcessHiSysEvent(const std::string& eventName, const Json::Value& root) in ProcessHiSysEvent() 119 void BatteryStatsListener::ProcessCameraEvent(StatsUtils::StatsData& data, const Json::Value& root, in ProcessCameraEvent() 148 void BatteryStatsListener::ProcessAudioEvent(StatsUtils::StatsData& data, const Json::Value& root) in ProcessAudioEvent() 174 void BatteryStatsListener::ProcessSensorEvent(StatsUtils::StatsData& data, const Json::Value& root, in ProcessSensorEvent() 198 void BatteryStatsListener::ProcessGnssEvent(StatsUtils::StatsData& data, const Json::Value& root) in ProcessGnssEvent() 291 void BatteryStatsListener::ProcessWifiEvent(StatsUtils::StatsData& data, const Json::Value& root, in ProcessWifiEvent() 333 void BatteryStatsListener::ProcessPhoneEvent(StatsUtils::StatsData& data, const Json::Value& root, in ProcessPhoneEvent() 469 void BatteryStatsListener::ProcessDispalyEvent(StatsUtils::StatsData& data, const Json::Value& root, in ProcessDispalyEvent() 499 void BatteryStatsListener::ProcessBatteryEvent(StatsUtils::StatsData& data, const Json::Value& root) in ProcessBatteryEvent() [all …]
|
/ohos5.0/base/useriam/user_auth_framework/test/unittest/services/src/ |
H A D | widget_client_test.cpp | 144 nlohmann::json root = widgetNotice; variable 155 nlohmann::json root = widgetNotice; variable 166 nlohmann::json root = widgetNotice; variable 177 nlohmann::json root = widgetNotice; variable 191 nlohmann::json root = widgetNotice; variable 207 nlohmann::json root = widgetNotice; variable 223 nlohmann::json root = widgetNotice; variable 239 nlohmann::json root = widgetNotice; variable 255 nlohmann::json root = widgetNotice; variable 271 nlohmann::json root = widgetNotice; variable [all …]
|
H A D | widget_json_test.cpp | 176 nlohmann::json root = widgetCommand; variable 206 nlohmann::json root = widgetCommand; variable 245 nlohmann::json root = widgetCmdParameters; variable 274 nlohmann::json root = widgetCmdParameters; variable 293 nlohmann::json root = widgetNotice; variable 302 auto root = nlohmann::json::parse("", nullptr, false); variable 310 auto root = nlohmann::json::parse(data, nullptr, false); variable 318 auto root = nlohmann::json::parse(data, nullptr, false); variable 327 auto root = nlohmann::json::parse("{\"payload\":123}", nullptr, false); variable 334 auto root = nlohmann::json::parse("{\"payload\":{\"type\":123}}", nullptr, false); variable [all …]
|
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/src/ |
H A D | rb_tree.c | 22 static void FillpRbRotateLeft(struct RbNode *x, struct RbRoot *root) in FillpRbRotateLeft() 53 static void FillpRbRotateRight(struct RbNode *x, struct RbRoot *root) in FillpRbRotateRight() 83 static struct RbNode *EqualRight(struct RbNode *x, struct RbRoot *root) in EqualRight() 93 static struct RbNode *EqualLeft(struct RbNode *x, struct RbRoot *root) in EqualLeft() 103 void FillpRbInsertColor(struct RbNode *x, struct RbRoot *root) in FillpRbInsertColor() 149 static int FillpRbEraseColorAtLeft(struct RbNode **x, struct RbNode **parent, struct RbRoot *root) in FillpRbEraseColorAtLeft() 184 static int FillpRbEraseColorAtRight(struct RbNode **x, struct RbNode **parent, struct RbRoot *root) in FillpRbEraseColorAtRight() 219 static void FillpRbEraseColor(struct RbNode *x, struct RbNode *parent, struct RbRoot *root) in FillpRbEraseColor() 249 static void FillpRbEraseLowlvlNode(struct RbNode *node, struct RbRoot *root) in FillpRbEraseLowlvlNode() 301 void FillpRbErase(struct RbNode *node, struct RbRoot *root) in FillpRbErase()
|
/ohos5.0/foundation/communication/wifi/wifi/utils/src/ |
H A D | wifi_hisysevent.cpp | 49 Json::Value root; in WriteWifiStateHiSysEvent() local 93 Json::Value root; in WriteWifiOperateStateHiSysEvent() local 102 Json::Value root; in WriteWifiAbnormalDisconnectHiSysEvent() local 110 Json::Value root; in WriteWifiConnectionInfoHiSysEvent() local 118 Json::Value root; in WriteWifiOpenAndCloseFailedHiSysEvent() local 129 Json::Value root; in WriteSoftApOpenAndCloseFailedEvent() local 138 Json::Value root; in WriteWifiAccessIntFailedHiSysEvent() local 147 Json::Value root; in WriteWifiPnoScanHiSysEvent() local 156 Json::Value root; in WriteBrowserFailedForPortalHiSysEvent() local 165 Json::Value root; in WriteWifiConnectFailedEventHiSysEvent() local [all …]
|
/ohos5.0/foundation/communication/netmanager_ext/test/netfirewallmanager/unittest/netfirewallmanager_test/ |
H A D | netfirewall_default_rule_parser_test.cpp | 57 cJSON *root = cJSON_CreateObject(); variable 74 cJSON *root = cJSON_CreateObject(); variable 88 cJSON *root = cJSON_CreateObject(); variable 100 cJSON *root = cJSON_CreateObject(); variable 112 cJSON *root = cJSON_CreateObject(); variable 124 cJSON *root = cJSON_CreateObject(); variable 137 cJSON *root = cJSON_CreateObject(); variable
|
/ohos5.0/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/hcs/ |
H A D | ModifyNode.js | 35 ModifyNode.modifyName = function (files, root, node, name) { argument 45 ModifyNode.modifyNodeType = function (files, root, node, type) { argument 66 ModifyNode.addChildAttr = function (root, node) { argument 83 ModifyNode.addChildNode = function (root, node) { argument 114 ModifyNode.getInheritList = function (root, node) { argument 159 ModifyNode.getInheritNameList = function (root, node) { argument 167 ModifyNode.getInheritTemplete = function (root, node) { argument
|
/ohos5.0/base/hiviewdfx/hiview/base/event_report/event/ |
H A D | logger_event.cpp | 28 void AddUint8Value(Json::Value &root, const std::string &name, const ParamValue& value) in AddUint8Value() 33 void AddUint16Value(Json::Value &root, const std::string &name, const ParamValue& value) in AddUint16Value() 38 void AddUint32Value(Json::Value &root, const std::string &name, const ParamValue& value) in AddUint32Value() 43 void AddUint64Value(Json::Value &root, const std::string &name, const ParamValue& value) in AddUint64Value() 48 void AddStringValue(Json::Value &root, const std::string &name, const ParamValue& value) in AddStringValue() 53 void AddUint32VecValue(Json::Value &root, const std::string &name, const ParamValue& value) in AddUint32VecValue() 61 void AddStringVecValue(Json::Value &root, const std::string &name, const ParamValue& value) in AddStringVecValue() 87 Json::Value root; in ToJsonString() local
|
/ohos5.0/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/ |
H A D | hdf_utils.py | 205 def get_framework_lite_dir(root): argument 209 def get_vendor_root_dir(root): argument 213 def get_vendor_dir(root, vendor): argument 222 def module_save_file_info(root): argument 247 def get_vendor_lite_mk_path(root): argument 260 def get_module_dir(root, module=""): argument 264 def get_drv_root_dir(root, module): argument 272 def get_drv_src_dir(root, module): argument 293 def get_module_mk_path(root, module): argument 344 def get_vendor_gn_path(root): argument [all …]
|
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_toolkit/unittest/ |
H A D | network_parser_test.cpp | 217 xmlNodePtr root = nullptr; variable 235 xmlNodePtr root = nullptr; variable 253 xmlNodePtr root = nullptr; variable 272 xmlNodePtr root = nullptr; variable 290 xmlNodePtr root = nullptr; variable 311 xmlNodePtr root = nullptr; variable
|
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/accessibility/ |
H A D | accessibility_manager_ng.cpp | 19 void AccessibilityManagerNG::HandleAccessibilityHoverEvent(const RefPtr<FrameNode>& root, const Mou… in HandleAccessibilityHoverEvent() 24 void AccessibilityManagerNG::HandleAccessibilityHoverEvent(const RefPtr<FrameNode>& root, const Tou… in HandleAccessibilityHoverEvent() 30 const RefPtr<FrameNode>& root, in HandleAccessibilityHoverEventInner() 44 void AccessibilityManagerNG::HoverTestDebug(const RefPtr<FrameNode>& root, const PointF& point, in HoverTestDebug()
|
/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | hierarchy_controller.cpp | 77 if (const auto root = target_.lock()) { in AttachAll() local 85 if (auto root = target_.lock()) { in DetachAll() local 115 void IterateHierarchy(const IObject::Ptr& root, bool reverse, Callback&& callback) in IterateHierarchy() 131 if (const auto root = target_.lock()) { in GetAllNodes() local 138 void NodeHierarchyController::AttachHierarchy(const IObject::Ptr& root) in AttachHierarchy() 158 void NodeHierarchyController::DetachHierarchy(const IObject::Ptr& root) in DetachHierarchy() 188 if (auto root = operation.root_.lock()) { in RunOperation() local
|
/ohos5.0/foundation/filemanagement/app_file_service/tests/unittests/backup_utils/b_tarball/ |
H A D | b_tarball_cmdline_test.cpp | 57 string root = tm.GetRootDirCurTest(); variable 83 string root = tm.GetRootDirCurTest(); variable 110 string root = tm.GetRootDirCurTest(); variable 157 string root = tm.GetRootDirCurTest(); variable 204 string root = tm.GetRootDirCurTest(); variable 251 string root = tm.GetRootDirCurTest(); variable 285 string root = tm.GetRootDirCurTest(); variable
|
H A D | b_tarball_factory_test.cpp | 51 string root = tm.GetRootDirCurTest(); variable 84 string root = tm.GetRootDirCurTest(); variable 117 string root = tm.GetRootDirCurTest(); variable 150 string root = tm.GetRootDirCurTest(); variable
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/js/common/ |
H A D | image_napi_utils.cpp | 34 bool ImageNapiUtils::GetBufferByName(napi_env env, napi_value root, const char* name, void **res, s… in GetBufferByName() 45 bool ImageNapiUtils::GetUint32ByName(napi_env env, napi_value root, const char* name, uint32_t *res) in GetUint32ByName() 56 bool ImageNapiUtils::GetInt32ByName(napi_env env, napi_value root, const char* name, int32_t *res) in GetInt32ByName() 67 bool ImageNapiUtils::GetDoubleByName(napi_env env, napi_value root, const char* name, double *res) in GetDoubleByName() 78 bool ImageNapiUtils::GetBoolByName(napi_env env, napi_value root, const char* name, bool *res) in GetBoolByName() 89 bool ImageNapiUtils::GetNodeByName(napi_env env, napi_value root, const char* name, napi_value *res) in GetNodeByName() 96 bool ImageNapiUtils::GetUtf8String(napi_env env, napi_value root, std::string &res, bool eof) in GetUtf8String() 130 bool ImageNapiUtils::CreateNapiInt32(napi_env env, int32_t value, napi_value &root) in CreateNapiInt32() 138 bool ImageNapiUtils::CreateNapiDouble(napi_env env, double value, napi_value &root) in CreateNapiDouble() 146 napi_valuetype ImageNapiUtils::getType(napi_env env, napi_value root) in getType() [all …]
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/notification_smart_reminder/ |
H A D | reminder_affected.cpp | 23 bool ReminderAffected::FromJson(const nlohmann::json &root) in FromJson() 43 const nlohmann::json &root, std::vector<std::pair<std::string, std::string>> &affectedBy) in ValidAndGetAffectedBy() 76 bool ReminderAffected::ValidStatus(const nlohmann::json &root, std::string &status) in ValidStatus()
|
/ohos5.0/foundation/resourceschedule/resource_schedule_service/ressched/sched_controller/observer/src/ |
H A D | hisysevent_observer.cpp | 100 nlohmann::json root = nlohmann::json::parse(eventDetail, nullptr, false); in OnEvent() local 116 void HiSysEventObserver::ProcessHiSysEvent(const std::string& eventName, const nlohmann::json& root) in ProcessHiSysEvent() 132 void HiSysEventObserver::ProcessAvCodecEvent(const nlohmann::json& root, const std::string& eventNa… in ProcessAvCodecEvent() 165 void HiSysEventObserver::ProcessRunningLockEvent(const nlohmann::json& root, const std::string& eve… in ProcessRunningLockEvent() 218 void HiSysEventObserver::ProcessAudioEvent(const nlohmann::json& root, const std::string& eventName) in ProcessAudioEvent() 265 void HiSysEventObserver::ProcessCameraEvent(const nlohmann::json& root, const std::string& eventNam… in ProcessCameraEvent() 290 void HiSysEventObserver::ProcessBluetoothEvent(const nlohmann::json& root, const std::string& event… in ProcessBluetoothEvent() 325 void HiSysEventObserver::ProcessWifiEvent(const nlohmann::json& root, const std::string& eventName) in ProcessWifiEvent()
|
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/http/cache/lru_cache/src/ |
H A D | lru_cache_disk_handler.cpp | 44 cJSON *root = cJSON_Parse(jsonStr.c_str()); in ReadJsonValueFromFile() local 52 void LRUCacheDiskHandler::WriteJsonValueToFile(const cJSON *root) in WriteJsonValueToFile() 79 cJSON *root = ReadJsonValueFromFile(); in ReadCacheFromJsonFile() local 92 cJSON *root = ReadJsonValueFromFile(); in Get() local
|
/ohos5.0/foundation/filemanagement/app_file_service/tests/unittests/backup_ext/ |
H A D | untar_file_test.cpp | 136 string root = tm.GetRootDirCurTest(); variable 179 string root = tm.GetRootDirCurTest(); variable 214 string root = tm.GetRootDirCurTest(); variable 253 string root = tm.GetRootDirCurTest(); variable 307 string root = tm.GetRootDirCurTest(); variable 363 string root = tm.GetRootDirCurTest(); variable 394 string root = tm.GetRootDirCurTest(); variable 444 string root = tm.GetRootDirCurTest(); variable
|
/ohos5.0/base/hiviewdfx/hiview/base/ |
H A D | dispatch_rule_parser.cpp | 33 Json::Value root; in DispatchRuleParser() local 60 void DispatchRuleParser::ParseEventTypes(const Json::Value& root) in DispatchRuleParser() 82 void DispatchRuleParser::ParseTagEvents(const Json::Value& root) in DispatchRuleParser() 101 void DispatchRuleParser::ParseEvents(const Json::Value& root) in DispatchRuleParser() 120 void DispatchRuleParser::ParseDomainRule(const Json::Value& root) in DispatchRuleParser()
|
/ohos5.0/foundation/window/window_manager/wmserver/test/unittest/ |
H A D | window_snapshot_test.cpp | 59 sptr<WindowRoot> root = nullptr; variable 73 sptr<WindowRoot> root = nullptr; variable 92 sptr<WindowRoot> root = nullptr; variable 111 …sptr<WindowRoot> root = new WindowRoot([](Event event, const sptr<IRemoteObject>& remoteObject) {}… in __anonad4868ae0202() variable 140 …sptr<WindowRoot> root = new WindowRoot([](Event event, const sptr<IRemoteObject>& remoteObject) {}… in __anonad4868ae0302() variable
|
/ohos5.0/base/security/appverify/interfaces/innerkits/appverify_lite/src/ |
H A D | app_provision.c | 41 static char *GetStringTag(const cJSON *root, const char *tag) in GetStringTag() 81 static char **GetStringArrayTag(const cJSON *root, const char *tag, int32_t *numReturn) in GetStringArrayTag() 128 static int32_t GetProfValidity(const cJSON *root, ProfValidity *profVal) in GetProfValidity() 152 static int32_t GetProfBundleInfo(const cJSON *root, ProfBundleInfo *profVal) in GetProfBundleInfo() 188 static int32_t GetProfPermission(const cJSON *root, ProfPermission *profVal) in GetProfPermission() 200 static int32_t GetProfDebugInfo(const cJSON *root, ProfDebugInfo *profVal) in GetProfDebugInfo() 216 static int32_t GetProfIssuerInfo(const cJSON *root, ProfileProf *pf) in GetProfIssuerInfo() 295 cJSON *root = cJSON_Parse(pfStr); in ParseProfile() local
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/texgine/src/ |
H A D | font_config.cpp | 105 int FontConfig::ParseFont(const cJSON* root) in ParseFont() 137 cJSON* root = CheckConfigFile(fname); in ParseConfig() local 190 void FontConfigJson::AnalyseFontDir(const cJSON* root) in AnalyseFontDir() 205 int FontConfigJson::ParseDir(const cJSON* root) in ParseDir() 225 cJSON* root = CheckConfigFile(fname); in ParseConfigList() local 256 cJSON* root = CheckConfigFile(fname); in ParseConfigListPath() local 300 int FontConfigJson::ParseGeneric(const cJSON* root, const char* key) in ParseGeneric() 339 int FontConfigJson::ParseAlias(const cJSON* root, FontGenericInfo &genericInfo) in ParseAlias() 389 int FontConfigJson::ParseFallback(const cJSON* root, const char* key) in ParseFallback() 429 int FontConfigJson::ParseFontMap(const cJSON* root, const char* key) in ParseFontMap() [all …]
|
/ohos5.0/base/hiviewdfx/hiview/plugins/usage_event_report/cache/ |
H A D | json_parser.cpp | 73 void JsonParser::ParseUInt32Vec(const Json::Value& root, std::vector<uint32_t>& vec) in ParseUInt32Vec() 83 void JsonParser::ParseStringVec(const Json::Value& root, std::vector<std::string>& vec) in ParseStringVec() 96 Json::Value root; in ParsePluginStatsEvent() local 120 Json::Value root; in ParseSysUsageEvent() local
|
/ohos5.0/foundation/filemanagement/app_file_service/tests/mock/b_tarball/ |
H A D | b_tarball_cmdline_mock.cpp | 29 void BTarballCmdline::Tar(string_view root, vector<string_view> includes, vector<string_view> exclu… in Tar() 34 void BTarballCmdline::Untar(string_view root) in Untar()
|