Home
last modified time | relevance | path

Searched refs:Cleanup (Results 1 – 25 of 91) sorted by relevance

1234

/packages/modules/Connectivity/staticlibs/netd/libnetdutils/include/netdutils/
DMisc.h37 class Cleanup {
39 Cleanup() = delete;
40 explicit Cleanup(FnT fn) : mFn(fn) {} in Cleanup() function
41 ~Cleanup() { if (!mReleased) mFn(); } in ~Cleanup()
56 Cleanup<FnT> makeCleanup(FnT fn) { in makeCleanup()
57 return Cleanup<FnT>(fn); in makeCleanup()
/packages/modules/Bluetooth/system/bta/le_audio/
Dcodec_interface.cc34 ~Impl() { Cleanup(); } in ~Impl()
47 Cleanup(); in InitEncoder()
80 Cleanup(); in InitDecoder()
180 void Cleanup() { in Cleanup() function
183 lc3_.Cleanup(); in Cleanup()
239 void Cleanup() { in Cleanup() function
289 void CodecInterface::Cleanup() { return impl->Cleanup(); } in Cleanup() function in bluetooth::le_audio::CodecInterface
Dmock_state_machine.cc29 void bluetooth::le_audio::LeAudioGroupStateMachine::Cleanup(void) { in Cleanup() function in bluetooth::le_audio::LeAudioGroupStateMachine
31 mock_machine->Cleanup(); in Cleanup()
Dmock_codec_interface.cc59 void CodecInterface::Cleanup() { return impl->Cleanup(); } in Cleanup() function in bluetooth::le_audio::CodecInterface
Dle_audio_set_configuration_provider.h32 static void Cleanup();
Dmock_codec_interface.h46 MOCK_METHOD((void), Cleanup, ());
/packages/modules/Bluetooth/system/audio_hal_interface/
Dhfp_client_interface.h35 virtual void Cleanup() = 0;
50 void Cleanup() override;
63 void Cleanup() override;
76 void Cleanup() override;
Dhfp_client_interface.cc129 void HfpClientInterface::Decode::Cleanup() { in Cleanup() function in bluetooth::audio::hfp::HfpClientInterface::Decode
266 if (get_decode_client_interface()) decode->Cleanup(); in ReleaseDecode()
275 void HfpClientInterface::Encode::Cleanup() { in Cleanup() function in bluetooth::audio::hfp::HfpClientInterface::Encode
411 if (get_encode_client_interface()) encode->Cleanup(); in ReleaseEncode()
421 void HfpClientInterface::Offload::Cleanup() { in Cleanup() function in bluetooth::audio::hfp::HfpClientInterface::Offload
562 if (get_encode_client_interface()) offload->Cleanup(); in ReleaseOffload()
Dle_audio_software.h92 virtual void Cleanup() = 0;
113 void Cleanup() override;
151 void Cleanup() override;
Dle_audio_software_host.cc206 void LeAudioClientInterface::Sink::Cleanup() { in Cleanup() function in bluetooth::audio::le_audio::LeAudioClientInterface::Sink
373 void LeAudioClientInterface::Source::Cleanup() { in Cleanup() function in bluetooth::audio::le_audio::LeAudioClientInterface::Source
557 sink->Cleanup(); in ReleaseSink()
599 if (host::le_audio::LeAudioSourceTransport::instance) source->Cleanup(); in ReleaseSource()
/packages/modules/Bluetooth/system/bta/le_audio/audio_hal_client/
Daudio_hal_client_test.cc92 MOCK_METHOD((void), Cleanup, (), (override));
123 MOCK_METHOD((void), Cleanup, (), (override));
188 void LeAudioClientInterface::Sink::Cleanup() {} in Cleanup() function in bluetooth::audio::le_audio::LeAudioClientInterface::Sink
219 void LeAudioClientInterface::Source::Cleanup() {} in Cleanup() function in bluetooth::audio::le_audio::LeAudioClientInterface::Source
287 ON_CALL(mock_hal_interface_audio_sink_, Cleanup()) in SetUp()
299 ON_CALL(mock_hal_interface_audio_source_, Cleanup()) in SetUp()
364 EXPECT_CALL(mock_hal_interface_audio_source_, Cleanup()); in TEST_F()
372 EXPECT_CALL(mock_hal_interface_audio_sink_, Cleanup()); in TEST_F()
/packages/modules/adb/client/
Dusb_libusb.cpp144 void Cleanup(ReadBlock* read_block) REQUIRES(read_mutex_) { in Cleanup() function
158 Cleanup(read_block); in MaybeCleanup()
181 self->Cleanup(read_block); in header_read_cb()
190 self->Cleanup(read_block); in header_read_cb()
203 self->Cleanup(&self->header_read_); in header_read_cb()
230 self->Cleanup(&self->payload_read_); in payload_read_cb()
240 self->Cleanup(&self->payload_read_); in payload_read_cb()
654 Cleanup(read_block); in CancelReadTransfer()
662 Cleanup(read_block); in CancelReadTransfer()
/packages/modules/Bluetooth/system/btif/avrcp/
Davrcp_service.h59 void Cleanup();
95 bool Cleanup() override;
/packages/modules/Bluetooth/system/audio_hal_interface/fuzzer/
Dlibbt_audio_hal_le_audio_software_fuzzer.cpp81 source->Cleanup(); in LLVMFuzzerTestOneInput()
101 sink->Cleanup(); in LLVMFuzzerTestOneInput()
/packages/modules/Bluetooth/system/btif/src/
Dbtif_le_audio_broadcaster.cc134 void Cleanup(void) override { in Cleanup() function in __anon84298b5c0111::LeAudioBroadcasterInterfaceImpl
135 do_in_main_thread(FROM_HERE, Bind(&LeAudioBroadcaster::Cleanup)); in Cleanup()
/packages/modules/NeuralNetworks/tools/test_generator/tests/
Dtest.py166 def Cleanup(): function
248 Cleanup()
/packages/modules/Bluetooth/system/gd/hal/
Dsnoop_logger_socket.cc64 Cleanup(); in ~SnoopLoggerSocket()
152 void SnoopLoggerSocket::Cleanup() { in Cleanup() function in bluetooth::hal::SnoopLoggerSocket
Dsnoop_logger_socket.h45 void Cleanup();
Dsnoop_logger_socket_thread.cc97 socket_->Cleanup(); in Run()
/packages/modules/Bluetooth/system/test/mock/
Dmock_bta_leaudio_broadcaster.cc31 void LeAudioBroadcaster::Cleanup() { inc_func_call_count(__func__); } in Cleanup() function in LeAudioBroadcaster
/packages/modules/Bluetooth/system/bta/has/
Dhas_ctp.h179 static void Cleanup() { in Cleanup() function
240 Cleanup(); in ~HasCtpGroupOpCoordinator()
/packages/modules/Bluetooth/android/app/jni/
Dcom_android_bluetooth_hearing_aid.cpp100 sHearingAidInterface->Cleanup(); in initNative()
136 sHearingAidInterface->Cleanup(); in cleanupNative()
Dcom_android_bluetooth_csip_set_coordinator.cpp167 sCsisClientInterface->Cleanup(); in initNative()
203 sCsisClientInterface->Cleanup(); in cleanupNative()
/packages/modules/Bluetooth/system/include/hardware/
Dbt_hearing_aid.h70 virtual void Cleanup(void) = 0;
Dbt_csis.h93 virtual void Cleanup(void) = 0;

1234