/packages/services/Car/tests/DiagnosticTools/src/com/google/android/car/diagnostictools/utils/ |
D | JsonMetadataReader.java | 59 static Map<String, DTCMetadata> readDTCsFromJson(InputStream in) in readDTCsFromJson() 81 static Map<String, String> readECUsFromJson(InputStream in) throws IOException, JSONException { in readECUsFromJson() 104 static Map<Integer, SensorMetadata> readFloatSensorIndexFromJson(InputStream in) in readFloatSensorIndexFromJson() 118 static Map<Integer, SensorMetadata> readIntegerSensorIndexFromJson(InputStream in) in readIntegerSensorIndexFromJson() 135 InputStream in, Class sensorIndexClass) throws IOException, JSONException { in readSensorIndexFromJson() 162 private static Map<String, SensorMetadata> readSensorsFromJson(InputStream in) in readSensorsFromJson() 183 private static String inputStreamToString(InputStream in) throws IOException { in inputStreamToString()
|
/packages/modules/Connectivity/tests/unit/java/android/net/ipmemorystore/ |
D | ParcelableTests.java | 49 NetworkAttributes in = builder.build(); in testNetworkAttributesParceling() local 84 final Blob in = new Blob(); in testPrivateDataParceling() local 99 final SameL3NetworkResponse in = new SameL3NetworkResponse(parcelable); in testSameL3NetworkResponseParceling() local 123 final NetworkAttributes in = builder.build(); in testIPv6ProvisioningLossQuirkParceling() local 129 private <T extends Parcelable> T parcelingRoundTrip(final T in) throws Exception { in parcelingRoundTrip()
|
/packages/modules/adb/fastdeploy/deployagent/src/com/android/fastdeploy/ |
D | PatchUtils.java | 35 static long readLELong(InputStream in) throws IOException { in readLELong() 42 static String readString(InputStream in) throws IOException { in readString() 49 static void readFully(final InputStream in, final byte[] destination, final int startAt, in readFully() 61 static void readFully(final InputStream in, final byte[] destination) throws IOException { in readFully() 65 static void pipe(final InputStream in, final OutputStream out, final byte[] buffer, in pipe()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/entitlement/http/ |
D | StreamUtilsTest.java | 46 try (InputStream in = new ByteArrayInputStream(expectedString.getBytes(UTF_8))) { in inputStreamToString() 59 InputStream in = mock(InputStream.class); in inputStreamToString_readThrowsIOException_shouldThrowException() local 68 try (InputStream in = new ByteArrayInputStream(expectedString.getBytes(UTF_8))) { in inputStreamToStringSafe() 83 InputStream in = mock(InputStream.class); in inputStreamToStringSafe_readThrowsIOException_shouldReturnEmpty() local 94 try (InputStream in = new ByteArrayInputStream(HttpClient.toGzipBytes(expectedString))) { in inputStreamToGunzipString()
|
/packages/modules/Bluetooth/system/audio_bluetooth_hw/ |
D | stream_apis.cc | 132 void in_calculate_starving_delay_ms(const BluetoothStreamIn* in, in in_calculate_starving_delay_ms() 875 const auto* in = reinterpret_cast<const BluetoothStreamIn*>(stream); in in_get_sample_rate() local 881 const auto* in = reinterpret_cast<const BluetoothStreamIn*>(stream); in in_set_sample_rate() local 889 const auto* in = reinterpret_cast<const BluetoothStreamIn*>(stream); in in_get_buffer_size() local 898 const auto* in = reinterpret_cast<const BluetoothStreamIn*>(stream); in in_get_channels() local 913 const auto* in = reinterpret_cast<const BluetoothStreamIn*>(stream); in in_get_format() local 927 const auto* in = reinterpret_cast<const BluetoothStreamIn*>(stream); in in_set_format() local 933 static bool in_state_transition_timeout(BluetoothStreamIn* in, in in_state_transition_timeout() 955 auto* in = reinterpret_cast<BluetoothStreamIn*>(stream); in in_standby() local 994 const auto* in = reinterpret_cast<const BluetoothStreamIn*>(stream); in in_dump() local [all …]
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | ParcelUtil.java | 76 public static PrivateKey readPrivateKey(Parcel in) { in readPrivateKey() 116 public static X509Certificate readCertificate(Parcel in) { in readCertificate() 158 public static X509Certificate[] readCertificates(Parcel in) { in readCertificates() 173 public static List<OuiKeyedData> readOuiKeyedDataList(@NonNull Parcel in) { in readOuiKeyedDataList()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/ |
D | DvrStorageManager.java | 88 private void readFormatInt(DataInputStream in, MediaFormat format, String key) in readFormatInt() 96 private void readFormatLong(DataInputStream in, MediaFormat format, String key) in readFormatLong() 104 private void readFormatFloat(DataInputStream in, MediaFormat format, String key) in readFormatFloat() 112 private String readString(DataInputStream in) throws IOException { in readString() 122 private void readFormatString(DataInputStream in, MediaFormat format, String key) in readFormatString() 130 private void readFormatStringOptional(DataInputStream in, MediaFormat format, String key) { in readFormatStringOptional() 141 private ByteBuffer readByteBuffer(DataInputStream in) throws IOException { in readByteBuffer() 155 private void readFormatByteBuffer(DataInputStream in, MediaFormat format, String key) in readFormatByteBuffer() 173 try (DataInputStream in = new DataInputStream(new FileInputStream(file))) { in readTrackInfoFiles() 213 try (DataInputStream in = new DataInputStream(new FileInputStream(file))) { in readCaptionInfoFiles() [all …]
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/buffer/ |
D | DvrStorageManager.java | 88 private void readFormatInt(DataInputStream in, MediaFormat mediaFormat, String key) in readFormatInt() 96 private void readFormatLong(DataInputStream in, MediaFormat mediaFormat, String key) in readFormatLong() 104 private void readFormatFloat(DataInputStream in, MediaFormat mediaFormat, String key) in readFormatFloat() 112 private String readString(DataInputStream in) throws IOException { in readString() 122 private void readFormatString(DataInputStream in, MediaFormat mediaFormat, String key) in readFormatString() 130 private void readFormatStringOptional(DataInputStream in, MediaFormat mediaFormat, String key) { in readFormatStringOptional() 141 private ByteBuffer readByteBuffer(DataInputStream in) throws IOException { in readByteBuffer() 155 private void readFormatByteBuffer(DataInputStream in, MediaFormat mediaFormat, String key) in readFormatByteBuffer() 173 try (DataInputStream in = new DataInputStream(new FileInputStream(file))) { in readTrackInfoFiles() 213 try (DataInputStream in = new DataInputStream(new FileInputStream(file))) { in readCaptionInfoFiles() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointXmlUtils.java | 194 public static PasspointConfiguration deserializePasspointConfiguration(XmlPullParser in, in deserializePasspointConfiguration() 564 private static HomeSp deserializeHomeSP(XmlPullParser in, int outerTagDepth) in deserializeHomeSP() 614 private static Credential deserializeCredential(XmlPullParser in, int outerTagDepth) in deserializeCredential() 675 private static Policy deserializePolicy(XmlPullParser in, int outerTagDepth) in deserializePolicy() 736 private static Credential.UserCredential deserializeUserCredential(XmlPullParser in, in deserializeUserCredential() 785 private static Credential.CertificateCredential deserializeCertCredential(XmlPullParser in, in deserializeCertCredential() 819 private static Credential.SimCredential deserializeSimCredential(XmlPullParser in, in deserializeSimCredential() 854 XmlPullParser in, int outerTagDepth) throws XmlPullParserException, IOException { in deserializePreferredRoamingPartnerList() 873 private static Policy.RoamingPartner deserializeRoamingPartner(XmlPullParser in, in deserializeRoamingPartner() 912 private static UpdateParameter deserializeUpdateParameter(XmlPullParser in, in deserializeUpdateParameter() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | XmlUtil.java | 103 private static void gotoStartTag(XmlPullParser in) in gotoStartTag() 116 private static void gotoEndTag(XmlPullParser in) in gotoEndTag() 131 public static void gotoDocumentStart(XmlPullParser in, String headerName) in gotoDocumentStart() 150 XmlPullParser in, String[] headerName, int outerDepth) in gotoNextSectionOrEnd() 174 XmlPullParser in, String expectedName, int outerDepth) in gotoNextSectionWithNameOrEnd() 201 XmlPullParser in, String expectedName, int outerDepth) in gotoNextSectionWithName() 217 public static boolean isNextSectionEnd(XmlPullParser in, int sectionDepth) in isNextSectionEnd() 235 public static Object readCurrentValue(XmlPullParser in, String[] valueName) in readCurrentValue() 256 public static Object readNextValueWithName(XmlPullParser in, String expectedName) in readNextValueWithName() 749 private static String[] populateWepKeysFromXmlValue(XmlPullParser in, in populateWepKeysFromXmlValue() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiBackupDataV1Parser.java | 187 public List<WifiConfiguration> parseNetworkConfigurationsFromXml(XmlPullParser in, in parseNetworkConfigurationsFromXml() 224 private WifiConfiguration parseNetworkConfigurationFromXml(XmlPullParser in, int minorVersion, in parseNetworkConfigurationFromXml() 249 private WifiConfiguration parseWifiConfigurationFromXml(XmlPullParser in, in parseWifiConfigurationFromXml() 328 XmlPullParser in, int outerTagDepth, int minorVersion) in parseWifiConfigurationFromXmlInternal() 499 XmlPullParser in, int outerTagDepth) throws XmlPullParserException, IOException { in parseSecurityParamsFromXml() 535 XmlPullParser in, int outerTagDepth, in parseSecurityParamsListFromXml() 573 private static IpConfiguration parseIpConfigurationFromXml(XmlPullParser in, in parseIpConfigurationFromXml()
|
D | WakeupConfigStoreData.java | 177 public void deserializeData(XmlPullParser in, int outerTagDepth, in deserializeData() 215 private void parseFeatureState(XmlPullParser in, int outerTagDepth) in parseFeatureState() 248 private SecurityParams parseSecurityParams(XmlPullParser in, int outerTagDepth) in parseSecurityParams() 286 XmlPullParser in, int outerTagDepth, ScanResultMatchInfo scanResultMatchInfo) in parseSecurityParamsList() 310 private ScanResultMatchInfo parseNetwork(XmlPullParser in, int outerTagDepth) in parseNetwork()
|
D | NetworkRequestStoreData.java | 99 public void deserializeData(XmlPullParser in, int outerTagDepth, in deserializeData() 191 private Map<String, Set<AccessPoint>> parseApprovedAccessPointsMap(XmlPullParser in, in parseApprovedAccessPointsMap() 219 private Set<AccessPoint> parseApprovedAccessPoints(XmlPullParser in, int outerTagDepth) in parseApprovedAccessPoints() 244 private AccessPoint parseApprovedAccessPoint(XmlPullParser in, int outerTagDepth) in parseApprovedAccessPoint()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | FileTransforms.java | 30 public static InputStream getDecryptedStream(InputStream in) { in getDecryptedStream() 35 public static InputStream getUncompressedStream(InputStream in) throws IOException { in getUncompressedStream()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbapclient/ |
D | BluetoothPbapVcardList.java | 58 BluetoothPbapVcardList(Account account, InputStream in, byte format) throws IOException { in BluetoothPbapVcardList() 67 private void parse(InputStream in, byte format) throws IOException { in parse() 121 private boolean parsedWithVcardVersionException(VCardParser parser, InputStream in) in parsedWithVcardVersionException()
|
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/ |
D | ConfigParser.java | 224 private static Map<String, byte[]> parseMimeMultipartMessage(LineNumberReader in) in parseMimeMultipartMessage() 270 private static MimePart parseMimePart(LineNumberReader in, String boundary) in parseMimePart() 317 private static MimeHeader parseHeaders(LineNumberReader in) in parseHeaders() 390 private static Map<String, String> readHeaders(LineNumberReader in) in readHeaders() 457 ByteArrayInputStream in = new ByteArrayInputStream(octets); in parsePkcs12() local
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/obex/ |
D | FolderListing.java | 35 FolderListing(InputStream in) { in FolderListing() 41 public void parse(InputStream in) { in parse()
|
D | MessagesListing.java | 36 MessagesListing(InputStream in) { in MessagesListing() 42 public void parse(InputStream in) { in parse()
|
/packages/services/Car/car-lib/src/android/car/storagemonitoring/ |
D | WearEstimate.java | 86 public WearEstimate(Parcel in) { in WearEstimate() 94 public WearEstimate(JsonReader in) throws IOException { in WearEstimate() 116 public WearEstimate(JSONObject in) throws JSONException { in WearEstimate()
|
/packages/modules/Bluetooth/system/bta/le_audio/ |
D | storage_helper.cc | 169 const std::vector<uint8_t>& in) { in deserializePacs() 238 const std::vector<uint8_t>& in) { in DeserializeSinkPacs() 248 const std::vector<uint8_t>& in) { in DeserializeSourcePacs() 304 const std::vector<uint8_t>& in) { in DeserializeAses() 408 const std::vector<uint8_t>& in) { in DeserializeHandles()
|
/packages/services/Car/car-lib/src/android/car/vms/ |
D | VmsSubscriptionState.java | 74 private Set<VmsLayer> unparcelLayers(Parcel in) { in unparcelLayers() 83 private Set<VmsAssociatedLayer> unparcelAssociatedLayers(Parcel in) { in unparcelAssociatedLayers() 191 /* package-private */ VmsSubscriptionState(@NonNull Parcel in) { in VmsSubscriptionState()
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/ |
D | Utils.java | 429 convertMediaQualityThreshold(final MediaQualityThreshold in) { in convertMediaQualityThreshold() 453 final android.hardware.radio.ims.media.MediaQualityThreshold in) { in convertMediaQualityThreshold() 468 final android.hardware.radio.ims.media.MediaQualityStatus in) { in convertMediaQualityStatus() 478 convertRtpHeaderExtension(final RtpHeaderExtension in) { in convertRtpHeaderExtension() 493 final android.hardware.radio.ims.media.RtpHeaderExtension in) { in convertRtpHeaderExtension() 499 final android.hardware.radio.ims.media.CallQuality in) { in convertCallQuality()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/ |
D | BluetoothOppReceiver.java | 108 Intent in = new Intent(context, BluetoothOppIncomingFileConfirmActivity.class); in onReceive() local 161 Intent in = new Intent(context, BluetoothOppTransferActivity.class); in onReceive() local 171 Intent in = new Intent(context, BluetoothOppTransferHistory.class); in onReceive() local 179 Intent in = new Intent(context, BluetoothOppTransferHistory.class); in onReceive() local
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/imap/ |
D | ImapResponseParser.java | 36 private final PeekableInputStream in; field in ImapResponseParser 65 public ImapResponseParser(InputStream in) { in ImapResponseParser() 70 /* package for test */ ImapResponseParser(InputStream in, int literalKeepInMemoryThreshold) { in ImapResponseParser() 417 FixedLengthInputStream in = new FixedLengthInputStream(this.in, size); in parseLiteral() local
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/ |
D | BinaryTempFileBody.java | 68 InputStream in = getInputStream(); in writeTo() local 77 public BinaryTempFileBodyInputStream(InputStream in) { in BinaryTempFileBodyInputStream()
|