/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...] |
/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/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 | 56 private CursorWindow mFilledWindow; 160 public CursorWindow getWindow(int position) { 169 CursorWindow window = mCursor.getWindow(); 175 mFilledWindow = new CursorWindow(mProviderName);
|
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...] |
/frameworks/base/docs/html/sdk/api_diff/11/changes/ |
android.database.CursorWindow.html | 10 android.database.CursorWindow 74 Class android.database.<A HREF="../../../../reference/android/database/CursorWindow.html" target="_top"><font size="+2"><code>CursorWindow</code></font></A> 86 <A NAME="android.database.CursorWindow.getType_added(int, int)"></A> 87 <nobr><code>int</code> <A HREF="../../../../reference/android/database/CursorWindow.html#getType(int, int)" target="_top"><code>getType</code></A>(<code>int,</nobr> int<nobr><nobr></code>)</nobr> 101 <A NAME="android.database.CursorWindow.isBlob_changed(int, int)"></A> 102 <nobr><code>boolean</code> <A HREF="../../../../reference/android/database/CursorWindow.html#isBlob(int, int)" target="_top"><code>isBlob</code></A>(<code>int,</nobr> int<nobr><nobr></code>) </nobr> 111 <A NAME="android.database.CursorWindow.isFloat_changed(int, int)"></A> 112 <nobr><code>boolean</code> <A HREF="../../../../reference/android/database/CursorWindow.html#isFloat(int, int)" target="_top"><code>isFloat</code></A>(<code>int,</nobr> int<nobr><nobr></code>) </nobr> 121 <A NAME="android.database.CursorWindow.isLong_changed(int, int)"></A [all...] |
/frameworks/base/docs/html/sdk/api_diff/15/changes/ |
android.database.CursorWindow.html | 10 android.database.CursorWindow 74 Class android.database.<A HREF="../../../../reference/android/database/CursorWindow.html" target="_top"><font size="+2"><code>CursorWindow</code></font></A> 85 <A NAME="android.database.CursorWindow.ctor_added(java.lang.String)"></A> 86 <nobr><A HREF="../../../../reference/android/database/CursorWindow.html#CursorWindow(java.lang.String)" target="_top"><code>CursorWindow</code></A>(<code>String</code>)</nobr> 100 <A NAME="android.database.CursorWindow.ctor_changed(boolean)"></A> 101 <nobr><A HREF="../../../../reference/android/database/CursorWindow.html#CursorWindow(boolean)" target="_top"><code>CursorWindow</code></A>(<code>boolean</code>) </nobr [all...] |
constructors_index_all.html | 55 <i>CursorWindow</i><br> 56 <nobr><A HREF="android.database.CursorWindow.html#android.database.CursorWindow.ctor_added(java.lang.String)" class="hiddenlink" target="rightframe"><b>CursorWindow</b> 58 <nobr><A HREF="android.database.CursorWindow.html#android.database.CursorWindow.ctor_changed(boolean)" class="hiddenlink" target="rightframe">CursorWindow
|
constructors_index_changes.html | 54 <nobr><A HREF="android.database.CursorWindow.html#android.database.CursorWindow.ctor_changed(boolean)" class="hiddenlink" target="rightframe">CursorWindow
|
/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 {
|
/frameworks/base/docs/html/sdk/api_diff/5/changes/ |
android.database.CursorWindow.html | 10 android.database.CursorWindow 74 Class android.database.<A HREF="../../../../reference/android/database/CursorWindow.html" target="_top"><font size="+2"><code>CursorWindow</code></font></A> 86 <A NAME="android.database.CursorWindow.isFloat_added(int, int)"></A> 87 <nobr><code>boolean</code> <A HREF="../../../../reference/android/database/CursorWindow.html#isFloat(int, int)" target="_top"><code>isFloat</code></A>(<code>int,</nobr> int<nobr><nobr></code>)</nobr> 93 <A NAME="android.database.CursorWindow.isLong_added(int, int)"></A> 94 <nobr><code>boolean</code> <A HREF="../../../../reference/android/database/CursorWindow.html#isLong(int, int)" target="_top"><code>isLong</code></A>(<code>int,</nobr> int<nobr><nobr></code>)</nobr> 100 <A NAME="android.database.CursorWindow.isString_added(int, int)"></A> 101 <nobr><code>boolean</code> <A HREF="../../../../reference/android/database/CursorWindow.html#isString(int, int)" target="_top"><code>isString</code></A>(<code>int,</nobr> int<nobr><nobr></code>)</nobr>
|
/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/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) {
|
/frameworks/base/docs/html/sdk/api_diff/16/changes/ |
android.database.CursorWindow.html | 10 android.database.CursorWindow 74 Class android.database.<A HREF="../../../../reference/android/database/CursorWindow.html" target="_top"><font size="+2"><code>CursorWindow</code></font></A> 86 <A NAME="android.database.CursorWindow.close_changed()"></A>
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowAbstractCursor.java | 8 import android.database.CursorWindow; 100 public CursorWindow getWindow() {
|