Home
last modified time | relevance | path

Searched defs:handle (Results 1 – 25 of 146) sorted by relevance

123456

/system/chre/platform/shared/audio_pal/
Dplatform_audio.cc61 void PlatformAudio::setHandleEnabled(uint32_t handle, bool enabled) { in setHandleEnabled()
66 bool PlatformAudio::requestAudioDataEvent(uint32_t handle, uint32_t numSamples, in requestAudioDataEvent()
77 void PlatformAudio::cancelAudioDataEventRequest(uint32_t handle) { in cancelAudioDataEventRequest()
100 bool PlatformAudio::getAudioSource(uint32_t handle, in getAudioSource()
117 void PlatformAudioBase::audioAvailabilityCallback(uint32_t handle, in audioAvailabilityCallback()
/system/chre/core/
Daudio_request_manager.cc60 uint32_t handle, bool enable, in configureSource()
72 uint32_t handle = audioDataEvent->handle; in handleAudioDataEvent() local
100 void AudioRequestManager::handleAudioAvailability(uint32_t handle, in handleAudioAvailability()
119 uint32_t handle = static_cast<uint32_t>(i); in logStateToBuffer() local
148 uint32_t handle, bool enable, uint64_t bufferDuration, in validateConfigureSourceArguments()
179 uint32_t handle, bool enable, in doConfigureSource()
229 void AudioRequestManager::updatePlatformHandleEnabled(uint32_t handle, in updatePlatformHandleEnabled()
239 bool AudioRequestManager::createAudioRequest(uint32_t handle, in createAudioRequest()
285 for (uint32_t handle = 0; handle < numRequests; ++handle) { in disableAllAudioRequests() local
301 AudioRequestManager::findAudioRequestByInstanceId(uint32_t handle, in findAudioRequestByInstanceId()
[all …]
/system/vold/bench/
Dbenchgen.py188 fd, f, handle = extract_file(e, e.ret) variable
202 fd, f, handle = extract_file(e, e.args[0]) variable
208 fd, f, handle = extract_file(e, e.args[0]) variable
213 fd, f, handle = extract_file(e, e.args[0]) variable
218 fd, f, handle = extract_file(e, e.args[0]) variable
227 fd, f, handle = extract_file(e, e.args[0]) variable
236 fd, f, handle = extract_file(e, e.args[0]) variable
244 fd, f, handle = extract_file(e, e.args[0]) variable
252 fd, f, handle = extract_file(e, e.args[0]) variable
258 fd, f, handle = extract_file(e, e.args[0]) variable
[all …]
/system/chre/platform/slpi/
Dplatform_audio.cc36 void handleAudioAvailability(uint32_t handle, bool available) { in handleAudioAvailability()
75 void PlatformAudio::setHandleEnabled(uint32_t handle, bool enabled) { in setHandleEnabled()
106 bool PlatformAudio::requestAudioDataEvent(uint32_t handle, uint32_t numSamples, in requestAudioDataEvent()
117 void PlatformAudio::cancelAudioDataEventRequest(uint32_t handle) { in cancelAudioDataEventRequest()
138 bool PlatformAudio::getAudioSource(uint32_t handle, in getAudioSource()
/system/chre/platform/tinysys/
Dplatform_audio.cc35 void handleAudioAvailability(uint32_t handle, bool available) { in handleAudioAvailability()
74 void PlatformAudio::setHandleEnabled(uint32_t handle, bool enabled) { in setHandleEnabled()
105 bool PlatformAudio::requestAudioDataEvent(uint32_t handle, uint32_t numSamples, in requestAudioDataEvent()
116 void PlatformAudio::cancelAudioDataEventRequest(uint32_t handle) { in cancelAudioDataEventRequest()
137 bool PlatformAudio::getAudioSource(uint32_t handle, in getAudioSource()
/system/libziparchive/
Dzip_writer_test.cc59 ZipArchiveHandle handle; in TEST_F() local
84 ZipArchiveHandle handle; in TEST_F() local
110 ZipArchiveHandle handle; in TEST_F() local
142 ZipArchiveHandle handle; in TEST_F() local
177 ZipArchiveHandle handle; in TEST_F() local
211 ZipArchiveHandle handle; in TEST_F() local
239 ZipArchiveHandle handle; in TEST_F() local
261 ZipArchiveHandle handle; in TEST_F() local
289 ZipArchiveHandle handle; in TEST_F() local
322 ZipArchiveHandle handle; in TEST_F() local
[all …]
Dzip_archive_test.cc57 static int32_t OpenArchiveWrapper(const std::string& name, ZipArchiveHandle* handle) { in OpenArchiveWrapper()
135 ZipArchiveHandle handle; in TEST() local
152 ZipArchiveHandle handle; in TEST() local
158 ZipArchiveHandle handle; in TEST() local
164 ZipArchiveHandle handle; in TEST() local
170 ZipArchiveHandle handle; in TEST() local
180 ZipArchiveHandle handle; in TEST() local
190 ZipArchiveHandle handle; in TEST() local
202 ZipArchiveHandle handle; in TEST() local
215 ZipArchiveHandle handle; in TEST() local
[all …]
Dzip_archive_benchmark.cpp59 ZipArchiveHandle handle; in OpenClose() local
70 ZipArchiveHandle handle; in FindEntry_no_match() local
88 ZipArchiveHandle handle; in Iterate_all_files() local
129 ZipArchiveHandle handle; in ExtractEntry() local
154 ZipArchiveHandle handle; in ExtractStored() local
Dzip_archive_stream_entry.cc50 explicit ZipArchiveStreamEntryUncompressed(ZipArchiveHandle handle) in ZipArchiveStreamEntryUncompressed()
124 explicit ZipArchiveStreamEntryCompressed(ZipArchiveHandle handle) in ZipArchiveStreamEntryCompressed()
273 explicit ZipArchiveStreamEntryRawCompressed(ZipArchiveHandle handle) in ZipArchiveStreamEntryRawCompressed()
296 ZipArchiveStreamEntry* ZipArchiveStreamEntry::Create(ZipArchiveHandle handle, in Create()
312 ZipArchiveStreamEntry* ZipArchiveStreamEntry::CreateRaw(ZipArchiveHandle handle, in CreateRaw()
/system/core/trusty/storage/tests/
Dmain.cpp125 void StorageServiceTest::WriteZeroChunk(file_handle_t handle, storage_off_t off, in WriteZeroChunk()
141 void StorageServiceTest::WritePatternChunk(file_handle_t handle, storage_off_t off, in WritePatternChunk()
157 void StorageServiceTest::WritePattern(file_handle_t handle, storage_off_t off, in WritePattern()
173 void StorageServiceTest::ReadChunk(file_handle_t handle, in ReadChunk()
205 void StorageServiceTest::ReadPattern(file_handle_t handle, storage_off_t off, in ReadPattern()
226 void StorageServiceTest::ReadPatternEOF(file_handle_t handle, storage_off_t off, in ReadPatternEOF()
251 file_handle_t handle; in TEST_P() local
296 file_handle_t handle; in TEST_P() local
333 file_handle_t handle; in TEST_P() local
367 file_handle_t handle; in TEST_P() local
[all …]
/system/nfc/src/nfa/p2p/
Dnfa_p2p_api.cc165 tNFA_STATUS NFA_P2pDeregister(tNFA_HANDLE handle) { in NFA_P2pDeregister()
205 tNFA_STATUS NFA_P2pAcceptConn(tNFA_HANDLE handle, uint16_t miu, uint8_t rw) { in NFA_P2pAcceptConn()
258 tNFA_STATUS NFA_P2pRejectConn(tNFA_HANDLE handle) { in NFA_P2pRejectConn()
310 tNFA_STATUS NFA_P2pDisconnect(tNFA_HANDLE handle, bool flush) { in NFA_P2pDisconnect()
475 tNFA_STATUS NFA_P2pSendUI(tNFA_HANDLE handle, uint8_t dsap, uint16_t length, in NFA_P2pSendUI()
563 tNFA_STATUS NFA_P2pReadUI(tNFA_HANDLE handle, uint32_t max_data_len, in NFA_P2pReadUI()
600 tNFA_STATUS NFA_P2pFlushUI(tNFA_HANDLE handle, uint32_t* p_length) { in NFA_P2pFlushUI()
638 tNFA_STATUS NFA_P2pSendData(tNFA_HANDLE handle, uint16_t length, in NFA_P2pSendData()
730 tNFA_STATUS NFA_P2pReadData(tNFA_HANDLE handle, uint32_t max_data_len, in NFA_P2pReadData()
770 tNFA_STATUS NFA_P2pFlushData(tNFA_HANDLE handle, uint32_t* p_length) { in NFA_P2pFlushData()
[all …]
/system/core/libcutils/
Dnative_handle.cpp48 uint64_t get_fdsan_tag(const native_handle_t* handle) { in get_fdsan_tag()
73 void swap_fdsan_tags(const native_handle_t* handle, uint64_t expected_tag, uint64_t new_tag) { in swap_fdsan_tags()
92 native_handle_t* handle = (native_handle_t*)storage; in native_handle_init() local
116 void native_handle_set_fdsan_tag(const native_handle_t* handle) { in native_handle_set_fdsan_tag()
120 void native_handle_unset_fdsan_tag(const native_handle_t* handle) { in native_handle_unset_fdsan_tag()
124 native_handle_t* native_handle_clone(const native_handle_t* handle) { in native_handle_clone()
/system/chre/test/simulation/
Dtimer_test.cc71 uint32_t handle = chreTimerSet(kOneMillisecondInNanoseconds, in TEST_F() local
77 auto handle = static_cast<const uint32_t *>(event->data); in TEST_F() local
98 uint32_t handle; in TEST_F() local
145 uint32_t handle = chreTimerSet(kOneMillisecondInNanoseconds, in TEST_F() local
166 uint32_t handle; in TEST_F() local
/system/core/libutils/
DNativeHandle.cpp22 sp<NativeHandle> NativeHandle::create(native_handle_t* handle, bool ownsHandle) { in create()
26 NativeHandle::NativeHandle(native_handle_t* handle, bool ownsHandle) in NativeHandle()
/system/core/fastboot/
Dusb_windows.cpp71 WindowsUsbTransport(std::unique_ptr<usb_handle> handle) : handle_(std::move(handle)) {} in WindowsUsbTransport()
231 void usb_cleanup_handle(usb_handle* handle) { in usb_cleanup_handle()
247 void usb_kick(usb_handle* handle) { in usb_kick()
278 int recognized_device(usb_handle* handle, ifc_match_func callback) { in recognized_device()
338 std::unique_ptr<usb_handle> handle; in find_usb_device() local
385 std::unique_ptr<usb_handle> handle = find_usb_device(callback); in usb_open() local
/system/chre/platform/android/
Dplatform_audio.cc137 void PlatformAudio::setHandleEnabled(uint32_t handle, bool enabled) { in setHandleEnabled()
141 bool PlatformAudio::requestAudioDataEvent(uint32_t handle, uint32_t numSamples, in requestAudioDataEvent()
149 void PlatformAudio::cancelAudioDataEventRequest(uint32_t handle) { in cancelAudioDataEventRequest()
160 bool PlatformAudio::getAudioSource(uint32_t handle, in getAudioSource()
/system/chre/platform/linux/sim/
Dplatform_audio.cc79 void PlatformAudio::setHandleEnabled(uint32_t handle, bool enabled) { in setHandleEnabled()
83 bool PlatformAudio::requestAudioDataEvent(uint32_t handle, uint32_t numSamples, in requestAudioDataEvent()
94 void PlatformAudio::cancelAudioDataEventRequest(uint32_t handle) { in cancelAudioDataEventRequest()
108 bool PlatformAudio::getAudioSource(uint32_t handle, in getAudioSource()
/system/chre/platform/shared/
Dchre_api_audio.cc32 DLL_EXPORT bool chreAudioGetSource(uint32_t handle, in chreAudioGetSource()
50 DLL_EXPORT bool chreAudioConfigureSource(uint32_t handle, bool enable, in chreAudioConfigureSource()
Ddlfcn.cc27 void *dlsym(void *handle, const char *symbol) { in dlsym()
47 int dlclose(void *handle) { in dlclose()
/system/core/fastboot/device/
Dflashing.cpp79 int FlashRawDataChunk(PartitionHandle* handle, const char* data, size_t len) { in FlashRawDataChunk()
113 int FlashRawData(PartitionHandle* handle, const std::vector<char>& downloaded_data) { in FlashRawData()
122 PartitionHandle* handle = reinterpret_cast<PartitionHandle*>(priv); in WriteCallback() local
134 int FlashSparseData(PartitionHandle* handle, std::vector<char>& downloaded_data) { in FlashSparseData()
145 int FlashBlockDevice(PartitionHandle* handle, std::vector<char>& downloaded_data) { in FlashBlockDevice()
177 PartitionHandle handle; in Flash() local
/system/media/audio_utils/
Dtinysndfile.c75 SNDFILE *handle = (SNDFILE *) malloc(sizeof(SNDFILE)); in sf_open_read() local
367 SNDFILE *handle = (SNDFILE *) malloc(sizeof(SNDFILE)); in sf_open_write() local
398 void sf_close(SNDFILE *handle) in sf_close()
419 sf_count_t sf_readf_short(SNDFILE *handle, short *ptr, sf_count_t desiredFrames) in sf_readf_short()
468 sf_count_t sf_readf_float(SNDFILE *handle, float *ptr, sf_count_t desiredFrames) in sf_readf_float()
516 sf_count_t sf_readf_int(SNDFILE *handle, int *ptr, sf_count_t desiredFrames) in sf_readf_int()
564 sf_count_t sf_writef_short(SNDFILE *handle, const short *ptr, sf_count_t desiredFrames) in sf_writef_short()
601 sf_count_t sf_writef_float(SNDFILE *handle, const float *ptr, sf_count_t desiredFrames) in sf_writef_float()
626 sf_count_t sf_writef_int(SNDFILE *handle, const int *ptr, sf_count_t desiredFrames) in sf_writef_int()
/system/core/fastboot/fuzzy_fastboot/
Dextensions.cpp100 bool ExtractPartitions(tinyxml2::XMLConstHandle handle, Configuration* config) { in ExtractPartitions()
132 bool ExtractPacked(tinyxml2::XMLConstHandle handle, Configuration* config) { in ExtractPacked()
195 bool ExtractGetVars(tinyxml2::XMLConstHandle handle, Configuration* config) { in ExtractGetVars()
212 bool ExtractOem(tinyxml2::XMLConstHandle handle, Configuration* config) { in ExtractOem()
262 bool ExtractChecksum(tinyxml2::XMLConstHandle handle, Configuration* config) { in ExtractChecksum()
283 tinyxml2::XMLConstHandle handle(&doc); in ParseXml() local
/system/core/libvndksupport/tests/
Dlinker_test.cpp47 void* handle = android_load_sphal_library(name.c_str(), RTLD_NOW | RTLD_LOCAL); in TEST() local
53 void* handle = android_load_sphal_library("libNeverUseThisName.so", RTLD_NOW | RTLD_LOCAL); in TEST() local
/system/chre/chpp/
Dapp.c241 uint8_t handle = rxHeader->handle; in chppDatagramLenIsOk() local
316 uint8_t handle, in chppGetDispatchFunction()
396 struct ChppAppState *context, uint8_t handle) { in chppServiceOfHandle()
415 struct ChppAppState *context, uint8_t handle) { in chppClientOfHandle()
438 uint8_t handle) { in chppServiceContextOfHandle()
456 uint8_t handle) { in chppClientContextOfHandle()
476 uint8_t handle, in chppClientServiceContextOfHandle()
679 uint8_t *handle = (uint8_t *)buf; in chppAppProcessRxDatagram() local
/system/extras/libfec/test/
Dfec_unittest.cpp133 struct fec_handle *handle = nullptr; in TEST_F() local
169 struct fec_handle *handle = nullptr; in TEST_F() local
211 struct fec_handle *handle = nullptr; in TEST_F() local
226 struct fec_handle *handle = nullptr; in TEST_F() local
265 struct fec_handle *handle = nullptr; in TEST_F() local
288 struct fec_handle *handle = nullptr; in TEST_F() local

123456