HomeSort by relevance Sort by last modified time
    Searched refs:Cursor (Results 901 - 925 of 1452) sorted by null

<<31323334353637383940>>

  /cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/
TimeShiftTestActivity.java 20 import android.database.Cursor;
171 try (Cursor cursor = getContentResolver().query(
174 if (cursor != null && cursor.moveToNext()) {
176 TvContract.buildChannelUri(cursor.getLong(0)));
  /cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/
ExternalStorageTest.java 32 import android.database.Cursor;
191 Cursor cursor = null; local
193 cursor = dm.query(new Query().setFilterById(id));
194 assertTrue(cursor.moveToNext());
195 assertEquals(DownloadManager.STATUS_SUCCESSFUL, cursor.getInt(
196 cursor.getColumnIndex(DownloadManager.COLUMN_STATUS)));
198 cursor.getString(cursor.getColumnIndex(DownloadManager.COLUMN_LOCAL_URI)));
201 if (cursor != null)
    [all...]
  /cts/hostsidetests/services/windowmanager/dndtargetapp/src/android/wm/cts/dndtargetapp/
DropTarget.java 22 import android.database.Cursor;
182 Cursor cursor = null; local
184 cursor = getContentResolver().query(uri, null, null, null, null);
185 if (cursor == null) {
186 return "Null Cursor";
188 cursor.moveToPosition(0);
189 String value = cursor.getString(0);
195 if (cursor != null) {
196 cursor.close()
    [all...]
  /cts/tests/app/src/android/app/cts/
AlertDialog_BuilderCursorTest.java 29 import android.database.Cursor;
61 private Cursor mCursor;
145 // Close the cursor on the UI thread as the list view in the alert dialog
146 // will get notified of any change to the underlying cursor.
  /cts/tests/tests/database/src/android/database/sqlite/cts/
SQLiteCursorTest.java 22 import android.database.Cursor;
72 SQLiteCursor cursor = getCursor(); local
73 assertNotNull(cursor);
77 SQLiteCursor cursor = getCursor(); local
78 assertTrue(cursor.moveToFirst());
79 assertFalse(cursor.isClosed());
80 assertTrue(cursor.requery());
81 cursor.close();
82 assertFalse(cursor.requery());
84 cursor.moveToFirst()
92 SQLiteCursor cursor = getCursor(); local
149 SQLiteCursor cursor = getCursor(); local
192 SQLiteCursor cursor = getCursor(); local
205 SQLiteCursor cursor = (SQLiteCursor) mDatabase.query(TABLE_NAME, null, SELECTION, local
232 SQLiteCursor cursor = (SQLiteCursor) mDatabase.query(TABLE_NAME, null, null, local
    [all...]
SQLiteStatementTest.java 22 import android.database.Cursor;
130 Cursor c = mDatabase.query("test", null, null, null, null, null, null);
  /cts/tests/tests/networksecurityconfig/networksecurityconfig-downloadmanager/src/android/security/net/config/cts/
DownloadManagerTest.java 26 import android.database.Cursor;
172 Cursor cursor = null; local
176 cursor = dm.query(new DownloadManager.Query().setFilterById(id));
177 assertTrue(cursor.moveToNext());
178 assertEquals(DownloadManager.STATUS_SUCCESSFUL, cursor.getInt(
179 cursor.getColumnIndex(DownloadManager.COLUMN_STATUS)));
181 if (cursor != null) {
182 cursor.close();
  /cts/tests/tests/provider/src/android/provider/cts/
ContactsContract_StatusUpdatesTest.java 23 import android.database.Cursor;
148 Cursor cursor = mResolver.query(uri, null, null, null, null); local
150 assertTrue(cursor.moveToNext());
153 assertNotNull(cursor.getString(cursor.getColumnIndexOrThrow(
156 assertNull(cursor.getString(cursor.getColumnIndexOrThrow(
160 cursor.close();
ContactsContract_StreamItemsTest.java 24 import android.database.Cursor;
169 Cursor cursor = mResolver.query(uri, null, null, null, null); local
171 assertTrue(cursor.moveToFirst());
172 assertEquals(text, cursor.getString(
173 cursor.getColumnIndexOrThrow(StreamItems.TEXT)));
174 assertEquals(timestamp, cursor.getLong(
175 cursor.getColumnIndexOrThrow(StreamItems.TIMESTAMP)));
176 assertEquals(comments, cursor.getString(
177 cursor.getColumnIndexOrThrow(StreamItems.COMMENTS)))
    [all...]
Settings_SystemTest.java 22 import android.database.Cursor;
101 Cursor c = cr.query(System.CONTENT_URI, null, null, null, null);
  /developers/build/prebuilts/gradle/StorageClient/Application/src/main/java/com/example/android/storageclient/
StorageClientFragment.java 22 import android.database.Cursor;
224 Cursor cursor = getActivity().getContentResolver() local
228 // moveToFirst() returns false if the cursor has 0 rows. Very handy for
230 if (cursor != null && cursor.moveToFirst()) {
234 String displayName = cursor.getString(
235 cursor.getColumnIndex(OpenableColumns.DISPLAY_NAME));
238 int sizeIndex = cursor.getColumnIndex(OpenableColumns.SIZE);
245 if (!cursor.isNull(sizeIndex))
    [all...]
  /developers/build/prebuilts/gradle/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/
CalendarWatchFaceService.java 26 import android.database.Cursor;
258 final Cursor cursor = getContentResolver().query(builder.build(), local
260 int numMeetings = cursor.getCount();
  /developers/samples/android/content/documentsUi/StorageClient/Application/src/main/java/com/example/android/storageclient/
StorageClientFragment.java 22 import android.database.Cursor;
224 Cursor cursor = getActivity().getContentResolver() local
228 // moveToFirst() returns false if the cursor has 0 rows. Very handy for
230 if (cursor != null && cursor.moveToFirst()) {
234 String displayName = cursor.getString(
235 cursor.getColumnIndex(OpenableColumns.DISPLAY_NAME));
238 int sizeIndex = cursor.getColumnIndex(OpenableColumns.SIZE);
245 if (!cursor.isNull(sizeIndex))
    [all...]
  /developers/samples/android/wearable/wear/WatchFace/Wearable/src/main/java/com/example/android/wearable/watchface/
CalendarWatchFaceService.java 26 import android.database.Cursor;
258 final Cursor cursor = getContentResolver().query(builder.build(), local
260 int numMeetings = cursor.getCount();
  /development/samples/ApiDemos/src/com/example/android/apis/content/
PhotosContentJob.java 28 import android.database.Cursor;
159 Cursor cursor = null; local
162 cursor = getContentResolver().query(
165 while (cursor.moveToNext()) {
167 String dir = cursor.getString(PROJECTION_DATA);
173 sb.append(cursor.getInt(PROJECTION_ID));
182 if (cursor != null) {
183 cursor.close();
  /development/samples/MySampleRss/src/com/example/codelab/rssexample/
RssService.java 28 import android.database.Cursor;
50 private Cursor mCur; // RSS content provider cursor.
72 // Get a cursor over the RSS items.
143 // The cursor might have gone stale. Requery to be sure.
148 // Get the URL for the feed from the cursor.
  /development/samples/browseable/StorageClient/src/com.example.android.storageclient/
StorageClientFragment.java 22 import android.database.Cursor;
224 Cursor cursor = getActivity().getContentResolver() local
228 // moveToFirst() returns false if the cursor has 0 rows. Very handy for
230 if (cursor != null && cursor.moveToFirst()) {
234 String displayName = cursor.getString(
235 cursor.getColumnIndex(OpenableColumns.DISPLAY_NAME));
238 int sizeIndex = cursor.getColumnIndex(OpenableColumns.SIZE);
245 if (!cursor.isNull(sizeIndex))
    [all...]
  /development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
CalendarWatchFaceService.java 26 import android.database.Cursor;
258 final Cursor cursor = getContentResolver().query(builder.build(), local
260 int numMeetings = cursor.getCount();
  /external/chromium-trace/catapult/dashboard/dashboard/
change_internal_only.py 62 cursor: An urlsafe Cursor; this parameter is only given if we're part-way
84 cursor = self.request.get('cursor', None)
94 self._UpdateBot(bot_names[0], internal_only, cursor=cursor)
96 self._UpdateTest(test_key_urlsafe, internal_only, cursor=cursor)
109 def _UpdateBot(self, bot_name, internal_only, cursor=None):
114 if not cursor
    [all...]
  /external/selinux/policycoreutils/gui/
semanagePage.py 54 self.busy_cursor = gtk.gdk.Cursor(gtk.gdk.WATCH)
55 self.ready_cursor = gtk.gdk.Cursor(gtk.gdk.LEFT_PTR)
  /external/sfntly/cpp/src/test/tinyxml/
tinyxmlparser.cpp 177 const TiXmlCursor& Cursor() const { return cursor; }
186 cursor.row = row;
187 cursor.col = col;
190 TiXmlCursor cursor; member in class:TiXmlParsingData
207 int row = cursor.row;
208 int col = cursor.col;
305 cursor.row = row;
306 cursor.col = col;
307 assert( cursor.row >= -1 )
    [all...]
  /external/tinyxml/
tinyxmlparser.cpp 168 const TiXmlCursor& Cursor() { return cursor; }
177 cursor.row = row;
178 cursor.col = col;
181 TiXmlCursor cursor; member in class:TiXmlParsingData
198 int row = cursor.row;
199 int col = cursor.col;
296 cursor.row = row;
297 cursor.col = col;
298 assert( cursor.row >= -1 )
    [all...]
  /frameworks/base/core/java/android/provider/
BrowserContract.java 26 import android.database.Cursor;
330 public static final String CONTENT_TYPE = "vnd.android.cursor.dir/bookmark";
335 public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/bookmark";
452 public static final String CONTENT_TYPE = "vnd.android.cursor.dir/browser-history";
457 public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/browser-history";
475 public static final String CONTENT_TYPE = "vnd.android.cursor.dir/searches";
480 public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/searches";
581 public static final String CONTENT_TYPE = "vnd.android.cursor.dir/images";
586 public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/images";
654 public static final String CONTENT_TYPE = "vnd.android.cursor.dir/image_mappings"
720 Cursor cursor = null; local
    [all...]
  /frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DirectoryLoader.java 29 import android.database.Cursor;
120 Cursor cursor = null; local
123 cursor = client.query(
125 if (cursor == null) {
129 cursor.registerContentObserver(mObserver);
131 cursor = new RootCursorWrapper(mUri.getAuthority(), mRoot.rootId, cursor, -1);
135 cursor = new FilteringCursorWrapper(cursor, null, SEARCH_REJECT_MIMES)
    [all...]
QuickViewIntentBuilder.java 29 import android.database.Cursor;
135 Cursor cursor; local
141 // Cursor's are not guaranteed to be immutable. Hence, traverse it only once.
143 cursor = mModel.getItem(siblingIds[i]);
145 if (cursor == null) {
147 "Unable to obtain cursor for sibling document, modelId: "
152 mimeType = getCursorString(cursor, Document.COLUMN_MIME_TYPE);
160 id = getCursorString(cursor, Document.COLUMN_DOCUMENT_ID);
161 authority = getCursorString(cursor, RootCursorWrapper.COLUMN_AUTHORITY)
    [all...]

Completed in 1458 milliseconds

<<31323334353637383940>>