Home
last modified time | relevance | path

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

123456

/system/chre/platform/linux/testing/
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.cc59 uint32_t handle, bool enable, in configureSource()
71 uint32_t handle = audioDataEvent->handle; in handleAudioDataEvent() local
94 void AudioRequestManager::handleAudioAvailability(uint32_t handle, in handleAudioAvailability()
113 uint32_t handle = static_cast<uint32_t>(i); in logStateToBuffer() local
142 uint32_t handle, bool enable, uint64_t bufferDuration, in validateConfigureSourceArguments()
173 uint32_t handle, bool enable, in doConfigureSource()
223 void AudioRequestManager::updatePlatformHandleEnabled(uint32_t handle, in updatePlatformHandleEnabled()
233 bool AudioRequestManager::createAudioRequest(uint32_t handle, in createAudioRequest()
279 for (uint32_t handle = 0; handle < numRequests; ++handle) { in disableAllAudioRequests() local
295 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/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/libziparchive/
Dzip_writer_test.cc61 ZipArchiveHandle handle; in TEST_F() local
93 ZipArchiveHandle handle; in TEST_F() local
128 ZipArchiveHandle handle; in TEST_F() local
162 ZipArchiveHandle handle; in TEST_F() local
190 ZipArchiveHandle handle; in TEST_F() local
212 ZipArchiveHandle handle; in TEST_F() local
240 ZipArchiveHandle handle; in TEST_F() local
273 ZipArchiveHandle handle; in TEST_F() local
340 ZipArchiveHandle handle; in TEST_F() local
366 ZipArchiveHandle handle; in TEST_F() local
[all …]
Dzip_archive_test.cc57 static int32_t OpenArchiveWrapper(const std::string& name, ZipArchiveHandle* handle) { in OpenArchiveWrapper()
133 ZipArchiveHandle handle; in TEST() local
142 ZipArchiveHandle handle; in TEST() local
148 ZipArchiveHandle handle; in TEST() local
154 ZipArchiveHandle handle; in TEST() local
160 ZipArchiveHandle handle; in TEST() local
170 ZipArchiveHandle handle; in TEST() local
180 ZipArchiveHandle handle; in TEST() local
192 ZipArchiveHandle handle; in TEST() local
205 ZipArchiveHandle handle; in TEST() local
[all …]
Dzip_archive_stream_entry.cc49 explicit ZipArchiveStreamEntryUncompressed(ZipArchiveHandle handle) in ZipArchiveStreamEntryUncompressed()
120 explicit ZipArchiveStreamEntryCompressed(ZipArchiveHandle handle) in ZipArchiveStreamEntryCompressed()
270 explicit ZipArchiveStreamEntryRawCompressed(ZipArchiveHandle handle) in ZipArchiveStreamEntryRawCompressed()
293 ZipArchiveStreamEntry* ZipArchiveStreamEntry::Create(ZipArchiveHandle handle, in Create()
309 ZipArchiveStreamEntry* ZipArchiveStreamEntry::CreateRaw(ZipArchiveHandle handle, in CreateRaw()
/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/chre/test/simulation/
Dtimer_test.cc72 uint32_t handle = chreTimerSet(kOneMillisecondInNanoseconds, in TEST_F() local
78 auto handle = static_cast<const uint32_t *>(event->data); in TEST_F() local
99 uint32_t handle; in TEST_F() local
147 uint32_t handle = chreTimerSet(kOneMillisecondInNanoseconds, in TEST_F() local
168 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/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/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/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
129 int FlashSparseData(PartitionHandle* handle, std::vector<char>& downloaded_data) { in FlashSparseData()
139 int FlashBlockDevice(PartitionHandle* handle, std::vector<char>& downloaded_data) { in FlashBlockDevice()
171 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/chre/chpp/
Dapp.c252 uint8_t handle = rxHeader->handle; in chppDatagramLenIsOk() local
327 uint8_t handle, in chppGetDispatchFunction()
411 struct ChppAppState *context, uint8_t handle) { in chppServiceOfHandle()
430 struct ChppAppState *context, uint8_t handle) { in chppClientOfHandle()
453 uint8_t handle) { in chppServiceContextOfHandle()
471 uint8_t handle) { in chppClientContextOfHandle()
491 uint8_t handle, in chppClientServiceContextOfHandle()
692 uint8_t *handle = (uint8_t *)buf; in chppAppProcessRxDatagram() 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/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
/system/memory/libion/
Dion.c96 ion_user_handle_t* handle) { in ion_alloc()
113 int ion_free(int fd, ion_user_handle_t handle) { in ion_free()
120 int ion_map(int fd, ion_user_handle_t handle, size_t length, int prot, int flags, off_t offset, in ion_map()
148 int ion_share(int fd, ion_user_handle_t handle, int* share_fd) { in ion_share()
169 ion_user_handle_t handle; in ion_alloc_fd() local
193 int ion_import(int fd, int share_fd, ion_user_handle_t* handle) { in ion_import()
Dion_test.c41 int _ion_alloc_test(int *fd, ion_user_handle_t *handle) in _ion_alloc_test()
59 ion_user_handle_t handle; in ion_alloc_test() local
77 ion_user_handle_t handle; in ion_map_test() local
118 ion_user_handle_t handle; in ion_share_test() local
/system/chre/platform/linux/
Dpal_audio.cc89 bool chrePalAudioApiRequestAudioDataEvent(uint32_t handle, uint32_t numSamples, in chrePalAudioApiRequestAudioDataEvent()
105 void chrePalAudioApiCancelAudioDataEvent(uint32_t handle) { in chrePalAudioApiCancelAudioDataEvent()
125 bool chrePalAudioApiGetAudioSource(uint32_t handle, in chrePalAudioApiGetAudioSource()

123456