Home
last modified time | relevance | path

Searched refs:CursorWindow (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/base/core/jni/
Dandroid_database_CursorWindow.cpp89 CursorWindow* window; in nativeCreate()
99 status = CursorWindow::create(name, cursorWindowSize, &window); in nativeCreate()
117 CursorWindow* window; in nativeCreateFromParcel()
118 status_t status = CursorWindow::createFromParcel(parcel, &window); in nativeCreateFromParcel()
133 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); in nativeDispose()
141 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); in nativeGetName()
147 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); in nativeWriteToParcel()
159 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); in nativeClear()
168 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); in nativeGetNumRows()
174 CursorWindow* window = reinterpret_cast<CursorWindow*>(windowPtr); in nativeSetNumColumns()
[all …]
/frameworks/base/libs/androidfw/
DCursorWindow.cpp37 CursorWindow::CursorWindow() { in CursorWindow() function in android::CursorWindow
40 CursorWindow::~CursorWindow() { in ~CursorWindow()
49 status_t CursorWindow::create(const String8 &name, size_t inflatedSize, CursorWindow **outWindow) { in create()
52 CursorWindow* window = new CursorWindow(); in create()
75 status_t CursorWindow::maybeInflate() { in maybeInflate()
138 status_t CursorWindow::createFromParcel(Parcel* parcel, CursorWindow** outWindow) { in createFromParcel()
141 CursorWindow* window = new CursorWindow(); in createFromParcel()
207 status_t CursorWindow::writeToParcel(Parcel* parcel) { in writeToParcel()
239 status_t CursorWindow::clear() { in clear()
250 void CursorWindow::updateSlotsData() { in updateSlotsData()
[all …]
DOWNERS5 per-file CursorWindow.cpp=omakoto@google.com
DAndroid.bp113 "CursorWindow.cpp",
149 "CursorWindow.cpp",
293 "CursorWindow.cpp",
/frameworks/base/core/tests/coretests/src/android/database/
DCursorWindowTest.java43 CursorWindow window = new CursorWindow("MyWindow"); in testConstructor_WithName()
51 CursorWindow window = new CursorWindow(""); in testConstructorWithEmptyName()
59 CursorWindow window = new CursorWindow(null); in testConstructorWithNullName()
68 CursorWindow window = new CursorWindow(true /*this argument is ignored*/); in testDeprecatedConstructor()
76 CursorWindow window = new CursorWindow("MyWindow"); in testValues()
81 private void doTestValues(CursorWindow window) { in doTestValues()
/frameworks/base/libs/androidfw/tests/
DCursorWindow_test.cpp31 CursorWindow* w; \
32 CursorWindow::create(String8("test"), 1 << 10, &w); \
36 CursorWindow* w; \
37 CursorWindow::create(String8("test"), 1 << 10, &w); \
45 CursorWindow* w; \
46 CursorWindow::create(String8("test"), 1 << 21, &w); \
129 ASSERT_EQ(w->getFieldSlotType(field), CursorWindow::FIELD_TYPE_NULL); in TEST()
133 ASSERT_EQ(w->getFieldSlotType(field), CursorWindow::FIELD_TYPE_NULL); in TEST()
146 ASSERT_EQ(w->getFieldSlotType(field), CursorWindow::FIELD_TYPE_INTEGER); in TEST()
151 ASSERT_EQ(w->getFieldSlotType(field), CursorWindow::FIELD_TYPE_INTEGER); in TEST()
[all …]
DCursorWindow_bench.cpp24 CursorWindow* w; in BM_CursorWindowWrite()
25 CursorWindow::create(String8("test"), 1 << 21, &w); in BM_CursorWindowWrite()
55 CursorWindow* w; in BM_CursorWindowRead()
56 CursorWindow::create(String8("test"), 1 << 21, &w); in BM_CursorWindowRead()
/frameworks/base/libs/androidfw/fuzz/cursorwindow_fuzzer/
Dcursorwindow_fuzzer.cpp29 using android::CursorWindow;
42 CursorWindow* w = nullptr; in LLVMFuzzerTestOneInput()
43 if (!CursorWindow::createFromParcel(&p, &w)) { in LLVMFuzzerTestOneInput()
56 case CursorWindow::FIELD_TYPE_STRING: { in LLVMFuzzerTestOneInput()
61 case CursorWindow::FIELD_TYPE_BLOB: { in LLVMFuzzerTestOneInput()
/frameworks/base/core/java/android/database/
DCursorWindow.java44 public class CursorWindow extends SQLiteClosable implements Parcelable { class
118 public CursorWindow(String name) { in CursorWindow() method in CursorWindow
137 public CursorWindow(String name, @BytesLong long windowSizeBytes) { in CursorWindow() method in CursorWindow
164 public CursorWindow(boolean localWindow) { in CursorWindow() method in CursorWindow
168 private CursorWindow(Parcel source) { in CursorWindow() method in CursorWindow
722 public static final @android.annotation.NonNull Parcelable.Creator<CursorWindow> CREATOR
723 = new Parcelable.Creator<CursorWindow>() {
724 public CursorWindow createFromParcel(Parcel source) {
725 return new CursorWindow(source);
728 public CursorWindow[] newArray(int size) {
[all …]
DCrossProcessCursorWrapper.java21 import android.database.CursorWindow;
46 public void fillWindow(int position, CursorWindow window) { in fillWindow()
57 public CursorWindow getWindow() { in getWindow()
DAbstractWindowedCursor.java43 protected CursorWindow mWindow;
148 public CursorWindow getWindow() { in getWindow()
165 public void setWindow(CursorWindow window) { in setWindow()
203 mWindow = new CursorWindow(name); in clearOrCreateWindow()
DCrossProcessCursor.java39 CursorWindow getWindow(); in getWindow()
61 void fillWindow(int position, CursorWindow window); in fillWindow()
DCursorToBulkCursorAdaptor.java60 private CursorWindow mFilledWindow;
173 public CursorWindow getWindow(int position) { in getWindow()
182 CursorWindow window = mCursor.getWindow(); in getWindow()
188 mFilledWindow = new CursorWindow(mProviderName); in getWindow()
DBulkCursorDescriptor.java48 public CursorWindow window;
75 window = CursorWindow.CREATOR.createFromParcel(in); in readFromParcel()
DBulkCursorNative.java65 CursorWindow window = getWindow(startPos); in onTransact()
157 public CursorWindow getWindow(int position) throws RemoteException in getWindow()
168 CursorWindow window = null; in getWindow()
170 window = CursorWindow.newFromParcel(reply); in getWindow()
DCursorWindow.aidl19 parcelable CursorWindow;
DRedactingCursor.java64 public void fillWindow(int position, CursorWindow window) { in fillWindow()
70 public CursorWindow getWindow() { in getWindow()
DIBulkCursor.java36 public CursorWindow getWindow(int position) throws RemoteException; in getWindow()
DTranslatingCursor.java129 public void fillWindow(int position, CursorWindow window) { in fillWindow()
135 public CursorWindow getWindow() { in getWindow()
/frameworks/base/libs/androidfw/include/androidfw/
DCursorWindow.h51 class CursorWindow {
52 CursorWindow();
77 friend class CursorWindow; member
80 ~CursorWindow();
82 static status_t create(const String8& name, size_t size, CursorWindow** outCursorWindow);
83 static status_t createFromParcel(Parcel* parcel, CursorWindow** outCursorWindow);
/frameworks/base/core/java/android/database/sqlite/
DSQLiteQuery.java19 import android.database.CursorWindow;
57 int fillWindow(CursorWindow window, int startPos, int requiredPos, boolean countAllRows) { in fillWindow()
DSQLiteCursor.java21 import android.database.CursorWindow;
244 public void setWindow(CursorWindow window) { in setWindow()
/frameworks/base/core/tests/coretests/src/android/database/sqlite/
DSQLiteCursorTest.java23 import android.database.CursorWindow;
179 CursorWindow cw = new CursorWindow("test", 11000); in testCustomWindowSize()
/frameworks/base/services/core/java/com/android/server/ondeviceintelligence/
DBundleUtil.java31 import android.database.CursorWindow;
82 if (canMarshall(obj) || obj instanceof CursorWindow) { in sanitizeInferenceParams()
396 } else if (obj instanceof CursorWindow) {
397 ((CursorWindow) obj).close();
/frameworks/base/core/java/android/os/
DBatteryConsumer.java22 import android.database.CursorWindow;
570 private final CursorWindow mCursorWindow;
574 BatteryConsumerData(CursorWindow cursorWindow, int cursorRow, in BatteryConsumerData()
582 static BatteryConsumerData create(CursorWindow cursorWindow, in create()

12