/external/clang/lib/Frontend/ |
SerializedDiagnosticReader.cpp | 69 enum class SerializedDiagnosticReader::Cursor { 75 llvm::ErrorOr<SerializedDiagnosticReader::Cursor> 86 return Cursor::BlockBegin; 91 return Cursor::BlockEnd; 103 return Cursor::Record; 119 llvm::ErrorOr<Cursor> Res = skipUntilRecordOrBlock(Stream, BlockOrCode); 124 case Cursor::Record: 126 case Cursor::BlockBegin: 129 case Cursor::BlockEnd: 160 llvm::ErrorOr<Cursor> Res = skipUntilRecordOrBlock(Stream, BlockOrCode) [all...] |
/cts/hostsidetests/appsecurity/test-apps/EncryptionApp/src/com/android/cts/encryptionapp/ |
AwareProvider.java | 23 import android.database.Cursor; 38 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,
|
UnawareProvider.java | 23 import android.database.Cursor; 38 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,
|
/cts/tests/tests/provider/src/android/provider/cts/ |
TelephonyProviderTest.java | 21 import android.database.Cursor; 92 Cursor cursor = mContentResolver.query(Carriers.CONTENT_URI, local
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
AutoComplete5.java | 23 import android.database.Cursor; 35 Cursor cursor = content.query(Contacts.CONTENT_URI, local 38 new AutoComplete4.ContactListAdapter(this, cursor);
|
List2.java | 20 import android.database.Cursor; 28 * data comes from a cursor. 36 // Get a cursor with all people 37 Cursor c = getContentResolver().query(Contacts.CONTENT_URI, 44 // Give the cursor to the list adatper
|
/external/llvm/lib/CodeGen/ |
InterferenceCache.h | 48 /// RefCount - The total number of Cursor instances referring to this Entry. 170 /// Cursor - The primary query interface for the block interference cache. 171 class Cursor { 188 /// Cursor - Create a dangling cursor. 189 Cursor() : CacheEntry(nullptr), Current(nullptr) {} 190 ~Cursor() { setEntry(nullptr); } 192 Cursor(const Cursor &O) : CacheEntry(nullptr), Current(nullptr) { 196 Cursor &operator=(const Cursor &O) [all...] |
/frameworks/base/core/java/android/content/ |
CursorLoader.java | 19 import android.database.Cursor; 29 * A loader that queries the {@link ContentResolver} and returns a {@link Cursor}. 31 * querying cursors, building on {@link AsyncTaskLoader} to perform the cursor 42 public class CursorLoader extends AsyncTaskLoader<Cursor> { 51 Cursor mCursor; 56 public Cursor loadInBackground() { 64 Cursor cursor = getContext().getContentResolver().query(mUri, mProjection, mSelection, local 66 if (cursor != null) { 68 // Ensure the cursor window is filled [all...] |
/frameworks/base/core/java/android/database/ |
CrossProcessCursorWrapper.java | 20 import android.database.Cursor; 25 * Cursor wrapper that implements {@link CrossProcessCursor}. 27 * If the wrapped cursor implements {@link CrossProcessCursor}, then the wrapper 30 * traverse the contents of the cursor similar to {@link AbstractCursor#fillWindow}. 32 * This wrapper can be used to adapt an ordinary {@link Cursor} into a 38 * Creates a cross process cursor wrapper. 39 * @param cursor The underlying cursor to wrap. 41 public CrossProcessCursorWrapper(Cursor cursor) { [all...] |
/frameworks/base/core/tests/coretests/EnabledTestApp/src/com/android/frameworks/coretests/enabled_app/ |
DisabledProvider.java | 21 import android.database.Cursor; 34 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,
|
EnabledProvider.java | 21 import android.database.Cursor; 34 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,
|
/frameworks/base/core/tests/coretests/apks/install_complete_package_info/src/com/android/frameworks/coretests/ |
TestProvider.java | 22 import android.database.Cursor; 33 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,
|
TestReceiver.java | 22 import android.database.Cursor; 33 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,
|
/frameworks/base/core/tests/coretests/apks/version/src/com/android/frameworks/coretests/version_test/ |
NullProvider.java | 5 import android.database.Cursor; 15 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,
|
/frameworks/base/core/tests/coretests/apks/version_nosys/src/com/android/frameworks/coretests/version_test/ |
NullProvider.java | 5 import android.database.Cursor; 15 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,
|
/frameworks/base/test-runner/src/android/test/ |
DatabaseTestUtils.java | 22 import android.database.Cursor; 47 Cursor entityCursor = db.rawQuery("SELECT sql FROM sqlite_master", null);
|
/frameworks/support/core-utils/java/android/support/v4/content/ |
CursorLoader.java | 21 import android.database.Cursor; 37 public class CursorLoader extends AsyncTaskLoader<Cursor> { 46 Cursor mCursor; 51 public Cursor loadInBackground() { 59 Cursor cursor = ContentResolverCompat.query(getContext().getContentResolver(), local 62 if (cursor != null) { 64 // Ensure the cursor window is filled. 65 cursor.getCount(); 66 cursor.registerContentObserver(mObserver) [all...] |
/packages/apps/Contacts/src/com/android/contacts/list/ |
LegacyPhoneNumberListAdapter.java | 21 import android.database.Cursor; 33 * A cursor adapter for the Phones.CONTENT_TYPE content type. 70 return ((Cursor)getItem(position)).getString(PHONE_DISPLAY_NAME_COLUMN_INDEX); 74 Cursor cursor = ((Cursor)getItem(position)); local 75 long id = cursor.getLong(PHONE_ID_COLUMN_INDEX); 81 Context context, int partition, Cursor cursor, int position, ViewGroup parent) { 83 super.newView(context, partition, cursor, position, parent) [all...] |
LegacyPostalAddressListAdapter.java | 21 import android.database.Cursor; 33 * A cursor adapter for the ContactMethods.CONTENT_TYPE content type. 71 return ((Cursor)getItem(position)).getString(POSTAL_DISPLAY_NAME_COLUMN_INDEX); 75 Cursor cursor = ((Cursor)getItem(position)); local 76 long id = cursor.getLong(POSTAL_ID_COLUMN_INDEX); 82 Context context, int partition, Cursor cursor, int position, ViewGroup parent) { 89 protected void bindView(View itemView, int partition, Cursor cursor, int position) [all...] |
/packages/apps/Dialer/src/com/android/dialer/dialpad/ |
SmartDialCursorLoader.java | 22 import android.database.Cursor; 36 * Implements a Loader<Cursor> class to asynchronously load SmartDial search results. 38 public class SmartDialCursorLoader extends AsyncTaskLoader<Cursor> { 45 private Cursor mCursor; 73 * @return Cursor of contacts that matches the SmartDial query. 76 public Cursor loadInBackground() { 95 /** Constructs a cursor for the returned array of results. */ 96 final MatrixCursor cursor = new MatrixCursor(PhoneQuery.PROJECTION_PRIMARY); local 106 cursor.addRow(row); 108 return cursor; [all...] |
/packages/apps/Email/src/com/android/email/activity/ |
InsertQuickResponseDialog.java | 28 import android.database.Cursor; 118 final Cursor c = (Cursor) listView.getItemAtPosition(position); 128 getLoaderManager().initLoader(0, null, new LoaderManager.LoaderCallbacks<Cursor>() { 130 public Loader<Cursor> onCreateLoader(int id, Bundle args) { 136 public void onLoadFinished(Loader<Cursor> loader, Cursor data) { 141 public void onLoaderReset(Loader<Cursor> loader) {
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
AccountSettingsEditQuickResponsesFragment.java | 30 import android.database.Cursor; 87 getLoaderManager().initLoader(0, null, new LoaderManager.LoaderCallbacks<Cursor>() { 89 public Loader<Cursor> onCreateLoader(int id, Bundle args) { 95 public void onLoadFinished(Loader<Cursor> loader, Cursor data) { 100 public void onLoaderReset(Loader<Cursor> loader) { 130 final Cursor c = (Cursor) listView.getItemAtPosition(position);
|
/packages/apps/Messaging/src/com/android/messaging/ui/photoviewer/ |
BuglePhotoPageAdapter.java | 20 import android.database.Cursor; 28 public BuglePhotoPageAdapter(Context context, FragmentManager fm, Cursor c, float maxScale,
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
CursorBackedSourceResult.java | 19 import android.database.Cursor; 34 public CursorBackedSourceResult(GoogleSource source, String userQuery, Cursor cursor) { 35 super(userQuery, cursor);
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
SuggestionsProvider.java | 20 import android.database.Cursor; 66 public Cursor query(String query) { 67 Cursor mergeCursor = null; 93 ArrayList<Cursor> cursors = new ArrayList<Cursor>(); 96 final Cursor c = super.query(query); 106 mergeCursor = new MergeCursor(cursors.toArray(new Cursor[cursors.size()])); 113 * Utility class to return a cursor over the contacts database 121 * Searches over the contacts cursor with the specified query as the starting characters to 124 * @return a cursor over the contacts database with the contacts matching the query 129 final Cursor cursor = mContext.getContentResolver().query( local [all...] |