HomeSort by relevance Sort by last modified time
    Searched defs:is (Results 351 - 375 of 581) sorted by null

<<11121314151617181920>>

  /frameworks/opt/mms/src/java/com/google/android/mms/pdu/
PduPersister.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
68 * This class is the high-level manager of PDU storage.
432 InputStream is = null; local
446 is = mContentResolver.openInputStream(partURI);
449 int len = is.read(buffer);
452 len = is.read(buffer);
459 if (is != null) {
461 is.close();
547 // is currently being updated
784 InputStream is = null; local
    [all...]
  /libcore/luni/src/test/java/libcore/java/net/
OldSocketTest.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
206 InputStream is = client.getInputStream(); local
207 assertNotNull("Failed to get stream", is);
208 is.close();
252 // now check behavior when the ANY address is returned
436 // There is not really a good test for this as it is there to detect
610 // RI fails here. It is a RI bug not to return 0 to indicate EOF
666 // now create a socket that is not bound and validate we get th
    [all...]
OldURLTest.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
193 assertTrue("URL is context URL instead of new URL",
325 InputStream is; local
330 is = (InputStream) u.getContent(new Class[] { Object.class });
331 is.read(ba = new byte[4096]);
589 throw new SecurityException("permission is not allowed");
697 InputStream is = null; local
701 is = (InputStream) u.getContent(new Class[] {InputStream.class});
702 is.read(ba = new byte[4096])
    [all...]
  /libcore/luni/src/test/java/libcore/java/security/
KeyStoreTest.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
217 // AndroidCAStore is read only, throwing
1621 InputStream is = new FileInputStream(expected); local
    [all...]
  /libcore/luni/src/test/java/libcore/java/security/cert/
X509CertificateTest.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
125 final InputStream is = Support_Resources.getStream(name); local
126 assertNotNull("File does not exist: " + name, is);
128 return (X509Certificate) f.generateCertificate(is);
131 is.close();
139 final InputStream is = Support_Resources.getStream(name); local
140 assertNotNull("File does not exist: " + name, is);
142 return (Collection<? extends X509Certificate>) f.generateCertificates(is);
145 is.close()
155 final DataInputStream is = new DataInputStream(ris); local
    [all...]
  /libcore/luni/src/test/java/libcore/sqlite/
OldDatabaseTest.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
107 //db is open
235 * of interrupt is scarce.
300 * method test fails once in a while. Cannot be sure that exception is
387 * test fails. Cannot be sure that exception is thrown every time.
410 // set to fail immediately if table is locked.
430 assertEquals(errors.get(0), "database is locked");
631 // function determines return type: test that Double type is returned.
697 * ASCII encoding does not work: a UTF encoded val is returned. Spec is no
930 InputStream is = blob.getInputStream(); local
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/
ContactPhotoManager.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
75 /** Caches 180dip in pixel. This is used to detect whether to show the hires or lores version
82 * Returns the resource id of the default avatar. Tries to find a resource that is bigger
83 * than the given extent (width or height). If extent=-1, a thumbnail avatar is returned
86 // TODO: Is it worth finding a nicer way to do hires/lores here? In practice, the
107 * Applies the default avatar to the ImageView. Extent is an indicator for the size (width
108 * or height). If darkTheme is set, the avatar is one that looks better on dark background
154 * Load thumbnail image into the supplied image view. If the photo is already cached
1112 InputStream is = mResolver.openInputStream(uri); local
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
ImportVCardActivity.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
81 * an Account and posssibly a file if there's no Uri is given from its caller Activity.
83 * Note that this Activity assumes that the instance is a "one-shot Activity", which will be
85 * any Dialog in the instance. So this code is careless about the management around managed
86 * dialogs stuffs (like how onCreateDialog() is used).
213 * We need to cache given files into local storage. One of reasons is that some data (as Uri)
241 Log.w(LOG_TAG, "WakeLock is being held.");
251 + "after a service connection is established");
257 Log.i(LOG_TAG, "vCard cache operation is canceled.")
445 InputStream is; local
    [all...]
  /external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/
SocketChannelTest.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
935 .println("Connection fail, testCFII_ConnectAfterFinish_Server_Block is not finished.");
980 .println("Connection fail, testCFII_ConnectAfterFinish_Server_Block is not finished.");
3197 InputStream is = channel1.socket().getInputStream(); local
3277 InputStream is = channel1.socket().getInputStream(); local
    [all...]
  /cts/tests/tests/database/src/android/database/cts/
DatabaseUtilsTest.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
630 private static void assertInputStreamContent(byte[] expected, InputStream is)
634 int count = is.read(observed);
636 assertEquals(-1, is.read());
639 is.close();
  /cts/tests/tests/keystore/src/android/keystore/cts/
AndroidKeyStoreTest.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
1461 ByteArrayInputStream is = new ByteArrayInputStream(buf); local
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
DecoderTest.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
52 InputStream is = masterFd.createInputStream(); local
53 BufferedInputStream bis = new BufferedInputStream(is);
    [all...]
  /external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/
RemoteDebugEventSocketListener.java 17 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
198 InputStream is = channel.getInputStream(); local
199 InputStreamReader isr = new InputStreamReader(is, "UTF8");
487 // Note that the string is terminated by \n not end quote.
514 // this unescape is slow but easy to understand
  /external/apache-harmony/luni/src/test/api/unix/org/apache/harmony/luni/tests/java/io/
UnixFileTest.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
49 InputStream is; field in class:UnixFileTest.ConsoleResulter
55 is = in;
64 new InputStreamReader(is));
104 // If there is no error, obtain the result
257 // So far this method only deals with the situation that the user is the
284 // However, canRead() always returns true when the user is 'root'.
345 // So far this method only deals with the situation that the user is the
347 // However, canRead() always returns true when the user is 'root'.
    [all...]
  /external/clang/lib/Lex/
ModuleMap.cpp 5 // This file is distributed under the University of Illinois Open Source
148 // If a header is not available, don't report that it maps to anything.
181 // the actual header is located.
425 // We haven't looked here before. Load a module map, if there is
466 // framework to load *everything*. But, it's not clear that this is a good
508 // check whether it is actually a subdirectory of the parent directory.
509 // This will not be the case if the 'subframework' is actually a symlink
537 // If the module is a top-level framework, automatically link against the
677 bool is(TokenKind K) const { return Kind == K; } function in struct:clang::MMToken
692 /// \brief Whether this is a system module
    [all...]
  /external/e2fsprogs/resize/
resize2fs.c 73 * This is the top-level routine which does the dirty deed....
288 * This routine is shared by the online and offline resize routines.
289 * All of the information which is adjusted in memory is done here.
291 * The reserve_blocks parameter is only needed when shrinking the
321 * Overhead is the number of bookkeeping blocks per group. It
333 * See if the last group is big enough to support the
410 * If the resize_inode feature is set, and we are changing the
468 * If the number of block groups is staying the same, we're
469 * done and can exit now. (If the number block groups is
1474 struct istruct *is = (struct istruct *) priv_data; local
1519 struct istruct is; local
    [all...]