Searched refs:has (Results 1 - 11 of 11) sorted by relevance

/frameworks/testing/espresso/
H A Dbuild.gradle36 if (project.has("androidCustomSdkPath")) {
/frameworks/opt/bitmap/src/com/android/bitmap/util/
H A DExif.java62 has(jpeg, byteSize, offset + length - 1)
76 if (has(jpeg, byteSize, 1)) {
86 while (has(jpeg, byteSize, offset + 3) && (jpeg.get(offset++) & 0xFF) == 0xFF) {
108 if (length < 2 || !has(jpeg, byteSize, offset + length - 1)) {
151 // Offset has changed significantly.
203 private static boolean has(final InputStreamBuffer jpeg, final long byteSize, final int index) { method in class:Exif
208 return jpeg.has(index);
H A DInputStreamBuffer.java75 * or {@link #has(int)} with an index N, then some arbitrary time later call {@link #get(int)}
76 * or {@link #has(int)} with an index M < N. The wrapper may return the right value,
120 * You should always call {@link #has(int)} with the same index, unless you are sure that no
131 if (has(index)) {
159 public boolean has(final int index) throws IllegalStateException, IndexOutOfBoundsException { method in class:InputStreamBuffer
160 Trace.beginSection("has");
185 * {@link #has(int)} call will fill the buffer.
258 * @return True if the byte at the requested index has been filled. False if the wrapped
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
H A DExif.java57 has(jpeg, byteSize, offset + length - 1)
71 if (has(jpeg, byteSize, 1)) {
81 while (has(jpeg, byteSize, offset + 3) && (jpeg.get(offset++) & 0xFF) == 0xFF) {
103 if (length < 2 || !has(jpeg, byteSize, offset + length - 1)) {
146 // Offset has changed significantly.
198 private static boolean has(final InputStreamBuffer jpeg, final long byteSize, final int index) { method in class:Exif
203 return jpeg.has(index);
H A DInputStreamBuffer.java75 * or {@link #has(int)} with an index N, then some arbitrary time later call {@link #get(int)}
76 * or {@link #has(int)} with an index M < N. The wrapper may return the right value,
120 * You should always call {@link #has(int)} with the same index, unless you are sure that no
131 if (has(index)) {
159 public boolean has(final int index) throws IllegalStateException, IndexOutOfBoundsException { method in class:InputStreamBuffer
160 Trace.beginSection("has");
185 * {@link #has(int)} call will fill the buffer.
258 * @return True if the byte at the requested index has been filled. False if the wrapped
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DMediaPlayerMetadataParserTest.java171 assertTrue(mMetadata.has(Metadata.TITLE));
172 assertTrue(mMetadata.has(Metadata.GENRE));
173 assertTrue(mMetadata.has(Metadata.firstCustomId()));
174 assertFalse(mMetadata.has(Metadata.DRM_CRIPPLED));
209 assertTrue(mMetadata.has(Metadata.MIME_TYPE));
211 assertFalse(mMetadata.has(Metadata.TITLE));
212 assertFalse(mMetadata.has(Metadata.GENRE));
213 assertFalse(mMetadata.has(Metadata.firstCustomId()));
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
H A DWifiConfigurationHelper.java213 if (jsonConfig.has("phase2")) {
217 if (jsonConfig.has("identity")) {
221 if (jsonConfig.has("anonymous_identity")) {
225 if (jsonConfig.has("ca_cert")) {
229 if (jsonConfig.has("client_cert")) {
240 if (jsonConfig.has("ip")) {
/frameworks/base/core/java/android/content/
H A DContentProviderNative.java593 int has = reply.readInt();
594 ParcelFileDescriptor fd = has != 0 ? reply.readFileDescriptor() : null;
619 int has = reply.readInt();
620 AssetFileDescriptor fd = has != 0
690 int has = reply.readInt();
691 AssetFileDescriptor fd = has != 0
/frameworks/base/core/java/android/widget/
H A DVideoView.java427 mCanPause = !data.has(Metadata.PAUSE_AVAILABLE)
429 mCanSeekBack = !data.has(Metadata.SEEK_BACKWARD_AVAILABLE)
431 mCanSeekForward = !data.has(Metadata.SEEK_FORWARD_AVAILABLE)
514 /* If an error handler has been supplied, use it and finish. */
522 * something bad has happened. Only try and pop up the dialog
576 * has been reached during playback.
/frameworks/base/media/java/android/media/
H A DMetadata.java420 public boolean has(final int metadataId) { method in class:Metadata
428 // Caller must make sure the key is present using the {@code has}
/frameworks/base/libs/androidfw/
H A DResourceTypes.cpp1437 ALOGW("Bad XML block: header type 0x%x in node at 0x%x has size %d, need %d\n",
2139 // good since we will prefer a config that has specified a
2308 // good since we will prefer a config that has specified a
2471 // This represents the "any" locale value, which has traditionally been
5733 ALOGW("ResTable_type has an id of 0.");
5800 ALOGW("ResTable_type has an id of 0.");
6010 ALOGW("idmap: target package has no package groups, cannot create idmap\n");
6015 ALOGW("idmap: target package has no packages in its first package group, "

Completed in 292 milliseconds