Home
last modified time | relevance | path

Searched refs:deviceCallback_ (Results 1 – 3 of 3) sorted by relevance

/base/notification/distributed_notification_service/services/distributed/test/unittest/
Ddistributed_database_test.cpp41 std::shared_ptr<DistributedDeviceCallback> deviceCallback_; member in OHOS::Notification::DistributedDatabaseTest
69 deviceCallback_ = std::make_shared<DistributedDeviceCallback>(deviceCallback); in SetUp()
70 database_ = std::make_shared<DistributedDatabase>(databaseCallback_, deviceCallback_); in SetUp()
78 deviceCallback_ = nullptr; in TearDown()
113 deviceCallback_->OnDeviceChanged(deviceInfo, DistributedKv::DeviceChangeType::DEVICE_ONLINE);
114 deviceCallback_->OnDeviceChanged(deviceInfo, DistributedKv::DeviceChangeType::DEVICE_OFFLINE);
218 EXPECT_EQ(deviceCallback_->GetFilterStrategy(), DistributedKv::DeviceFilterStrategy::NO_FILTER);
/base/telephony/call_manager/services/audio/src/
Daudio_proxy.cpp26 deviceCallback_(std::make_shared<AudioDeviceChangeCallback>()) in AudioProxy()
38 if (deviceCallback_ == nullptr) { in SetAudioDeviceChangeCallback()
43 AudioStandard::DeviceFlag::ALL_DEVICES_FLAG, deviceCallback_); in SetAudioDeviceChangeCallback()
/base/telephony/call_manager/services/audio/include/
Daudio_proxy.h81 std::shared_ptr<AudioStandard::AudioManagerDeviceChangeCallback> deviceCallback_; variable