Home
last modified time | relevance | path

Searched refs:sc (Results 1 – 25 of 107) sorted by relevance

12345

/ohos5.0/foundation/filemanagement/app_file_service/test/fuzztest/remotefileshare_fuzzer/
H A Dremotefileshare_fuzzer.cpp47 struct HmdfsShareControl sc; in ShareFilePathIoctlFdAndCidFuzzTest() local
72 sc.srcFd = size; in ShareFilePathIoctlFdAndCidFuzzTest()
73 if (memcpy_s(sc.cid, HMDFS_CID_SIZE, cid, size) != 0) { in ShareFilePathIoctlFdAndCidFuzzTest()
78 ret = ioctl(dirFd, HMDFS_IOC_SET_SHARE_PATH, &sc); in ShareFilePathIoctlFdAndCidFuzzTest()
89 struct HmdfsShareControl sc; in ShareFilePathIoctlCidFuzzTest() local
120 sc.srcFd = size; in ShareFilePathIoctlCidFuzzTest()
122 if (memcpy_s(sc.cid, HMDFS_CID_SIZE, cid, size) != 0) { in ShareFilePathIoctlCidFuzzTest()
128 ret = ioctl(dirFd, HMDFS_IOC_SET_SHARE_PATH, &sc); in ShareFilePathIoctlCidFuzzTest()
141 struct HmdfsShareControl sc; in ShareFilePathIoctlFdFuzzTest() local
171 sc.srcFd = size; in ShareFilePathIoctlFdFuzzTest()
[all …]
/ohos5.0/base/security/security_component_manager/services/security_component_service/sa/sa_main/
H A Dsec_comp_manager.cpp105 if (sc == nullptr) { in DeleteSecurityComponentFromList()
109 if (sc->scId_ == scId) { in DeleteSecurityComponentFromList()
160 if (sc == nullptr) { in GetSecurityComponentFromList()
164 if (sc->scId_ == scId) { in GetSecurityComponentFromList()
397 if (sc == nullptr) { in UpdateSecurityComponent()
454 sc->GetType()); in CheckClickSecurityComponentInfo()
468 sc->GetType()); in CheckClickSecurityComponentInfo()
513 if (sc == nullptr) { in ReportSecurityComponentClickEvent()
526 scId, sc->GetType()); in ReportSecurityComponentClickEvent()
543 scId, sc->GetType()); in ReportSecurityComponentClickEvent()
[all …]
H A Dfirst_use_dialog.cpp269 std::shared_ptr<SecCompEntity> sc = it->second; in GrantDialogWaitEntity() local
270 if (sc == nullptr) { in GrantDialogWaitEntity()
274 int32_t res = sc->GrantTempPermission(); in GrantDialogWaitEntity()
278 bmsClient.GetNameForUid(sc->uid_, bundleName); in GrantDialogWaitEntity()
280 … HiviewDFX::HiSysEvent::EventType::FAULT, "CALLER_UID", sc->uid_, "CALLER_BUNDLE_NAME", bundleName, in GrantDialogWaitEntity()
281 "CALLER_PID", sc->pid_, "SC_ID", scId, "SC_TYPE", sc->GetType()); in GrantDialogWaitEntity()
284 HiviewDFX::HiSysEvent::EventType::BEHAVIOR, "CALLER_UID", sc->uid_, in GrantDialogWaitEntity()
285 "CALLER_PID", sc->pid_, "SC_ID", scId, "SC_TYPE", sc->GetType()); in GrantDialogWaitEntity()
H A Dfirst_use_dialog.h36 explicit SecCompDialogSrvCallback(int32_t scId, std::shared_ptr<SecCompEntity> sc, in SecCompDialogSrvCallback() argument
37 … sptr<IRemoteObject> dialogCallback) : scId_(scId), sc_(sc), dialogCallback_(dialogCallback) {}; in SecCompDialogSrvCallback()
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/ril/
H A D_cell_rat_tdscdma_v10.md22 | int [sc](#sc) | 超级小区 |
104 ### sc subsection
107 int CellRatTdscdma::sc
H A D_cell_rat_tdscdma_v11.md22 | int [sc](#sc) | 超级小区 |
104 ### sc subsection
107 int CellRatTdscdma::sc
H A D_cell_list_rat_tdscdma_v10.md22 | int [sc](#sc) | 超级小区 |
104 ### sc subsection
107 int CellListRatTdscdma::sc
H A D_cell_list_rat_tdscdma_v11.md22 | int [sc](#sc) | 超级小区 |
104 ### sc subsection
107 int CellListRatTdscdma::sc
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/pipeline/base/
H A Dsole_child_element.cpp56 auto sc = AceType::DynamicCast<SingleChild>(updateComponent); in LocalizedUpdateWithItemComponent() local
57 if ((updateElement == nullptr) || (sc == nullptr) || (sc->GetChild() == nullptr)) { in LocalizedUpdateWithItemComponent()
60 updateComponent = sc->GetChild(); in LocalizedUpdateWithItemComponent()
/ohos5.0/base/powermgr/thermal_manager/test/unittest/src/
H A Dthermal_config_file_parser.cpp172 ParseAuxSensorInfo(name, curNode, sc); in ParseLevelNode()
173 ParseSensorInfo(name, curNode, sc); in ParseLevelNode()
178 sc->SetDescFlag(true); in ParseLevelNode()
182 sensorClusterMap_.emplace(std::pair(name, sc)); in ParseLevelNode()
329 const std::string& name, const xmlNode* cur, std::shared_ptr<ThermalConfigSensorCluster>& sc) in ParseAuxSensorInfo() argument
336 sc->SetAuxFlag(true); in ParseAuxSensorInfo()
347 sc->SetAuxSensorLevelInfo(auxSensorLevelInfo); in ParseAuxSensorInfo()
353 std::shared_ptr<ThermalConfigSensorCluster>& sc) in ParseSensorInfo() argument
363 ParseSensorSubnodeInfo(cur, vItem, sensors, i, sc); in ParseSensorInfo()
367 sc->SetSensorLevelInfo(sensorLevelInfo); in ParseSensorInfo()
[all …]
/ohos5.0/base/powermgr/thermal_manager/services/native/include/thermal_policy/
H A Dthermal_srv_config_parser.h46 bool ParseLevelState(const xmlNodePtr& cur, SensorClusterPtr& sc);
47 bool ParseAuxSensorInfo(const xmlNodePtr& cur, SensorClusterPtr& sc);
48 bool ParseSensorInfo(const xmlNodePtr& cur, SensorClusterPtr& sc);
54 std::vector<std::string>& sensors, const uint32_t sensorIdx, SensorClusterPtr& sc);
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/security_component/
H A Dsecurity_component_test_ng.cpp175 LocationButtonModelNG sc; in SetLocationUserDefinedPropty() local
178 sc.SetIconColor(Color::RED); in SetLocationUserDefinedPropty()
182 sc.SetFontFamily(fontFamilies); in SetLocationUserDefinedPropty()
183 sc.SetFontColor(Color::GREEN); in SetLocationUserDefinedPropty()
196 PasteButtonModelNG sc; in SetPasteUserDefinedPropty() local
199 sc.SetIconColor(Color::RED); in SetPasteUserDefinedPropty()
203 sc.SetFontFamily(fontFamilies); in SetPasteUserDefinedPropty()
204 sc.SetFontColor(Color::GREEN); in SetPasteUserDefinedPropty()
217 SaveButtonModelNG sc; in SetSaveUserDefinedPropty() local
220 sc.SetIconColor(Color::RED); in SetSaveUserDefinedPropty()
[all …]
/ohos5.0/base/powermgr/thermal_manager/services/native/src/thermal_policy/
H A Dthermal_srv_config_parser.cpp204 SensorClusterPtr sc = std::make_shared<ThermalConfigSensorCluster>(); in ParseLevelNode() local
213 … if (!ParseLevelState(cur, sc) || !ParseAuxSensorInfo(cur, sc) || !ParseSensorInfo(cur, sc)) { in ParseLevelNode()
220 sc->SetDescFlag(true); in ParseLevelNode()
225 if (!sc->CheckStandard()) { in ParseLevelNode()
229 msc.emplace(std::pair(name, sc)); in ParseLevelNode()
250 sc->AddState(propName, propValue); in ParseLevelState()
268 sc->SetAuxFlag(true); in ParseAuxSensorInfo()
288 sc->SetAuxSensorLevelInfo(auxSensorLevelInfo); in ParseAuxSensorInfo()
375 if (!ParseSensorLevelInfo(cur, levelItems, sensors, i, sc)) { in ParseSensorInfo()
385 sc->SetSensorLevelInfo(sensorLevelInfo); in ParseSensorInfo()
[all …]
/ohos5.0/foundation/communication/netmanager_ext/frameworks/native/ethernetclient/src/
H A Dinterface_configuration.cpp53 sptr<StaticConfiguration> sc = StaticConfiguration::Unmarshalling(parcel); in Unmarshalling() local
54 if (sc == nullptr) { in Unmarshalling()
58 ptr->ipStatic_ = *sc; in Unmarshalling()
/ohos5.0/docs/zh-cn/device-dev/subsystems/
H A Dsubsys-thermal_control.md54 …col<br>param | protocol填写current,param填写支持的充电协议,快充(sc)和慢充(buck) | string |protocol="current" param…
56 …控制快充和慢充时的充电电压大小) | protocol<br>param | protocol填写voltage,param填写支持的充电协议,快充(sc)和慢充(buck) | string |…
76 <item name="current_sc" protocol="current" param="sc" event="1"/>
158 name: current_sc params: sc protocol: current strict: 0 enableEvent: 1
160 name: voltage_sc params: sc protocol: voltage strict: 0 enableEvent: 1
/ohos5.0/base/powermgr/thermal_manager/test/unittest/include/
H A Dthermal_config_file_parser.h59 … const std::string& name, const xmlNode* cur, std::shared_ptr<ThermalConfigSensorCluster>& sc);
60 …Info(const std::string& name, const xmlNode* cur, std::shared_ptr<ThermalConfigSensorCluster>& sc);
66 const uint32_t i, std::shared_ptr<ThermalConfigSensorCluster>& sc);
/ohos5.0/base/powermgr/power_manager/services/native/src/actions/default/suspend/
H A Drunning_lock_hub.h34 explicit RunningLockHub(const std::shared_ptr<ISuspendController>& sc) : sc_(sc) {}; in RunningLockHub() argument
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http/src/h2/hpack/
H A Ddecoder.rs226 { $a: expr, $m: expr, $p: expr, $sc: expr, $st: expr } $(,)? in ut_hpack_decoder()
231 assert_eq!($pseudo.scheme(), $sc); in ut_hpack_decoder()
286 { $a: expr, $m: expr, $p: expr, $sc: expr, $st: expr }, in ut_hpack_decoder()
291 check_pseudo!(pseudo, { $a, $m, $p, $sc, $st }); in ut_hpack_decoder()
308 { $a: expr, $m: expr, $p: expr, $sc: expr, $st: expr }, in ut_hpack_decoder()
314 check_pseudo!(pseudo, { $a, $m, $p, $sc, $st }); in ut_hpack_decoder()
/ohos5.0/base/powermgr/power_manager/test/unittest/src/
H A Drunning_lock_hub_native_test.cpp50 auto sc = std::make_shared<Suspend::SuspendController>(); variable
51 auto runningLockHub = std::make_shared<Suspend::RunningLockHub>(sc);
/ohos5.0/base/telephony/sms_mms/services/sms/gsm/
H A Dgsm_sms_message.cpp206 const std::string &sc, const std::string &text, bool bStatusReport, in CreateDefaultSubmitSmsTpdu() argument
210 SetSmscAddr(sc); in CreateDefaultSubmitSmsTpdu()
265 std::shared_ptr<struct EncodeInfo> GsmSmsMessage::GetSubmitEncodeInfo(const std::string &sc, bool b… in GetSubmitEncodeInfo() argument
274 if ((!sc.empty()) && (sc.length() < MAX_SMSC_LEN)) { in GetSubmitEncodeInfo()
280 if (sc.length() > sizeof(pAddress.address)) { in GetSubmitEncodeInfo()
283 if (memcpy_s(&pAddress.address, sizeof(pAddress.address), sc.data(), sc.length()) != EOK) { in GetSubmitEncodeInfo()
287 pAddress.address[sc.length()] = '\0'; in GetSubmitEncodeInfo()
288 if (sc[0] == '+') { in GetSubmitEncodeInfo()
/ohos5.0/docs/en/device-dev/subsystems/
H A Dsubsys-thermal_control.md54 …ing protocol, that is, fast charging (**sc**) or slow charging (**buck**).| string |protocol="curr…
56 …*voltage** and **param** to a charging protocol, that is, fast charging (**sc**) or slow charging …
76 <item name="current_sc" protocol="current" param="sc" event="1"/>
156 name: current_sc params: sc protocol: current strict: 0 enableEvent: 1
158 name: voltage_sc params: sc protocol: voltage strict: 0 enableEvent: 1
/ohos5.0/base/telephony/sms_mms/services/sms/include/gsm/
H A Dgsm_sms_message.h43 …ared_ptr<struct SmsTpdu> CreateDefaultSubmitSmsTpdu(const std::string &dest, const std::string &sc,
49 std::shared_ptr<struct EncodeInfo> GetSubmitEncodeInfo(const std::string &sc, bool bMore);
/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/demuxer/
H A Dffmpeg_reference_parser.cpp224 ParserSdtpInfo *sc = (ParserSdtpInfo *)videoStream->priv_data; in ParserRefInit() local
225 if (sc->sdtpCount > 0 && sc->sdtpData != nullptr) { in ParserRefInit()
226 MEDIA_LOG_E("Sdtp exist: " PUBLIC_LOG_D32, sc->sdtpCount); in ParserRefInit()
227 if (referenceParser_->ParserSdtpData(sc->sdtpData, sc->sdtpCount) == Status::OK) { in ParserRefInit()
/ohos5.0/base/telephony/sms_mms/services/sms/include/cdma/
H A Dcdma_sms_message.h57 …::unique_ptr<CdmaTransportMsg> CreateSubmitTransMsg(const std::string &dest, const std::string &sc,
59 …dmaTransportMsg> CreateSubmitTransMsg(const std::string &dest, const std::string &sc, int32_t port,
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/render/node/
H A Drender_node_default_cameras.cpp49 const float sc = 0.5f * invShadowCount; in GetShadowBias() local
51 …return BASE_NS::Math::Mat4X4 { sc, 0.0f, 0.0f, 0.0f, 0.0f, 0.5f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0… in GetShadowBias()

12345