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

<<31323334353637383940>>

  /frameworks/base/core/java/android/ddm/
DdmHandleProfiling.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
47 * Register for the messages we're interested in.
103 ByteBuffer in = wrapChunk(request); local
105 int bufferSize = in.getInt();
106 int flags = in.getInt();
107 int len = in.getInt();
108 String fileName = getString(in, len);
145 ByteBuffer in = wrapChunk(request); local
147 int bufferSize = in.getInt()
198 ByteBuffer in = wrapChunk(request); local
    [all...]
  /frameworks/base/core/java/android/os/
ServiceManagerNative.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
38 IServiceManager in = local
40 if (in != null) {
41 return in;
  /frameworks/base/core/java/android/print/
PrintFileDocumentAdapter.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 InputStream in = null; local
121 in = new FileInputStream(mFile);
126 final int readByteCount = in.read(buffer);
137 IoUtils.closeQuietly(in);
  /frameworks/base/core/java/android/security/net/config/
ResourceCertificateSource.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
34 * {@link CertificateSource} based on certificates contained in an application resource file.
57 InputStream in = null; local
60 in = mContext.getResources().openRawResource(mResourceId);
61 certs = factory.generateCertificates(in);
66 IoUtils.closeQuietly(in);
  /frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
StackOverflowXmlParser.java 5 * in compliance with the License. You may obtain a copy of the License at
9 * Unless required by applicable law or agreed to in writing, software distributed under the License
30 * where each list element represents a single entry (post) in the XML feed.
37 public List<Entry> parse(InputStream in) throws XmlPullParserException, IOException {
41 parser.setInput(in, null);
45 in.close();
68 // This class represents a single entry (post) in the XML feed.
108 // Processes title tags in the feed.
116 // Processes link tags in the feed.
132 // Processes summary tags in the feed
    [all...]
  /frameworks/base/sax/tests/saxtests/src/android/sax/
ExpatPerformanceTest.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
45 InputStream in = mContext.getResources().openRawResource(R.raw.youtube); local
49 while ((length = in.read(buffer)) != -1) {
  /frameworks/base/services/backup/java/com/android/server/backup/utils/
FullBackupUtils.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 * Reads data from pipe and writes it to the stream in chunks of up to 32KB.
47 * @throws IOException - in case of an error.
53 DataInputStream in = new DataInputStream(raw); local
57 while ((chunkTotal = in.readInt()) > 0) {
60 int nRead = in.read(buffer, 0, toRead);
79 * @throws IOException - in case of an error.
84 // Manifest format. All data are strings ending in LF:
94 // N*: signature byte array in ascii format per Signature.toCharsString(
    [all...]
  /frameworks/base/services/core/java/com/android/server/pm/
PackageUsage.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
95 BufferedInputStream in = null; local
97 in = new BufferedInputStream(file.openRead());
100 String firstLine = readLine(in, sb);
104 readVersion1LP(packages, in, sb);
106 readVersion0LP(packages, in, sb, firstLine);
113 IoUtils.closeQuietly(in);
117 private void readVersion0LP(Map<String, PackageParser.Package> packages, InputStream in,
123 for (String line = firstLine; line != null; line = readLine(in, sb))
    [all...]
  /frameworks/base/telecomm/java/android/telecom/
TelecomAnalytics.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
35 public TelecomAnalytics createFromParcel(Parcel in) {
36 return new TelecomAnalytics(in);
50 public SessionTiming createFromParcel(Parcel in) {
51 return new SessionTiming(in);
87 private SessionTiming(Parcel in) {
88 mId = in.readInt();
89 mTime = in.readLong();
123 private TelecomAnalytics(Parcel in) {
    [all...]
  /frameworks/base/telephony/java/android/telephony/
ClientRequestStats.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
35 public ClientRequestStats createFromParcel(Parcel in) {
36 return new ClientRequestStats(in);
45 /* completed requests wake lock time in milli seconds */
53 public ClientRequestStats(Parcel in) {
54 readFromParcel(in);
153 public void readFromParcel(Parcel in) {
154 mCallingPackage = in.readString();
155 mCompletedRequestsWakelockTime = in.readLong()
    [all...]
  /frameworks/base/tests/HugeBackup/src/com/android/hugebackup/
HugeAgent.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
90 // may throw an IOException, but in that case something has gone
113 // If we decided that we do in fact need to write our dataset, go
135 // Now, in order to incur deliberate too-much-data failures,
146 // Finally, in all cases, we need to write the new state blob
159 DataInputStream in = new DataInputStream(instream); local
162 int stateVersion = in.readInt();
167 // In this implementation, we recover by simply rewriting
175 int lastFilling = in.readInt()
235 DataInputStream in = new DataInputStream(baStream); local
    [all...]
  /frameworks/base/tests/net/java/com/android/internal/net/
NetworkStatsFactoryTest.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
165 // Downloading 100mb from an ipv4 only destination in a foreground activity
197 InputStream in = null; local
200 in = getContext().getResources().openRawResource(rawId);
202 Streams.copy(in, out);
204 IoUtils.closeQuietly(in);
  /frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/
ConfigParserTest.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 InputStream in = getClass().getClassLoader().getResourceAsStream(filename); local
66 BufferedReader reader = new BufferedReader(new InputStreamReader(in));
77 * Generate a {@link PasspointConfiguration} that matches the configuration specified in the
  /frameworks/compile/mclinker/lib/Object/
SectionMap.cpp 162 Output::iterator in, inBegin = (*out)->begin(), inEnd = (*out)->end(); local
163 for (in = inBegin; in != inEnd; ++in) {
164 if (*in != NULL)
165 delete *in;
177 Output::const_iterator in, inBegin = (*out)->begin(), inEnd = (*out)->end(); local
178 for (in = inBegin; in != inEnd; ++in) {
190 Output::iterator in, inBegin = (*out)->begin(), inEnd = (*out)->end(); local
229 Output::iterator in, inBegin = (*out)->begin(), inEnd = (*out)->end(); local
264 Output::iterator in, inBegin = (*out)->begin(), inEnd = (*out)->end(); local
    [all...]
  /frameworks/data-binding/compiler/src/main/java/android/databinding/tool/util/
GenerationalClassUtil.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
106 L.e(e, "Could not merge in Bindables from %s", file.getAbsolutePath());
138 L.e(e, "Could not merge in Bindables from %s", file.getAbsolutePath());
151 ObjectInputStream in = new ObjectInputStream(inputStream); local
152 return (Serializable) in.readObject();
  /frameworks/multidex/library/test/src/android/support/multidex/
ZipEntryReader.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
17 /* Apache Harmony HEADER because the code in this class comes mostly from ZipFile, ZipEntry and
50 static ZipEntry readEntry(ByteBuffer in) throws IOException {
52 int sig = in.getInt();
57 in.position(8);
58 int gpbf = in.getShort() & 0xffff;
64 int compressionMethod = in.getShort() & 0xffff;
65 int time = in.getShort() & 0xffff;
66 int modDate = in.getShort() & 0xffff
    [all...]
  /frameworks/native/services/vr/virtual_touchpad/tests/
VirtualTouchpad_test.cpp 80 const char* in = static_cast<const char*>(buf); local
83 snprintf(&out[2 * i], 3, "%02X", in[i]);
304 // and should not result in any system calls.
318 // and should not result in any system calls.
  /frameworks/rs/cpu_ref/
rsCpuIntrinsicHistogram.cpp 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
168 uchar *in = (uchar *)info->inPtr[0]; local
172 sums[(in[0] << 2) ] ++;
173 sums[(in[1] << 2) + 1] ++;
174 sums[(in[2] << 2) + 2] ++;
175 sums[(in[3] << 2) + 3] ++;
176 in += info->inStride[0];
185 uchar *in = (uchar *)info->inPtr[0]; local
189 sums[(in[0] << 2) ] ++
201 uchar *in = (uchar *)info->inPtr[0]; local
216 uchar *in = (uchar *)info->inPtr[0]; local
234 uchar *in = (uchar *)info->inPtr[0]; local
251 uchar *in = (uchar *)info->inPtr[0]; local
267 uchar *in = (uchar *)info->inPtr[0]; local
282 uchar *in = (uchar *)info->inPtr[0]; local
    [all...]
  /frameworks/rs/script_api/
Utilities.cpp 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 " * you may not use this file except in compliance with the License.\n"
35 " * Unless required by applicable law or agreed to in writing, software\n"
99 string in = stringReplace(html, "<li>", "- "); local
101 for (size_t start = 0; start < in.size(); start++) {
102 size_t lt = in.find('<', start);
104 out += in.substr(start);
107 out += in.substr(start, lt - start);
108 if (isalpha(in[lt + 1]) || in[lt + 1] == '/')
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
ConsoleTest.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
42 private InputStream in = new ByteArrayInputStream(bytes); field in class:ConsoleTest
52 console = constructor.newInstance(in, out);
OutputStreamTesterTest.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
120 final PipedInputStream in = new PipedInputStream(); local
121 PipedOutputStream out = new PipedOutputStream(in);
130 while ((count = in.read(buffer)) != -1) {
WriterTesterTest.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
113 final PipedReader in = new PipedReader(); local
114 PipedWriter out = new PipedWriter(in);
123 while ((count = in.read(buffer)) != -1) {
  /libcore/luni/src/main/java/libcore/io/
Streams.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
35 * Implements InputStream.read(int) in terms of InputStream.read(byte[], int, int).
39 public static int readSingleByte(InputStream in) throws IOException {
41 int result = in.read(buffer, 0, 1);
46 * Implements OutputStream.write(int) in terms of OutputStream.write(byte[], int, int).
57 * Fills 'dst' with bytes from 'in', throwing EOFException if insufficient bytes are available.
59 public static void readFully(InputStream in, byte[] dst) throws IOException {
60 readFully(in, dst, 0, dst.length);
64 * Reads exactly 'byteCount' bytes from 'in' (into 'dst' at offset 'offset'), and throw
    [all...]
  /libcore/luni/src/test/java/libcore/java/nio/charset/
CharsetDecoderTest.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
35 ByteBuffer in = ByteBuffer.wrap(new byte[] { 109, 97, 109 }); local
36 assertEquals("\u6d61x", d.decode(in).toString());
  /libcore/luni/src/test/java/libcore/javax/net/
ServerSocketFactoryTest.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
83 InputStream in = socket.getInputStream(); local
85 transfer(in, out);
118 * In 4.5 of UNIX Network Programming, Stevens says:
128 private void transfer(InputStream in, ByteArrayOutputStream out) throws IOException {
131 while ((count = in.read(buffer)) != -1) {

Completed in 533 milliseconds

<<31323334353637383940>>