Searched refs:callback_id (Results 1 – 6 of 6) sorted by relevance
/system/media/brillo/audio/audioservice/test/ |
D | brillo_audio_manager_test.cpp | 172 int callback_id; in TEST_F() local 182 BAudioManager_registerAudioCallback(bam, nullptr, nullptr, &callback_id), in TEST_F() 191 int callback_id = 0; in TEST_F() local 195 &callback_id), in TEST_F() 197 EXPECT_NE(callback_id, 0); in TEST_F() 205 int callback_id = 0; in TEST_F() local 209 BAudioManager_registerAudioCallback(bam, callback, nullptr, &callback_id), in TEST_F() 211 EXPECT_NE(callback_id, 0); in TEST_F() 226 int callback_id = 0; in TEST_F() local 230 &callback_id), in TEST_F() [all …]
|
/system/media/brillo/audio/audioservice/ |
D | brillo_audio_client.cpp | 187 android::sp<AudioServiceCallback> callback, int* callback_id) { in RegisterAudioCallback() argument 193 *callback_id = 0; in RegisterAudioCallback() 199 *callback_id = 0; in RegisterAudioCallback() 203 *callback_id = callback_id_counter_++; in RegisterAudioCallback() 204 callback_map_.emplace(*callback_id, callback); in RegisterAudioCallback() 208 int BrilloAudioClient::UnregisterAudioCallback(int callback_id) { in UnregisterAudioCallback() argument 213 auto callback_elem = callback_map_.find(callback_id); in UnregisterAudioCallback()
|
D | brillo_audio_manager.cpp | 198 void* user_data, int* callback_id) { in BAudioManager_registerAudioCallback() argument 199 if (!brillo_audio_manager || !callback || !callback_id) in BAudioManager_registerAudioCallback() 203 *callback_id = 0; in BAudioManager_registerAudioCallback() 209 new AudioServiceCallback(callback, user_data), callback_id); in BAudioManager_registerAudioCallback() 213 const BAudioManager* brillo_audio_manager, int callback_id) { in BAudioManager_unregisterAudioCallback() argument 219 return client->UnregisterAudioCallback(callback_id); in BAudioManager_unregisterAudioCallback()
|
D | brillo_audio_client.h | 63 int* callback_id); 70 int UnregisterAudioCallback(int callback_id);
|
/system/media/brillo/audio/audioservice/include/ |
D | brillo_audio_manager.h | 236 void* user_data, int* callback_id); 246 const BAudioManager* brillo_audio_manager, int callback_id);
|
/system/update_engine/common/ |
D | http_fetcher_unittest.cc | 606 MessageLoop::TaskId callback_id; in TYPED_TEST() local 607 callback_id = this->loop_.PostDelayedTask( in TYPED_TEST() 609 base::Bind(&UnpausingTimeoutCallback, &delegate, &callback_id), in TYPED_TEST() 614 EXPECT_TRUE(this->loop_.CancelTask(callback_id)); in TYPED_TEST()
|