/foundation/distributedhardware/device_manager/services/implementation/src/dependency/commonevent/ |
H A D | dm_common_event_manager.cpp | 69 statusChangeListener_ = sptr<SystemAbilityStatusChangeListener>( in SubscribeServiceEvent() 71 if (statusChangeListener_ == nullptr) { in SubscribeServiceEvent() 72 LOGE("statusChangeListener_ is nullptr"); in SubscribeServiceEvent() 77 if (samgrProxy->SubscribeSystemAbility(COMMON_EVENT_SERVICE_ID, statusChangeListener_) == ERR_OK) { in SubscribeServiceEvent() 110 if (statusChangeListener_ != nullptr) { in UnsubscribeServiceEvent() 116 int32_t ret = samgrProxy->UnSubscribeSystemAbility(COMMON_EVENT_SERVICE_ID, statusChangeListener_); in UnsubscribeServiceEvent() 121 statusChangeListener_ = nullptr; in UnsubscribeServiceEvent()
|
/foundation/distributedhardware/device_manager/services/service/src/publishcommonevent/ |
H A D | dm_screen_common_event.cpp | 77 statusChangeListener_ = new (std::nothrow) SystemAbilityStatusChangeListener(subscriber_); in SubscribeScreenCommonEvent() 78 if (statusChangeListener_ == nullptr) { in SubscribeScreenCommonEvent() 79 LOGE("statusChangeListener_ is nullptr"); in SubscribeScreenCommonEvent() 84 if (samgrProxy->SubscribeSystemAbility(COMMON_EVENT_SERVICE_ID, statusChangeListener_) == ERR_OK) { in SubscribeScreenCommonEvent() 117 if (statusChangeListener_ != nullptr) { in UnsubscribeScreenCommonEvent() 123 int32_t ret = samgrProxy->UnSubscribeSystemAbility(COMMON_EVENT_SERVICE_ID, statusChangeListener_); in UnsubscribeScreenCommonEvent() 128 statusChangeListener_ = nullptr; in UnsubscribeScreenCommonEvent()
|
H A D | dm_data_share_common_event.cpp | 78 statusChangeListener_ = new (std::nothrow) SystemAbilityStatusChangeListener(subscriber_); in SubscribeDataShareCommonEvent() 79 if (statusChangeListener_ == nullptr) { in SubscribeDataShareCommonEvent() 80 LOGE("statusChangeListener_ is nullptr"); in SubscribeDataShareCommonEvent() 85 if (samgrProxy->SubscribeSystemAbility(COMMON_EVENT_SERVICE_ID, statusChangeListener_) == ERR_OK) { in SubscribeDataShareCommonEvent() 118 if (statusChangeListener_ != nullptr) { in UnsubscribeDataShareCommonEvent() 124 int32_t ret = samgrProxy->UnSubscribeSystemAbility(COMMON_EVENT_SERVICE_ID, statusChangeListener_); in UnsubscribeDataShareCommonEvent() 129 statusChangeListener_ = nullptr; in UnsubscribeDataShareCommonEvent()
|
H A D | dm_account_common_event.cpp | 77 statusChangeListener_ = new (std::nothrow) SystemAbilityStatusChangeListener(subscriber_); in SubscribeAccountCommonEvent() 78 if (statusChangeListener_ == nullptr) { in SubscribeAccountCommonEvent() 79 LOGE("statusChangeListener_ is nullptr"); in SubscribeAccountCommonEvent() 84 if (samgrProxy->SubscribeSystemAbility(COMMON_EVENT_SERVICE_ID, statusChangeListener_) == ERR_OK) { in SubscribeAccountCommonEvent() 117 if (statusChangeListener_ != nullptr) { in UnsubscribeAccountCommonEvent() 123 int32_t ret = samgrProxy->UnSubscribeSystemAbility(COMMON_EVENT_SERVICE_ID, statusChangeListener_); in UnsubscribeAccountCommonEvent() 128 statusChangeListener_ = nullptr; in UnsubscribeAccountCommonEvent()
|
H A D | dm_package_common_event.cpp | 77 statusChangeListener_ = new (std::nothrow) SystemAbilityStatusChangeListener(subscriber_); in SubscribePackageCommonEvent() 78 if (statusChangeListener_ == nullptr) { in SubscribePackageCommonEvent() 79 LOGE("statusChangeListener_ is nullptr"); in SubscribePackageCommonEvent() 84 if (samgrProxy->SubscribeSystemAbility(COMMON_EVENT_SERVICE_ID, statusChangeListener_) == ERR_OK) { in SubscribePackageCommonEvent() 117 if (statusChangeListener_ != nullptr) { in UnsubscribePackageCommonEvent() 123 int32_t ret = samgrProxy->UnSubscribeSystemAbility(COMMON_EVENT_SERVICE_ID, statusChangeListener_); in UnsubscribePackageCommonEvent() 128 statusChangeListener_ = nullptr; in UnsubscribePackageCommonEvent()
|
H A D | dm_publish_common_event.cpp | 79 statusChangeListener_ = new (std::nothrow) SystemAbilityStatusChangeListener(subscriber_); in SubscribePublishCommonEvent() 80 if (statusChangeListener_ == nullptr) { in SubscribePublishCommonEvent() 81 LOGE("statusChangeListener_ is nullptr"); in SubscribePublishCommonEvent() 86 if (samgrProxy->SubscribeSystemAbility(COMMON_EVENT_SERVICE_ID, statusChangeListener_) == ERR_OK) { in SubscribePublishCommonEvent() 120 if (statusChangeListener_ != nullptr) { in UnsubscribePublishCommonEvent() 126 int32_t ret = samgrProxy->UnSubscribeSystemAbility(COMMON_EVENT_SERVICE_ID, statusChangeListener_); in UnsubscribePublishCommonEvent() 131 statusChangeListener_ = nullptr; in UnsubscribePublishCommonEvent()
|
/foundation/distributedhardware/device_manager/services/implementation/include/dependency/commonevent/ |
H A D | dm_common_event_manager.h | 67 sptr<ISystemAbilityStatusChange> statusChangeListener_ = nullptr; member in OHOS::DistributedHardware::DmCommonEventManager
|
/foundation/distributedhardware/device_manager/services/service/include/publishcommonevent/ |
H A D | dm_account_common_event.h | 65 sptr<ISystemAbilityStatusChange> statusChangeListener_ = nullptr; member in OHOS::DistributedHardware::DmAccountCommonEventManager
|
H A D | dm_data_share_common_event.h | 65 sptr<ISystemAbilityStatusChange> statusChangeListener_ = nullptr; member in OHOS::DistributedHardware::DmDataShareCommonEventManager
|
H A D | dm_package_common_event.h | 65 sptr<ISystemAbilityStatusChange> statusChangeListener_ = nullptr; member in OHOS::DistributedHardware::DmPackageCommonEventManager
|
H A D | dm_screen_common_event.h | 65 sptr<ISystemAbilityStatusChange> statusChangeListener_ = nullptr; member in OHOS::DistributedHardware::DmScreenCommonEventManager
|
H A D | dm_publish_common_event.h | 83 sptr<ISystemAbilityStatusChange> statusChangeListener_ = nullptr; member in OHOS::DistributedHardware::DmPublishCommonEventManager
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_ag/ |
H A D | hfp_ag_system_interface.h | 489 sptr<SystemAbilityStatusChange> statusChangeListener_; member in OHOS::bluetooth::HfpAgSystemInterface
|
H A D | hfp_ag_system_interface.cpp | 54 statusChangeListener_ = new SystemAbilityStatusChange(); in Start() 55 int32_t ret = samgrProxy->SubscribeSystemAbility(TELEPHONY_CALL_MANAGER_SYS_ABILITY_ID, statusChangeListener_); in Start()
|