Home
last modified time | relevance | path

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

123456

/system/chre/platform/shared/audio_pal/
Dplatform_audio.cc67 void PlatformAudio::setHandleEnabled(uint32_t handle, bool enabled) { in setHandleEnabled()
72 bool PlatformAudio::requestAudioDataEvent(uint32_t handle, uint32_t numSamples, in requestAudioDataEvent()
83 void PlatformAudio::cancelAudioDataEventRequest(uint32_t handle) { in cancelAudioDataEventRequest()
106 bool PlatformAudio::getAudioSource(uint32_t handle, in getAudioSource()
123 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/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/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/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
210 ZipArchiveHandle handle; in TEST_F() local
238 ZipArchiveHandle handle; in TEST_F() local
260 ZipArchiveHandle handle; in TEST_F() local
288 ZipArchiveHandle handle; in TEST_F() local
321 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/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.cc69 uint32_t handle = chreTimerSet(10 * kOneMillisecondInNanoseconds, in TEST_F() local
75 auto handle = static_cast<const uint32_t *>(event->data); in TEST_F() local
100 uint32_t handle; in TEST_F() local
144 uint32_t handle = chreTimerSet(10 * kOneMillisecondInNanoseconds, in TEST_F() local
169 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/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/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/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
386 std::unique_ptr<usb_handle> handle = find_usb_device(callback); in usb_open() local
/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
369 SNDFILE *handle = (SNDFILE *) malloc(sizeof(SNDFILE)); in sf_open_write() local
400 void sf_close(SNDFILE *handle) in sf_close()
423 sf_count_t sf_readf_short(SNDFILE *handle, short *ptr, sf_count_t desiredFrames) in sf_readf_short()
472 sf_count_t sf_readf_float(SNDFILE *handle, float *ptr, sf_count_t desiredFrames) in sf_readf_float()
520 sf_count_t sf_readf_int(SNDFILE *handle, int *ptr, sf_count_t desiredFrames) in sf_readf_int()
568 sf_count_t sf_writef_short(SNDFILE *handle, const short *ptr, sf_count_t desiredFrames) in sf_writef_short()
605 sf_count_t sf_writef_float(SNDFILE *handle, const float *ptr, sf_count_t desiredFrames) in sf_writef_float()
630 sf_count_t sf_writef_int(SNDFILE *handle, const int *ptr, sf_count_t desiredFrames) in sf_writef_int()
/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/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/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
236 struct fec_handle *handle = nullptr; in TEST_F() local
275 struct fec_handle *handle = nullptr; in TEST_F() local
298 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()
/system/chre/platform/linux/
Dpal_audio.cc86 bool chrePalAudioApiRequestAudioDataEvent(uint32_t handle, uint32_t numSamples, in chrePalAudioApiRequestAudioDataEvent()
106 void chrePalAudioApiCancelAudioDataEvent(uint32_t handle) { in chrePalAudioApiCancelAudioDataEvent()
126 bool chrePalAudioApiGetAudioSource(uint32_t handle, in chrePalAudioApiGetAudioSource()

123456