Searched refs:source (Results 1 - 25 of 87) sorted by path

1234

/system/bt/audio_a2dp_hw/src/
H A Daudio_a2dp_hw.cc1791 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 Daudio_hearing_aid_hw.cc1733 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 Dbta_av_co.cc150 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 DREADME24 Note that only a part of the source files are pulled from libcutils /
/system/bt/vendor_libs/test_vendor_lib/include/
H A Dpacket_stream.h60 // 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 Dpacket_stream.cc116 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 DAndroid.mk30 # $(2): source file
/system/chre/apps/chqts/build/
H A Dgeneral_test_sources.mk1 # Since we add source files to this app somewhat regularly, we prefer
/system/chre/apps/chqts/src/general_test/
H A Dbasic_audio_test.cc31 //! 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 Dfragmented_load_transaction.cc29 * 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 Dplatform_audio_base.h32 * 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 Dplatform_audio.cc70 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 Dplatform_audio.cc34 "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 Dmemory.h35 * 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 Dmemory_impl.h38 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 Dadb_listeners_test.cpp30 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 Dadb_utils.cpp208 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 Dadb_utils.h56 bool forward_targets_are_valid(const std::string& source, const std::string& dest,
/system/core/adb/daemon/
H A Dusb.cpp65 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 Dfs_mgr.cpp491 // 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 Dpartition_utils.h24 int partition_wiped(char *source);
/system/core/init/
H A Dbuiltins.cpp354 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 Dpartition_utils.h24 int partition_wiped(char *source);
/system/core/libcutils/include_vndk/cutils/
H A Dpartition_utils.h24 int partition_wiped(char *source);
/system/core/libcutils/
H A Dpartition_utils.cpp42 int partition_wiped(char *source) argument
47 if ((fd = open(source, O_RDONLY)) < 0) {

Completed in 424 milliseconds

1234