HomeSort by relevance Sort by last modified time
    Searched defs:is (Results 476 - 500 of 1563) sorted by null

<<11121314151617181920>>

  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/
ResourceHelper.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
182 * Is this a resource that can be defined in any file within the "values" folder?
205 * Is this a resource that is defined in a file named by the resource plus the XML
215 * @return true if the given resource type is stored in a file named by the resource
223 // The folder types for ID is not only VALUES but also
226 // (where the intent is to figure out files that are uniquely identified
258 // Make sure the name is valid
277 * of this type (provided the name parameter is also valid
569 InputSource is = new InputSource(bis); local
    [all...]
  /cts/libs/testserver/src/android/webkit/cts/
CtsTestServer.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
227 // Avoid a deadlock between two threads where one is trying to call
228 // close() and the other one is calling accept() by sending a GET
233 // Use Socket instead of HttpURLConnection when the server is in cleartext HTTP mode
253 InputStream is = connection.getInputStream(); local
254 is.close();
257 // Block until the server thread is done shutting down.
298 * {@link X509TrustManager} that trusts everybody. This is used so that
379 * Return an absolute URL that refers to the given asset and is protected b
    [all...]
  /cts/tests/tests/content/src/android/content/cts/
ContentResolverTest.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
135 // This test is going to make sure that the platform deals correctly
136 // with a content provider process going away while a client is waiting
138 // First, we need to make sure our provider process is gone. Goodbye!
148 // Now make sure the thing is actually gone.
156 fail("Content provider process is not gone!");
195 "Killing remote client -- if test process goes away, that is why!");
199 // Make sure the remote client is actually gone.
207 fail("Content provider process is not gone!")
465 InputStream is = mContentResolver.openInputStream(uri); local
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
BitmapFactoryTest.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
130 InputStream is = obtainInputStream(); local
133 Bitmap b = BitmapFactory.decodeResourceStream(mRes, value, is, r, mOpt1);
161 InputStream is = obtainInputStream(); local
163 Bitmap b = BitmapFactory.decodeStream(is, r, mOpt1);
169 assertNull(BitmapFactory.decodeStream(is, r, mOpt2));
173 InputStream is = obtainInputStream(); local
174 Bitmap b = BitmapFactory.decodeStream(is);
183 InputStream is = obtainInputStream(RES_IDS[i]) local
621 InputStream is = obtainInputStream(resId); local
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
ImageReaderDecoderTest.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
64 * used here is AVC although the compression format doesn't matter for this
257 InputStream is = null; local
268 // resource is compressed, uncompress locally
271 is = mResources.openRawResource(video);
275 while ((len = is.read(buf, 0, buf.length)) > 0) {
279 is.close();
329 } catch (IllegalArgumentException e) { // mime is not supported
538 // this happens before the first frame is returned
    [all...]
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/
H264TrackImpl.java 370 ByteArrayInputStream is = cleanBuffer(data); local
371 is.read();
372 seqParameterSet = SeqParameterSet.read(is);
381 ByteArrayInputStream is = new ByteArrayInputStream(data); local
382 is.read();
383 pictureParameterSet = PictureParameterSet.read(is);
442 public SliceHeader(InputStream is, SeqParameterSet sps, PictureParameterSet pps, boolean IdrPicFlag) throws IOException {
443 is.read();
444 CAVLCReader reader = new CAVLCReader(is);
555 LOG.fine("Resetting to " + markPos + " (pos is " + pos + ") which makes the buffersize " + diff)
    [all...]
  /external/nist-pkits/src/libcore/java/security/cert/
X509CertificateNistPkitsTest.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
72 final InputStream is = getStream(fileName); local
73 assertNotNull("File does not exist: " + fileName, is);
75 return (X509Certificate) f.generateCertificate(is);
78 is.close();
97 final InputStream is = getStream(fileName); local
98 assertNotNull("File does not exist: " + fileName, is);
100 return (X509CRL) f.generateCRL(is);
103 is.close()
    [all...]
  /frameworks/base/core/java/android/app/
WallpaperManager.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
86 * <p>Input: {@link Intent#getData} is the URI of the image to crop and set as wallpaper.
104 * a live wallpaper component that is to be shown.
151 * at the time the bitmap is loaded).
326 InputStream is = openDefaultWallpaper(context); local
327 if (is != null) {
330 return BitmapFactory.decodeStream(is, null, options);
335 is.close();
376 * no wallpaper is set, the system built-in static wallpaper is returned
424 InputStream is = new BufferedInputStream(openDefaultWallpaper(mContext)); local
    [all...]
  /frameworks/opt/telephony/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.
435 InputStream is = null; local
449 is = mContentResolver.openInputStream(partURI);
452 int len = is.read(buffer);
455 len = is.read(buffer);
462 if (is != null) {
464 is.close();
550 // is currently being updated
787 InputStream is = null; local
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
SocketTest.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
172 // Now create a socket that is not bound and then bind it
204 // all is ok
221 fail("No exception binding to address that is not available");
330 // an address on which nobody is listening
340 // Now validate that we can actually connect when somebody is listening
347 // validate that when a socket is connected that it answers
430 // an address on which nobody is listening
441 // Now validate that we can actually connect when somebody is listenin
677 InputStream is = client.getInputStream(); local
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
PropertiesTest.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
101 assertEquals("Did not retrieve property", "this is a test property",
112 assertEquals("Did not retrieve property", "this is a test property",
208 InputStream is; local
210 prop.load(is = new ByteArrayInputStream(writeProperties()));
211 is.close();
270 fail("IndexOutOfBoundsException when last line is a comment with no line terminator");
281 InputStream is = Support_Resources local
284 props.load(is);
312 InputStream is; local
434 InputStream is = Support_Resources local
763 InputStream is; local
777 InputStream is; local
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
JarFileTest.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
63 public byte[] getAllBytesFromStream(InputStream is) throws IOException {
68 while (is.available() > 0) {
69 iRead = is.read(buf, 0, buf.length);
415 InputStream is = new URL(jarDirUrl + "/jarlist.txt").openStream(); local
416 while (is.available() > 0) {
420 int nextByte = is.read();
444 is.close();
459 InputStream is = jarFile.getInputStream(entry) local
732 InputStream is = jarFile.getInputStream(entry); local
1000 java.io.InputStream is = jf.getInputStream(jf.getEntry(entryName)); local
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/auth/x500/
X500PrincipalTest.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
76 * javax.security.auth.x500.X500Principal#X500Principal(InputStream is)
81 ByteArrayInputStream is = new ByteArrayInputStream(ba); local
85 X500Principal xpr = new X500Principal(is);
101 is = new ByteArrayInputStream(name.getBytes());
103 X500Principal xpr = new X500Principal(is);
266 ByteArrayInputStream is = new ByteArrayInputStream(array); local
268 X509Certificate cert = (X509Certificate)cf.generateCertificate(is);
342 //this encoding is read from the fil
350 InputStream is = Support_Resources local
371 InputStream is = Support_Resources local
399 ByteArrayInputStream is = new ByteArrayInputStream(mess); local
415 ByteArrayInputStream is = new ByteArrayInputStream(mess); local
430 InputStream is = Support_Resources local
762 ByteArrayInputStream is = new ByteArrayInputStream(mess); local
793 ByteArrayInputStream is = new ByteArrayInputStream(mess); local
824 ByteArrayInputStream is = new ByteArrayInputStream(mess); local
1378 ByteArrayInputStream is = new ByteArrayInputStream(mess); local
1476 ByteArrayInputStream is = new ByteArrayInputStream(mess); local
    [all...]
  /libcore/luni/src/test/java/libcore/java/net/
OldSocketTest.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
207 InputStream is = client.getInputStream(); local
208 assertNotNull("Failed to get stream", is);
209 is.close();
253 // now check behavior when the ANY address is returned
437 // There is not really a good test for this as it is there to detect
611 // RI fails here. It is a RI bug not to return 0 to indicate EOF
667 // 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,
250 // AndroidCAStore is read only, throwing
1659 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...]
  /prebuilts/tools/common/m2/repository/org/eclipse/tycho/tycho-metadata-model/0.18.1/
tycho-metadata-model-0.18.1.jar 
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
KeyChainTest.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
207 InputStream is = res.openRawResource(R.raw.userkey); local
209 for (int n; (n = is.read(buffer, 0, buffer.length)) != -1;) {
257 throw new AssertionError("Credential archive is empty");
321 * setup is expected to work because the server uses a private key whose certificate was
455 // Set of commands to run when 'next' is pressed
  /cts/hostsidetests/security/src/android/cts/security/
SELinuxHostTest.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
76 InputStream is = this.getClass().getResourceAsStream(resName); local
80 while ((rByte = is.read()) != -1) {
164 * Asserts that specified type is not associated with the specified
202 * Tests that the seapp_contexts file on the device is valid.
290 * Tests that the file_contexts file on the device is valid.
316 * Tests that the property_contexts file on the device is valid.
342 * Tests that the service_contexts file on the device is valid.
410 * Asserts that a domain exists and that only one, well defined, process is
    [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/location2/src/android/location2/cts/
LocationManagerTest.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
333 InputStream is = new FileInputStream(pfd.getFileDescriptor()); local
336 while ((is.read(buffer)) != -1);
  /development/samples/Support7Demos/src/com/example/android/supportv7/media/
SampleMediaRouteProvider.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
179 IntentSender is = PendingIntent.getActivity(getContext(), 99, settingsIntent, local
192 .setSettingsActivity(is)
205 .setSettingsActivity(is)
353 Log.d(TAG, mRouteId + ": New volume is " + mVolume);
  /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,
48 InputStream is; field in class:UnixFileTest.ConsoleResulter
54 is = in;
63 new InputStreamReader(is));
103 // If there is no error, obtain the result
250 // So far this method only deals with the situation that the user is the
276 // However, canRead() always returns true when the user is 'root'.
336 // So far this method only deals with the situation that the user is the
338 // However, canRead() always returns true when the user is 'root'
    [all...]

Completed in 3498 milliseconds

<<11121314151617181920>>