/aosp14/frameworks/base/core/java/com/android/internal/util/ |
H A D | XmlUtils.java | 402 public static final void writeMapXml(Map val, OutputStream out) in writeMapXml() 424 public static final void writeListXml(List val, OutputStream out) in writeListXml() 472 WriteMapCallback callback) throws XmlPullParserException, java.io.IOException { in writeMapXml() 506 WriteMapCallback callback) throws XmlPullParserException, java.io.IOException { in writeMapXml() 516 writeValueXml(e.getValue(), (String)e.getKey(), out, callback); in writeMapXml() local 854 WriteMapCallback callback) throws XmlPullParserException, java.io.IOException { in writeValueXml() 1051 String[] name, ReadMapCallback callback) in readThisMapXml() 1079 String endTag, String[] name, ReadMapCallback callback) in readThisArrayMapXml() 1136 String[] name, ReadMapCallback callback, boolean arrayMap) in readThisListXml() 1201 String[] name, ReadMapCallback callback, boolean arrayMap) in readThisSetXml() [all …]
|
/ohos5.0/foundation/communication/bluetooth/frameworks/js/napi/src/common/ |
H A D | napi_async_callback.cpp | 53 NapiCallback::NapiCallback(napi_env env, napi_value callback) : env_(env) in NapiCallback() 73 napi_value callback = nullptr; in NapiCallFunction() local 106 napi_value val = object->ToNapiValue(env_); in CallFunction() local 119 napi_value val = object->ToNapiValue(env_); in CallFunction() local 163 napi_value val = object->ToNapiValue(env_); in ResolveOrReject() local
|
/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/bpf/src/ |
H A D | bpf_netfirewall.cpp | 331 UidKey val = (UidKey)userId; in SetFirewallCurrentUserId() local 345 Bitmap val = node.bitmap; in WriteSrcIpv4BpfMap() local 365 Bitmap val = node.bitmap; in WriteSrcIpv6BpfMap() local 384 Bitmap val = node.bitmap; in WriteDstIpv4BpfMap() local 404 Bitmap val = node.bitmap; in WriteDstIpv6BpfMap() local 425 Bitmap val = pair.second; in WriteSrcPortBpfMap() local 443 Bitmap val = pair.second; in WriteDstPortBpfMap() local 461 Bitmap val = pair.second; in WriteProtoBpfMap() local 479 Bitmap val = pair.second; in WriteAppUidBpfMap() local 497 Bitmap val = pair.second; in WriteUidBpfMap() local [all …]
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/account/src/ |
H A D | account_delegate_impl.cpp | 52 void EventSubscriber::SetEventCallback(EventCallback callback) in SetEventCallback() 64 observerMap_.ForEach([&accountEventInfo] (const auto& key, auto& val) { in NotifyAccountChanged() 70 observerMap_.ForEach([&accountEventInfo] (const auto& key, auto& val) { in NotifyAccountChanged()
|
/ohos5.0/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/ |
H A D | rdb_bigint_test.cpp | 56 RdbCallback callback; in SetUpTestCase() local 101 auto val = std::get_if<BigInteger>(&value.value); variable 135 auto val = std::get_if<BigInteger>(&value.value); variable 171 auto val = std::get_if<BigInteger>(&value.value); variable 206 auto val = std::get_if<BigInteger>(&object.value); variable 243 auto val = std::get_if<BigInteger>(&value.value); variable 285 auto val = std::get_if<BigInteger>(&value.value); variable 327 auto val = std::get_if<BigInteger>(&value.value); variable 371 auto val = std::get_if<Floats>(&value.value); variable 409 auto val = std::get_if<Floats>(&value.value); variable
|
/ohos5.0/foundation/communication/nfc/frameworks/js/napi/common/ |
H A D | nfc_napi_common_utils.h | 94 napi_ref callback[2] = {0}; variable 120 napi_value GetNapiValue(napi_env env, T val) in GetNapiValue() 128 napi_value GetNapiValue(napi_env env, T val) in GetNapiValue() 136 napi_value GetNapiValue(napi_env env, T val) in GetNapiValue() 144 napi_value GetNapiValue(napi_env env, const T &val) in GetNapiValue() 152 napi_value GetNapiValue(napi_env env, const T *val) in GetNapiValue() 160 napi_value GetNapiValue(napi_env env, T val) in GetNapiValue()
|
/ohos5.0/base/powermgr/thermal_manager/frameworks/native/ |
H A D | thermal_mgr_client.cpp | 98 const std::vector<std::string>& typeList, const sptr<IThermalTempCallback>& callback) in SubscribeThermalTempCallback() 106 bool ThermalMgrClient::UnSubscribeThermalTempCallback(const sptr<IThermalTempCallback>& callback) in UnSubscribeThermalTempCallback() 114 bool ThermalMgrClient::SubscribeThermalLevelCallback(const sptr<IThermalLevelCallback>& callback) in SubscribeThermalLevelCallback() 122 bool ThermalMgrClient::UnSubscribeThermalLevelCallback(const sptr<IThermalLevelCallback>& callback) in UnSubscribeThermalLevelCallback() 131 …or<std::string>& actionList, const std::string& desc, const sptr<IThermalActionCallback>& callback) in SubscribeThermalActionCallback() 139 …ol ThermalMgrClient::UnSubscribeThermalActionCallback(const sptr<IThermalActionCallback>& callback) in UnSubscribeThermalActionCallback() 185 bool ThermalMgrClient::UpdateThermalState(const std::string& tag, const std::string& val, bool isIm… in UpdateThermalState()
|
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fileio/properties/ |
H A D | watcher.cpp | 45 napi_value callback = nullptr; in RunCommand() local 81 NVal val = NVal(env, funcArg[NARG_POS::THIRD]); in CreateWatcher() local
|
/aosp14/system/core/libutils/ |
H A D | LruCache_fuzz.cpp | 34 static NoopRemovedCallback callback; variable 50 size_t val = dataProvider->ConsumeIntegral<size_t>(); in __anon7e851e960602() local
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/plugin/test/av_trans_output/dsoftbus_output_test/ |
H A D | dsoftbus_output_plugin_test.cpp | 81 ValueType val; variable 177 AVDataCallback callback = nullptr; variable 189 bool val = true; variable
|
/ohos5.0/base/powermgr/thermal_manager/services/zidl/src/ |
H A D | thermal_srv_stub.cpp | 104 sptr<IThermalTempCallback> callback = iface_cast<IThermalTempCallback>(obj); in SubscribeThermalTempCallbackStub() local 120 sptr<IThermalTempCallback> callback = iface_cast<IThermalTempCallback>(obj); in UnSubscribeThermalTempCallbackStub() local 131 sptr<IThermalLevelCallback> callback = iface_cast<IThermalLevelCallback>(obj); in SubscribeThermalLevelCallbackStub() local 142 sptr<IThermalLevelCallback> callback = iface_cast<IThermalLevelCallback>(obj); in UnSubscribeThermalLevelCallbackStub() local 153 sptr<IThermalActionCallback> callback = iface_cast<IThermalActionCallback>(obj); in SubscribeThermalActionCallbackStub() local 174 sptr<IThermalActionCallback> callback = iface_cast<IThermalActionCallback>(obj); in UnSubscribeThermalActionCallbackStub() local 232 std::string val; in UpdateThermalStateStub() local
|
H A D | thermal_srv_proxy.cpp | 29 const std::vector<std::string>& typeList, const sptr<IThermalTempCallback>& callback) in SubscribeThermalTempCallback() 57 bool ThermalSrvProxy::UnSubscribeThermalTempCallback(const sptr<IThermalTempCallback>& callback) in UnSubscribeThermalTempCallback() 84 bool ThermalSrvProxy::SubscribeThermalLevelCallback(const sptr<IThermalLevelCallback>& callback) in SubscribeThermalLevelCallback() 111 bool ThermalSrvProxy::UnSubscribeThermalLevelCallback(const sptr<IThermalLevelCallback>& callback) in UnSubscribeThermalLevelCallback() 139 …or<std::string>& actionList, const std::string& desc, const sptr<IThermalActionCallback>& callback) in SubscribeThermalActionCallback() 168 bool ThermalSrvProxy::UnSubscribeThermalActionCallback(const sptr<IThermalActionCallback>& callback) in UnSubscribeThermalActionCallback() 314 bool ThermalSrvProxy::UpdateThermalState(const std::string& tag, const std::string& val, bool isImm… in UpdateThermalState()
|
/ohos5.0/base/useriam/user_auth_framework/frameworks/native/ipc/src/ |
H A D | user_auth_stub.cpp | 186 …sptr<GetExecutorPropertyCallbackInterface> callback = iface_cast<GetExecutorPropertyCallbackProxy>… in GetPropertyStub() local 231 …sptr<GetExecutorPropertyCallbackInterface> callback = iface_cast<GetExecutorPropertyCallbackProxy>… in GetPropertyByIdStub() local 269 …sptr<SetExecutorPropertyCallbackInterface> callback = iface_cast<SetExecutorPropertyCallbackProxy>… in SetPropertyStub() local 301 sptr<UserAuthCallbackInterface> callback = iface_cast<UserAuthCallbackProxy>(obj); in AuthStub() local 338 sptr<UserAuthCallbackInterface> callback = iface_cast<UserAuthCallbackProxy>(obj); in AuthWidgetStub() local 449 sptr<UserAuthCallbackInterface> callback = iface_cast<UserAuthCallbackProxy>(obj); in AuthUserStub() local 485 sptr<UserAuthCallbackInterface> callback = iface_cast<UserAuthCallbackProxy>(obj); in IdentifyStub() local 579 sptr<WidgetCallbackInterface> callback = iface_cast<WidgetCallbackProxy>(obj); in RegisterWidgetCallbackStub() local 727 sptr<UserAuthCallbackInterface> callback = iface_cast<UserAuthCallbackProxy>(obj); in PrepareRemoteAuthStub() local 765 for (auto val : authTypeInts) { in ReadAuthParam() local [all …]
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/plugin/test/av_trans_output/daudio_output_test/ |
H A D | daudio_output_test.cpp | 125 ValueType val; variable 134 ValueType val; variable 202 AVDataCallback callback = nullptr; variable
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/subscriber_managers/ |
H A D | rdb_subscriber_manager.cpp | 234 rdbCache_.ForEach([&uri, &context, this](const Key &key, std::vector<ObserverNode> &val) { in Emit() 253 …ch([&uri, &userId, &metaData, &hasObserver, this](const Key &key, std::vector<ObserverNode> &val) { in Emit() 281 rdbCache_.ForEach([&uri, &results](const Key &key, std::vector<ObserverNode> &val) { in GetKeysByUri() 296 rdbCache_.ComputeIfPresent(key, [&rdbPath, &version, &userId, this](const Key &key, auto &val) { in EmitByKey() 318 … RdbSubscriberManager::Notify(const Key &key, int32_t userId, const std::vector<ObserverNode> &val, in Notify() 350 for (const auto &callback : val) { in Notify() local 373 …he_.ForEach([&uri, &context, &subscriberId, this](const Key &key, std::vector<ObserverNode> &val) { in Emit()
|
/ohos5.0/base/hiviewdfx/hiview/base/event_store/store/ |
H A D | sys_event_repeat_guard.cpp | 130 SettingObserver::ObserverCallback callback = in RegisterListeningUeSwitch() local 132 std::string val = SettingObserverManager::GetInstance()->GetStringValue(paramKey); in RegisterListeningUeSwitch() local
|
/ohos5.0/commonlibrary/memory_utils/libpurgeablemem/cpp/src/ |
H A D | purgeable_mem_base.cpp | 34 static inline size_t RoundUp(size_t val, size_t align) in RoundUp() 234 void PurgeableMemBase::SetRebuildSuccessCallback(std::function<void()> &callback) in SetRebuildSuccessCallback()
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/mock_common/src/ |
H A D | network_mock.cpp | 76 int32_t LnnAsyncCallbackHelper(SoftBusLooper *looper, LnnAsyncCallbackFunc callback, void *para) in LnnAsyncCallbackHelper() 91 int SoftbusGetConfig(ConfigType type, unsigned char *val, uint32_t len) in SoftbusGetConfig()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/svg/ |
H A D | render_svg_base.cpp | 331 …std::function<void(double)> callback = [weak = AceType::WeakClaim(this), type, fromVec, toVec](dou… in PrepareTransformValueAnimation() local 369 …std::function<void(double)> callback = [weak = AceType::WeakClaim(this), type, frames](double valu… in PrepareTransformFrameAnimation() local 394 std::function<void(T)> callback; in PreparePresentationAnimation() local 462 const RefPtr<SvgAnimate>& svgAnimate, const T& originalValue, std::function<void(T)>&& callback) in CreatePropertyAnimation() 493 …std::function<void(double)> callback = [weak = AceType::WeakClaim(this), path = svgAnimate->GetPat… in PrepareAnimateMotion() local 561 bool RenderSvgBase::SetPresentationProperty(const std::string& attrName, const T& val, bool isSelf) in SetPresentationProperty() 567 bool RenderSvgBase::SetPresentationProperty(const std::string& attrName, const Color& val, bool isS… in SetPresentationProperty() 580 bool RenderSvgBase::SetPresentationProperty(const std::string& attrName, const Dimension& val, bool… in SetPresentationProperty() 593 bool RenderSvgBase::SetPresentationProperty(const std::string& attrName, const double& val, bool is… in SetPresentationProperty()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/ |
H A D | svg_node.cpp | 583 std::function<void(T)> callback; local 596 void SvgNode::UpdateAttrHelper(const std::string& name, const std::string& val) 616 void SvgNode::UpdateAttr(const std::string& name, const Color& val) 622 void SvgNode::UpdateAttr(const std::string& name, const Dimension& val) 628 void SvgNode::UpdateAttr(const std::string& name, const double& val) 664 std::function<void(double)> callback = [weak = WeakClaim(this), type, frames](double value) { local 695 …std::function<void(double)> callback = [weak = WeakClaim(this), type, fromVec, toVec](double value… local
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/ |
H A D | jsi_types.inl | 24 JsiType<T>::JsiType(panda::Local<T> val) 33 JsiType<T>::JsiType(const EcmaVM *vm, panda::Local<T> val) 42 JsiType<T>::JsiType(panda::Local<S> val) 80 void JsiType<T>::SetWeakCallback(void *ref, panda::WeakRefClearCallBack callback)
|
/ohos5.0/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_netfirewall_test/ |
H A D | netsys_netfirewall_test.cpp | 125 …OHOS::sptr<OHOS::NetsysNative::INetFirewallCallback> callback = new (nothrow)TestNetFirewallCallba… variable 186 Bitmap val(10); variable
|
/ohos5.0/base/powermgr/thermal_manager/services/native/src/ |
H A D | thermal_service.cpp | 343 const std::vector<std::string>& typeList, const sptr<IThermalTempCallback>& callback) in SubscribeThermalTempCallback() 354 bool ThermalService::UnSubscribeThermalTempCallback(const sptr<IThermalTempCallback>& callback) in UnSubscribeThermalTempCallback() 375 bool ThermalService::SubscribeThermalLevelCallback(const sptr<IThermalLevelCallback>& callback) in SubscribeThermalLevelCallback() 383 bool ThermalService::UnSubscribeThermalLevelCallback(const sptr<IThermalLevelCallback>& callback) in UnSubscribeThermalLevelCallback() 392 …or<std::string>& actionList, const std::string& desc, const sptr<IThermalActionCallback>& callback) in SubscribeThermalActionCallback() 404 bool ThermalService::UnSubscribeThermalActionCallback(const sptr<IThermalActionCallback>& callback) in UnSubscribeThermalActionCallback() 455 bool ThermalService::UpdateThermalState(const std::string& tag, const std::string& val, bool isImme… in UpdateThermalState() 520 sptr<IThermalCallback> callback = new ThermalCallback(); in RegisterThermalHdiCallback() local 581 sptr<IFanCallback> callback = new FanCallback(); in RegisterFanHdiCallback() local
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_buscenter/ |
H A D | lnn_network_manager_mock.cpp | 64 int SoftbusGetConfig(ConfigType type, unsigned char *val, uint32_t len) in SoftbusGetConfig() 101 SoftBusLooper *looper, LnnAsyncCallbackFunc callback, void *para, uint64_t delayMillis) in LnnAsyncCallbackDelayHelper()
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/util/internal/ |
H A D | timer_linux.cpp | 143 eventfd_t val; in OnTimer() local 202 Timer::Timer(const std::function<void()> &callback) in Timer()
|