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

<<31323334353637383940>>

  /packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/
BlockedNumberProvider.java 31 import android.database.Cursor;
238 public Cursor query(@NonNull Uri uri, @Nullable String[] projection, @Nullable String selection,
246 public Cursor query(@NonNull Uri uri, @Nullable String[] projection, @Nullable String selection,
252 Cursor cursor; local
255 cursor = queryBlockedList(projection, selection, selectionArgs, sortOrder,
259 cursor = queryBlockedListWithId(ContentUris.parseId(uri), projection, selection,
265 // Tell the cursor what uri to watch, so it knows when its source data changes
266 cursor.setNotificationUri(getContext().getContentResolver(), uri);
267 return cursor;
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/X11/extensions/
xfixesproto.h 57 #define Cursor CARD32
388 Cursor cursor B32;
399 Cursor cursor B32;
451 Cursor source B32;
452 Cursor destination B32;
461 Cursor source B32;
599 #undef Cursor
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
ContactsProvider2.java 43 import android.database.Cursor;
2566 final Cursor cursor = db.query(MetadataSyncQuery.TABLE, local
3424 Cursor cursor = null; local
4502 Cursor cursor = db.query(Views.RAW_CONTACTS, local
4542 Cursor cursor = db.query(RawContactsQuery.TABLE, RawContactsQuery.COLUMNS, local
4603 Cursor cursor = db.query(Tables.RAW_CONTACTS, local
4739 Cursor cursor = db.query(Views.CONTACTS, local
4797 Cursor cursor = db.query(Views.RAW_CONTACTS, local
4941 final Cursor cursor = db.query(RawContactsBackupQuery.TABLE, local
5299 Cursor cursor = db.rawQuery( local
5362 Cursor cursor = db.rawQuery("SELECT " + Contacts._ID + local
5530 final Cursor cursor = queryLocal(uri, projection, selection, selectionArgs, sortOrder, local
5594 Cursor cursor; local
5635 Cursor cursor = getContext().getContentResolver().query(remoteUri, projection, selection, local
5701 Cursor cursor = db.query( local
6066 Cursor cursor = db.rawQuery(unionQuery, doubledSelectionArgs); local
6805 Cursor cursor = doQuery(db, qb, projectionWithNumber, selection, selectionArgs, local
6970 final Cursor cursor = queryCorpContactsProvider( local
7023 final Cursor cursor = queryCorpContactsProvider( local
7065 Cursor cursor = local
9449 MatrixCursor cursor = new MatrixCursor(projection); local
9766 final Cursor cursor = db.rawQuery(rawContactIdSelect.toString(), null); local
9828 final Cursor cursor = db.query(DataUsageStatQuery.TABLE, local
9877 final Cursor cursor = db.query(DataUsageStatQuery.TABLE, local
    [all...]
  /packages/apps/Music/src/com/android/music/
MusicUtils.java 31 import android.database.Cursor;
309 public static long [] getSongListForCursor(Cursor cursor) {
310 if (cursor == null) {
313 int len = cursor.getCount();
315 cursor.moveToFirst();
318 colidx = cursor.getColumnIndexOrThrow(MediaStore.Audio.Playlists.Members.AUDIO_ID);
320 colidx = cursor.getColumnIndexOrThrow(MediaStore.Audio.Media._ID);
323 list[i] = cursor.getLong(colidx);
324 cursor.moveToNext()
333 Cursor cursor = query(context, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, local
349 Cursor cursor = query(context, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, local
362 Cursor cursor = query(context, MediaStore.Audio.Playlists.Members.getContentUri("external", plid), local
617 Cursor cursor = query(context, MediaStore.getMediaScannerUri(), local
1125 Cursor cursor = query(context, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, local
    [all...]
  /external/google-breakpad/src/testing/gtest/scripts/
pump.py 87 class Cursor:
120 return Cursor(self.line, self.column + offset)
123 return Cursor(self.line, self.column - offset)
128 return Cursor(self.line, self.column)
131 # Special cursor to indicate the end-of-file.
133 """Returns the special cursor to denote the end-of-file."""
134 return Cursor(-1, -1)
186 def FindFirst(lines, token_table, cursor):
189 start = cursor.Clone()
190 cur_line_number = cursor.lin
    [all...]
  /external/vulkan-validation-layers/tests/gtest-1.7.0/scripts/
pump.py 87 class Cursor:
120 return Cursor(self.line, self.column + offset)
123 return Cursor(self.line, self.column - offset)
128 return Cursor(self.line, self.column)
131 # Special cursor to indicate the end-of-file.
133 """Returns the special cursor to denote the end-of-file."""
134 return Cursor(-1, -1)
186 def FindFirst(lines, token_table, cursor):
189 start = cursor.Clone()
190 cur_line_number = cursor.lin
    [all...]
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
Utility.java 23 import android.database.Cursor;
184 Cursor c = resolver.query(HostAuth.CONTENT_URI, HostAuth.ID_PROJECTION,
191 Cursor c2 = resolver.query(Account.CONTENT_URI, Account.ID_PROJECTION,
512 T get(Cursor cursor, int column);
517 public Long get(Cursor cursor, int column) {
518 return cursor.getLong(column);
524 public Integer get(Cursor cursor, int column)
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/
LauncherProvider.java 34 import android.database.Cursor;
112 return "vnd.android.cursor.dir/" + args.table;
114 return "vnd.android.cursor.item/" + args.table;
144 public Cursor query(Uri uri, String[] projection, String selection,
153 Cursor result = qb.query(db, projection, args.where, args.args, null, null, sortOrder);
323 try (Cursor c = db.query(Favorites.TABLE_NAME, new String[] { Favorites.APPWIDGET_ID },
438 Cursor c = db.query(Favorites.TABLE_NAME,
619 Cursor c = getReadableDatabase().query(
    [all...]
  /packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
CalendarProvider2Test.java 29 import android.database.Cursor;
277 Cursor cursor = mResolver.query(mEventsUri, null, null, null, null); local
278 assertEquals(expected, cursor.getCount());
279 cursor.close();
293 Cursor cursor = mResolver.query(mEventsUri, null, null, null, null); local
294 dumpCursor(cursor);
295 cursor.close();
315 Cursor cursor = queryInstances(begin, end) local
340 Cursor cursor = queryInstances(begin, end); local
380 Cursor cursor = queryInstances(begin, end); local
467 Cursor cursor = queryInstances(begin, end); local
1236 Cursor cursor = mResolver.query(mEventsUri, new String[] { Events._ID }, local
1267 Cursor cursor = mResolver.query(mEventsUri, projection, local
1331 Cursor cursor = mResolver.query(mEventsUri, projection, local
1435 Cursor cursor = mResolver.query(Colors.CONTENT_URI, new String[] {Colors.COLOR_KEY}, local
1460 Cursor cursor = mResolver.query(Colors.CONTENT_URI, projection, Colors.COLOR_KEY local
1488 Cursor cursor = mResolver.query(mEventsUri, null, null, null, null); local
1548 Cursor cursor; local
1597 Cursor cursor; local
1836 Cursor cursor = null; local
1997 Cursor cursor = mResolver.query(CalendarContract.CalendarAlerts.CONTENT_URI, projection, local
2063 Cursor cursor = db.query("Events", null, null, null, null, null, null); local
2072 Cursor cursor = db.query("Events", null, Events.CALENDAR_ID + "=?", new String[] {calendar}, local
2124 Cursor cursor = mResolver.query(CalendarContract.Attendees.CONTENT_URI, null, local
2201 Cursor cursor = mResolver.query( local
2225 Cursor cursor = mResolver.query(uri, null\/* projection *\/, where, null \/* selectionArgs *\/, local
2509 Cursor cursor; local
2646 Cursor cursor = queryInstances(mResolver, PROJECTION, local
2830 Cursor cursor = mResolver.query(uri, null, null, null, null); local
2851 Cursor cursor = mResolver local
2895 Cursor cursor = mResolver.query(PROPERTIES_CONTENT_URI, null, null, null, null); local
2939 Cursor cursor = mResolver.query(PROPERTIES_CONTENT_URI, null, local
3001 Cursor cursor = mResolver.query(mCalendarsUri, local
3019 Cursor cursor = mResolver.query(mCalendarsUri, local
3098 Cursor cursor = mResolver.query(Calendars.CONTENT_URI, projection, selection, selectionArgs, local
3118 Cursor cursor = mResolver.query(Calendars.CONTENT_URI, projection, selection, selectionArgs, local
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/
MediaStore_Images_MediaTest.java 26 import android.database.Cursor;
99 Cursor c = Media.query(mContentResolver, Media.EXTERNAL_CONTENT_URI, null, null,
182 Cursor c = Media.query(mContentResolver, Uri.parse(stringUrl), new String[] { Media.DATA },
197 Cursor c = null;
254 Cursor c = mContentResolver.query(uri, null, null, null, null);
342 Cursor c = mContentResolver.query(Uri.parse(stringUrl), new String[]{ Media._ID }, null,
  /developers/build/prebuilts/gradle/StorageProvider/Application/src/main/java/com/example/android/storageprovider/
MyCloudProvider.java 24 import android.database.Cursor;
105 public Cursor queryRoots(String[] projection) throws FileNotFoundException {
108 // Create a cursor with either the requested fields, or the default projection. This
109 // cursor is returned to the Android system picker UI and used to display all roots from
113 // If user is not logged in, return an empty root cursor. This removes our provider from
120 // just add multiple cursor rows.
154 public Cursor queryRecentDocuments(String rootId, String[] projection)
162 // Create a cursor with the requested projection, or the default projection.
195 // Add the most recent files to the cursor, not exceeding the max number of results.
206 public Cursor querySearchDocuments(String rootId, String query, String[] projection
    [all...]
  /developers/samples/android/content/documentsUi/StorageProvider/Application/src/main/java/com/example/android/storageprovider/
MyCloudProvider.java 24 import android.database.Cursor;
105 public Cursor queryRoots(String[] projection) throws FileNotFoundException {
108 // Create a cursor with either the requested fields, or the default projection. This
109 // cursor is returned to the Android system picker UI and used to display all roots from
113 // If user is not logged in, return an empty root cursor. This removes our provider from
120 // just add multiple cursor rows.
154 public Cursor queryRecentDocuments(String rootId, String[] projection)
162 // Create a cursor with the requested projection, or the default projection.
195 // Add the most recent files to the cursor, not exceeding the max number of results.
206 public Cursor querySearchDocuments(String rootId, String query, String[] projection
    [all...]
  /development/samples/browseable/StorageProvider/src/com.example.android.storageprovider/
MyCloudProvider.java 24 import android.database.Cursor;
105 public Cursor queryRoots(String[] projection) throws FileNotFoundException {
108 // Create a cursor with either the requested fields, or the default projection. This
109 // cursor is returned to the Android system picker UI and used to display all roots from
113 // If user is not logged in, return an empty root cursor. This removes our provider from
120 // just add multiple cursor rows.
154 public Cursor queryRecentDocuments(String rootId, String[] projection)
162 // Create a cursor with the requested projection, or the default projection.
195 // Add the most recent files to the cursor, not exceeding the max number of results.
206 public Cursor querySearchDocuments(String rootId, String query, String[] projection
    [all...]
  /external/clang/tools/libclang/
CIndexHigh.cpp 147 static enum CXChildVisitResult findFileIdRefVisit(CXCursor cursor,
150 CXCursor declCursor = clang_getCursorReferenced(cursor);
160 cursor = cxcursor::getSelectorIdentifierCursor(data->SelectorIdIdx, cursor);
164 if ((cursor.kind == CXCursor_ObjCClassMethodDecl ||
165 cursor.kind == CXCursor_ObjCInstanceMethodDecl) &&
166 cxcursor::getSelectorIdentifierIndex(cursor) == -1)
169 if (clang_isExpression(cursor.kind)) {
170 if (cursor.kind == CXCursor_DeclRefExpr ||
171 cursor.kind == CXCursor_MemberRefExpr)
    [all...]
  /external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
EABDbUtil.java 41 import android.database.Cursor;
71 Cursor cursor = contentResolver.query(Contacts.CONTENT_URI, projection, selection, local
75 if (cursor != null) {
76 logger.debug("cursor count : " + cursor.getCount());
78 logger.debug("cursor = null");
81 if (cursor != null && cursor.moveToFirst()) {
83 String id = cursor.getString(cursor.getColumnIndex(Contacts._ID))
    [all...]
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
IccProvider.java 22 import android.database.Cursor;
88 public Cursor query(Uri url, String[] projection, String selection,
122 private Cursor loadAllSimContacts(int efType) {
123 Cursor [] result;
127 result = new Cursor[0];
130 result = new Cursor[subIdCount];
153 return "vnd.android.cursor.dir/sim-contact";
413 final MatrixCursor cursor = new MatrixCursor(ADDRESS_BOOK_COLUMN_NAMES, N); local
416 loadRecord(adnRecords.get(i), cursor, i); local
418 return cursor;
    [all...]
  /packages/apps/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/
BluetoothMapIMProvider.java 24 import android.database.Cursor;
304 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,
366 * @return a cursor to the accounts that are subject to exposure over BT.
368 abstract protected Cursor queryAccount(String[] projection, String selection,
385 * @return a cursor to query result
387 abstract protected Cursor queryMessage(String accountId, String[] projection, String selection,
404 * @return a cursor to query result
406 // abstract protected Cursor queryConversation(Long threadId, String[] projection,
410 * Query for conversations with contact information. The expected result is a cursor pointing
433 * @return a Cursor representing the query result
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/
Event.java 24 import android.database.Cursor;
230 Cursor cEvents = null;
231 Cursor cAllday = null;
305 * @return A Cursor of instances matching the selection
307 private static final Cursor instancesQuery(ContentResolver cr, String[] projection,
342 ArrayList<Event> events, Cursor cEvents, Context context, int startDay, int endDay) {
344 Log.e(TAG, "buildEventsFromCursor: null cursor or null events list!");
370 * @param cEvents Cursor pointing at event
371 * @return An event created from the cursor
373 private static Event generateEventFromCursor(Cursor cEvents)
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/month/
MonthByWeekFragment.java 26 import android.database.Cursor;
62 CalendarController.EventHandler, LoaderManager.LoaderCallbacks<Cursor>, OnScrollListener,
344 public Loader<Cursor> onCreateLoader(int id, Bundle args) {
385 public void onLoadFinished(Loader<Cursor> loader, Cursor data) {
388 Log.d(TAG, "Found " + data.getCount() + " cursor entries for uri " + mEventUri);
409 public void onLoaderReset(Loader<Cursor> loader) {
  /packages/apps/Gallery2/src/com/android/photos/data/
PhotoProvider.java 23 import android.database.Cursor;
282 Cursor cursor = query(uri, PROJECTION_MIME_TYPE, null, null, null); local
284 if (cursor.moveToNext()) {
285 mimeType = cursor.getString(0);
287 cursor.close();
308 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,
314 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,
321 Cursor c = query(table, projection, selection, selectionArgs, sortOrder, cancellationSignal);
518 protected Cursor query(String table, String[] columns, String selection
    [all...]
  /packages/apps/TV/src/com/android/tv/search/
TvProviderSearch.java 22 import android.database.Cursor;
217 try (Cursor c = mContentResolver.query(Channels.CONTENT_URI, projection, selection,
271 try (Cursor c = mContentResolver.query(uri, projection, null, null, null)) {
340 try (Cursor c = mContentResolver.query(Programs.CONTENT_URI, projection, selection,
366 try (Cursor cChannel = mContentResolver.query(Channels.CONTENT_URI,
502 try (Cursor c = mContentResolver.query(uri, projections, selection, selectionArgs,
  /packages/apps/TV/usbtuner/src/com/android/usbtuner/tvinput/
ChannelDataManager.java 25 import android.database.Cursor;
184 try (Cursor cursor = mContext.getContentResolver().query(TvContract.buildChannelUri(
186 if (cursor != null && cursor.moveToFirst()) {
187 data = cursor.getBlob(1);
222 try (Cursor cursor = mContext.getContentResolver().query(mChannelsUri,
224 if (cursor != null && cursor.moveToFirst())
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/widget/
WidgetService.java 26 import android.database.Cursor;
201 implements RemoteViewsService.RemoteViewsFactory, OnLoadCompleteListener<Cursor> {
219 private Cursor mConversationCursor;
285 // We also want this cursor to receive notifications on all changes. Any change that
329 // The Loader should close the cursor, so just unset the reference
349 // We are not using this as signal to requery the cursor. The query will be started
355 // for updates from the existing cursor. If one is seen, the loader will load a new
356 // cursor in the background.
406 LogUtils.e(LOG_TAG, "Failed to move to position %d in the cursor.", position);
524 public void onLoadComplete(Loader<Cursor> loader, Cursor data)
    [all...]
  /packages/providers/DownloadProvider/src/com/android/providers/downloads/
DownloadInfo.java 30 import android.database.Cursor;
58 private Cursor mCursor;
60 public Reader(ContentResolver resolver, Cursor cursor) {
62 mCursor = cursor;
111 Cursor cursor = mResolver.query(headerUri, null, null, null, null); local
114 cursor.getColumnIndexOrThrow(Downloads.Impl.RequestHeaders.COLUMN_HEADER);
116 cursor.getColumnIndexOrThrow(Downloads.Impl.RequestHeaders.COLUMN_VALUE);
117 for (cursor.moveToFirst(); !cursor.isAfterLast(); cursor.moveToNext())
    [all...]
DownloadNotifier.java 35 import android.database.Cursor;
71 * @see #buildNotificationTag(Cursor)
149 try (Cursor cursor = mContext.getContentResolver().query(
153 updateWithLocked(cursor);
158 private void updateWithLocked(Cursor cursor) {
163 while (cursor.moveToNext()) {
164 final String tag = buildNotificationTag(cursor);
171 cluster.add(cursor.getPosition())
    [all...]

Completed in 2223 milliseconds

<<31323334353637383940>>