/frameworks/rs/java/tests/HelloComputeNDK/src/com/example/android/rs/hellocomputendk/ |
HelloComputeNDK.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 native void nativeMono(String cacheDir, int X, int Y, Bitmap in, Bitmap out); 44 ImageView in = (ImageView) findViewById(R.id.displayin); local 45 in.setImageBitmap(mBitmapIn);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
ClassNotFoundExceptionTest.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 26 * Thrown when an application tries to load in a class through its string 27 * name using the forName method in class Class. 53 IOException in = new IOException(); local 54 ClassNotFoundException e = new ClassNotFoundException("SomeMessage", in); 55 assertEquals("Wrong Exception", in, e.getException()); 57 assertEquals("Wrong cause", in, e.getCause());
|
/libcore/luni/src/main/java/javax/xml/parsers/ |
DocumentBuilder.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 InputSource in = new InputSource(is); local 107 return parse(in); 130 InputSource in = new InputSource(is); local 131 in.setSystemId(systemId); 132 return parse(in); 154 InputSource in = new InputSource(uri); local 155 return parse(in); 182 InputSource in = new InputSource(escapedURI) local [all...] |
/libcore/ojluni/src/main/java/sun/net/ |
NetProperties.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 57 * the file is in jre/lib/net.properties 68 InputStream in = new FileInputStream(fname); local 69 BufferedInputStream bin = new BufferedInputStream(in);
|
/ndk/tests/device/issue61659-neon-assignment/jni/ |
issue61659-neon-assignment.c | 45 uint8x8_t in = vorr_u8(vand_u8 (va, mask_low), vand_u8 (vb, mask_high)); local 46 dump_and_check(*(unsigned long long *)&in, 0x6262626261616161ULL);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppBtEnableActivity.java | 6 * Redistribution and use in source and binary forms, with or without 12 * - Redistributions in binary form must reproduce the above copyright notice, 13 * this list of conditions and the following disclaimer in the documentation 23 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 27 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 88 Intent in = new Intent(this, BluetoothOppBtEnablingActivity.class); local 89 in.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); 90 this.startActivity(in);
|
/system/security/keystore/ |
blob.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 155 int in = TEMP_FAILURE_RETRY(open(filename, O_RDONLY)); local 156 if (in < 0) { 159 // fileLength may be less than sizeof(mBlob) since the in 162 size_t fileLength = readFully(in, (uint8_t*)&mBlob, sizeof(mBlob)); 163 if (close(in) != 0) {
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldBufferedReaderTest.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 78 // Avoid IOException in tearDown(). 111 Reader in = new BufferedReader(new Support_StringReader(new String( local 114 in.skip(6); 115 in.mark(14); 116 in.read(new char[14], 0, 14); 117 in.reset(); 118 assertTrue("Wrong chars", in.read() == (char) 6 119 && in.read() == (char) 7) 159 Reader in = new BufferedReader(new Support_StringReader(new String( local [all...] |
/libcore/luni/src/test/java/libcore/java/util/zip/ |
DeflaterOutputStreamTest.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 InputStream in = createInflaterStream(DeflaterOutputStream.class, true); local 43 assertEquals(1, in.read()); 44 assertEquals(2, in.read()); 45 assertEquals(3, in.read()); 46 in.close(); 50 InputStream in = createInflaterStream(DeflaterOutputStream.class, false); local 52 in.read(); 56 in.close() [all...] |
/libcore/support/src/test/java/tests/support/ |
Support_TestWebData.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 FileInputStream in = null; local 119 in = new FileInputStream(file); 120 while (in.available() > 0) { 121 out.write(in.read()); 123 in.close(); 134 if (in != null) { 135 in.close();
|
/external/emma/lib/internal/ |
stamptool.jar | |
/external/emma/core/java12/com/vladium/util/ |
IPathEnumerator.java | 52 void handleArchiveEntry (JarInputStream in, ZipEntry entry); 206 JarInputStream in = null; local 210 // crash the JVM in some builds; however, it uses random file 212 // entries in their archives (which JarInputStream can't do); 219 in = new JarInputStream (new BufferedInputStream (new FileInputStream (fullArchive), 32 * 1024)); 223 Manifest manifest = in.getManifest (); // can be null 230 for (ZipEntry entry; (entry = in.getNextEntry ()) != null; ) 235 handler.handleArchiveEntry (in, entry); 236 in.closeEntry (); 245 if (manifest == null) manifest = in.getManifest () [all...] |
/external/javassist/src/main/javassist/tools/web/ |
Webserver.java | 6 * 1.1 (the "License"); you may not use this file except in compliance with 31 * <p><b>Note:</b> although this class is included in the Javassist API, 33 * Javassist. Especially, there might be security flaws in this server. 189 InputStream in = new BufferedInputStream(clnt.getInputStream()); local 190 String cmd = readLine(in); 193 while (skipLine(in) > 0){ 198 doReply(in, out, cmd); 205 in.close(); 210 private String readLine(InputStream in) throws IOException { 213 while ((c = in.read()) >= 0 && c != 0x0d [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 87 InputStream in = connection.getInputStream(); local 88 BufferedReader reader = new BufferedReader(new InputStreamReader(in)); 105 InputStream in = connection.getInputStream(); local 106 BufferedReader reader = new BufferedReader(new InputStreamReader(in)); 126 server.enqueue(new MockResponse().setBody("enqueued in the background")); 131 InputStream in = connection.getInputStream(); local 132 BufferedReader reader = new BufferedReader(new InputStreamReader(in)); 133 assertEquals("enqueued in the background", reader.readLine()) 143 InputStream in = connection.getInputStream(); local 160 InputStream in = urlConnection.getInputStream(); local 204 InputStream in = connection.getInputStream(); local 263 InputStream in = connection.getInputStream(); local [all...] |
/libcore/benchmarks/src/benchmarks/regression/ |
SerializationBenchmark.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 99 ObjectInputStream in = new ObjectInputStream(bais); local 100 in.readObject(); 101 in.close();
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
BufferedReaderTest.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 61 private void assertLines(String in, String... lines) throws IOException { 63 = new BufferedReader(new Support_StringReader(in)); 75 assertTrue("Used in tests", true); 83 assertTrue("Used in tests", true); 131 Reader in = new BufferedReader(new Support_StringReader(new String( local 134 in.skip(6); 135 in.mark(14); 136 in.read(new char[14], 0, 14) 205 Reader in = new BufferedReader(new Support_StringReader(new String( local [all...] |