/frameworks/base/core/java/android/database/ |
CursorWindow.aidl | 19 parcelable CursorWindow;
|
CrossProcessCursor.java | 24 * filling {@link CursorWindow} objects using {@link #fillWindow}. As an optimization, 39 CursorWindow getWindow(); 61 void fillWindow(int position, CursorWindow window);
|
CrossProcessCursorWrapper.java | 21 import android.database.CursorWindow; 46 public void fillWindow(int position, CursorWindow window) { 57 public CursorWindow getWindow() {
|
AbstractWindowedCursor.java | 20 * A base class for Cursors that store their data in {@link CursorWindow}s. 40 protected CursorWindow mWindow; 139 throw new StaleDataException("Attempting to access a closed CursorWindow." + 145 public CursorWindow getWindow() { 162 public void setWindow(CursorWindow window) { 198 mWindow = new CursorWindow(name);
|
CursorWindow.java | 34 * A {@link CursorWindow} is read-write when initially created and used locally. 41 public class CursorWindow extends SQLiteClosable implements Parcelable { 52 * The native CursorWindow object pointer. (FOR INTERNAL USE ONLY) 99 public CursorWindow(String name) { 122 * cursor windows. Use the {@link #CursorWindow(String)} constructor instead. 125 public CursorWindow(boolean localWindow) { 129 private CursorWindow(Parcel source) { 678 public static final Parcelable.Creator<CursorWindow> CREATOR 679 = new Parcelable.Creator<CursorWindow>() { 680 public CursorWindow createFromParcel(Parcel source) [all...] |
BulkCursorDescriptor.java | 48 public CursorWindow window; 75 window = CursorWindow.CREATOR.createFromParcel(in);
|
CursorToBulkCursorAdaptor.java | 56 private CursorWindow mFilledWindow; 160 public CursorWindow getWindow(int position) { 169 CursorWindow window = mCursor.getWindow(); 175 mFilledWindow = new CursorWindow(mProviderName);
|
IBulkCursor.java | 36 public CursorWindow getWindow(int position) throws RemoteException;
|
BulkCursorNative.java | 64 CursorWindow window = getWindow(startPos); 155 public CursorWindow getWindow(int position) throws RemoteException 166 CursorWindow window = null; 168 window = CursorWindow.newFromParcel(reply);
|
AbstractCursor.java | 106 * If the cursor is backed by a {@link CursorWindow}, returns a pre-filled 111 public CursorWindow getWindow() { 228 public void fillWindow(int position, CursorWindow window) {
|
/frameworks/base/core/jni/ |
android_database_CursorWindow.cpp | 18 #define LOG_TAG "CursorWindow" 33 #include <androidfw/CursorWindow.h> 49 msg.appendFormat("Couldn't read row %d, col %d from CursorWindow. " 67 CursorWindow* window; 68 status_t status = CursorWindow::create(name, cursorWindowSize, &window); 70 ALOGE("Could not allocate CursorWindow '%s' of size %d due to error %d.", 82 CursorWindow* window; 83 status_t status = CursorWindow::createFromParcel(parcel, &window); 85 ALOGE("Could not create CursorWindow from Parcel due to error %d.", status); 95 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr) [all...] |
/frameworks/base/core/tests/coretests/src/android/database/ |
CursorWindowTest.java | 20 import android.database.CursorWindow; 39 CursorWindow window = new CursorWindow("MyWindow"); 47 CursorWindow window = new CursorWindow(""); 55 CursorWindow window = new CursorWindow(null); 64 CursorWindow window = new CursorWindow(true /*this argument is ignored*/); 72 CursorWindow window = new CursorWindow("MyWindow") [all...] |
/frameworks/base/libs/androidfw/ |
CursorWindow.cpp | 18 #define LOG_TAG "CursorWindow" 20 #include <androidfw/CursorWindow.h> 33 CursorWindow::CursorWindow(const String8& name, int ashmemFd, 39 CursorWindow::~CursorWindow() { 44 status_t CursorWindow::create(const String8& name, size_t size, CursorWindow** outCursorWindow) { 45 String8 ashmemName("CursorWindow: "); 61 CursorWindow* window = new CursorWindow(name, ashmemFd [all...] |
Android.mk | 35 CursorWindow.cpp
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
MemoryCursor.java | 20 import android.database.CursorWindow; 31 setWindow(new CursorWindow(name));
|
/cts/tests/tests/database/src/android/database/cts/ |
CursorWindowTest.java | 20 import android.database.CursorWindow; 45 CursorWindow window = new CursorWindow(false); 79 CursorWindow window = getOneByOneWindow(); 90 CursorWindow window = getOneByOneWindow(); 101 CursorWindow cursorWindow; 104 cursorWindow = new CursorWindow(true); 105 assertEquals(0, cursorWindow.getStartPosition()) [all...] |
AbstractWindowedCursorTest.java | 24 import android.database.CursorWindow; 35 private CursorWindow mWindow; 42 mWindow = new CursorWindow(false);
|
AbstractCursorTest.java | 25 import android.database.CursorWindow; 259 CursorWindow window = new CursorWindow(false); 346 CursorWindow window = new CursorWindow(false);
|
/frameworks/base/core/java/android/database/sqlite/ |
SQLiteQuery.java | 19 import android.database.CursorWindow; 57 int fillWindow(CursorWindow window, int startPos, int requiredPos, boolean countAllRows) {
|
SQLiteCursor.java | 20 import android.database.CursorWindow; 243 public void setWindow(CursorWindow window) {
|
/frameworks/base/include/androidfw/ |
CursorWindow.h | 34 #define IF_LOG_WINDOW() IF_ALOG(LOG_DEBUG, "CursorWindow") 35 #define LOG_WINDOW(...) ALOG(LOG_DEBUG, "CursorWindow", __VA_ARGS__) 51 class CursorWindow { 52 CursorWindow(const String8& name, int ashmemFd, 78 friend class CursorWindow; 81 ~CursorWindow(); 83 static status_t create(const String8& name, size_t size, CursorWindow** outCursorWindow); 84 static status_t createFromParcel(Parcel* parcel, CursorWindow** outCursorWindow);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowAbstractCursor.java | 8 import android.database.CursorWindow; 100 public CursorWindow getWindow() {
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/database/ |
SQLiteCursor.java | 9 import android.database.CursorWindow; 136 public void fillWindow(int position, CursorWindow window) { 187 private boolean fillRow(CursorWindow window, Object value, int pos, int column) { 202 private boolean putValue(CursorWindow window, Object value, int pos, int column) {
|
/packages/apps/Mms/src/com/android/mms/ |
SuggestionsProvider.java | 29 import android.database.CursorWindow; 159 public void fillWindow(int position, CursorWindow window) { 197 public CursorWindow getWindow() {
|
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
SQLiteCursorTest.java | 23 import android.database.CursorWindow; 93 MockCursorWindow cursorWindow = new MockCursorWindow(false); 97 cursor.setWindow(cursorWindow); 101 assertFalse(cursorWindow.isClosed()); 104 // deactivate() will close the CursorWindow 105 assertTrue(cursorWindow.isClosed()); 148 // when cursor is created, it refreshes CursorWindow and populates cursor count 156 // when getCount() has invoked once, it can no longer refresh CursorWindow. 267 private class MockCursorWindow extends CursorWindow {
|