/packages/wallpapers/MagicSmoke/src/com/android/magicsmoke/ |
MagicSmokeRS.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 264 Bitmap in = BitmapFactory.decodeResource(mResources, id, opts); local 266 // Bitmaps are stored in memory in premultiplied form. We want non-premultiplied, 269 in.getPixels(pixels, 0, 256, 0, 0, 256, 256); 287 in.recycle();
|
/prebuilts/tools/common/m2/repository/org/sonatype/gshell/gshell-io/2.4/ |
gshell-io-2.4.jar | |
/bionic/libc/kernel/uapi/linux/ |
netfilter.h | 72 struct in_addr in; member in union:nf_inet_addr
|
/cts/suite/cts/deviceTests/opengl/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/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/ |
TestNan.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 public int in; field in class:TestNan.ArgumentsUintFloat 43 Allocation in = createRandomAllocation(mRS, Element.DataType.UNSIGNED_32, 1, 0x757e939c0e627774l, false); local 46 script.forEach_testNanUintFloat(in, out); 47 verifyResultsNanUintFloat(in, out, false); 53 scriptRelaxed.forEach_testNanUintFloat(in, out); 54 verifyResultsNanUintFloat(in, out, true); 60 private void verifyResultsNanUintFloat(Allocation in, Allocation out, boolean relaxed) { 62 in.copyTo(arrayIn) [all...] |
/cts/tests/tests/security/src/android/security/cts/ |
SELinuxTest.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 86 * Verify all of the rules described by the selinux_policy.xml file are in effect. Allow rules 97 InputStream in = assets.open("selinux_policy.xml"); local 98 Collection<SELinuxPolicyRule> rules = SELinuxPolicyRule.readRulesFile(in); 105 /* print failures to log, so as not to run OOM in the event of large policy mismatch,
|
/dalvik/hit/src/com/android/hit/ |
HprofParser.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 61 * When a sub-tag of this type appears in a HPROF_HEAP_DUMP or 65 * may appear in a single HEAP_DUMP[_SEGMENT]. 95 public HprofParser(DataInputStream in) { 96 mInput = in; 105 DataInputStream in = mInput; local 107 mIdSize = in.readInt(); 110 in.readLong(); // Timestamp, ignored for now 113 int tag = in.readUnsignedByte() 162 DataInputStream in = mInput; local 198 DataInputStream in = mInput; local 238 DataInputStream in = mInput; local 435 DataInputStream in = mInput; local [all...] |
/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-L/include/linux/ |
netfilter.h | 71 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...] |
/development/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...] |
/device/asus/fugu/libaudio/ |
AudioHardwareInput.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 109 AudioStreamIn* in; local 111 in = new AudioStreamIn(*this); 112 if (in == NULL) { 117 *status = in->set(format, channelMask, sampleRate); 120 delete in; 124 mInputStreams.add(in); 126 return in; 129 void AudioHardwareInput::closeInputStream(AudioStreamIn* in) 146 AudioStreamIn* in = mInputStreams[0]; local [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/ |
ClassUnloadDebuggee.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 196 private int loadClassData(InputStream in, byte[] raw, int size) throws IOException { 197 int len = in.read(raw); 200 in.close(); 212 * Internal class used in ClassUnloadTest
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ReferenceType/ |
ConstantPoolTest.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 104 BufferedInputStream in = new BufferedInputStream(new FileInputStream(debuggeeClass)); local 108 count = in.read(bytes,index,length); 113 printErrorAndFail(thisCommandName + "has error in reading target class file!"); 116 // Entry count is placed in byte 8 and byte 9 of class file
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/ |
ChoiceTest.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 106 DerInputStream in = new DerInputStream((byte[]) testcases[i][1]); local 107 assertEquals("Test case: " + i, testcases[i][0], choice.decode(in)); 206 public Object getDecodedObject(BerInputStream in) 209 assertEquals("choice1", 1, in.choiceIndex); 211 return in.content; 227 public Object getDecodedObject(BerInputStream in) 230 assertEquals("choice2", 0, in.choiceIndex); 232 return in.content [all...] |
/external/apache-http/src/org/apache/http/impl/io/ |
ChunkedInputStream.java | 12 * "License"); you may not use this file except in compliance 17 * Unless required by applicable law or agreed to in writing, 74 private SessionInputBuffer in; field in class:ChunkedInputStream 95 public ChunkedInputStream(final SessionInputBuffer in) { 97 if (in == null) { 100 this.in = in; 106 * <p> Returns all the data in a chunked stream in coalesced form. A chunk 131 return in.read() [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dh/ |
BCDHPublicKey.java | 75 throw new IllegalArgumentException("invalid info structure in DH public key"); 185 ObjectInputStream in) 188 in.defaultReadObject(); 190 this.dhSpec = new DHParameterSpec((BigInteger)in.readObject(), (BigInteger)in.readObject(), in.readInt());
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/ |
BCDSAPrivateKey.java | 77 * return the encoding format we produce in getEncoded(). 148 ObjectInputStream in) 151 in.defaultReadObject(); 153 this.dsaSpec = new DSAParameterSpec((BigInteger)in.readObject(), (BigInteger)in.readObject(), (BigInteger)in.readObject());
|
BCDSAPublicKey.java | 71 throw new IllegalArgumentException("invalid info structure in DSA public key"); 153 ObjectInputStream in) 156 in.defaultReadObject(); 158 this.dsaSpec = new DSAParameterSpec((BigInteger)in.readObject(), (BigInteger)in.readObject(), (BigInteger)in.readObject());
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/ |
BCRSAPrivateKey.java | 125 ObjectInputStream in) 128 in.defaultReadObject();
|
BCRSAPublicKey.java | 71 throw new IllegalArgumentException("invalid info structure in RSA public key"); 146 ObjectInputStream in) 149 in.defaultReadObject(); 153 algorithmIdentifier = AlgorithmIdentifier.getInstance(in.readObject());
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
BaseCipherSpi.java | 171 PrivateKeyInfo in = PrivateKeyInfo.getInstance(encoded); local 173 PrivateKey privKey = BouncyCastleProvider.getPrivateKey(in); 181 throw new InvalidKeyException("algorithm " + in.getPrivateKeyAlgorithm().getAlgorithm() + " not supported");
|
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/ |
AwContentsClientGetDefaultVideoPosterTest.java | 3 // found in the LICENSE file. 100 InputStream in = requestData.getData(); local 101 assertEquals("Should get -1", in.read(), -1);
|