/packages/modules/Bluetooth/system/test/mock/ |
D | mock_frameworks_libaudio.cc | 32 AAudioStream* stream) { in AAudioStream_getAllowedCapturePolicy() 36 aaudio_content_type_t AAudioStream_getContentType(AAudioStream* stream) { in AAudioStream_getContentType() 40 aaudio_direction_t AAudioStream_getDirection(AAudioStream* stream) { in AAudioStream_getDirection() 44 aaudio_format_t AAudioStream_getFormat(AAudioStream* stream) { in AAudioStream_getFormat() 48 aaudio_input_preset_t AAudioStream_getInputPreset(AAudioStream* stream) { in AAudioStream_getInputPreset() 53 AAudioStream* stream) { in AAudioStream_getPerformanceMode() 70 aaudio_result_t AAudioStream_close(AAudioStream* stream) { in AAudioStream_close() 74 aaudio_result_t AAudioStream_getTimestamp(AAudioStream* stream, in AAudioStream_getTimestamp() 81 aaudio_result_t AAudioStream_read(AAudioStream* stream, void* buffer, in AAudioStream_read() 87 aaudio_result_t AAudioStream_release(AAudioStream* stream) { in AAudioStream_release() [all …]
|
/packages/modules/Bluetooth/system/audio_bluetooth_hw/ |
D | stream_apis.cc | 200 static uint32_t out_get_sample_rate(const struct audio_stream* stream) { in out_get_sample_rate() 214 static int out_set_sample_rate(struct audio_stream* stream, uint32_t rate) { in out_set_sample_rate() 221 static size_t out_get_buffer_size(const struct audio_stream* stream) { in out_get_buffer_size() 231 const struct audio_stream* stream) { in out_get_channels() 246 static audio_format_t out_get_format(const struct audio_stream* stream) { in out_get_format() 260 static int out_set_format(struct audio_stream* stream, audio_format_t format) { in out_set_format() 267 static int out_standby(struct audio_stream* stream) { in out_standby() 296 static int out_dump(const struct audio_stream* stream, int fd) { in out_dump() 302 static int out_set_parameters(struct audio_stream* stream, in out_set_parameters() 423 static char* out_get_parameters(const struct audio_stream* stream, in out_get_parameters() [all …]
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/ |
D | BipImagePropertiesTest.java | 130 InputStream stream = toUtf8Stream(xmlString); in testParsePropertiesSimple() local 165 InputStream stream = toUtf8Stream(xmlString); in testParsePropertiesRich() local 191 InputStream stream = toUtf8Stream(xmlString); in testParseNoHandle() local 218 InputStream stream = toUtf8Stream(xmlString); in testParseNoVersion() local 244 InputStream stream = toUtf8Stream(xmlString); in testParseNoFriendlyName() local 267 InputStream stream = toUtf8Stream(xmlString); in testParseFixedVariantThumbnailFormat() local 290 InputStream stream = toUtf8Stream(xmlString); in testParseRangeVariantThumbnailFormat() local 313 InputStream stream = toUtf8Stream(xmlString); in testParseFixedRangeVariantThumbnailFormat() local 341 InputStream stream = toUtf8Stream(xmlString); in testParseNoThumbnailFormats() local 360 InputStream stream = toUtf8Stream(xmlString); in testParseNoFormats() local [all …]
|
/packages/services/Car/tests/obd2_test/src/com/android/car/obd2/test/ |
D | IntegerArrayStreamTest.java | 30 IntegerArrayStream stream = new IntegerArrayStream(DATA_SET); in testPeekConsume() local 39 IntegerArrayStream stream = new IntegerArrayStream(DATA_SET); in testResidualLength() local 47 IntegerArrayStream stream = new IntegerArrayStream(DATA_SET); in testHasAtLeast() local 57 IntegerArrayStream stream = new IntegerArrayStream(DATA_SET); in testExpect() local 65 IntegerArrayStream stream = new IntegerArrayStream(DATA_SET); in testIsEmpty() local
|
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/protocol/msrp/ |
D | MsrpParser.java | 42 public static MsrpChunk parse(final InputStream stream) throws IOException { in parse() 139 final InputStream stream, final MsrpChunk.Builder transaction, in readHeaders() 179 private static void readChunk(final InputStream stream, final MsrpChunk.Builder chunk) in readChunk() 204 final InputStream stream, final MsrpChunk.Builder chunk, final int chunkSize) in readKnownChunk() 221 private static void readUnknownChunk(final InputStream stream, final MsrpChunk.Builder chunk) in readUnknownChunk() 269 private static void skipEndLine(final InputStream stream, final MsrpChunk.Builder chunk) in skipEndLine() 278 final InputStream stream, final MsrpChunk.Builder transaction) throws IOException { in readContinuationFlag() 337 InputStream stream, final byte[] buffer, final int offset, final int length) in readFromStream() 349 private static int skipWithDelimiter(InputStream stream, byte delimiter) throws IOException { in skipWithDelimiter()
|
/packages/modules/Bluetooth/system/audio_hearing_aid_hw/src/ |
D | audio_hearing_aid_hw.cc | 141 struct audio_stream_out stream; member 148 struct audio_stream_in stream; member 903 static ssize_t out_write(struct audio_stream_out* stream, const void* buffer, in out_write() 973 static uint32_t out_get_sample_rate(const struct audio_stream* stream) { in out_get_sample_rate() 981 static int out_set_sample_rate(struct audio_stream* stream, uint32_t rate) { in out_set_sample_rate() 991 static size_t out_get_buffer_size(const struct audio_stream* stream) { in out_get_buffer_size() 1110 const struct audio_stream* stream) { in out_get_channels() 1118 static audio_format_t out_get_format(const struct audio_stream* stream) { in out_get_format() 1124 static int out_set_format(UNUSED_ATTR struct audio_stream* stream, in out_set_format() 1130 static int out_standby(struct audio_stream* stream) { in out_standby() [all …]
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/rtp/cts/ |
D | AudioStreamTest.java | 29 AudioStream stream = new AudioStream(address); in testRtpStream() local 52 AudioStream stream = new AudioStream(InetAddress.getByName("::1")); in testSetDtmfType() local 75 AudioStream stream = new AudioStream(InetAddress.getByName("::1")); in testSetCodec() local 92 AudioStream stream = new AudioStream(InetAddress.getByName("::1")); in testDoubleRelease() local
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | AudioHelper.java | 63 public int getLastAudibleStreamVolume(int stream) { in getLastAudibleStreamVolume() 67 public int getStreamVolume(int stream) { in getStreamVolume() 71 public boolean setStreamVolume(int stream, int volume) { in setStreamVolume() 76 public int getMaxVolume(int stream) { in getMaxVolume() 80 public int getMinVolume(int stream) { in getMinVolume()
|
/packages/modules/Bluetooth/system/audio_a2dp_hw/src/ |
D | audio_a2dp_hw.cc | 132 struct audio_stream_out stream; member 139 struct audio_stream_in stream; member 926 static ssize_t out_write(struct audio_stream_out* stream, const void* buffer, in out_write() 996 static uint32_t out_get_sample_rate(const struct audio_stream* stream) { in out_get_sample_rate() 1004 static int out_set_sample_rate(struct audio_stream* stream, uint32_t rate) { in out_set_sample_rate() 1014 static size_t out_get_buffer_size(const struct audio_stream* stream) { in out_get_buffer_size() 1127 const struct audio_stream* stream) { in out_get_channels() 1135 static audio_format_t out_get_format(const struct audio_stream* stream) { in out_get_format() 1141 static int out_set_format(UNUSED_ATTR struct audio_stream* stream, in out_set_format() 1147 static int out_standby(struct audio_stream* stream) { in out_standby() [all …]
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mapclient/ |
D | EventReportTest.java | 56 ByteArrayInputStream stream = new ByteArrayInputStream(xml.toString().getBytes()); in fromStream() local 74 ByteArrayInputStream stream = new ByteArrayInputStream(xml.toString().getBytes()); in fromStream_withInvalidXml_doesNotCrash_andReturnNull() local 99 ByteArrayInputStream stream = new ByteArrayInputStream(xml.toString().getBytes()); in fromStreamWithDateTime() local 116 InputStream stream = mock(InputStream.class); in fromStream_withIOException_doesNotCrash_andReturnNull() local 130 ByteArrayInputStream stream = new ByteArrayInputStream(xml.toString().getBytes()); in fromStream_withIllegalArgumentException_doesNotCrash_andReturnNull() local
|
/packages/modules/Bluetooth/system/gd/packet/parser/ |
D | enum_gen.cc | 25 void EnumGen::GenDefinition(std::ostream& stream) { in GenDefinition() 36 void EnumGen::GenDefinitionPybind11(std::ostream& stream) { in GenDefinitionPybind11() 44 void EnumGen::GenLogging(std::ostream& stream) { in GenLogging()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ |
D | ANQPParserTest.java | 55 ByteArrayOutputStream stream = new ByteArrayOutputStream(); in getVenueNamePayload() local 69 ByteArrayOutputStream stream = new ByteArrayOutputStream(); in getDomainNamePayload() local 88 ByteArrayOutputStream stream = new ByteArrayOutputStream(); in getRoamingConsortiumPayload() local 107 ByteArrayOutputStream stream = new ByteArrayOutputStream(); in getNAIRealmPayload() local 125 ByteArrayOutputStream stream = new ByteArrayOutputStream(); in getThreeGPPNetworkPayload() local 147 ByteArrayOutputStream stream = new ByteArrayOutputStream(); in getVendorSpecificPayload() local 213 ByteArrayOutputStream stream = new ByteArrayOutputStream(); in getHSConnectionCapabilityPayload() local 248 ByteArrayOutputStream stream = new ByteArrayOutputStream(); in getI18NameListPayload() local
|
D | VenueUrlElementTest.java | 58 private void appendVenue(ByteArrayOutputStream stream, int venueNumber, String url) in appendVenue() 73 ByteArrayOutputStream stream = new ByteArrayOutputStream(); in getTestData() local 87 ByteArrayOutputStream stream = new ByteArrayOutputStream(); in getTestData() local 139 ByteArrayOutputStream stream = new ByteArrayOutputStream(); in parseBufferWithInvalidLength() local
|
D | DomainNameElementTest.java | 51 private void appendDomain(ByteArrayOutputStream stream, String domain) throws IOException { in appendDomain() 64 ByteArrayOutputStream stream = new ByteArrayOutputStream(); in getTestData() local
|
D | NAIRealmDataTestUtil.java | 87 ByteArrayOutputStream stream = new ByteArrayOutputStream(); in formatNAIRealmData() local 110 ByteArrayOutputStream stream = new ByteArrayOutputStream(); in getNAIRealmData() local
|
D | HSFriendlyNameElementTest.java | 56 private void appendOperatorName(ByteArrayOutputStream stream, String operator) in appendOperatorName() 73 ByteArrayOutputStream stream = new ByteArrayOutputStream(); in getTestData() local
|
/packages/modules/OnDevicePersonalization/framework/java/com/android/ondevicepersonalization/internal/util/ |
D | PersistableBundleUtils.java | 32 ByteArrayOutputStream stream = new ByteArrayOutputStream(); in toByteArray() local 42 ByteArrayInputStream stream = new ByteArrayInputStream(input); in fromByteArray() local
|
/packages/modules/AdServices/adservices/linter/java/android/adservices/lint/prod/ |
D | BackCompatAndroidProcessDetector.kt | 46 val stream = context.file.inputStream() in <lambda>() constant
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/audio/ |
D | WavWriter.java | 47 DataOutputStream stream = new DataOutputStream( in writeToFile() local 64 private static void writeFileHeader(DataOutputStream stream, int numBytes) throws IOException { in writeFileHeader()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/system/development/audio/ |
D | WavWriter.java | 47 DataOutputStream stream = new DataOutputStream( in writeToFile() local 64 private static void writeFileHeader(DataOutputStream stream, int numBytes) throws IOException { in writeFileHeader()
|
/packages/apps/KeyChain/src/com/android/keychain/ |
D | KeyChainStateStorage.java | 52 FileInputStream stream = null; in loadCredentialManagementApp() local 81 FileOutputStream stream; in saveCredentialManagementApp() local
|
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ |
D | ManagedImageReader.java | 108 AllocatingImageStream stream = new AllocatingImageStream(capacity, in createUnallocatedStream() local 150 AllocatingImageStream stream = createUnallocatedStream(capacity); in createPreallocatedStream() local
|
/packages/apps/SecureElement/src/com/android/se/security/gpac/ |
D | APDU_AR_DO.java | 162 public void build(ByteArrayOutputStream stream) throws DO_Exception { in build() 195 BerTlv.encodeLength(temp.size(), stream); in build() local
|
D | PKG_REF_DO.java | 99 public void build(ByteArrayOutputStream stream) throws DO_Exception { in build() 133 ByteArrayOutputStream stream = new ByteArrayOutputStream(); in hashCode() local
|
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/ |
D | ZipUtils.java | 52 try (InputStream stream = zipFile.getInputStream(entry)) { in extractZippedFileToZipStream() 53 writeInputStreamToZipStream(entry.getName(), stream, zipStream); in extractZippedFileToZipStream() local
|