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

1 2

  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
ScannerParseLargeFileBenchmarkTest.java 43 static final char[] CONTENT = "large file!\n".toCharArray();
67 buf[i] = CONTENT[(i + position) % CONTENT.length];
71 position = (length + position) % CONTENT.length;
  /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())));
  /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/emma/core/java12/com/vladium/emma/report/html/doc/
Attribute.java 28 public static final Attribute CONTENT = new AttributeImpl ("CONTENT");
HTMLDocument.java 41 .set (Attribute.HTTP_EQUIV, "Content-Type")
42 .set (Attribute.CONTENT, "text/html; charset=" + encoding);
109 public IElementList add (final IContent content)
111 m_body.add (content);
  /external/smack/src/com/kenai/jbosh/
Attributes.java 41 static final BodyQName CONTENT = BodyQName.createBOSH("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...]
  /development/samples/MySampleRss/src/com/example/codelab/rssexample/
MyRssReader4.java 20 import android.content.ContentValues;
21 import android.content.Context;
22 import android.content.Intent;
130 // Create our content URI by adding the ID of the currently selected item using a
155 vals.put(RssContentProvider.CONTENT, data.getStringExtra(RssContentProvider.CONTENT));
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," +
AddRssItem.java 20 import android.content.Intent;
51 res.putExtra(RssContentProvider.CONTENT, "<html><body><h2>Not updated yet.</h2></body></html>");
MyRssReader5.java 20 import android.content.ContentValues;
21 import android.content.Context;
22 import android.content.Intent;
87 String content = ""; local
89 content = mCur.getString(mCur.getColumnIndex(RssContentProvider.CONTENT));
90 mLogger.info("MyRssReader5 content string:" + content);
95 mLogger.warning("MyRssReader5.onItemSelected() couldn't get the content" +
98 mWebView.loadData(content, "text/html", null)
    [all...]
RssService.java 22 import android.content.Intent;
23 import android.content.SharedPreferences;
29 import android.content.ContentResolver;
50 private Cursor mCur; // RSS content provider cursor.
173 // items), then update the content, date, and hasBeenRead fields.
183 int contentColumnIndex = mCur.getColumnIndex(RssContentProvider.CONTENT);
200 // Get the <pubDate> content from a feed and return a
  /external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/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 57 private static final String CONTENT = "MYTESTSTRING needs to be a little long";
68 CONTENT_AS_BYTES = CONTENT.getBytes("iso8859-1");
75 private static final int CONTENT_LENGTH = CONTENT.length();
105 // to read content from FileChannel
313 * @param size the content size to be written
323 // we don't care about content - just need a particular file size
446 // reads the content left to readBuffer through read only file channel
451 // asserts the content read is the part which stays beyond the POSITION
483 // constructs the expected result which has content[0... POSITION] plus
484 // content[0...length()
    [all...]
  /external/chromium/chrome/browser/bookmarks/
bookmark_html_writer.cc 20 #include "content/browser/browser_thread.h"
21 #include "content/common/notification_source.h"
38 "<META HTTP-EQUIV=\"Content-Type\""
39 " CONTENT=\"text/html; charset=UTF-8\">\r\n"
152 // Actual content, eg foo in <h1>foo</h2>.
153 CONTENT
202 case CONTENT:
271 !Write(title, CONTENT) ||
307 if (!Write(title, CONTENT) ||
  /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...]
  /cts/tests/tests/text/src/android/text/method/cts/
LinkMovementMethodTest.java 46 private static final String CONTENT = "clickable\nunclickable\nclickable";
67 // Set the content view with a text view which contains 3 lines,
69 mView.setText(CONTENT, BufferType.SPANNABLE);
79 mClickable0 = markClickable(0, CONTENT.indexOf('\n'));
81 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...]
  /build/tools/droiddoc/templates-pdk/
docpage.cs 8 <div class="g-unit" id="doc-content"><a name="top"></a>
20 <?cs # THIS IS THE MAIN DOC CONTENT ?>
21 <div id="jd-content">
97 </div> <!-- end jd-content -->
100 </div><!-- end doc-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...]
  /build/tools/droiddoc/templates-ds/
sdkpage.cs 7 <meta http-equiv="refresh" content="0;url=<?cs var:toroot ?>sdk/<?cs
31 <div id="jd-content">
52 <div id="jd-content" itemprop="description">
115 <?cs ######## HERE IS THE JD DOC CONTENT ######### ?>
187 <?cs ######## HERE IS THE JD DOC CONTENT FOR ONLINE ######### ?>
310 </div><!-- end col-13 for lower-half content -->
460 <?cs ######## HERE IS THE JD DOC CONTENT FOR OFFLINE ######### ?>
478 </div><!-- end jd-content -->
  /build/tools/droiddoc/templates-sac/
sdkpage.cs 7 <meta http-equiv="refresh" content="0;url=<?cs var:toroot ?>sdk/<?cs
30 <div id="jd-content">
51 <div id="jd-content" itemprop="description">
114 <?cs ######## HERE IS THE JD DOC CONTENT ######### ?>
186 <?cs ######## HERE IS THE JD DOC CONTENT FOR ONLINE ######### ?>
309 </div><!-- end col-13 for lower-half content -->
459 <?cs ######## HERE IS THE JD DOC CONTENT FOR OFFLINE ######### ?>
477 </div><!-- end jd-content -->
  /build/tools/droiddoc/templates-sdk/
sdkpage.cs 7 <meta http-equiv="refresh" content="0;url=<?cs var:toroot ?>sdk/<?cs
30 <div id="jd-content">
51 <div id="jd-content" itemprop="description">
141 <?cs ######## HERE IS THE JD DOC CONTENT ######### ?>
213 <?cs ######## HERE IS THE JD DOC CONTENT FOR ONLINE ######### ?>
336 </div><!-- end col-13 for lower-half content -->
486 <?cs ######## HERE IS THE JD DOC CONTENT FOR OFFLINE ######### ?>
504 </div><!-- end jd-content -->
  /external/libxml2/
HTMLparser.c 266 * Macros for accessing the content. Those should be used only by the parser,
379 cur = xmlStrcasestr(cur, BAD_CAST "CONTENT");
643 /* placeholders: elts with content but no subelements */
731 static const char* const content_attr[] = { "content", NULL } ;
3550 const xmlChar *content = NULL; local
6146 xmlChar *content, *content_line = (xmlChar *) "charset="; local
    [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;
44 * EmailContent is the superclass of the various classes of content stored by EmailProvider.
47 * methods for saving and retrieving content from the Provider.
70 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY)
179 T content = klass.newInstance(); local
    [all...]

Completed in 1033 milliseconds

1 2