/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())));
|
/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);
|
/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());
|
/build/tools/droiddoc/templates-sdk/ |
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"> 116 <?cs ######## HERE IS THE JD DOC CONTENT ######### ?> 138 <?cs ######## HERE IS THE JD DOC CONTENT FOR ONLINE ######### ?> 251 <?cs ######## HERE IS THE JD DOC CONTENT FOR OFFLINE ######### ?> 269 </div><!-- end jd-content -->
|
/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...] |
/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...] |
/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; 43 * EmailContent is the superclass of the various classes of content stored by EmailProvider. 46 * methods for saving and retrieving content from the Provider. 69 public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY) 176 T content = klass.newInstance(); local [all...] |
/frameworks/opt/mms/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/providers/ContactsProvider/src/com/android/providers/contacts/ |
SearchIndexManager.java | 18 import android.content.ContentValues; 116 return "Content: " + mSbContent + "\n Name: " + mSbTokens + "\n Tokens: " + mSbTokens; 121 String content = mSbElementContent.toString().replace('\n', ' '); local 122 if (!mUniqueElements.contains(content)) { 126 mSbContent.append(content); 127 mUniqueElements.add(content); 389 mValues.put(SearchIndexColumns.CONTENT, builder.getContent()); 449 * Example: "content:foo* name:a1b2c1* tokens:foo* content:bar* name:a2b3c2* tokens:bar*" 455 * Scopes each token to a the content column and also for name with normalization [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
IncludeFinder.java | 29 import static org.eclipse.core.resources.IResourceDelta.CONTENT; 502 * Finds the list of includes in the given XML content. It attempts quickly return 516 * Parses the given XML content and extracts all the included URLs and returns them 518 * @param xml layout XML content to be parsed for includes 692 if ((eventType & (CHANGED | ADDED | REMOVED | CONTENT)) == 0) { [all...] |
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
FwdLockEngine.cpp | 343 * 1. path and mime type both are not empty strings (meaning unavailable) else content is unknown 344 * 2. if one of them is empty string and if other is known then its a DRM Content Object. 350 return DrmObjectType::CONTENT; 495 // check for file integrity. This must be done to protect the content mangling.
|
/packages/apps/Email/src/com/android/email/provider/ |
DBHelper.java | 20 import android.content.ContentResolver; 21 import android.content.ContentValues; 22 import android.content.Context; 93 // Version 11: Add content and flags to attachment table 94 // Version 12: Add content_bytes to attachment table. content is deprecated. 442 + AttachmentColumns.CONTENT + " text, " 646 // Attachment: add content and flags columns [all...] |