Home
last modified time | relevance | path

Searched +defs:val +defs:callback (Results 1 – 25 of 155) sorted by relevance

1234567

/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/util/
H A DXmlUtilHelper.java202 public static final void writeMapXml(Map val, OutputStream out) in writeMapXml()
272 WriteMapCallback callback) throws XmlPullParserException, IOException { in writeMapXml()
305 public static final void writeMapXml(Map val, XmlSerializer out, in writeMapXml()
306 WriteMapCallback callback) throws XmlPullParserException, IOException { in writeMapXml()
316 writeValueXml(e.getValue(), (String)e.getKey(), out, callback); in writeMapXml() local
648 WriteMapCallback callback) throws XmlPullParserException, IOException { in writeValueXml()
830 String[] name, ReadMapCallback callback) in readThisMapXml()
859 String[] name, ReadMapCallback callback) in readThisArrayMapXml()
917 String[] name, ReadMapCallback callback, boolean arrayMap) in readThisListXml()
982 ReadMapCallback callback, boolean arrayMap) in readThisSetXml()
[all …]
/aosp12/packages/apps/Dialer/java/com/android/voicemail/impl/utils/
H A DXmlUtils.java29 XmlPullParser parser, String endTag, String[] name, ReadMapCallback callback) in readThisArrayMapXml()
36 Object val = readThisValueXml(parser, name, callback, true); in readThisArrayMapXml() local
64 ReadMapCallback callback, in readThisListXml()
72 Object val = readThisValueXml(parser, name, callback, arrayMap); in readThisListXml() local
134 XmlPullParser parser, String[] name, ReadMapCallback callback, boolean arrayMap) in readThisValueXml()
/aosp12/frameworks/base/core/java/com/android/internal/util/
H A DXmlUtils.java401 public static final void writeMapXml(Map val, OutputStream out) in writeMapXml()
423 public static final void writeListXml(List val, OutputStream out) in writeListXml()
471 WriteMapCallback callback) throws XmlPullParserException, java.io.IOException { in writeMapXml()
505 WriteMapCallback callback) throws XmlPullParserException, java.io.IOException { in writeMapXml()
515 writeValueXml(e.getValue(), (String)e.getKey(), out, callback); in writeMapXml() local
853 WriteMapCallback callback) throws XmlPullParserException, java.io.IOException { in writeValueXml()
1050 String[] name, ReadMapCallback callback) in readThisMapXml()
1078 String endTag, String[] name, ReadMapCallback callback) in readThisArrayMapXml()
1135 String[] name, ReadMapCallback callback, boolean arrayMap) in readThisListXml()
1200 String[] name, ReadMapCallback callback, boolean arrayMap) in readThisSetXml()
[all …]
/ohos5.0/foundation/communication/bluetooth/frameworks/js/napi/src/common/
H A Dnapi_async_callback.cpp53 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 Dbpf_netfirewall.cpp331 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 Daccount_delegate_impl.cpp52 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/base/powermgr/thermal_manager/frameworks/native/
H A Dthermal_mgr_client.cpp98 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/communication/nfc/frameworks/js/napi/common/
H A Dnfc_napi_common_utils.h94 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/foundation/distributeddatamgr/relational_store/test/native/rdb/unittest/
H A Drdb_bigint_test.cpp56 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
/aosp12/packages/services/Car/car-lib/src/android/car/hardware/hvac/
H A DCarHvacManager.java323 public void registerCallback(CarHvacEventCallback callback) { in registerCallback()
342 public void unregisterCallback(CarHvacEventCallback callback) { in unregisterCallback()
414 public void setBooleanProperty(@PropertyId int propertyId, int area, boolean val) { in setBooleanProperty()
426 public void setFloatProperty(@PropertyId int propertyId, int area, float val) { in setFloatProperty()
438 public void setIntProperty(@PropertyId int propertyId, int area, int val) { in setIntProperty()
/aosp12/system/bt/service/ipc/binder/
H A Dremote_callback_map.h127 bool RemoteCallbackMap<K, V>::Register(const K& key, const sp<V>& callback, in Register()
181 sp<V> val = iter->second->get_callback(); in Remove() local
217 const K& key, const sp<V>& callback, RemoteCallbackMap<K, V>* owner, in CallbackDeathRecipient()
H A Dbluetooth_avrcp_target_binder_server.cc86 const android::sp<IBluetoothAvrcpTargetCallback>& callback, in Register()
143 for (const auto& val : values) { in GetPlayerAppValueResponse() local
157 for (const auto& val : attrs) { in GetPlayerAppAttrTextResponse() local
171 for (const auto& val : values) { in GetPlayerAppValueTextResponse() local
185 for (const auto& val : attrs) { in GetElementAttrResponse() local
271 for (const auto& val : values) { in OnSetPlayerAppValue() local
324 bluetooth::BLEStatus status, android::sp<IInterface> callback, in OnRegisterInstanceImpl()
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fileio/properties/
H A Dwatcher.cpp45 napi_value callback = nullptr; in RunCommand() local
81 NVal val = NVal(env, funcArg[NARG_POS::THIRD]); in CreateWatcher() local
/ohos5.0/base/powermgr/thermal_manager/services/zidl/src/
H A Dthermal_srv_stub.cpp104 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 Dthermal_srv_proxy.cpp29 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()
/aosp12/system/core/libutils/
H A DLruCache_fuzz.cpp34 static NoopRemovedCallback callback; variable
50 size_t val = dataProvider->ConsumeIntegral<size_t>(); in __anon7d5aecd40602() local
/aosp12/packages/services/Car/car-lib/src/android/car/hardware/property/
H A DCarPropertyManager.java237 public boolean registerCallback(@NonNull CarPropertyEventCallback callback, in registerCallback()
307 public void unregisterCallback(@NonNull CarPropertyEventCallback callback) { in unregisterCallback()
326 public void unregisterCallback(@NonNull CarPropertyEventCallback callback, int propertyId) { in unregisterCallback()
840 public <E> void setProperty(@NonNull Class<E> clazz, int propId, int areaId, @NonNull E val) { in setProperty()
879 public void setBooleanProperty(int prop, int areaId, boolean val) { in setBooleanProperty()
893 public void setFloatProperty(int prop, int areaId, float val) { in setFloatProperty()
907 public void setIntProperty(int prop, int areaId, int val) { in setIntProperty()
/aosp12/packages/services/Car/car-lib/src/android/car/hardware/cabin/
H A DCarCabinManager.java493 public void registerCallback(CarCabinEventCallback callback) { in registerCallback()
512 public void unregisterCallback(CarCabinEventCallback callback) { in unregisterCallback()
570 public void setBooleanProperty(@PropertyId int propertyId, int area, boolean val) { in setBooleanProperty()
582 public void setFloatProperty(@PropertyId int propertyId, int area, float val) { in setFloatProperty()
594 public void setIntProperty(@PropertyId int propertyId, int area, int val) { in setIntProperty()
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/plugin/test/av_trans_output/dsoftbus_output_test/
H A Ddsoftbus_output_plugin_test.cpp81 ValueType val; variable
177 AVDataCallback callback = nullptr; variable
189 bool val = true; variable
/ohos5.0/base/useriam/user_auth_framework/frameworks/native/ipc/src/
H A Duser_auth_stub.cpp186 …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 Ddaudio_output_test.cpp125 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 Drdb_subscriber_manager.cpp234 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 Dsys_event_repeat_guard.cpp130 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 Dpurgeable_mem_base.cpp34 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/arkui/ace_engine/frameworks/core/components/svg/
H A Drender_svg_base.cpp331 …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()

1234567