/frameworks/base/core/jni/ |
D | android_database_CursorWindow.cpp | 89 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/ |
D | CursorWindow.cpp | 37 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 …]
|
D | OWNERS | 5 per-file CursorWindow.cpp=omakoto@google.com
|
D | Android.bp | 113 "CursorWindow.cpp", 149 "CursorWindow.cpp", 293 "CursorWindow.cpp",
|
/frameworks/base/core/tests/coretests/src/android/database/ |
D | CursorWindowTest.java | 43 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/ |
D | CursorWindow_test.cpp | 31 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 …]
|
D | CursorWindow_bench.cpp | 24 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/ |
D | cursorwindow_fuzzer.cpp | 29 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/ |
D | CursorWindow.java | 44 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 …]
|
D | CrossProcessCursorWrapper.java | 21 import android.database.CursorWindow; 46 public void fillWindow(int position, CursorWindow window) { in fillWindow() 57 public CursorWindow getWindow() { in getWindow()
|
D | AbstractWindowedCursor.java | 43 protected CursorWindow mWindow; 148 public CursorWindow getWindow() { in getWindow() 165 public void setWindow(CursorWindow window) { in setWindow() 203 mWindow = new CursorWindow(name); in clearOrCreateWindow()
|
D | CrossProcessCursor.java | 39 CursorWindow getWindow(); in getWindow() 61 void fillWindow(int position, CursorWindow window); in fillWindow()
|
D | CursorToBulkCursorAdaptor.java | 60 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()
|
D | BulkCursorDescriptor.java | 48 public CursorWindow window; 75 window = CursorWindow.CREATOR.createFromParcel(in); in readFromParcel()
|
D | BulkCursorNative.java | 65 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()
|
D | CursorWindow.aidl | 19 parcelable CursorWindow;
|
D | RedactingCursor.java | 64 public void fillWindow(int position, CursorWindow window) { in fillWindow() 70 public CursorWindow getWindow() { in getWindow()
|
D | IBulkCursor.java | 36 public CursorWindow getWindow(int position) throws RemoteException; in getWindow()
|
D | TranslatingCursor.java | 129 public void fillWindow(int position, CursorWindow window) { in fillWindow() 135 public CursorWindow getWindow() { in getWindow()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | CursorWindow.h | 51 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/ |
D | SQLiteQuery.java | 19 import android.database.CursorWindow; 57 int fillWindow(CursorWindow window, int startPos, int requiredPos, boolean countAllRows) { in fillWindow()
|
D | SQLiteCursor.java | 21 import android.database.CursorWindow; 244 public void setWindow(CursorWindow window) { in setWindow()
|
/frameworks/base/core/tests/coretests/src/android/database/sqlite/ |
D | SQLiteCursorTest.java | 23 import android.database.CursorWindow; 179 CursorWindow cw = new CursorWindow("test", 11000); in testCustomWindowSize()
|
/frameworks/base/services/core/java/com/android/server/ondeviceintelligence/ |
D | BundleUtil.java | 31 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/ |
D | BatteryConsumer.java | 22 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()
|