/cts/hostsidetests/appsecurity/test-apps/PermissionDeclareAppCompat/src/com/android/cts/permissiondeclareappcompat/ |
AmbiguousContentProvider.java | 21 import android.database.Cursor; 55 public Cursor query(Uri uri, String[] projection, String selection,
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/feature/src/com/android/cts/splitapp/ |
FeatureProvider.java | 21 import android.database.Cursor; 61 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,
|
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/ |
BasicContentProvider.java | 21 import android.database.Cursor; 55 public Cursor query(Uri uri, String[] projection, String selection,
|
/cts/hostsidetests/services/windowmanager/dndsourceapp/src/android/wm/cts/dndsourceapp/ |
DragSourceContentProvider.java | 22 import android.database.Cursor; 43 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,
|
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsContract_ProviderStatus.java | 22 import android.database.Cursor; 69 Cursor cursor = mResolver.query(ProviderStatus.CONTENT_URI, null, null, null, null); local 73 assertEquals(1, cursor.getCount()); 74 cursor.moveToFirst(); 77 DatabaseAsserts.assertCursorValuesMatchExactly(cursor, values); 79 if (cursor != null) { 80 cursor.close();
|
/cts/tests/tests/telephony/src/android/telephony/cts/ |
MmsPduProvider.java | 21 import android.database.Cursor; 39 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,
|
/developers/build/prebuilts/gradle/ActionBarCompat-ShareActionProvider/Application/src/main/java/com/example/android/actionbarcompat/shareactionprovider/content/ |
AssetProvider.java | 23 import android.database.Cursor; 62 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,
|
/development/samples/ApiDemos/src/com/example/android/apis/os/ |
MmsFileProvider.java | 27 import android.database.Cursor; 44 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,
|
/development/samples/BusinessCard/src/com/example/android/businesscard/ |
ContactAccessorSdk3_4.java | 22 import android.database.Cursor; 57 Cursor cursor = contentResolver.query(contactUri, local 60 if (cursor.moveToFirst()) { 61 contactInfo.setDisplayName(cursor.getString(0)); 64 cursor.close(); 68 cursor = contentResolver.query(phoneUri, 72 if (cursor.moveToFirst()) { 73 contactInfo.setPhoneNumber(cursor.getString(0)); 76 cursor.close() [all...] |
ContactAccessorSdk5.java | 21 import android.database.Cursor; 63 Cursor cursor = contentResolver.query(contactUri, local 66 if (cursor.moveToFirst()) { 67 contactId = cursor.getLong(0); 68 contactInfo.setDisplayName(cursor.getString(1)); 71 cursor.close(); 75 cursor = contentResolver.query(Phone.CONTENT_URI, 79 if (cursor.moveToFirst()) { 80 contactInfo.setPhoneNumber(cursor.getString(0)) [all...] |
/development/samples/NotePad/src/com/example/android/notepad/ |
TitleEditor.java | 21 import android.database.Cursor; 49 // The position of the title column in a Cursor returned by the provider. 52 // A Cursor object that will contain the results of querying the provider for a note. 53 private Cursor mCursor; 108 // Cursor object is not null. If it is *empty*, then mCursor.getCount() == 0. 111 // The Cursor was just retrieved, so its index is set to one record *before* the first 136 // Cursor object is not null. If it is *empty*, then mCursor.getCount() == 0.
|
/development/samples/browseable/ActionBarCompat-ShareActionProvider/src/com.example.android.actionbarcompat.shareactionprovider/content/ |
AssetProvider.java | 23 import android.database.Cursor; 62 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,
|
/development/tutorials/NotepadCodeLab/Notepadv1Solution/src/com/android/demo/notepad1/ |
Notepadv1.java | 20 import android.database.Cursor; 67 Cursor c = mDbHelper.fetchAllNotes();
|
/external/clang/tools/libclang/ |
CXCursor.h | 66 /// \brief Unpack an ObjCSuperClassRef cursor into the interface it references 76 /// \brief Unpack an ObjCProtocolRef cursor into the protocol it references 86 /// \brief Unpack an ObjCClassRef cursor into the class it references 95 /// \brief Unpack a TypeRef cursor into the class it references 103 /// \brief Unpack a TemplateRef cursor into the template it references and 113 /// \brief Unpack a NamespaceRef cursor into the namespace or namespace alias 121 /// \brief Unpack a VariableRef cursor into the variable it references and the 129 /// \brief Unpack a MemberRef cursor into the field it references and the 133 /// \brief Create a CXX base specifier cursor. 137 /// \brief Unpack a CXXBaseSpecifier cursor into a CXXBaseSpecifier [all...] |
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/ |
GwtCursor.java | 20 import com.badlogic.gdx.graphics.Cursor;
25 public class GwtCursor implements Cursor {
35 throw new GdxRuntimeException("Cursor image pixmap is not in RGBA8888 format.");
39 throw new GdxRuntimeException("Cursor image pixmap width of " + pixmap.getWidth()
44 throw new GdxRuntimeException("Cursor image pixmap height of " + pixmap.getHeight()
80 throw new GdxRuntimeException("Unknown system cursor " + systemCursor);
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
ContentProviderTest.java | 13 import android.database.Cursor; 44 public Cursor query(Uri arg0, String[] arg1, String arg2,
|
/external/svox/pico/src/com/svox/pico/providers/ |
SettingsProvider.java | 20 import android.database.Cursor;
81 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,
84 SettingsCursor cursor = new SettingsCursor(dummyColumns);
local 85 cursor.putSettings(Environment.getExternalStorageDirectory() + "/svox/");
86 return cursor;
|
/frameworks/base/core/java/android/database/ |
DatabaseUtils.java | 45 * Static utility methods for dealing with databases and {@link Cursor}s. 223 * <li>{@link Cursor#FIELD_TYPE_NULL}</li> 224 * <li>{@link Cursor#FIELD_TYPE_INTEGER}</li> 225 * <li>{@link Cursor#FIELD_TYPE_FLOAT}</li> 226 * <li>{@link Cursor#FIELD_TYPE_STRING}</li> 227 * <li>{@link Cursor#FIELD_TYPE_BLOB}</li> 237 return Cursor.FIELD_TYPE_NULL; 239 return Cursor.FIELD_TYPE_BLOB; 241 return Cursor.FIELD_TYPE_FLOAT; 244 return Cursor.FIELD_TYPE_INTEGER [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListManagedCursor.java | 21 import android.database.Cursor; 38 // Get a cursor with all people 39 Cursor c = getContentResolver().query(Settings.System.CONTENT_URI, null, null, null, null); 45 // Give the cursor to the list adatper
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
RecentsLoader.java | 27 import android.database.Cursor; 56 // TODO: clean up cursor ownership so background thread doesn't traverse 141 List<Cursor> cursors = new ArrayList<>(); 145 final Cursor cursor = task.get(); local 146 if (cursor == null) continue; 149 cursor, mState.acceptMimes, RECENT_REJECT_MIMES, rejectBefore) { 152 // Ignored, since we manage cursor lifecycle internally 176 final Cursor merged; 178 merged = new MergeCursor(cursors.toArray(new Cursor[cursors.size()])) 293 final Cursor cursor = client.query( local [all...] |
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
DocumentLoaderTest.java | 20 import android.database.Cursor; 78 final Cursor cursor = mLoader.queryChildDocuments( local 80 assertEquals(DocumentLoader.NUM_INITIAL_ENTRIES, cursor.getCount()); 88 final Cursor cursor = mLoader.queryChildDocuments( local 92 cursor.getCount()); 99 final Cursor cursor = mLoader.queryChildDocuments( local 101 assertEquals(40, cursor.getCount()) [all...] |
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
SingleUserProvider.java | 21 import android.database.Cursor; 35 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/content/ |
SharingSupportProvider.java | 21 import android.database.Cursor; 45 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs,
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/graphics/ |
PaletteActivity.java | 21 import android.database.Cursor; 66 implements LoaderManager.LoaderCallbacks<Cursor> { 150 public Loader<Cursor> onCreateLoader(int id, Bundle bundle) { 161 public void onLoadFinished(Loader<Cursor> cursorLoader, Cursor cursor) { 162 mAdapter.swapCursor(cursor); 166 public void onLoaderReset(Loader<Cursor> cursorLoader) { 174 public PhotosCursorAdapter(Context context, Cursor c) { 188 public void bindView(final View view, Context context, Cursor cursor) [all...] |
/packages/apps/Contacts/src/com/android/contacts/list/ |
EmailAddressListAdapter.java | 21 import android.database.Cursor; 37 * A cursor adapter for the {@link Email#CONTENT_TYPE} content type. 112 return ((Cursor) getItem(position)).getString(EmailQuery.EMAIL_DISPLAY_NAME); 116 * Builds a {@link Data#CONTENT_URI} for the current cursor 120 long id = ((Cursor) getItem(position)).getLong(EmailQuery.EMAIL_ID); 126 Context context, int partition, Cursor cursor, int position, ViewGroup parent) { 127 ContactListItemView view = super.newView(context, partition, cursor, position, parent); 134 protected void bindView(View itemView, int partition, Cursor cursor, int position) [all...] |