Lines Matching defs:CursorWindow
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,
65 LOG_WINDOW("Created new CursorWindow: freeOffset=%d, "
85 status_t CursorWindow::createFromParcel(Parcel* parcel, CursorWindow** outCursorWindow) {
105 CursorWindow* window = new CursorWindow(name, dupAshmemFd,
107 LOG_WINDOW("Created CursorWindow from parcel: freeOffset=%d, "
124 status_t CursorWindow::writeToParcel(Parcel* parcel) {
132 status_t CursorWindow::clear() {
147 status_t CursorWindow::setNumColumns(uint32_t numColumns) {
161 status_t CursorWindow::allocRow() {
190 status_t CursorWindow::freeLastRow() {
201 uint32_t CursorWindow::alloc(size_t size, bool aligned) {
223 CursorWindow::RowSlot* CursorWindow::getRowSlot(uint32_t row) {
234 CursorWindow::RowSlot* CursorWindow::allocRowSlot() {
257 CursorWindow::FieldSlot* CursorWindow::getFieldSlot(uint32_t row, uint32_t column) {
259 ALOGE("Failed to read row %d, column %d from a CursorWindow which "
273 status_t CursorWindow::putBlob(uint32_t row, uint32_t column, const void* value, size_t size) {
277 status_t CursorWindow::putString(uint32_t row, uint32_t column, const char* value,
282 status_t CursorWindow::putBlobOrString(uint32_t row, uint32_t column,
306 status_t CursorWindow::putLong(uint32_t row, uint32_t column, int64_t value) {
321 status_t CursorWindow::putDouble(uint32_t row, uint32_t column, double value) {
336 status_t CursorWindow::putNull(uint32_t row, uint32_t column) {