Home
last modified time | relevance | path

Searched refs:available (Results 1 – 25 of 166) sorted by relevance

1234567

/system/bt/osi/src/
Dringbuffer.cc27 size_t available; member
39 p->total = p->available = size; in ringbuffer_init()
51 return rb->available; in ringbuffer_available()
56 return rb->total - rb->available; in ringbuffer_size()
70 rb->available -= length; in ringbuffer_insert()
82 rb->available += length; in ringbuffer_delete()
114 rb->available += copied; in ringbuffer_pop()
/system/nfc/utils/
Dringbuffer.cc26 size_t available; member
41 p->total = p->available = size; in ringbuffer_init()
53 return rb->available; in ringbuffer_available()
58 return rb->total - rb->available; in ringbuffer_size()
72 rb->available -= length; in ringbuffer_insert()
84 rb->available += length; in ringbuffer_delete()
116 rb->available += copied; in ringbuffer_pop()
/system/chre/core/
Daudio_request_manager.cc94 bool available) { in handleAudioAvailability() argument
106 NestedDataPtr<bool>(available)); in handleAudioAvailability()
123 handle, source.name, mAudioRequestLists[i].available, source.sampleRate, in logStateToBuffer()
261 postAudioSamplingChangeEvent(instanceId, handle, requestList.available, in createAudioRequest()
346 bool available) { in handleAudioAvailabilitySync() argument
348 if (mAudioRequestLists[handle].available != available) { in handleAudioAvailabilitySync()
351 mAudioRequestLists[handle].available = available; in handleAudioAvailabilitySync()
372 if (reqList.available && (nextRequest != nullptr)) { in scheduleNextAudioDataEvent()
391 postAudioSamplingChangeEvent(instanceId, handle, requestList.available, in postAudioSamplingChangeEvents()
399 bool available, in postAudioSamplingChangeEvent() argument
[all …]
/system/chre/core/include/chre/core/
Daudio_request_manager.h94 void handleAudioAvailability(uint32_t handle, bool available);
153 bool available = false; member
325 void handleAudioAvailabilitySync(uint32_t handle, bool available);
354 bool available, bool suspended);
/system/bt/stack/rfcomm/
Dport_api.cc874 int available = 0; in PORT_WriteDataCO() local
876 if (!p_port->p_data_co_callback(handle, (uint8_t*)&available, in PORT_WriteDataCO()
877 sizeof(available), in PORT_WriteDataCO()
882 available); in PORT_WriteDataCO()
885 if (available == 0) return PORT_SUCCESS; in PORT_WriteDataCO()
897 (((int)p_buf->len + available) <= (int)p_port->peer_mtu) && in PORT_WriteDataCO()
898 (((int)p_buf->len + available) <= (int)length)) { in PORT_WriteDataCO()
903 available, DATA_CO_CALLBACK_TYPE_OUTGOING)) in PORT_WriteDataCO()
909 available); in PORT_WriteDataCO()
915 p_port->tx.queue_size += (uint16_t)available; in PORT_WriteDataCO()
[all …]
/system/chre/platform/slpi/
Dplatform_audio.cc36 void handleAudioAvailability(uint32_t handle, bool available) { in handleAudioAvailability() argument
37 LOGD("SPI audio handle %" PRIu32 " available: %d", handle, available); in handleAudioAvailability()
40 .handleAudioAvailability(handle, available); in handleAudioAvailability()
/system/media/audio_utils/include/audio_utils/
Dfifo.h309 virtual ssize_t available() = 0;
400 virtual ssize_t available();
528 virtual ssize_t available();
557 ssize_t available(size_t *lost);
/system/core/init/
Dkeychords.cpp168 Keychords::Mask available(mask.size()); in GeteventEnable() local
169 auto res = ::ioctl(fd, EVIOCGBIT(EV_KEY, available.bytesize()), available.data()); in GeteventEnable()
171 if (!(available & mask)) return false; in GeteventEnable()
186 current_ |= mask & available & set; in GeteventEnable()
/system/core/libstats/push_compat/
Dstatsd_writer.h36 int (*available)(); /* Does not cause resources to be taken */ member
/system/core/rootdir/
Dasan_extract.rc1 # When /data is available, look for /system/asan.tar.gz and potentially extract.
/system/extras/module_ndk_libs/libnativehelper/
Dlibnativehelper.map.txt8 # JNI Invocation methods available to platform and apps.
/system/apex/tests/app/src/com/android/tests/apex/app/
DApexCompressionTests.java148 RollbackInfo available = RollbackUtils.getAvailableRollback(COMPRESSED_APEX_PACKAGE_NAME); in testCompressedApexCanBeRolledBack_Rollback() local
149 RollbackUtils.rollback(available.getRollbackId(), UNCOMPRESSED_APEX_V2); in testCompressedApexCanBeRolledBack_Rollback()
150 RollbackInfo committed = RollbackUtils.getCommittedRollbackById(available.getRollbackId()); in testCompressedApexCanBeRolledBack_Rollback()
/system/chre/pal/include/chre/pal/
Daudio.h66 void (*audioAvailabilityCallback)(uint32_t handle, bool available);
/system/chre/platform/shared/idl/
DREADME.md5 which requires that the FlatBuffers compiler `flatc` be available in $PATH.
/system/sepolicy/prebuilts/api/30.0/private/
Dapp.te13 # Apps cannot access external storage before it becomes available.
18 # allowed to write to CE storage before it's available.
/system/chre/apps/power_test/common/idl/
DREADME.md5 which requires that the FlatBuffers compiler `flatc` be available in $PATH.
/system/core/libstats/socket_lazy/
DAndroid.bp3 // libstatssocket.so is available.
/system/core/libstats/pull_lazy/
DAndroid.bp3 // libstatspull.so is available.
/system/extras/libfec/
DAndroid.bp85 // libavb isn't available on mac.
/system/libhidl/transport/safe_union/1.0/
Dtypes.hal20 * Unit type easily available to be used with safe_union.
/system/tools/aidl/metadata/
DAndroid.bp1 // build time C++ available list of all AIDL interfaces in the tree
/system/libhidl/transport/base/1.0/
Dtypes.hal21 * pid: pid of current process. -1 if not available.
/system/tools/hidl/metadata/
DAndroid.bp1 // build time C++ available list of all HIDL interfaces in the tree
/system/chre/doc/
Dframework_testing.md13 platform-specific components likely aren’t compilable/available on a host
55 code is nominally integrated in another test suite, the source code is available
/system/media/audio_utils/
Dfifo.cpp373 ssize_t audio_utils_fifo_writer::available() in available() function in audio_utils_fifo_writer
641 ssize_t audio_utils_fifo_reader::available() in available() function in audio_utils_fifo_reader
643 return available(NULL /*lost*/); in available()
646 ssize_t audio_utils_fifo_reader::available(size_t *lost) in available() function in audio_utils_fifo_reader

1234567