Searched refs:deviceCallback_ (Results 1 – 3 of 3) sorted by relevance
41 std::shared_ptr<DistributedDeviceCallback> deviceCallback_; member in OHOS::Notification::DistributedDatabaseTest69 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);
26 deviceCallback_(std::make_shared<AudioDeviceChangeCallback>()) in AudioProxy()38 if (deviceCallback_ == nullptr) { in SetAudioDeviceChangeCallback()43 AudioStandard::DeviceFlag::ALL_DEVICES_FLAG, deviceCallback_); in SetAudioDeviceChangeCallback()
81 std::shared_ptr<AudioStandard::AudioManagerDeviceChangeCallback> deviceCallback_; variable