/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/services/ |
CopyJob.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 157 // in shouldUpdateProgress. 171 * Generates an estimate of the remaining time in the copy. 289 // TODO: When optimized copy kicks in, we'll not making any progress updates. 353 "Couldn't create destination document " + dstDisplayName + " in directory %s " 359 "Couldn't create destination document " + dstDisplayName + " in directory %s.", 379 * Handles recursion into a directory and copying its contents. Note that in linux terms, this 399 // Iterate over srcs in the directory; copy to the destination directory. 449 InputStream in = null local [all...] |
/frameworks/base/services/backup/java/com/android/server/backup/ |
PackageManagerBackupAgent.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 79 // version & signature info of each app in a restore set 110 // in backup. This set changes as apps are installed & removed. 247 * String incremental -- the incremental release name of the OS stored in 285 // metadata again. In either case, take it out of mExisting so that 308 // marshal the version code in a canonical form 325 // At this point, the only entries in 'existing' are apps that were 326 // mentioned in the saved state file, but appear to no longer be present 358 // set of app signatures associated with each backed-up app in this restor 510 DataInputStream in = new DataInputStream(inbuffer); local [all...] |
/frameworks/base/telecomm/java/android/telecom/ |
ParcelableCallAnalytics.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 public VideoEvent createFromParcel(Parcel in) { 44 return new VideoEvent(in); 63 VideoEvent(Parcel in) { 64 mEventName = in.readInt(); 65 mTimeSinceLastEvent = in.readLong(); 66 mVideoState = in.readInt(); 142 public AnalyticsEvent createFromParcel(Parcel in) { 143 return new AnalyticsEvent(in); [all...] |
/frameworks/compile/mclinker/lib/Object/ |
ObjectLinker.cpp | 288 // in object files. 315 SectionMap::Output::iterator in, inBegin, inEnd; local 324 for (in = inBegin; in != inEnd; ++in) { 325 LDSection* in_sect = (*in)->getSection(); 412 SectionMap::Output::iterator in, inBegin, inEnd; local 416 for (in = inBegin; in != inEnd; ++in) { [all...] |
/frameworks/multidex/library/src/android/support/multidex/ |
MultiDexExtractor.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 44 * Exposes application secondary dex files as files in the application data 77 * Extracts application secondary dexes into files in the application data 178 * Compare current archive and crc with values stored in {@link SharedPreferences}. Should be 211 // Ensure that whatever deletions happen in prepareDexDir only happen if the zip that 212 // contains a secondary dex file in there is not consistent with the latest apk. Otherwise, 335 InputStream in = apk.getInputStream(dexFile); local 349 int length = in.read(buffer); 352 length = in.read(buffer) [all...] |
/frameworks/rs/java/tests/ScriptGroupTest/src/com/android/rs/sgtest/ |
Filters.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 41 Object in, Type outputType); 42 public void forEach(Allocation in, Allocation out); 47 Object in, Type outputType) { 48 return builder.addKernel(getKernelID(), outputType, in); 63 void forEach(Allocation in, Allocation out) { s.forEach_(in, out); } 78 public void forEach(Allocation in, Allocation out) { s_mat.forEach_colormatrix(in, out); 386 ScriptGroup.Input in = b2.addInput(); local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
vp9_dct.c | 5 * that can be found in the LICENSE file in the root of the source 7 * in the file PATENTS. All contributing project authors may 8 * be found in the AUTHORS file in the root of the source tree. 48 // similar. In the first one, we transform the columns and transpose 49 // the results. In the second one, we transform the rows. To achieve that, 52 // in normal/row positions). 56 const int16_t *in = input; local 67 input[0] = in[0 * stride] * 16 324 const int16_t *in = input; local [all...] |
/hardware/libhardware_legacy/audio/ |
audio_hw_hal.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 274 const struct legacy_stream_in *in = local 276 return in->legacy_in->sampleRate(); 281 struct legacy_stream_in *in = local 291 const struct legacy_stream_in *in = local 293 return in->legacy_in->bufferSize(); 298 const struct legacy_stream_in *in = local 300 return (audio_channel_mask_t) in->legacy_in->channels(); 305 const struct legacy_stream_in *in local 313 struct legacy_stream_in *in = local 322 struct legacy_stream_in *in = reinterpret_cast<struct legacy_stream_in *>(stream); local 328 const struct legacy_stream_in *in = local 336 struct legacy_stream_in *in = local 355 const struct legacy_stream_in *in = local 375 struct legacy_stream_in *in = local 383 struct legacy_stream_in *in = local 390 struct legacy_stream_in *in = local 397 const struct legacy_stream_in *in = local 404 const struct legacy_stream_in *in = local 565 struct legacy_stream_in *in; local 611 struct legacy_stream_in *in = local [all...] |
/hardware/qcom/audio/legacy/alsa_sound/ |
audio_hw_hal.cpp | 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 294 const struct qcom_stream_in *in = local 296 return in->qcom_in->sampleRate(); 301 struct qcom_stream_in *in = local 311 const struct qcom_stream_in *in = local 313 return in->qcom_in->bufferSize(); 318 const struct qcom_stream_in *in = local 320 return in->qcom_in->channels(); 325 const struct qcom_stream_in *in local 332 struct qcom_stream_in *in = local 341 struct qcom_stream_in *in = reinterpret_cast<struct qcom_stream_in *>(stream); local 347 const struct qcom_stream_in *in = local 355 struct qcom_stream_in *in = local 374 const struct qcom_stream_in *in = local 394 struct qcom_stream_in *in = local 402 struct qcom_stream_in *in = local 409 struct qcom_stream_in *in = local 416 const struct qcom_stream_in *in = local 423 const struct qcom_stream_in *in = local 631 struct qcom_stream_in *in; local 679 struct qcom_stream_in *in = local [all...] |
/libcore/dalvik/src/main/java/dalvik/system/profiler/ |
BinaryHprofReader.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 42 private final DataInputStream in; field in class:BinaryHprofReader 75 this.in = new DataInputStream(inputStream); 126 String version = BinaryHprof.readMagic(in); 137 int idSize = in.readInt(); 147 long time = in.readLong(); 165 int tagOrEOF = in.read(); 170 int timeDeltaInMicroseconds = in.readInt(); 171 int recordLength = in.readInt() [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
OutputStreamWriterTest.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 44 static private final String source = "This is a test message with Unicode character. \u4e2d\u56fd is China's name in Chinese"; 416 InputStreamReader in = new InputStreamReader(fis); local 418 int b = in.read(); 474 assertEquals("Error when reading bytes in " 528 assertEquals("Error when reading bytes in " 548 assertTrue("Used in tests", true);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/ |
PreferencesTest.java | 5 * (the "License"); you may not use this file except in compliance with 10 * Unless required by applicable law or agreed to in writing, software 52 private InputStream in; field in class:PreferencesTest 62 in = new ByteArrayInputStream(PREFS.getBytes(StandardCharsets.US_ASCII)); 63 stream = new MockInputStream(in); 151 in = PreferencesTest.class 153 Preferences.importPreferences(in); 162 in = PreferencesTest.class.getResourceAsStream( 165 Preferences.importPreferences(in); 186 InputStream in = new ByteArrayInputStream(source) local [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
InflaterInputStreamTest.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 40 MyInflaterInputStream(InputStream in) { 41 super(in); 44 MyInflaterInputStream(InputStream in, Inflater infl) { 45 super(in, infl); 48 MyInflaterInputStream(InputStream in, Inflater infl, int size) { 49 super(in, infl, size); 61 //FIXME This test doesn't pass in Harmony classlib or Sun 5.0_7 RI 90 inflatIP.read(byteArray, 0, 5);// only suppose to read in 5 byte 231 InputStream in = new InflaterInputStream(new ByteArrayInputStream(deflated)); local 249 InputStream in = new InflaterInputStream(new ByteArrayInputStream(deflated)); local 258 InputStream in = new InflaterInputStream(new ByteArrayInputStream(deflated)); local [all...] |
/libcore/luni/src/main/java/java/util/concurrent/ |
CopyOnWriteArrayList.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 53 * underlying list. In particular, {@link Iterator#remove}, {@link 77 * Maintainers should be careful to read this field only once in 302 * Adds the elements of {@code collection} that are not already present in 414 * Removes or retains the elements in {@code collection}. Returns the number 425 * array and copy in the surviving elements one by one. 512 * more difficult than in the full list, because each read needs to examine 527 * of the sub list's fields in an immutable object, 734 * Throws if {@code index} doesn't identify an element in the array [all...] |
/libcore/luni/src/main/java/libcore/util/ |
ZoneInfo.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 20 * This file is in the public domain, so clarified as of 58 * <p>As the data uses 32 bits to store the time in seconds the time range is limited to roughly 106 * {@link #readObject(ObjectInputStream)} to correct an inconsistency in the previous version 114 * The times (in seconds) at which the offsets changes for any reason, whether that is a change 115 * in the offset from UTC or a change in the DST. 118 * future) and stored in a file from which {@link ZoneInfo#makeTimeZone(String, BufferIterator)} 120 * essentially human readable rules (e.g. DST starts at 01:00 on the first Sunday in March an [all...] |
/libcore/luni/src/test/java/libcore/java/lang/ |
StringTest.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 protected CoderResult decodeLoop(ByteBuffer in, CharBuffer out) { 45 int inLength = in.remaining(); 47 in.put((byte) 'X'); 65 protected CoderResult encodeLoop(CharBuffer in, ByteBuffer out) { 66 int inLength = in.remaining(); 68 in.put('x'); 261 fail("Expected " + a + " to equal " + b + " in " + locale); 285 fail("Expected " + a + " to equal " + b + " in " + locale) [all...] |
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
DefaultHostnameVerifierTest.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 141 // Confirm that neither of the parameters used later in the test cause the verifier to blow 415 // Verify using a certificate where the pattern is in the CN 421 // Verify using a certificate where the pattern is in a DNS SubjectAltName 428 // Assert that in both cases the verifier gives the same result 430 fail("Different results between pattern in CN and SubjectAltName." 432 + ", when pattern in CN: " + resultWhenPatternInCn 433 + ", when pattern in SubjectAltName: " + resultWhenPatternInSubjectAltName); 449 InputStream in = new ByteArrayInputStream(encoded.getBytes(StandardCharsets.US_ASCII)) local [all...] |
/libcore/ojluni/src/main/java/java/lang/ |
System.java | 10 * by Oracle in the LICENSE file that accompanied this code. 12 * This code is distributed in the hope that it will be useful, but WITHOUT 15 * version 2 for more details (a copy is included in the LICENSE file that 65 public final static InputStream in; field in class:System 79 * See the <code>println</code> methods in class <code>PrintStream</code>. 132 * @param in the new standard input stream. 144 public static void setIn(InputStream in) { 145 setIn0(in); 223 * <p> In addition to the network-oriented channels described in [all...] |
/libcore/ojluni/src/main/java/java/net/ |
AbstractPlainSocketImpl.java | 10 * by Oracle in the LICENSE file that accompanied this code. 12 * This code is distributed in the hope that it will be useful, but WITHOUT 15 * version 2 for more details (a copy is included in the LICENSE file that 50 int timeout; // timeout in millisec 160 * @param timeout the timeout value in milliseconds, or zero for no timeout. 297 InetAddressContainer in = new InetAddressContainer(); local 298 ret = socketGetOption(opt, in); 299 return in.addr; 343 // This is normally done in Socket.connect() but some 408 void setInputStream(SocketInputStream in) { [all...] |
DatagramSocket.java | 10 * by Oracle in the LICENSE file that accompanied this code. 12 * This code is distributed in the hope that it will be useful, but WITHOUT 15 * version 2 for more details (a copy is included in the LICENSE file that 45 * one machine to another may be routed differently, and may arrive in 50 * to allow the transmission of broadcast datagrams. In order to receive 52 * In some implementations, broadcast packets may also be received when 146 // to enable it to be recorded as the pendingConnectException. It has been enclosed in a 151 // Android-changed: Added special handling for AbstractPlainDatagramSocketImpl in 185 * This could result in a SecurityException. 225 * This could result in a SecurityException [all...] |
Socket.java | 10 * by Oracle in the LICENSE file that accompanied this code. 12 * This code is distributed in the hope that it will be useful, but WITHOUT 15 * version 2 for more details (a copy is included in the LICENSE file that 96 * as its arguments. This could result in a SecurityException. 160 * @exception SocketException if there is an error in the underlying protocol, 178 * In other words, it is equivalent to specifying an address of the 188 * as its arguments. This could result in a SecurityException. 224 * as its arguments. This could result in a SecurityException. 251 * In other words, it is equivalent to specifying an address of the 255 * free port in the <code>bind</code> operation.</p [all...] |
/libcore/ojluni/src/main/java/java/util/zip/ |
ZipFile.java | 10 * by Oracle in the LICENSE file that accompanied this code. 12 * This code is distributed in the hope that it will be useful, but WITHOUT 15 * version 2 for more details (a copy is included in the LICENSE file that 57 * or method in this class will cause a {@link NullPointerException} to be 124 * <code>File</code> object in the specified mode. The mode argument 135 * @param mode the mode in which the file is to be opened 169 * <code>File</code> object in the specified mode. The mode argument 177 * @param mode the mode in which the file is to be opened 219 // Android changed, handle OPEN_DELETE case in #close(). 347 * <p> Closing this ZIP file will, in turn, close all inpu 362 ZipFileInputStream in = null; local [all...] |
/libcore/ojluni/src/main/java/sun/security/pkcs/ |
PKCS7.java | 10 * by Oracle in the LICENSE file that accompanied this code. 12 * This code is distributed in the hope that it will be useful, but WITHOUT 15 * version 2 for more details (a copy is included in the LICENSE file that 54 * PKCS7 as defined in RSA Laboratories PKCS7 Technical Note. Profile 82 * @param in an input stream holding at least one PKCS7 block. 86 public PKCS7(InputStream in) throws ParsingException, IOException { 87 DataInputStream dis = new DataInputStream(in); 371 DerInputStream in = signerInfoVals[i].toDerInputStream(); local 372 signerInfos[i] = new SignerInfo(in); 452 DerInputStream in = signerInfoVals[i].toDerInputStream() local [all...] |
/libcore/ojluni/src/main/java/sun/security/util/ |
DerValue.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 89 * in all contexts. (Mask with 0x1f -- five bits.) 181 * Returns true iff the CONTEXT SPECIFIC bit is set in the type tag. 198 /** Returns true iff the CONSTRUCTED bit is set in the type tag. */ 252 DerValue(DerInputBuffer in, boolean originalEncodedFormRetained) 257 int startPosInInput = in.getPos(); 258 tag = (byte)in.read(); 259 byte lenByte = (byte)in.read() 496 DerInputStream in = new DerInputStream(bytes); local [all...] |
/libcore/ojluni/src/main/java/sun/security/x509/ |
X509CertInfo.java | 9 * by Oracle in the LICENSE file that accompanied this code. 11 * This code is distributed in the hope that it will be useful, but WITHOUT 14 * version 2 for more details (a copy is included in the LICENSE file that 55 * <LI>A <em>Serial Number</em> assigned by the CA, for use in 149 DerValue in = new DerValue(cert); local 151 parse(in); 625 DerInputStream in; local 633 in = val.data; 636 tmp = in.getDerValue(); 639 tmp = in.getDerValue() [all...] |