Home
last modified time | relevance | path

Searched refs:handler_ (Results 1 – 4 of 4) sorted by relevance

/system/media/brillo/audio/audioservice/test/
Daudio_device_handler_test.cpp47 void TearDown() override { handler_.Reset(); } in TearDown()
57 AudioDeviceHandlerMock handler_; member in brillo::AudioDeviceHandlerTest
67 EXPECT_CALL(handler_, in TEST_F()
70 handler_.DisconnectAllSupportedDevices(); in TEST_F()
71 EXPECT_EQ(handler_.changed_devices_.size(), 3); in TEST_F()
76 EXPECT_CALL(handler_, in TEST_F()
79 EXPECT_CALL(handler_, TriggerCallback( in TEST_F()
82 EXPECT_CALL(handler_, in TEST_F()
85 EXPECT_CALL(handler_, TriggerCallback( in TEST_F()
88 handler_.Init(nullptr); in TEST_F()
[all …]
Daudio_volume_handler_test.cpp47 handler_.SetVolumeFilePathForTesting(volume_file_path_); in SetUp()
51 handler_.kv_store_ = std::unique_ptr<KeyValueStore>(new KeyValueStore); in SetupHandlerVolumeFile()
52 handler_.GenerateVolumeFile(); in SetupHandlerVolumeFile()
55 AudioVolumeHandlerMock handler_; member in brillo::AudioVolumeHandlerTest
67 for (auto stream : handler_.kSupportedStreams_) { in TEST_F()
69 ASSERT_EQ(handler_.kMinIndex_, 0); in TEST_F()
70 ASSERT_EQ(handler_.kMaxIndex_, 100); in TEST_F()
72 ASSERT_TRUE(kv_store.GetString(handler_.kCurrentIndexKey_ + "." + in TEST_F()
76 ASSERT_EQ(handler_.kDefaultCurrentIndex_, stoi(value)); in TEST_F()
83 handler_.kv_store_ = std::unique_ptr<KeyValueStore>(new KeyValueStore); in TEST_F()
[all …]
/system/core/libmemunreachable/
DScopedSignalHandler.h42 handler_ = SignalFn(std::allocator_arg, allocator_, in install()
49 handler_(signal, si, uctx); in install()
67 handler_ = SignalFn{}; in reset()
81 static SignalFn handler_; variable
DHeapWalker.cpp176 ScopedSignalHandler::SignalFn ScopedSignalHandler::handler_; member in ScopedSignalHandler