HomeSort by relevance Sort by last modified time
    Searched defs:is (Results 226 - 250 of 2740) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /libcore/ojluni/src/main/java/javax/crypto/
JceSecurity.java 5 * This code is free software; you can redistribute it and/or modify it
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
58 // value == PROVIDER_VERIFIED is successfully verified
59 // value is failure cause Exception in error case
70 // Android-removed: This debugging mechanism is not used in Android.
150 * Verify if the JAR at URL codeBase is a signed exempt application
162 * Verify if the JAR at URL codeBase is a signed provider JAR file.
189 // this method is static synchronized, must be recursion
208 // return whether this provider is properly signed and can be used by JC
370 InputStream is = null; local
    [all...]
  /libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
ToArrayOpTest.java 5 * This code is free software; you can redistribute it and/or modify it
9 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * version 2 for more details (a copy is included in the LICENSE file that
124 Integer[] is = exerciseTerminalOps(data, f, s -> s.toArray(Integer[]::new)); local
125 assertEquals(is.getClass(), Integer[].class);
154 // Relax the checking if the data source is unordered
155 // It is not exactly possible to determine if the limit
156 // operation is present and if it is before or after
158 // If the limit operation is present and before the sorte
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
BluetoothPbapRequest.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
63 /* in case request is aborted before can be executed */
72 /* make sure final flag for GET is used (PBAP spec 6.2.2) */
83 InputStream is = mOp.openInputStream(); local
84 readResponse(is);
85 is.close();
  /packages/apps/Camera2/src/com/android/camera/util/
XmpUtil.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
61 // Jpeg file is composed of many sections and image data. This class is used
87 Log.d(TAG, "XMP parse: only jpeg file is supported");
102 * @param is the input stream containing the JPEG image file.
105 public static XMPMeta extractXMPMeta(InputStream is) {
106 List<Section> sections = parse(is, true);
150 Log.d(TAG, "XMP parse: only jpeg file is supported");
275 // If the first section is Exif, insert XMP data before the second section
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/testing/
MemoryDumpActivity.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
64 InputStream is = null; local
66 is = new BufferedInputStream(new FileInputStream(filename));
70 while ( 0 < (len = is.read(buf, 0, BUFSIZ)) ) {
75 is.close();
  /packages/apps/Messaging/src/com/android/messaging/datamodel/media/
VCardRequest.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
57 * Some particular attention is needed for the avatar icon. If the VCard contains avatar icon,
125 // It is possible to misinterpret the vCard, but we expect the parser
182 InputStream is; local
184 is = resolver.openInputStream(uri);
189 vCardParser.parse(is);
192 is.close();
201 is = resolver.openInputStream(uri);
206 vCardParser.parse(is);
    [all...]
  /packages/providers/CalendarProvider/src/com/android/providers/calendar/
CalendarDebugActivity.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
105 * Starts spinner while task is running.
113 InputStream is = null; local
123 is = new FileInputStream(inFile);
131 int len = is.read(buf);
145 // Tell the media scanner about the new file so that it is
158 if (is != null) {
159 is.close();
  /cts/tests/tests/opengl/src/android/opengl/cts/
CompressedTextureLoader.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
84 /* .pvr header is described by the following c struct
127 protected static PVRHeader readPVRHeader(InputStream is) {
131 is.read(headerData);
200 private static ByteBuffer read(InputStream is, int dataSize) {
207 is.read(ioBuffer, 0, chunkSize);
219 InputStream is = null; local
221 is = res.openRawResource(id);
226 PVRHeader header = readPVRHeader(is);
387 InputStream is = null; local
    [all...]
  /cts/tests/tests/os/src/android/os/cts/
ParcelFileDescriptorTest.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
133 private static void assertInputStreamContent(byte[] expected, InputStream is)
137 int count = is.read(observed);
139 assertEquals(-1, is.read());
142 is.close();
153 FileInputStream is = new FileInputStream(fd); local
155 assertEquals(1, is.skip(1));
156 assertEquals(41, is.read());
157 assertEquals(42, is.read())
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DataInputStreamTest.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
160 DataInputStream is = new DataInputStream(new ByteArrayInputStream( local
166 is.readFully(byteArray, -1, -1);
173 is.readFully(byteArray, 0, -1);
180 is.readFully(byteArray, 1, -1);
186 is.readFully(byteArray, -1, 0);
187 is.readFully(byteArray, 0, 0);
188 is.readFully(byteArray, 1, 0);
191 is.readFully(byteArray, -1, 1)
211 DataInputStream is = new DataInputStream(new ByteArrayInputStream( local
274 DataInputStream is = new DataInputStream(null); local
335 DataInputStream is = new DataInputStream(null); local
574 is = new ThrowExceptionOnSingleByteReadInputStream(); local
586 is = new ThrowExceptionOnSingleByteReadInputStream(); local
598 is = new ThrowExceptionOnSingleByteReadInputStream(); local
610 is = new ThrowExceptionOnSingleByteReadInputStream(); local
    [all...]
InputStreamReaderTest.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
95 private InputStreamReader is; field in class:InputStreamReaderTest
99 private final String source = "This is a test message with Unicode character. \u4e2d\u56fd is China's name in Chinese";
118 is = new InputStreamReader(fis);
128 is.close();
141 is.close();
143 is.read();
207 is = new InputStreamReader(fis, "8859_1")
    [all...]
  /cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
CurrentXmlHandler.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
80 mCurrentClassName, mDeprecated, is(attributes, "abstract"), superClass);
93 mCurrentMethodIsAbstract = is(attributes, "abstract");
95 mCurrentMethodStaticMethod = is(attributes, "static");
96 mCurrentMethodFinalMethod = is(attributes, "final");
147 private static boolean is(Attributes attributes, String valueName) { method in class:CurrentXmlHandler
  /developers/samples/android/connectivity/wifidirect/DirectP2P/Application/src/main/java/com/example/android/wifidirectp2p/
FileTransferService.java 61 InputStream is = null; local
63 is = cr.openInputStream(Uri.parse(fileUri));
67 DeviceDetailFragment.copyFile(is, stream);
  /development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/
FileTransferService.java 61 InputStream is = null; local
63 is = cr.openInputStream(Uri.parse(fileUri));
67 DeviceDetailFragment.copyFile(is, stream);
  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/
ClassUnloadDebuggee.java 12 * distributed under the License is distributed on an "AS IS" BASIS,
159 * It will be collected and finalized when tested class is unloaded.
184 InputStream is = url.openStream(); local
187 int len = loadClassData(is, bytes, size);
202 throw new IOException("Class file is too big: " + len);
  /external/apache-xml/src/main/java/org/apache/xml/serializer/
ElemDesc.java 13 * distributed under the License is distributed on an "AS IS" BASIS,
28 * This class is not a public API.
29 * It is public because it is used outside of this package.
44 /** Bit position if this element type is empty. */
47 /** Bit position if this element type is a flow. */
50 /** Bit position if this element type is a block. */
53 /** Bit position if this element type is a block form. */
56 /** Bit position if this element type is a block form field set. *
138 private boolean is(int flags) method in class:ElemDesc
    [all...]
  /external/conscrypt/platform/src/test/java/org/conscrypt/
CertBlacklistTest.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
37 * Ensure that the test blacklisted CA is actually blacklisted by default.
46 * Check that the blacklisted CA is rejected even if it used as a root of trust
54 * Check that a chain that is rooted in a blacklisted trusted CA is rejected.
57 // Chain is leaf -> blacklisted
65 * blacklisted CA but is still valid due to also being cross signed by CAs that remain trusted.
77 // Check that without the trusted_ca the chain is invalid (since it only chains to a
88 try (InputStream is = TestUtils.openTestFile(file))
    [all...]
  /external/droiddriver/src/io/appium/droiddriver/finders/
By.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
45 * Matches a UiElement whose {@code attribute} is {@code true}.
47 public static MatchFinder is(Attribute attribute) { method in class:By
52 * Matches a UiElement whose {@code attribute} is {@code false} or is not set.
131 * Matches a UiElement that is selected.
134 return is(Attribute.SELECTED);
139 * element. <p> XPath is the domain-specific-language for navigating a node tree. It is ideal i
    [all...]
  /external/glide/library/src/main/java/com/bumptech/glide/load/model/
ImageVideoModelLoader.java 67 InputStream is = null; local
70 is = streamFetcher.loadData(priority);
88 if (is == null) {
93 return new ImageVideoWrapper(is, fileDescriptor);
  /external/guava/guava/src/com/google/common/base/
CaseFormat.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
29 * Utility class for converting between various ASCII case formats. Behavior is undefined for
40 LOWER_HYPHEN(CharMatcher.is('-'), "-") {
58 LOWER_UNDERSCORE(CharMatcher.is('_'), "_") {
94 UPPER_UNDERSCORE(CharMatcher.is('_'), "_") {
119 * "best effort" approach is taken; if {@code str} does not conform to the assumed format, then
120 * the behavior of this method is undefined but we make a reasonable effort at converting anyway.
CharMatcher.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
36 * <p>Throughout the documentation of this class, the phrase "matching character" is used to mean
61 * Determines whether a character is a breaking whitespace (that is, a whitespace which can be
98 * Determines whether a character is ASCII, meaning that its code point is less than 128.
146 * Determines whether a character is a digit according to
154 * Determines whether a character is a digit according to {@linkplain Character#isDigit(char)
165 * Determines whether a character is a letter according to {@linkplain Character#isLetter(char
414 public static CharMatcher is(final char match) { method
    [all...]
  /external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/
CharMatcher.java 11 * distributed under the License is distributed on an "AS IS" BASIS,
34 * <p>Throughout the documentation of this class, the phrase "matching character" is used to mean
59 * Determines whether a character is a breaking whitespace (that is, a whitespace which can be
96 * Determines whether a character is ASCII, meaning that its code point is less than 128.
144 * Determines whether a character is a digit according to
152 * Determines whether a character is a digit according to {@linkplain Character#isDigit(char)
163 * Determines whether a character is a letter according to {@linkplain Character#isLetter(char
412 public static CharMatcher is(final char match) { method
    [all...]
  /external/guava/guava-tests/test/com/google/common/base/
BenchmarkHelpers.java 10 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
59 HASH(CharMatcher.is('#'), "#"),
  /external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/
CoreMatchers.java 98 * <pre>assertThat(cheese, is(equalTo(smelly)))</pre>
102 public static <T> org.hamcrest.Matcher<T> is(org.hamcrest.Matcher<T> matcher) { method in class:CoreMatchers
103 return org.hamcrest.core.Is.is(matcher);
107 * A shortcut to the frequently used <code>is(equalTo(x))</code>.
109 * <pre>assertThat(cheese, is(smelly))</pre>
111 * <pre>assertThat(cheese, is(equalTo(smelly)))</pre>
113 public static <T> org.hamcrest.Matcher<T> is(T value) { method in class:CoreMatchers
114 return org.hamcrest.core.Is.is(value)
130 public static void is(java.lang.Class<?> type) { method in class:CoreMatchers
    [all...]
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
ICUData.java 27 * @hide Only a subset of ICU is exposed in Android
36 * This is normally the name of the .dat package, and the prefix (plus '/')
84 * (that is, not from a file), log when the stream contains ICU binary data.
152 private static void checkStreamForBinaryData(InputStream is, String resourceName) {
153 if (logBinaryDataFromInputStream && is != null && resourceName.indexOf(PACKAGE_NAME) >= 0) {
155 is.mark(32);
157 int len = is.read(b);
167 is.reset();

Completed in 2982 milliseconds

1 2 3 4 5 6 7 8 91011>>