HomeSort by relevance Sort by last modified time
    Searched defs:CONTENT (Results 1 - 25 of 71) sorted by null

1 2 3

  /development/samples/training/threadsample/src/com/example/android/threadsample/
RSSPullParser.java 24 import android.content.ContentValues;
39 // An attribute value indicating that the element contains media content
40 private static final String CONTENT = "media:content";
147 // If it's CONTENT
148 if (eventName.equalsIgnoreCase(CONTENT)) {
  /external/archive-patcher/shared/src/test/java/com/google/archivepatcher/shared/
DeflateCompressorTest.java 41 private final static byte[] CONTENT = new DefaultDeflateCompatibilityWindow().getCorpus();
46 private static class Content {
56 * Uncompress some content with Java's built-in {@link Inflater} as a sanity check against our own
80 rawContentIn = new ByteArrayInputStream(CONTENT);
88 Assert.assertTrue(compressedContentOut.size() < CONTENT.length);
91 Assert.assertArrayEquals(CONTENT, uncompressed);
112 Assert.assertArrayEquals(CONTENT, uncompressedWithNowrapOn);
117 rawContentIn = new ByteArrayInputStream(CONTENT);
124 Assert.assertArrayEquals(CONTENT, uncompressedWithNowrapOff);
133 Content[] content = new Content[3]
    [all...]
DeflateUncompressorTest.java 46 private final static byte[] CONTENT = new DefaultDeflateCompatibilityWindow().getCorpus();
58 deflateOut.write(CONTENT);
71 assertTrue(Arrays.equals(CONTENT, uncompressedContentOut.toByteArray()));
88 deflateOut.write(CONTENT);
95 // Now expect wrapped content in the uncompressor, and uncompressing should "just work".
98 assertTrue(Arrays.equals(CONTENT, uncompressedContentOut.toByteArray()));
107 Assert.assertArrayEquals(CONTENT, uncompressedContentOut.toByteArray());
116 Assert.assertArrayEquals(CONTENT, uncompressedContentOut.toByteArray());
150 Assert.assertArrayEquals(CONTENT, uncompressedContentOut.toByteArray());
156 Assert.assertArrayEquals(CONTENT, uncompressedContentOut.toByteArray())
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
ScannerParseLargeFileBenchmarkTest.java 43 private static final char[] CONTENT = "large file!\n".toCharArray();
60 int contentIndex = count % CONTENT.length;
63 buffer[bufferIndex++] = CONTENT[contentIndex++];
64 if (contentIndex == CONTENT.length) {
  /development/samples/MySampleRss/src/com/example/codelab/rssexample/
RssContentProvider.java 19 import android.content.ContentProvider;
20 import android.content.ContentProviderDatabaseHelper;
21 import android.content.UriMatcher;
22 import android.content.Context;
28 import android.content.ContentValues;
33 // Content Provider for RSS feed information. Each row describes a single
56 public static final Uri CONTENT_URI = Uri.parse( "content://my_rss_item/rssitem");
63 public static final String CONTENT = "rawcontent";
79 CONTENT + " TEXT," +
  /external/emma/core/java12/com/vladium/emma/report/html/doc/
Attribute.java 28 public static final Attribute CONTENT = new AttributeImpl ("CONTENT");
  /frameworks/base/drm/java/android/drm/
DrmStore.java 29 * on right-protected content. The constants defined in this interface
59 * the rights-protected content.
68 * the rights-protected content.
102 public static final int CONTENT = 0x01;
120 * Defines playback states for content.
161 * Defines actions that can be performed on rights-protected content.
169 * The rights-protected content can be played.
173 * The rights-protected content can be set as a ringtone.
177 * The rights-protected content can be transferred.
181 * The rights-protected content can be set as output
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/
MediaStoreUiTest.java 20 import android.content.ContentResolver;
21 import android.content.Context;
22 import android.content.Intent;
23 import android.content.UriPermission;
24 import android.content.pm.PackageManager;
25 import android.content.pm.ResolveInfo;
42 import android.support.v4.content.FileProvider;
61 private static final String CONTENT = "Test";
111 assertEquals(CONTENT, reader.readLine());
116 out.write(CONTENT.getBytes())
    [all...]
  /frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
CardPresenter.java 16 import android.content.Context;
21 import android.support.v4.content.res.ResourcesCompat;
38 public static final String CONTENT = "Content";
137 if (key.equals(CONTENT)) {
  /packages/apps/Email/tests/src/com/android/email/mail/store/imap/
ImapStringTest.java 129 final String CONTENT = "abc";
130 doLiteralTest(new ImapMemoryLiteral(createFixedLengthInputStream(CONTENT)), CONTENT);
135 final String CONTENT = "def";
136 ImapTempFileLiteral l = new ImapTempFileLiteral(createFixedLengthInputStream(CONTENT));
137 doLiteralTest(l, CONTENT);
145 private static void doLiteralTest(ImapString s, String content) throws IOException {
146 assertEquals(content, s.getString());
147 assertEquals(content, Utility.fromAscii(IOUtils.toByteArray(s.getAsStream())));
  /frameworks/av/include/drm/
drm_framework_common.h 110 * Field specifies the protected content type
112 static const int CONTENT = 0x01;
150 * Defines actions that can be performed on protected content
162 * Constant field signifies that the content can be played
166 * Constant field signifies that the content can be set as ring tone
170 * Constant field signifies that the content can be transfered
174 * Constant field signifies that the content can be set as output
182 * Constant field signifies that the content can be executed
186 * Constant field signifies that the content can displayed
208 * Constant field signifies that the rights are expired for the content
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
FileChannelLockingTest.java 44 private final String CONTENT = "The best things in life are nearest: Breath in your nostrils, light in your eyes, "
52 // Create a three temporary files with content.
58 writer.write(CONTENT);
FileChannelTest.java 59 private static final String CONTENT = "MYTESTSTRING needs to be a little long";
70 CONTENT_AS_BYTES = CONTENT.getBytes("iso8859-1");
77 private static final int CONTENT_LENGTH = CONTENT.length();
111 // to read content from FileChannel
260 * @param size the content size to be written
270 // we don't care about content - just need a particular file size
393 // reads the content left to readBuffer through read only file channel
398 // asserts the content read is the part which stays beyond the POSITION
430 // constructs the expected result which has content[0... POSITION] plus
431 // content[0...length()
    [all...]
  /cts/tests/tests/text/src/android/text/method/cts/
LinkMovementMethodTest.java 68 private static final String CONTENT = "clickable\nunclickable\nclickable";
85 // Set the content view with a text view which contains 3 lines,
88 mView.setText(CONTENT, BufferType.SPANNABLE);
95 mClickable0 = markClickable(0, CONTENT.indexOf('\n'));
97 mClickable1 = markClickable(CONTENT.lastIndexOf('\n'), CONTENT.length());
  /external/jsilver/src/com/google/clearsilver/jsilver/syntax/lexer/
Lexer.java 12 protected State state = State.CONTENT;
169 case 0: state = State.CONTENT; break;
    [all...]
  /frameworks/base/core/java/android/app/
SharedPreferencesImpl.java 20 import android.content.SharedPreferences;
59 private static final Object CONTENT = new Object();
219 mListeners.put(listener, CONTENT);
  /libcore/luni/src/test/java/libcore/java/nio/channels/
OldFileChannelTest.java 43 private static final String CONTENT = "MYTESTSTRING needs to be a little long";
55 private static final int CONTENT_LENGTH = CONTENT.length();
57 private static final byte[] CONTENT_AS_BYTES = CONTENT.getBytes();
73 // to read content from FileChannel
190 * @param size the content size to be written
200 // we don't care about content - just need a particular file size
778 String test = CONTENT.substring(pos);
    [all...]
  /frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
PduHeaders.java 77 public static final int CONTENT = 0xAE;
135 * X-Mms-DRM-Content |
298 * X-Mms-Content-Class field types.
  /packages/apps/Messaging/src/android/support/v7/mms/pdu/
PduHeaders.java 75 public static final int CONTENT = 0xAE;
133 * X-Mms-DRM-Content |
296 * X-Mms-Content-Class field types.
  /packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
PduHeaders.java 78 public static final int CONTENT = 0xAE;
136 * X-Mms-DRM-Content |
316 * X-Mms-Content-Class field types.
  /libcore/luni/src/test/java/libcore/java/security/
SignatureTest.java 569 private static final byte[] CONTENT = HexEncoding.decode(
605 sig.update(CONTENT);
    [all...]
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
EmailContent.java 19 import android.content.ContentProviderOperation;
20 import android.content.ContentProviderResult;
21 import android.content.ContentResolver;
22 import android.content.ContentUris;
23 import android.content.ContentValues;
24 import android.content.Context;
25 import android.content.OperationApplicationException;
26 import android.content.res.Resources;
56 * EmailContent is the superclass of the various classes of content stored by EmailProvider.
59 * methods for saving and retrieving content from the Provider
249 final T content = getContent(context, c, klass); local
352 EmailContent content = mContent.get(); local
364 T content = klass.newInstance(); local
603 String content = null; local
    [all...]
  /external/mesa3d/src/mesa/x86/
assyntax.h 338 #define CONTENT(a) CHOICE(a, a, (a)) /* take contents of variable */
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
ContactsDatabaseHelper.java 25 import android.content.ContentResolver;
26 import android.content.ContentValues;
27 import android.content.Context;
28 import android.content.Intent;
29 import android.content.pm.ApplicationInfo;
30 import android.content.pm.PackageManager;
31 import android.content.pm.PackageManager.NameNotFoundException;
32 import android.content.pm.UserInfo;
33 import android.content.res.Resources;
98 import com.android.common.content.SyncStateContentProviderHelper
    [all...]
  /prebuilts/tools/common/m2/repository/itext/itext/2.0.8/
itext-2.0.8.jar 

Completed in 782 milliseconds

1 2 3