HomeSort by relevance Sort by last modified time
    Searched defs:in (Results 701 - 725 of 3847) sorted by null

<<21222324252627282930>>

  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
ThumbnailLoadTask.java 6 * you may not use this file except in compliance with the License.
11 * Unless required by applicable law or agreed to in writing, software
40 * Performs the load of a thumbnail bitmap in a background
137 LogUtils.d(LOG_TAG, "in background, src w/h=%d/%d dst w/h=%d/%d, divider=%d",
170 InputStream in = null; local
173 in = resolver.openInputStream(thumbnailUri);
174 return Exif.getOrientation(in, -1);
179 if (in != null) {
181 in.close();
194 LogUtils.d(LOG_TAG, "back in UI thread, decode failed or file does not exist")
    [all...]
  /packages/services/Car/tests/CarDiagnosticVerifier/src/com/google/android/car/diagnosticverifier/
DiagnosticVerifier.java 5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
40 * The goal is to find the minimal number of diff operations applied on Truth list in order to
48 * It means in order to become Received list, "B" will be missing and an extra "F" will be added
157 * operations that applied on truth event list in order to become received event list
235 ByteArrayInputStream in = new ByteArrayInputStream(rawJson); local
236 newEvent = DiagnosticJsonConverter.readEventAndCanonicalize(in);
237 in.close();
  /sdk/hierarchyviewer/src/com/android/hierarchyviewer/scene/
CaptureLoader.java 5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
43 DataInputStream in = null; local
53 in = new DataInputStream(new BufferedInputStream(socket.getInputStream()));
59 int width = in.readInt();
60 int height = in.readInt();
64 while (readLayer(in, psd)) {
77 if (in != null) {
78 in.close();
91 private static boolean readLayer(DataInputStream in, PsdFile psd)
131 BufferedInputStream in = null; local
    [all...]
ViewHierarchyLoader.java 5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
43 BufferedReader in = null; local
56 in = new BufferedReader(new InputStreamReader(socket.getInputStream(), "utf-8"));
70 while ((line = in.readLine()) != null) {
122 if (in != null) {
123 in.close();
  /tools/apksig/src/apksigner/java/com/android/apksigner/
PasswordRetriever.java 5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
65 * password is compatibility with {@code keytool} and {@code jarsigner} which in certain cases
76 * <li><em>env:name</em> -- password is in the specified environment variable</li>
83 * or PKCS #8 encrypted key password. These encoding are used in addition to using the
94 // jarsigner in some cases use passwords which are the encoded form obtained using the
134 // to access Console.encoding field. However, in the official Java 9 JVM this field is not
135 // only inaccessible, but results in warnings being spewed to stdout during access attempts.
156 byte[] encodedPwd = readEncodedPassword(System.in);
162 // using the in JVM default character encoding
168 InputStream in = mFileInputStreams.get(file); local
    [all...]
  /libcore/ojluni/src/test/java/time/tck/java/time/zone/
TCKZoneRules.java 9 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * version 2 for more details (a copy is included in the LICENSE file that
34 * Redistribution and use in source and binary forms, with or without
40 * * Redistributions in binary form must reproduce the above copyright notice,
41 * this list of conditions and the following disclaimer in the documentation
51 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
56 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
57 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
373 ZoneOffsetTransitionRule in = rules.get(0); local
374 assertEquals(in.getMonth(), Month.MARCH)
    [all...]
  /external/apache-harmony/support/src/test/java/tests/support/
Support_HttpServer.java 6 * (the "License"); you may not use this file except in compliance with
11 * Unless required by applicable law or agreed to in writing, software
218 InputStream in = socket.getInputStream(); local
224 while (((line = readln(in)) != null) && (line.length() > 1)) {
227 // determine the resource requested in the first line
286 postTest(length, in);
291 in.close();
366 // the URL was in the format:
446 private void postTest(int length, InputStream in) {
451 data.write(in.read())
    [all...]
  /external/okhttp/mockwebserver/src/test/java/com/squareup/okhttp/mockwebserver/
MockWebServerTest.java 5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
88 InputStream in = connection.getInputStream(); local
89 BufferedReader reader = new BufferedReader(new InputStreamReader(in));
106 InputStream in = connection.getInputStream(); local
107 BufferedReader reader = new BufferedReader(new InputStreamReader(in));
127 server.enqueue(new MockResponse().setBody("enqueued in the background"));
132 InputStream in = connection.getInputStream(); local
133 BufferedReader reader = new BufferedReader(new InputStreamReader(in));
134 assertEquals("enqueued in the background", reader.readLine())
144 InputStream in = connection.getInputStream(); local
161 InputStream in = urlConnection.getInputStream(); local
205 InputStream in = connection.getInputStream(); local
290 InputStream in = connection.getInputStream(); local
    [all...]
  /frameworks/opt/bitmap/src/com/android/bitmap/
DecodeTask.java 5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
39 * decode is complete, even if the task is cancelled, the result is placed in the given cache.
122 InputStream in = null; local
130 in = reset(in);
131 if (in == null) {
169 in = new AutoCloseInputStream(orientationFd);
172 orientation = Exif.getOrientation(in, byteSize);
176 in.close()
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
BufferedInputStreamTest.java 6 * (the "License"); you may not use this file except in compliance with
11 * Unless required by applicable law or agreed to in writing, software
194 InputStream in = new InputStream() { local
221 final BufferedInputStream bufin = new BufferedInputStream(in);
260 InputStream in = new BufferedInputStream( local
262 in.skip(6);
263 in.mark(14);
264 in.read(new byte[14], 0, 14);
265 in.reset();
266 assertTrue("Wrong bytes", in.read() == 6 && in.read() == 7)
325 InputStream in = new BufferedInputStream( local
    [all...]
  /libcore/luni/src/test/java/libcore/java/net/
OldJarURLConnectionTest.java 6 * (the "License"); you may not use this file except in compliance with
11 * Unless required by applicable law or agreed to in writing, software
234 InputStream in = connection.getInputStream(); local
237 in.read();
238 in.close();
  /prebuilts/tools/common/m2/repository/org/sonatype/gshell/gshell-io/2.4/
gshell-io-2.4.jar 
  /art/runtime/
utf_test.cc 5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
159 // Unpaired (or incorrectly paired) surrogates in the middle of the input.
187 std::vector<uint16_t> in = prefix_in; local
188 in.insert(in.end(), test_in.begin(), test_in.end());
189 in.insert(in.end(), suffix_in.begin(), suffix_in.end());
193 AssertConversion(in, out);
  /cts/apps/CtsVerifierUSBCompanion/src/com/android/cts/verifierusbcompanion/
AccessoryTestCompanion.java 5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
117 UsbEndpoint in = getEndpoint(iface, UsbConstants.USB_DIR_IN); local
125 testName = nextTest(connection, in, out, true);
133 int numTransferred = connection.bulkTransfer(in, buffer, 32, 0);
145 int numTransferred = connection.bulkTransfer(in, buffer, 32, 0);
147 numTransferred = connection.bulkTransfer(in, buffer, 16, 32, 0);
158 int numTransferred = connection.bulkTransfer(in, buffer, 32, 0);
174 in, buffer, MAX_BUFFER_SIZE, 0);
181 int numTransferred = connection.bulkTransfer(in, buffer, 1, TIMEOUT_MILLIS)
    [all...]
  /cts/tests/accessibility/src/android/view/accessibility/cts/
ServiceControlUtils.java 5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
33 * Utility methods for enabling and disabling the services used in this package
65 InputStream in = new FileInputStream(fd.getFileDescriptor()); local
67 while (in.read(buffer) > 0);
130 InputStream in = new FileInputStream(fd.getFileDescriptor()); local
132 while (in.read(buffer) > 0);
162 * set, which they are in
  /cts/tests/openglperf2/test/
MatrixTest.cpp 5 * use this file except in compliance with the License. You may obtain a copy of
10 * Unless required by applicable law or agreed to in writing, software
138 // Position the eye in front of the origin.
231 float in[] = {2, 4, 6, 8}; local
240 Matrix::multiplyVector(out, m, in);
  /cts/tests/tests/content/src/android/content/pm/cts/
ProviderInfoTest.java 5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
60 final XmlResourceParser in = info.loadXmlMetaData( local
63 assertNotNull(in);
65 IoUtils.closeQuietly(in);
  /cts/tests/tests/media/src/android/media/cts/
TestMediaDataSource.java 5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
29 * A MediaDataSource that reads from a byte array for use in tests.
45 InputStream in = afd.createInputStream(); local
51 numRead = in.read(data, writeIndex, size - writeIndex);
  /cts/tests/tests/net/src/android/net/wifi/cts/
PpsMoParserTest.java 5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
51 InputStream in = getClass().getClassLoader().getResourceAsStream(filename); local
52 BufferedReader reader = new BufferedReader(new InputStreamReader(in));
62 * Generate a {@link PasspointConfiguration} that matches the configuration specified in the
  /cts/tests/tests/os/src/android/os/cts/
MemoryFileTest.java 5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
72 InputStream in = mMemoryFile.getInputStream(); local
73 assertEquals(1, in.read());
74 assertEquals(2, in.read());
75 assertEquals(3, in.read());
76 assertEquals(4, in.read());
  /cts/tests/tests/renderscript/src/android/renderscript/cts/
GetElementAt.java 5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
30 private int[] in; field in class:GetElementAt
66 in = new int[size];
68 in[i] = random.nextInt(100);
77 gIn.copyFrom(in);
86 assertEquals("idx = " + k, in[k], out[k]);
98 gIn.copyFrom(in);
107 assertEquals("idx = " + k, in[k], out[k]);
  /development/apps/Development/src/com/android/development/
LogViewer.java 5 ** you may not use this file except in compliance with the License.
10 ** Unless required by applicable law or agreed to in writing, software
78 final DataInputStream in; field in class:LogViewer.LogReader
86 this.in = new DataInputStream(this.socket.getInputStream());
95 while (in.available() > 0) {
98 int length = in.readInt();
100 in.readFully(bytes);
  /development/ndk/platforms/android-21/include/linux/
netfilter.h 72 struct in_addr in; member in union:nf_inet_addr
  /development/samples/BackupRestore/src/com/example/android/backuprestore/
ExampleAgent.java 5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
89 // may throw an IOException, but in that case something has gone
112 // If we decided that we do in fact need to write our dataset, go
134 // Finally, in all cases, we need to write the new state blob
147 DataInputStream in = new DataInputStream(instream); local
150 int stateVersion = in.readInt();
155 // In this implementation, we recover by simply rewriting
163 int lastFilling = in.readInt();
164 boolean lastMayo = in.readBoolean()
223 DataInputStream in = new DataInputStream(baStream); local
    [all...]
MultiRecordExampleAgent.java 5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
36 * stores each distinct piece of application data in a separate record within
42 // Key strings for each record in the backup set
65 // may throw an IOException, but in that case something has gone
88 DataInputStream in = new DataInputStream(instream); local
92 lastFilling = in.readInt();
93 lastMayo = in.readBoolean();
94 lastTomato = in.readBoolean();
169 // In this implementation, we trust that we won't see any record key
176 DataInputStream in = new DataInputStream(instream); local
    [all...]

Completed in 2188 milliseconds

<<21222324252627282930>>