/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);
|
/frameworks/base/core/jni/ |
android_database_CursorWindow.cpp | 18 #define LOG_TAG "CursorWindow" 34 #include <androidfw/CursorWindow.h> 52 msg.appendFormat("Couldn't read row %d, col %d from CursorWindow. " 70 CursorWindow* window; 71 status_t status = CursorWindow::create(name, cursorWindowSize, &window); 73 ALOGE("Could not allocate CursorWindow '%s' of size %d due to error %d.", 85 CursorWindow* window; 86 status_t status = CursorWindow::createFromParcel(parcel, &window); 88 ALOGE("Could not create CursorWindow from Parcel due to error %d.", status); 98 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr) [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...] |
/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/core/java/android/database/ |
CrossProcessCursorWrapper.java | 21 import android.database.CursorWindow; 46 public void fillWindow(int position, CursorWindow window) { 57 public CursorWindow getWindow() {
|
CursorWindow.aidl | 19 parcelable CursorWindow;
|
CursorWindowAllocationException.java | 20 * This exception is thrown when a CursorWindow couldn't be allocated,
|
BulkCursorDescriptor.java | 48 public CursorWindow window; 75 window = CursorWindow.CREATOR.createFromParcel(in);
|
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);
|
CrossProcessCursor.java | 24 * filling {@link CursorWindow} objects using {@link #fillWindow}. As an optimization, 39 CursorWindow getWindow(); 61 void fillWindow(int position, CursorWindow window);
|
BulkCursorNative.java | 64 CursorWindow window = getWindow(startPos); 155 public CursorWindow getWindow(int position) throws RemoteException 166 CursorWindow window = null; 168 window = CursorWindow.newFromParcel(reply);
|
CursorToBulkCursorAdaptor.java | 53 private CursorWindow mFilledWindow; 157 public CursorWindow getWindow(int position) { 166 CursorWindow window = mCursor.getWindow(); 172 mFilledWindow = new CursorWindow(mProviderName);
|
CursorWindow.java | 35 * A {@link CursorWindow} is read-write when initially created and used locally. 42 public class CursorWindow extends SQLiteClosable implements Parcelable { 49 * The native CursorWindow object pointer. (FOR INTERNAL USE ONLY) 96 public CursorWindow(String name) { 126 * cursor windows. Use the {@link #CursorWindow(String)} constructor instead. 129 public CursorWindow(boolean localWindow) { 133 private CursorWindow(Parcel source) { 682 public static final Parcelable.Creator<CursorWindow> CREATOR 683 = new Parcelable.Creator<CursorWindow>() { 684 public CursorWindow createFromParcel(Parcel source) [all...] |
IBulkCursor.java | 36 public CursorWindow getWindow(int position) throws RemoteException;
|
/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);
|
/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/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 {
|
/packages/apps/Email/provider_src/com/android/email/provider/ |
EmailMessageCursor.java | 37 * This class wraps a cursor for the purpose of bypassing the CursorWindow object for the 38 * potentially over-sized body content fields. The CursorWindow has a hard limit of 2MB and so a 45 * which uses a CursorWindow to shuffle results between processes. Since we're only using this for
|
/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) {
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowAbstractCursor.java | 8 import android.database.CursorWindow; 100 public CursorWindow getWindow() {
|
/prebuilts/sdk/18/ |
framework.aidl | 17 parcelable android.database.CursorWindow;
|
/prebuilts/sdk/19/ |
framework.aidl | 18 parcelable android.database.CursorWindow;
|
/prebuilts/sdk/20/ |
framework.aidl | 18 parcelable android.database.CursorWindow;
|
/frameworks/base/core/tests/coretests/src/android/database/sqlite/ |
SQLiteCursorTest.java | 79 // will need more than one CursorWindow 96 // native_fill_window (and re-fills of the CursorWindow object)
|