/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/sync/ |
H A D | wake_list.rs | 73 self.notify(Notify::One) in notify_one() 81 self.notify(Notify::All) in notify_all() 84 fn notify(&self, notify_type: Notify) -> bool { in notify() 107 fn notify(&mut self, notify_type: Notify) -> bool { in notify() 113 if notify_type == Notify::One { in notify() 124 self.notify(Notify::One) in notify_one() 130 self.notify(Notify::All) in notify_all() 167 enum Notify { enum
|
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/ |
H A D | medialibrary_album_refresh.cpp | 43 … watch->Notify(MediaFileUtils::GetUriByExtrConditions(PhotoAlbumColumns::ANALYSIS_ALBUM_URI_PREFIX, in NotifyAnalysisAlbum() 46 watch->Notify(PhotoAlbumColumns::ANALYSIS_ALBUM_URI_PREFIX, NotifyType::NOTIFY_ADD); in NotifyAnalysisAlbum() 70 … watch->Notify(MediaFileUtils::GetUriByExtrConditions(PhotoAlbumColumns::ALBUM_URI_PREFIX, in NotifySystemAlbumFunc() 73 watch->Notify(PhotoAlbumColumns::ALBUM_URI_PREFIX, NotifyType::NOTIFY_ADD); in NotifySystemAlbumFunc() 75 watch->Notify(PhotoColumn::PHOTO_URI_PREFIX, NotifyType::NOTIFY_UPDATE); in NotifySystemAlbumFunc() 86 watch->Notify(PhotoAlbumColumns::ALBUM_URI_PREFIX, NotifyType::NOTIFY_ADD); in RefreshCallbackFunc() 87 watch->Notify(PhotoAlbumColumns::ANALYSIS_ALBUM_URI_PREFIX, NotifyType::NOTIFY_ADD); in RefreshCallbackFunc()
|
H A D | photo_map_operations.cpp | 119 … watch->Notify(MediaFileUtils::Encode(notifyUri), NotifyType::NOTIFY_ALBUM_ADD_ASSET, albumId); in AddPhotoAssets() 120 watch->Notify(MediaFileUtils::Encode(notifyUri), NotifyType::NOTIFY_ALBUM_ADD_ASSET, in AddPhotoAssets() 122 watch->Notify(MediaFileUtils::Encode(notifyUri), NotifyType::NOTIFY_ALBUM_ADD_ASSET, in AddPhotoAssets() 124 watch->Notify(MediaFileUtils::Encode(notifyUri), NotifyType::NOTIFY_ALBUM_ADD_ASSET, in AddPhotoAssets() 126 watch->Notify(MediaFileUtils::Encode(notifyUri), NotifyType::NOTIFY_ADD); in AddPhotoAssets() 276 …watch->Notify(MediaFileUtils::Encode(whereArgsUri[i]), NotifyType::NOTIFY_ALBUM_DISMISS_ASSET, alb… in DismissAssets() 325 watch->Notify(MediaFileUtils::Encode(uriWhereArgs[i]), NotifyType::NOTIFY_REMOVE); in RemovePhotoAssets() 326 …watch->Notify(MediaFileUtils::Encode(uriWhereArgs[i]), NotifyType::NOTIFY_ALBUM_REMOVE_ASSET, albu… in RemovePhotoAssets() 327 …watch->Notify(MediaFileUtils::Encode(uriWhereArgs[i]), NotifyType::NOTIFY_ALBUM_ADD_ASSET, trashAl… in RemovePhotoAssets()
|
/ohos5.0/base/telephony/core_service/services/tel_ril/src/ |
H A D | tel_ril_callback.cpp | 43 return Notify(responseInfo, &TelRilManager::GetTelRilCall, &TelRilCall::CallStateUpdated); in CallStateUpdated() 67 …return Notify(responseInfo, &TelRilManager::GetTelRilCall, &TelRilCall::CallSsNotice, ssNoticeInfo… in CallSsNotice() 72 return Notify(responseInfo, &TelRilManager::GetTelRilCall, &TelRilCall::CallRsrvccStatusNotify); in CallRsrvccStatusNotify() 263 return Notify( in DataLinkCapabilityUpdated() 328 return Notify( in VoiceRadioTechUpdated() 334 … return Notify(responseInfo, &TelRilManager::GetTelRilModem, &TelRilModem::DsdsModeUpdated, mode); in DsdsModeUpdated() 386 return Notify(responseInfo, &TelRilManager::GetTelRilSim, &TelRilSim::SimStateUpdated); in SimStateUpdated() 391 return Notify(responseInfo, &TelRilManager::GetTelRilSim, &TelRilSim::SimStkSessionEndNotify); in SimStkSessionEndNotify() 414 return Notify(responseInfo, &TelRilManager::GetTelRilSim, &TelRilSim::SimStkCallSetupNotify); in SimStkCallSetupNotify() 419 return Notify(responseInfo, &TelRilManager::GetTelRilSim, &TelRilSim::SimRefreshNotify); in SimRefreshNotify() [all …]
|
H A D | tel_ril_modem.cpp | 130 int32_t result = Notify(TELEPHONY_LOG_FUNC_NAME, RadioEvent::RADIO_RIL_ADAPTER_HOST_DIED); in OnRilAdapterHostDied() 149 return Notify<Int32Parcel>( in RadioStateUpdated() 157 return Notify<VoiceRadioTechnology>( in VoiceRadioTechUpdated() 163 return Notify<Int32Parcel>( in DsdsModeUpdated()
|
/ohos5.0/foundation/distributeddatamgr/pasteboard/framework/framework/device/ |
H A D | distributed_module_config.cpp | 26 Notify(); in IsOn() 36 void DistributedModuleConfig::Notify() in Notify() function in OHOS::MiscServices::DistributedModuleConfig 116 Notify(); in Online() 123 Notify(); in Offline() 135 Notify(); in Init()
|
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/ |
H A D | bundle_daemon_client.cpp | 35 int BundleDaemonClient::Notify(IOwner owner, int code, IpcIo *reply) in Notify() function in OHOS::BundleDaemonClient 197 … while (bdsClient_->Invoke(bdsClient_, REGISTER_CALLBACK, &request, this, Notify) != EC_SUCCESS) { in RegisterCallback() 225 return WaitResultSync(bdsClient_->Invoke(bdsClient_, funcId, &request, this, Notify)); in RegisterCallback() 264 …eturn WaitResultSync(bdsClient_->Invoke(bdsClient_, CREATE_PERMISSION_DIR, nullptr, this, Notify)); in RegisterCallback() 289 …turn WaitResultSync(bdsClient_->Invoke(bdsClient_, CREATE_DATA_DIRECTORY, &request, this, Notify)); in RegisterCallback() 313 …turn WaitResultSync(bdsClient_->Invoke(bdsClient_, STORE_CONTENT_TO_FILE, &request, this, Notify)); in RegisterCallback() 336 return WaitResultSync(bdsClient_->Invoke(bdsClient_, MOVE_FILE, &request, this, Notify)); in RegisterCallback() 358 return WaitResultSync(bdsClient_->Invoke(bdsClient_, REMOVE_FILE, &request, this, Notify)); in RegisterCallback()
|
/ohos5.0/base/powermgr/thermal_manager/test/unittest/src/ |
H A D | thermal_action_hub_test.cpp | 53 void Notify() in Notify() function 112 Notify(); in OnThermalActionChanged() 130 Notify(); in OnThermalActionChanged() 155 Notify(); in OnThermalActionChanged() 173 Notify(); in OnThermalActionChanged() 191 Notify(); in OnThermalActionChanged() 209 Notify(); in OnThermalActionChanged() 225 Notify(); in OnThermalActionChanged() 241 Notify(); in OnThermalActionChanged()
|
/ohos5.0/foundation/multimedia/media_foundation/test/unittest/ |
H A D | TestSynchronizer.cpp | 67 synchronizer.Notify(syncId, 1234); in __anon43a178830102() 85 synchronizer.Notify(syncId, 1234); in __anon43a178830302() 100 synchronizer.Notify(syncId, expect); in __anon43a178830502() 127 synchronizer.Notify(syncId, expect); in __anon43a178830902()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/utils/ |
H A D | value_change_notifier.h | 70 Notify(needFireChangeEvent); 81 Notify(needFireChangeEvent); 95 void Notify(bool needFireChangeEvent = true)
|
/ohos5.0/base/security/permission_lite/services/pms_client/ |
H A D | perm_client.c | 256 static int Notify(IOwner owner, int code, IpcIo *reply) in Notify() function 303 proxy->Invoke((IClientProxy *)proxy, ID_CHECK_SELF, &request, &ret, Notify); in CheckSelfPermission() 324 proxy->Invoke((IClientProxy *)proxy, ID_CHECK, &request, &ret, Notify); in CheckPermission() 366 proxy->Invoke((IClientProxy *)proxy, ID_GRANT, &request, &ret, Notify); in GrantPermission() 384 proxy->Invoke((IClientProxy *)proxy, ID_REVOKE, &request, &ret, Notify); in RevokePermission() 402 proxy->Invoke((IClientProxy *)proxy, ID_GRANT_RUNTIME, &request, &ret, Notify); in GrantRuntimePermission() 419 proxy->Invoke((IClientProxy *)proxy, ID_REVOKE_RUNTIME, &request, &ret, Notify); in RevokeRuntimePermission() 437 proxy->Invoke((IClientProxy *)proxy, ID_UPDATE_PERMS_FLAGS, &request, &ret, Notify); in UpdatePermissionFlags()
|
/ohos5.0/foundation/ai/ai_engine/services/client/communication_adapter/source/ |
H A D | sa_client_proxy.cpp | 35 struct Notify { struct 163 struct Notify owner = {.retCode = RETCODE_FAILURE}; in DestroyEngineProxy() 236 struct Notify owner = {.retCode = RETCODE_FAILURE}; in AsyncExecuteAlgorithmProxy() 289 struct Notify owner = {.retCode = RETCODE_FAILURE}; in UnloadAlgorithmProxy() 310 struct Notify owner = {.retCode = RETCODE_FAILURE}; in SetOptionProxy() 365 struct Notify owner = {.retCode = RETCODE_FAILURE}; in RegisterCallbackProxy() 392 struct Notify owner = {.retCode = RETCODE_FAILURE}; in UnregisterCallbackProxy()
|
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/distributed_camera/ |
H A D | interface_i_d_camera_provider.md | 27 | [Notify](#notify) ([in] struct [DHBase](_d_h_base.md) dhBase,[in] struct [DCameraHDFEvent](_d_cam… 109 ### Notify() 112 IDCameraProvider::Notify ([in] struct DHBase dhBase, [in] struct DCameraHDFEvent event )
|
/ohos5.0/base/useriam/user_auth_framework/services/context/inc/ |
H A D | context_callback.h | 56 using Notify = std::function<void(const MetaData &metaData, TraceFlag flag)>; variable 58 void AddNotifier(const Notify ¬ify); 62 std::vector<Notify> notifierList_;
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/subscriber_managers/ |
H A D | rdb_subscriber_manager.cpp | 132 Notify(key, context->currentUserId, node, context->calledSourceDir, context->version); in Add() 216 … Notify(key, context->currentUserId, node, context->calledSourceDir, context->version); in Enable() 238 Notify(key, context->currentUserId, val, context->calledSourceDir, context->version); in Emit() 258 Notify(key, userId, val, metaData.dataDir, metaData.version); in Emit() 297 Notify(key, userId, val, rdbPath, version); in EmitByKey() 318 int RdbSubscriberManager::Notify(const Key &key, int32_t userId, const std::vector<ObserverNode> &v… in Notify() function in OHOS::DataShare::RdbSubscriberManager 377 Notify(key, context->currentUserId, val, context->calledSourceDir, context->version); in Emit()
|
/ohos5.0/base/sensors/sensor_lite/frameworks/src/ |
H A D | sensor_agent_proxy.c | 169 int32_t Notify(IOwner owner, int32_t code, IpcIo *reply) in Notify() function 266 …t32_t ret = client->Invoke(client, SENSOR_SERVICE_ID_SUBSCRIBE_SENSOR, &request, &retCode, Notify); in RegisterSensorChannel() 295 …_t ret = client->Invoke(client, SENSOR_SERVICE_ID_UN_SUBSCRIBE_SENSOR, &request, &retCode, Notify); in UnregisterSensorChannel() 326 … int32_t ret = client->Invoke(client, SENSOR_SERVICE_ID_GET_ALL_SENSORS, &request, &owner, Notify); in InitSensorList() 367 …nt32_t ret = client->Invoke(client, SENSOR_SERVICE_ID_ACTIVATE_SENSOR, &request, &retCode, Notify); in ActivateSensorByProxy() 388 …32_t ret = client->Invoke(client, SENSOR_SERVICE_ID_DEACTIVATE_SENSOR, &request, &retCode, Notify); in DeactivateSensorByProxy() 412 int32_t ret = client->Invoke(client, SENSOR_SERVICE_ID_SET_BATCHS, &request, &retCode, Notify); in SetBatchByProxy() 497 int32_t ret = client->Invoke(client, SENSOR_SERVICE_ID_SET_MODE, &request, &retCode, Notify); in SetModeByProxy() 519 int32_t ret = client->Invoke(client, SENSOR_SERVICE_ID_SET_OPTION, &request, &retCode, Notify); in SetOptionByProxy()
|
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/frameworks/bundle_lite/src/ |
H A D | bundle_manager.cpp | 257 static int Notify(IOwner owner, int code, IpcIo *reply) in Notify() function 394 int32_t ret = bmsInnerClient->Invoke(bmsInnerClient, INSTALL, &ipcIo, &result, Notify); in Install() 437 int32_t ret = bmsInnerClient->Invoke(bmsInnerClient, UNINSTALL, &ipcIo, &result, Notify); in Uninstall() 468 … ret = bmsClient->Invoke(bmsClient, QUERY_ABILITY_INFO, &ipcIo, &resultOfQueryAbilityInfo, Notify); in QueryAbilityInfo() 513 …nt32_t ret = bmsClient->Invoke(bmsClient, GET_BUNDLE_INFO, &ipcIo, &resultOfGetBundleInfo, Notify); in GetBundleInfo() 550 int32_t ret = bmsClient->Invoke(bmsClient, code, ipcIo, &resultOfGetBundleInfos, Notify); in ObtainInnerBundleInfos() 603 &resultOfGetBundleInfo, Notify); in ObtainBundleInfosOneByOne() 639 …ret = bmsClient->Invoke(bmsClient, GET_BUNDLE_INFO_LENGTH, ipcIo, &resultOfGetBundleInfos, Notify); in ObtainBundleInfos() 721 …nt32_t ret = bmsClient->Invoke(bmsClient, GET_BUNDLE_SIZE, &ipcIo, &resultOfGetBundleSize, Notify); in GetBundleSize() 818 int32_t ret = bmsClient->Invoke(bmsClient, CHECK_SYS_CAP, &ipcIo, &result, Notify); in HasSystemCapability() [all …]
|
/ohos5.0/foundation/ability/ability_lite/services/abilitymgr_lite/src/client/ |
H A D | app_spawn_client.cpp | 30 static int Notify(IOwner owner, int code, IpcIo *reply) in Notify() function 77 int result = spawnClient_->Invoke(spawnClient_, ID_CALL_CREATE_SERVICE, &request, &pid, Notify); in CallingInnerSpawnProcess() 83 result = spawnClient_->Invoke(spawnClient_, ID_CALL_CREATE_SERVICE, &request, &pid, Notify); in CallingInnerSpawnProcess()
|
/ohos5.0/foundation/resourceschedule/ffrt/src/sync/ |
H A D | wait_queue.h | 66 void NotifyAll() noexcept { Notify(false); } in NotifyAll() 67 void NotifyOne() noexcept { Notify(true); } in NotifyOne() 95 void Notify(bool one) noexcept;
|
/ohos5.0/base/security/device_auth/deps_adapter/os_adapter/impl/src/linux/ |
H A D | hc_condition.c | 36 void Notify(pthread_cond_t* cond) in Notify() function 76 Notify(&hcCond->cond); in HcCondNotifyWithoutLock() 117 Notify(&hcCond->cond); in HcCondNotify()
|
/ohos5.0/base/print/print_fwk/services/print_service/src/ |
H A D | operation_queue.cpp | 49 syncWait.Notify(); in Stop() 73 syncWait.Notify(); in Push()
|
/ohos5.0/base/powermgr/thermal_manager/test/systemtest/src/ |
H A D | thermal_level_event_system_test.cpp | 78 static void Notify() in Notify() function 196 Notify(); in OnReceiveEvent() 207 Notify(); in OnReceiveEvent() 218 Notify(); in OnReceiveEvent() 229 Notify(); in OnReceiveEvent() 240 Notify(); in OnReceiveEvent()
|
/ohos5.0/drivers/hdf_core/adapter/khdf/linux/model/usb/host/ |
H A D | Kconfig | 13 bool "Enable HDF USB PNP Notify driver" 17 Answer Y to choice HDF USB PNP Notify driver.
|
/ohos5.0/foundation/multimedia/media_foundation/engine/scene/player/internal/ |
H A D | state_machine.cpp | 248 intentSync_.Notify(Intent::PLAY, result); in OnIntentExecuted() 250 intentSync_.Notify(intent, result); in OnIntentExecuted() 254 void StateMachine::Notify(Intent intent, ErrorCode code) in Notify() function in OHOS::Media::StateMachine 256 intentSync_.Notify(intent, code); in Notify()
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_control_center/test/unittest/inner_kits/ |
H A D | av_trans_control_center_callback_stub_test.cpp | 52 int32_t AVTransControlCenterCallbackStubTest::TestControlCenterCallbackStub::Notify( in Notify() function in OHOS::DistributedHardware::AVTransControlCenterCallbackStubTest::TestControlCenterCallbackStub 106 int32_t ret = callbackProxy.Notify(event);
|