/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/ |
SOAPParser.java | 51 public SOAPParser(InputStream in) 56 XMLParser parser = new XMLParser(in); 59 in.close(); 116 <xsd:documentation>When the mobile device receives this command, it launches its default browser to the URI contained in this element. The URI must use HTTPS as the protocol and must contain an FQDN.</xsd:documentation> 131 <xsd:documentation>The issuer name of an acceptable provider-issued certificate. The text of this element is formatted in accordance with the Issuer Name field in RFC-3280. This element is present only when acceptProviderCerts is true.</xsd:documentation> 149 <xsd:documentation>When this boolean is true, X509v3 certificates issued by providers identified in the providerIssuerName child element(s) are acceptable for mobile device authentication.</xsd:documentation> 157 <xsd:documentation>Command to mobile to upload the MO named in the moURN attribute to the SPP server.</xsd:documentation> 165 <xsd:documentation>Element to allow the addition of new commands in the future.</xsd:documentation> 174 <xsd:documentation>This command causes an management object in the mobile devices management tree at the specified location to be added. If there is already a m (…) [all...] |
/frameworks/compile/mclinker/lib/Script/ |
Assignment.cpp | 133 SectionMap::Output::reference in = script.sectionMap().back()->back(); local 135 if (in->dotAssignments().empty()) { 138 in->getSection()->getSectionData()->front()); 141 in->dotAssignments().push_back( 145 Assignment& prevDotAssign = in->dotAssignments().back().second; 158 in->dotAssignments().push_back(std::make_pair( 159 in->getSection()->getSectionData()->front().getNextNode(), *this));
|
/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...] |
FileInputStreamTest.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 246 FileInputStream in = new FileInputStream(tmpFile); local 248 in.read(null, 0, 0); 253 in.close();
|
/bionic/tests/ |
fcntl_test.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 161 int in = open("/proc/cpuinfo", O_RDONLY); local 162 ASSERT_NE(in, -1); 166 ssize_t bytes_read = splice(in, 0, pipe_fds[1], NULL, 8*1024, SPLICE_F_MORE | SPLICE_F_MOVE); 174 close(in); 211 int in = open("/proc/version", O_RDONLY); local 212 ASSERT_NE(in, -1); 215 ssize_t bytes_read = splice(in, 0, pipe1[1], NULL, 8*1024, SPLICE_F_MORE | SPLICE_F_MOVE);
|
/bootable/recovery/mtdutils/ |
flash_image.c | 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 MtdReadContext *in = mtd_read_partition(partition); local 79 if (in == NULL) { 84 int checklen = mtd_read_data(in, check, sizeof(check)); 92 mtd_read_close(in);
|
/build/tools/ |
java-layers.py | 12 sys.stderr.write("the rules defined in the DEPENDENCY_FILE.\n") 22 sys.stderr.write(" to any classes present in the second package, or any\n") 30 sys.stderr.write(" listed in the dependency file.\n") 49 for d in self.transitive: 58 if dep in visited: 61 for v in visited: 67 for upper in dep.uppers: 69 if upper in deps: 72 self.parts = [(dep.lower.split('.'),dep) for dep in deps.itervalues()] 74 for dep in deps.itervalues() 231 sys.stderr.write("%s: Illegal import in package '%s' of '%s'\\n" namespace [all...] |
/build/tools/rgb2565/ |
to565.c | 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 31 unsigned char in[3]; local 34 while(read(0, in, 3) == 3) { 35 out = to565(in[0],in[1],in[2]); 43 unsigned char in[3]; local 55 while(read(0, in, 3) == 3) { 56 int r = in[0] + error[i*3+0] 103 unsigned char in[3]; local [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
Utils.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 110 InputStream in = new FileInputStream(fd.getFileDescriptor()); local 112 while (in.read(buffer) > 0) ;
|
/cts/tests/tests/rscpp/librscpptest/ |
rs_jni_foreach.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 52 sp<Allocation> in = Allocation::createTyped(mRS, t); local 55 fe_all->forEach_test_i8(in, out); 60 in = Allocation::createTyped(mRS, t); 63 fe_all->forEach_test_i8_2(in, out); 68 in = Allocation::createTyped(mRS, t); 71 fe_all->forEach_test_i8_3(in, out); 76 in = Allocation::createTyped(mRS, t); 79 fe_all->forEach_test_i8_4(in, out) [all...] |