/frameworks/base/core/tests/coretests/src/android/database/ |
H A D | DatabaseCursorTest.java | 111 // use cursor to access blob 150 // The cursor should ignore text before the last period when looking for a column. (This 266 public TestObserver(int total_, SQLiteCursor cursor) { argument 267 c = cursor; 330 // if cursor window size changed, adjust this value too 361 // if cursor window size changed, adjust this value too 466 // Our hacked requery() changes the query arguments in the cursor. 475 // Test that setting query args on a deactivated cursor also works. 494 Cursor cursor = mDatabase.rawQuery("select * from test", null); 495 cursor [all...] |
/frameworks/opt/telephony/src/java/android/provider/ |
H A D | Telephony.java | 1298 Cursor cursor = SqliteWrapper.query(context, context.getContentResolver(), 1300 if (cursor != null) { 1302 if (cursor.moveToFirst()) { 1303 return cursor.getLong(0); 1308 cursor.close();
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | CallerInfoAsyncQuery.java | 201 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { argument 239 mCallerInfo = CallerInfo.getCallerInfo(mQueryContext, mQueryUri, cursor);
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
H A D | VCardVerifier.java | 350 final Cursor cursor = resolver.query(CONTACTS_TEST_CONTENT_URI, null, null, null, null); 351 if (!composer.init(cursor)) {
|
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/ |
H A D | PduPersister.java | 938 Cursor cursor = null; 940 cursor = context.getContentResolver().query(uri, projection, null, 942 if (null == cursor || 0 == cursor.getCount() || !cursor.moveToFirst()) { 946 int pathIndex = cursor.getColumnIndexOrThrow(MediaStore.MediaColumns.DATA); 947 path = cursor.getString(pathIndex); 952 if (null != cursor) { 953 cursor.close();
|
/frameworks/base/core/java/android/content/ |
H A D | ContentProviderNative.java | 113 Cursor cursor = query(url, projection, selection, selectionArgs, sortOrder, 115 if (cursor != null) { 117 cursor, observer, getProviderName());
|
H A D | ContentResolver.java | 135 public static final String CURSOR_ITEM_BASE_TYPE = "vnd.android.cursor.item"; 151 * in the cursor is the same. 153 public static final String CURSOR_DIR_BASE_TYPE = "vnd.android.cursor.dir"; 393 // Wrap the cursor object into CursorWrapperInner object 1852 CursorWrapperInner(Cursor cursor, IContentProvider icp) { argument 1853 super(cursor);
|
/frameworks/base/core/tests/coretests/src/android/content/ |
H A D | ContentProviderOperationTest.java | 142 // Assert that values match from cursor 146 // Return cursor over specific set of values 161 // Assert that values match from cursor 165 // Return cursor over specific set of values 177 // Assert that values match from cursor 181 // Return cursor over specific set of values 193 // Assert that values match from cursor 197 // Return cursor over specific set of values 222 final MatrixCursor cursor = new MatrixCursor(keys); 224 cursor [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | QuickSettings.java | 237 final Cursor cursor = context.getContentResolver().query( 240 if (cursor != null) { 242 if (cursor.moveToFirst()) { 243 name = cursor.getString(cursor.getColumnIndex(Phone.DISPLAY_NAME)); 246 cursor.close();
|
/frameworks/opt/vcard/java/com/android/vcard/ |
H A D | VCardComposer.java | 293 * Cursor cursor = mContentResolver.query( 409 public boolean init(Cursor cursor) { argument 414 mCursor = cursor;
|
/frameworks/base/services/java/com/android/server/location/ |
H A D | GpsLocationProvider.java | 1559 Cursor cursor = mContext.getContentResolver().query(uri, new String[] {"apn"}, 1562 if (null != cursor) { 1564 if (cursor.moveToFirst()) { 1565 apn = cursor.getString(0); 1568 cursor.close();
|
/frameworks/base/core/java/android/provider/ |
H A D | Settings.java | 5808 * @param cursor A cursor pointing to the row whose title should be 5809 * returned. The cursor must contain at least the {@link #TITLE} 5814 public static CharSequence getTitle(Context context, Cursor cursor) { argument 5815 int titleColumn = cursor.getColumnIndex(TITLE); 5816 int intentColumn = cursor.getColumnIndex(INTENT); 5819 "The cursor must contain the TITLE and INTENT columns."); 5822 String title = cursor.getString(titleColumn); 5827 String intentUri = cursor.getString(intentColumn);
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebViewCore.java | 423 Cursor cursor = mContext.getContentResolver().query( 427 if (cursor != null) { 429 if (cursor.moveToNext()) { 430 filePath = cursor.getString(0); 433 cursor.close(); 1103 // Used to tell the focus controller not to draw the blinking cursor, 1105 // cursor matches the webpage's focus. 3120 * Inserts text at the current cursor position. If the currently-focused 3121 * node does not have a cursor position then this function does nothing.
|
/frameworks/base/core/java/android/widget/ |
H A D | GridLayout.java | 1384 int cursor = result.length - 1; 1394 result[cursor--] = arc; 1414 assert cursor == -1;
|
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
H A D | GridLayout.java | 1306 int cursor = result.length - 1; 1316 result[cursor--] = arc; 1335 assert cursor == -1;
|
/frameworks/base/core/java/android/app/ |
H A D | Activity.java | 731 ManagedCursor(Cursor cursor) { argument 732 mCursor = cursor; 1054 * where the cursor should be requeried (because you had deactivated it in 1689 * <p><strong>Warning:</strong> Do not call {@link Cursor#close()} on a cursor obtained using 1691 * you call {@link #stopManagingCursor} on a cursor from a managed query, the system <em>will 1692 * not</em> automatically close the cursor and, in that case, you must call 1729 * <p><strong>Warning:</strong> Do not call {@link Cursor#close()} on a cursor obtained using 1731 * you call {@link #stopManagingCursor} on a cursor from a managed query, the system <em>will 1732 * not</em> automatically close the cursor and, in that case, you must call 1770 * <p><strong>Warning:</strong> Do not call {@link Cursor#close()} on cursor obtaine [all...] |