/system/bt/audio_a2dp_hw/src/ |
H A D | audio_a2dp_hw.cc | 1791 UNUSED_ATTR audio_source_t source) { 1784 adev_open_input_stream(struct audio_hw_device* dev, UNUSED_ATTR audio_io_handle_t handle, UNUSED_ATTR audio_devices_t devices, UNUSED_ATTR struct audio_config* config, struct audio_stream_in** stream_in, UNUSED_ATTR audio_input_flags_t flags, UNUSED_ATTR const char* address, UNUSED_ATTR audio_source_t source) argument
|
/system/bt/audio_hearing_aid_hw/src/ |
H A D | audio_hearing_aid_hw.cc | 1733 UNUSED_ATTR audio_source_t source) { 1726 adev_open_input_stream(struct audio_hw_device* dev, UNUSED_ATTR audio_io_handle_t handle, UNUSED_ATTR audio_devices_t devices, UNUSED_ATTR struct audio_config* config, struct audio_stream_in** stream_in, UNUSED_ATTR audio_input_flags_t flags, UNUSED_ATTR const char* address, UNUSED_ATTR audio_source_t source) argument
|
/system/bt/btif/co/ |
H A D | bta_av_co.cc | 150 const BtaAvCoSep* p_source; // Currently selected source 254 * @param p_codec_info the peer source capability filled-in by the caller. 257 * source capability filled-in by the caller. On success, it will contain 426 * Report the source codec state for a peer 712 BtaAvCoSep& source = sources[i]; local 713 source.Reset(); 1197 APPL_TRACE_ERROR("%s: cannot set source codec %s for peer %s", __func__, 1609 "%s: Peer %s : error reporting audio source codec state: " 1831 APPL_TRACE_DEBUG("%s: cannot set source codec %s", __func__,
|
/system/bt/osi/src/socket_utils/ |
H A D | README | 24 Note that only a part of the source files are pulled from libcutils /
|
/system/bt/vendor_libs/test_vendor_lib/include/ |
H A D | packet_stream.h | 60 // Attempts to send |num_octets_to_send| from |source| to |fd|, returning 62 bool SendAll(const std::vector<uint8_t>& source, size_t num_octets_to_send,
|
/system/bt/vendor_libs/test_vendor_lib/src/ |
H A D | packet_stream.cc | 116 bool PacketStream::SendAll(const vector<uint8_t>& source, argument 118 CHECK(source.size() >= num_octets_to_send); 122 fd, &source[num_octets_to_send - octets_remaining], octets_remaining);
|
/system/ca-certificates/ |
H A D | Android.mk | 30 # $(2): source file
|
/system/chre/apps/chqts/build/ |
H A D | general_test_sources.mk | 1 # Since we add source files to this app somewhat regularly, we prefer
|
/system/chre/apps/chqts/src/general_test/ |
H A D | basic_audio_test.cc | 31 //! would expose. Use this to verify that there are no gaps in the source 35 //! This is a reasonably high limit on the sample rate for a source that the 43 //! Provide a floor for the sampling rate of an audio source that the system 93 * a failure if the source descriptor is malformed. 95 * @return true if the source was valid. 98 const struct chreAudioSource& source) { 100 if (!verifyStringWithLength(source.name, CHRE_AUDIO_SOURCE_NAME_MAX_SIZE)) { 102 "Invalid audio source name for handle ", &handle); 103 } else if (source.sampleRate > kMaxAudioSampleRate 104 || source 97 validateAudioSource(uint32_t handle, const struct chreAudioSource& source) argument 126 validateMinimumAudioSource(const struct chreAudioSource& source) argument [all...] |
/system/chre/host/common/ |
H A D | fragmented_load_transaction.cc | 29 * If the ending index of the subarray exceeds that of the source vector, 30 * the size will be truncated to the last element of the source vector. 32 * @param source the source vector 39 const std::vector<uint8_t>& source, size_t start, size_t size) { 40 size_t end = std::min(source.size(), start + size); 41 return (source.size() == 0) ? 44 source.begin() + start, source.begin() + end); // [start, end) 38 getSubVector( const std::vector<uint8_t>& source, size_t start, size_t size) argument
|
/system/chre/platform/linux/include/chre/target_platform/ |
H A D | platform_audio_base.h | 32 * Adds an audio source to the simulator. 34 * @param source the audio source to provide. Ownership is transferred to the 37 static void addAudioSource(UniquePtr<AudioSource>& source);
|
/system/chre/platform/linux/ |
H A D | platform_audio.cc | 70 LOGI("TODO: File done, suspend the source"); 90 auto& source = gAudioSources[handle]; local 91 source->numSamples = numSamples; 92 source->eventDelay = eventDelay; 93 return source->timer.set(audioSourceCallback, source.get(), eventDelay); 98 auto& source = gAudioSources[handle]; local 99 source->timer.cancel(); 114 const auto& source = gAudioSources[handle]; local 116 audioSource->name = source 129 addAudioSource(UniquePtr<AudioSource>& source) argument [all...] |
/system/chre/platform/slpi/ |
H A D | platform_audio.cc | 34 "WCD SPI/CHRE audio source name must have the same offset"); 38 "WCD SPI/CHRE audio source sample rate must have the same offset"); 42 "WCD SPI/CHRE audio source min buffer duration must have the same offset"); 46 "WCD SPI/CHRE audio source max buffer duration must have the same offset"); 50 "WCD SPI/CHRE audio source format must have the same offset"); 141 chreAudioSource *source) { 146 // The WCD SPI and CHRE source definitions are binary compatible so a simple 148 memcpy(source, &wcd_spi_audio_source, sizeof(*source)); 140 getAudioSource(uint32_t handle, chreAudioSource *source) argument
|
/system/chre/util/include/chre/util/ |
H A D | memory.h | 35 * Performs move assignment (dest = std::move(source)) if supported by 36 * ElementType, otherwise copy assignment (dest = source). 39 void moveOrCopyAssign(ElementType& dest, ElementType& source); 47 * @param source The beginning of the data to transfer 52 void uninitializedMoveOrCopy(ElementType *source, size_t count,
|
H A D | memory_impl.h | 38 inline void moveOrCopyAssign(ElementType& dest, ElementType& source, argument 40 dest = std::move(source); 45 inline void moveOrCopyAssign(ElementType& dest, ElementType& source, argument 47 dest = source; 51 inline void moveOrCopyAssign(ElementType& dest, ElementType& source) { argument 52 moveOrCopyAssign(dest, source, 58 inline void uninitializedMoveOrCopy(ElementType *source, size_t count, argument 60 std::memcpy(dest, source, count * sizeof(ElementType)); 66 inline void uninitializedMoveOrCopy(ElementType *source, size_t count, argument 70 new (&dest[i]) ElementType(std::move(source[ 77 uninitializedMoveOrCopy(ElementType *source, size_t count, ElementType *dest, std::false_type, std::false_type) argument 87 uninitializedMoveOrCopy( ElementType *source, size_t count, ElementType *dest, std::false_type) argument 101 uninitializedMoveOrCopy(ElementType *source, size_t count, ElementType *dest) argument [all...] |
/system/core/adb/ |
H A D | adb_listeners_test.cpp | 30 static bool listener_is_installed(const std::string& serial, const std::string& source, argument 32 // format_listeners() gives lines of "<serial> <source> <dest>\n". 37 (source.empty() || info[1] == source) &&
|
H A D | adb_utils.cpp | 208 bool forward_targets_are_valid(const std::string& source, const std::string& dest, argument 210 if (android::base::StartsWith(source, "tcp:")) { 211 // The source port may be 0 to allow the system to select an open port. 213 if (!android::base::ParseInt(&source[4], &port) || port < 0) { 214 *error = android::base::StringPrintf("Invalid source port: '%s'", &source[4]);
|
H A D | adb_utils.h | 56 bool forward_targets_are_valid(const std::string& source, const std::string& dest,
|
/system/core/adb/daemon/ |
H A D | usb.cpp | 65 struct usb_endpoint_descriptor_no_audio source; member in struct:func_desc 71 struct usb_endpoint_descriptor_no_audio source; member in struct:ss_func_desc 111 .source = { 112 .bLength = sizeof(fs_descriptors.source), 138 .source = { 139 .bLength = sizeof(hs_descriptors.source), 165 .source = { 166 .bLength = sizeof(ss_descriptors.source), 478 D("[ kick: source (fd=%d) clear halt failed (%d) ]", h->bulk_in, errno);
|
/system/core/fs_mgr/ |
H A D | fs_mgr.cpp | 491 // https://source.android.com/security/verifiedboot/verified-boot#device_state 505 static int __mount(const char *source, const char *target, const struct fstab_rec *rec) argument 520 ret = mount(source, target, rec->fs_type, mountflags, rec->fs_options); 522 PINFO << __FUNCTION__ << "(source=" << source << ",target=" << target 525 fs_mgr_set_blk_ro(source);
|
/system/core/include/cutils/ |
H A D | partition_utils.h | 24 int partition_wiped(char *source);
|
/system/core/init/ |
H A D | builtins.cpp | 354 const char* source = args[2].c_str(); local 357 if (android::base::StartsWith(source, "loop@")) { 359 unique_fd fd(TEMP_FAILURE_RETRY(open(source + 5, mode | O_CLOEXEC))); 360 if (fd < 0) return ErrnoError() << "open(" << source + 5 << ", " << mode << ") failed"; 384 wait_for_file(source, kCommandRetryTimeout); 385 if (mount(source, target, system, flags, options) < 0) {
|
/system/core/libcutils/include/cutils/ |
H A D | partition_utils.h | 24 int partition_wiped(char *source);
|
/system/core/libcutils/include_vndk/cutils/ |
H A D | partition_utils.h | 24 int partition_wiped(char *source);
|
/system/core/libcutils/ |
H A D | partition_utils.cpp | 42 int partition_wiped(char *source) argument 47 if ((fd = open(source, O_RDONLY)) < 0) {
|