/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/ |
D | ParseExceptionsTest.java | 48 import java.io.InputStream; 63 DescriptorProto parse(InputStream in) throws IOException; in parse() 87 public DescriptorProto parse(InputStream in) throws IOException { in message_parseFrom_InputStream() 98 public DescriptorProto parse(InputStream in) throws IOException { in message_parseFrom_InputStreamAndExtensionRegistry() 109 public DescriptorProto parse(InputStream in) throws IOException { in message_parseFrom_CodedInputStream() 120 public DescriptorProto parse(InputStream in) throws IOException { in message_parseFrom_CodedInputStreamAndExtensionRegistry() 132 public DescriptorProto parse(InputStream in) throws IOException { in message_parseDelimitedFrom_InputStream() 143 public DescriptorProto parse(InputStream in) throws IOException { in message_parseDelimitedFrom_InputStreamAndExtensionRegistry() 154 public DescriptorProto parse(InputStream in) throws IOException { in messageBuilder_mergeFrom_InputStream() 165 public DescriptorProto parse(InputStream in) throws IOException { in messageBuilder_mergeFrom_InputStreamAndExtensionRegistry() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/restore/ |
D | PerformAdbRestoreTaskTest.java | 35 import java.io.InputStream; 53 InputStream inputStream = mContext.getResources().openRawResource( in parseBackupFileAndReturnTarStream_backupNotEncrypted_returnsNonNull() 55 InputStream tarInputStream = PerformAdbRestoreTask.parseBackupFileHeaderAndReturnTarStream( in parseBackupFileAndReturnTarStream_backupNotEncrypted_returnsNonNull() 65 InputStream inputStream = mContext.getResources().openRawResource( in parseBackupFileAndReturnTarStream_backupEncryptedAndPasswordProvided_returnsNonNull() 67 InputStream tarInputStream = PerformAdbRestoreTask.parseBackupFileHeaderAndReturnTarStream( in parseBackupFileAndReturnTarStream_backupEncryptedAndPasswordProvided_returnsNonNull() 77 InputStream inputStream = mContext.getResources().openRawResource( in parseBackupFileAndReturnTarStream_backupEncryptedAndPasswordNotProvided_returnsNull() 79 InputStream tarInputStream = PerformAdbRestoreTask.parseBackupFileHeaderAndReturnTarStream( in parseBackupFileAndReturnTarStream_backupEncryptedAndPasswordNotProvided_returnsNull() 89 InputStream inputStream = mContext.getResources().openRawResource( in parseBackupFileAndReturnTarStream_backupEncryptedAndIncorrectPassword_returnsNull() 91 InputStream tarInputStream = PerformAdbRestoreTask.parseBackupFileHeaderAndReturnTarStream( in parseBackupFileAndReturnTarStream_backupEncryptedAndIncorrectPassword_returnsNull()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/ |
D | Parser.java | 33 import java.io.InputStream; 205 public MessageType parseFrom(InputStream input) in parseFrom() 213 public MessageType parseFrom(InputStream input, in parseFrom() 222 public MessageType parsePartialFrom(InputStream input) in parsePartialFrom() 230 public MessageType parsePartialFrom(InputStream input, in parsePartialFrom() 245 public MessageType parseDelimitedFrom(InputStream input) in parseDelimitedFrom() 251 public MessageType parseDelimitedFrom(InputStream input, in parseDelimitedFrom() 260 public MessageType parsePartialDelimitedFrom(InputStream input) in parsePartialDelimitedFrom() 269 InputStream input, in parsePartialDelimitedFrom()
|
D | AbstractParser.java | 36 import java.io.InputStream; 194 public MessageType parsePartialFrom(InputStream input, ExtensionRegistryLite extensionRegistry) in parsePartialFrom() 207 public MessageType parsePartialFrom(InputStream input) throws InvalidProtocolBufferException { in parsePartialFrom() 212 public MessageType parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) in parseFrom() 219 public MessageType parseFrom(InputStream input) throws InvalidProtocolBufferException { in parseFrom() 225 InputStream input, ExtensionRegistryLite extensionRegistry) in parsePartialDelimitedFrom() 237 InputStream limitedInput = new LimitedInputStream(input, size); in parsePartialDelimitedFrom() 242 public MessageType parsePartialDelimitedFrom(InputStream input) in parsePartialDelimitedFrom() 248 public MessageType parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) in parseDelimitedFrom() 255 public MessageType parseDelimitedFrom(InputStream input) throws InvalidProtocolBufferException { in parseDelimitedFrom()
|
D | MessageLite.java | 37 import java.io.InputStream; 286 Builder mergeFrom(InputStream input) throws IOException; in mergeFrom() 295 Builder mergeFrom(InputStream input, in mergeFrom() 331 boolean mergeDelimitedFrom(InputStream input) in mergeDelimitedFrom() 337 boolean mergeDelimitedFrom(InputStream input, in mergeDelimitedFrom()
|
D | Message.java | 37 import java.io.InputStream; 279 Builder mergeFrom(InputStream input) throws IOException; in mergeFrom() 282 Builder mergeFrom(InputStream input, ExtensionRegistryLite extensionRegistry) in mergeFrom() 286 boolean mergeDelimitedFrom(InputStream input) throws IOException; in mergeDelimitedFrom() 289 boolean mergeDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) in mergeDelimitedFrom()
|
/frameworks/base/tools/powermodel/test/com/android/powermodel/ |
D | CsvParserTest.java | 20 import java.io.InputStream; 64 final InputStream is = new ByteArrayInputStream(text.getBytes(StandardCharsets.UTF_8)); in testEmpty() 76 final InputStream is = new ByteArrayInputStream(text.getBytes(StandardCharsets.UTF_8)); in testOnlyNewline() 88 final InputStream is = new ByteArrayInputStream(text.getBytes(StandardCharsets.UTF_8)); in testTwoLines() 103 final InputStream is = new ByteArrayInputStream(text.getBytes(StandardCharsets.UTF_8)); in testEscapedEmpty() 116 final InputStream is = new ByteArrayInputStream(text.getBytes(StandardCharsets.UTF_8)); in testEscapedText() 129 final InputStream is = new ByteArrayInputStream(text.getBytes(StandardCharsets.UTF_8)); in testEscapedQuotes() 142 final InputStream is = new ByteArrayInputStream(text.getBytes(StandardCharsets.UTF_8)); in testEscapedCommas() 155 final InputStream is = new ByteArrayInputStream(text.getBytes(StandardCharsets.UTF_8)); in testEscapedQuotesAndCommas() 168 final InputStream is = new ByteArrayInputStream(text.getBytes(StandardCharsets.UTF_8)); in testNoNewline() [all …]
|
D | RawBatteryStatsTest.java | 20 import java.io.InputStream; 32 private static InputStream makeCsv(String... lines) { in makeCsv() 36 private static InputStream makeCsv(int version, String... lines) { in makeCsv() 48 final InputStream is = makeCsv(); in testVersion() 69 final InputStream is = makeCsv("9,0,i,uid,1000,com.example.app"); in testUid() 80 final InputStream is = makeCsv("9,0,i,gmcd,1,2,3,4,5,6,7"); in testVarargs()
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | LimitedLengthInputStreamTest.java | 25 import java.io.InputStream; 31 private InputStream mTestStream1; 43 InputStream is = new LimitedLengthInputStream(mTestStream1, -1, TEST_STRING1.length); in testConstructor_NegativeOffset_Failure() 53 InputStream is = new LimitedLengthInputStream(mTestStream1, 0, -1); in testConstructor_NegativeLength_Failure() 63 InputStream is = new LimitedLengthInputStream(null, 0, 1); in testConstructor_NullInputStream_Failure() 73 InputStream is = new LimitedLengthInputStream(mTestStream1, Long.MAX_VALUE - 1, in testConstructor_OffsetLengthOverflow_Fail() 89 InputStream is = new LimitedLengthInputStream(mTestStream1, offset, length); in checkReadBytesWithOffsetAndLength_WithString1() 124 InputStream is = new LimitedLengthInputStream(mTestStream1, 0, TEST_STRING1.length + 10); in testReadBytesWithOffsetAndLength_ZeroOffset_PastEnd_Success() 139 InputStream is = new LimitedLengthInputStream(mTestStream1, offset, length); in checkReadBytes_WithString1() 169 InputStream is = new LimitedLengthInputStream(mTestStream1, offset, length); in checkSingleByteRead_WithString1()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/resources/ |
D | IconLoader.java | 23 import java.io.InputStream; 46 public InputStream getIcon() { in getIcon() 49 InputStream stream = getIcon(resourceDir); in getIcon() 77 private InputStream getIcon(String resourceDir) { in getIcon() 79 InputStream stream = getIcon(resourceDir, mDesiredDensity); in getIcon() 103 private InputStream getIcon(String resourceDir, Density density) { in getIcon() 115 InputStream stream = getClass().getResourceAsStream(mCurrentPath.toString()); in getIcon()
|
/frameworks/base/core/java/android/webkit/ |
D | WebResourceResponse.java | 23 import java.io.InputStream; 41 private InputStream mInputStream; 63 InputStream data) { in WebResourceResponse() 90 @NonNull String reasonPhrase, Map<String, String> responseHeaders, InputStream data) { in WebResourceResponse() 211 public void setData(InputStream data) { in setData() 226 public InputStream getData() { in getData() 236 String reasonPhrase, Map<String, String> responseHeaders, InputStream data) { in WebResourceResponse()
|
D | PluginData.java | 20 import java.io.InputStream; 41 private InputStream mStream; 75 InputStream stream, in PluginData() 96 public InputStream getInputStream() { in getInputStream()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/ |
D | TarBackupReaderTest.java | 70 import java.io.InputStream; 104 InputStream inputStream = mContext.getResources().openRawResource( in readTarHeaders_backupEncrypted_correctlyParsesFileMetadata() 106 InputStream tarInputStream = PerformAdbRestoreTask.parseBackupFileHeaderAndReturnTarStream( in readTarHeaders_backupEncrypted_correctlyParsesFileMetadata() 121 InputStream inputStream = mContext.getResources().openRawResource( in readTarHeaders_backupNotEncrypted_correctlyParsesFileMetadata() 123 InputStream tarInputStream = PerformAdbRestoreTask.parseBackupFileHeaderAndReturnTarStream( in readTarHeaders_backupNotEncrypted_correctlyParsesFileMetadata() 139 InputStream inputStream = mContext.getResources().openRawResource( in readTarHeaders_backupNotEncrypted_correctlyReadsPaxHeader() 141 InputStream tarInputStream = PerformAdbRestoreTask.parseBackupFileHeaderAndReturnTarStream( in readTarHeaders_backupNotEncrypted_correctlyReadsPaxHeader() 178 InputStream inputStream = mContext.getResources().openRawResource( in readAppManifest_backupEncrypted_correctlyParsesAppManifest() 180 InputStream tarInputStream = PerformAdbRestoreTask.parseBackupFileHeaderAndReturnTarStream( in readAppManifest_backupEncrypted_correctlyParsesAppManifest() 199 InputStream inputStream = mContext.getResources().openRawResource( in readAppManifest_backupNotEncrypted_correctlyParsesAppManifest() [all …]
|
/frameworks/opt/vcard/java/com/android/vcard/ |
D | VCardParser.java | 21 import java.io.InputStream; 43 public abstract void parse(InputStream is) throws IOException, VCardException; in parse() 74 public abstract void parseOne(InputStream is) throws IOException, VCardException; in parseOne() 81 public void parse(InputStream is, VCardInterpreter interpreter) in parse()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | SizedInputStream.java | 22 import java.io.InputStream; 28 public class SizedInputStream extends InputStream { 29 private final InputStream mWrapped; 32 public SizedInputStream(InputStream wrapped, long length) { in SizedInputStream()
|
/frameworks/base/tools/powermodel/src/com/android/powermodel/ |
D | BatteryStatsReader.java | 19 import java.io.InputStream; 38 public static ActivityReport parse(InputStream stream) throws ParseException, IOException { in parse() 47 final InputStream mStream; 54 Parser(InputStream stream) { in Parser()
|
/frameworks/base/tools/aapt2/io/ |
D | Util.h | 33 bool CopyInputStreamToArchive(IAaptContext* context, InputStream* in, const std::string& out_path, 48 bool Copy(OutputStream* out, InputStream* in); 50 bool Copy(::google::protobuf::io::ZeroCopyOutputStream* out, InputStream* in); 88 explicit ZeroCopyInputAdaptor(io::InputStream* in) : in_(in) { in ZeroCopyInputAdaptor() 123 io::InputStream* in_; 128 explicit ProtoInputStreamReader(io::InputStream* in) : in_(in) { } in ProtoInputStreamReader() 140 io::InputStream* in_;
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/ |
D | TestAssetRepository.java | 27 import java.io.InputStream; 39 private static InputStream open(String path) throws FileNotFoundException { in open() 54 public InputStream openAsset(String path, int mode) throws IOException { in openAsset() 59 public InputStream openNonAsset(int cookie, String path, int mode) throws IOException { in openNonAsset()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Movie.java | 24 import java.io.InputStream; 60 public static Movie decodeStream(InputStream is) { in decodeStream() 73 private static native Movie nativeDecodeStream(InputStream is); in nativeDecodeStream() 80 InputStream is; in decodeFile() 100 private static Movie decodeTempStream(InputStream is) { in decodeTempStream()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | PersistentDataStoreTest.java | 38 import java.io.InputStream; 76 InputStream is = new ByteArrayInputStream(contents.getBytes(StandardCharsets.UTF_8)); in testLoadingBrightnessConfigurations() 109 InputStream is = new ByteArrayInputStream(contents.getBytes(StandardCharsets.UTF_8)); in testBrightnessConfigWithInvalidCurveIsIgnored() 128 InputStream is = new ByteArrayInputStream(contents.getBytes(StandardCharsets.UTF_8)); in testBrightnessConfigWithInvalidFloatsIsIgnored() 140 InputStream is = new ByteArrayInputStream(contents.getBytes(StandardCharsets.UTF_8)); in testEmptyBrightnessConfigurationsDoesntCrash() 190 private InputStream mReadStream; 196 public InputStream openRead() throws FileNotFoundException { in openRead() 222 public void setReadStream(InputStream is) { in setReadStream()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
D | NinePatchInputStream.java | 25 import java.io.InputStream; 33 public class NinePatchInputStream extends InputStream { 34 private final InputStream mDelegate; 41 public NinePatchInputStream(@NotNull InputStream stream) { in NinePatchInputStream()
|
/frameworks/layoutlib/remote/common/src/com/android/layout/remote/util/ |
D | RemoteInputStreamAdapter.java | 22 import java.io.InputStream; 28 private InputStream mDelegate; 30 private RemoteInputStreamAdapter(@NotNull InputStream delegate) { in RemoteInputStreamAdapter() 34 public static RemoteInputStream create(@NotNull InputStream is) throws RemoteException { in create()
|
/frameworks/base/services/backup/java/com/android/server/backup/restore/ |
D | PerformAdbRestoreTask.java | 48 import java.io.InputStream; 151 InputStream tarInputStream = parseBackupFileHeaderAndReturnTarStream(rawInStream, in run() 191 private static void readFullyOrThrow(InputStream in, byte[] buffer) throws IOException { in readFullyOrThrow() 203 public static InputStream parseBackupFileHeaderAndReturnTarStream( in parseBackupFileHeaderAndReturnTarStream() 204 InputStream rawInputStream, in parseBackupFileHeaderAndReturnTarStream() 209 InputStream preCompressStream = rawInputStream; in parseBackupFileHeaderAndReturnTarStream() 258 private static String readHeaderLine(InputStream in) throws IOException { in readHeaderLine() 270 private static InputStream attemptMasterKeyDecryption(String decryptPassword, String algorithm, in attemptMasterKeyDecryption() 272 int rounds, String userIvHex, String masterKeyBlobHex, InputStream rawInStream, in attemptMasterKeyDecryption() 274 InputStream result = null; in attemptMasterKeyDecryption() [all …]
|
/frameworks/base/services/core/java/com/android/server/net/watchlist/ |
D | DigestUtils.java | 22 import java.io.InputStream; 37 try (InputStream stream = new FileInputStream(apkFile)) { in getSha256Hash() 43 public static byte[] getSha256Hash(InputStream stream) in getSha256Hash()
|
/frameworks/opt/gamesdk/src/tuningfork/tools/validation/src/test/java/com/google/tuningfork/validation/ |
D | TestdataHelper.java | 27 import java.io.InputStream; 57 public static InputStream openStream(String fileName) { in openStream() 58 InputStream is = TestdataHelper.class.getResourceAsStream(FOLDER + fileName); in openStream() 64 try (InputStream inputStream = openStream(fileName)) { in readBytes()
|