Home
last modified time | relevance | path

Searched refs:readOnly (Results 1 – 9 of 9) sorted by relevance

/frameworks/native/libs/utils/
DFileMap.cpp92 bool readOnly) in create() argument
106 DWORD protect = readOnly ? PAGE_READONLY : PAGE_READWRITE; in create()
121 readOnly ? FILE_MAP_READ : FILE_MAP_ALL_ACCESS, in create()
166 if (!readOnly) in create()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteStatementInfo.java38 public boolean readOnly; field in SQLiteStatementInfo
DSQLiteConnection.java436 void setOnlyAllowReadOnlyOperations(boolean readOnly) { in setOnlyAllowReadOnlyOperations() argument
437 mOnlyAllowReadOnlyOperations = readOnly; in setOnlyAllowReadOnlyOperations()
497 outStatementInfo.readOnly = statement.mReadOnly; in prepare()
886 final boolean readOnly = nativeIsReadOnly(mConnectionPtr, statementPtr); in acquirePreparedStatement()
887 statement = obtainPreparedStatement(sql, statementPtr, numParameters, type, readOnly); in acquirePreparedStatement()
1175 int numParameters, int type, boolean readOnly) { in obtainPreparedStatement() argument
1188 statement.mReadOnly = readOnly; in obtainPreparedStatement()
DSQLiteProgram.java61 mReadOnly = info.readOnly; in SQLiteProgram()
DSQLiteConnectionPool.java908 final boolean readOnly = (connectionFlags & CONNECTION_FLAG_READ_ONLY) != 0; in finishAcquireConnectionLocked()
909 connection.setOnlyAllowReadOnlyOperations(readOnly); in finishAcquireConnectionLocked()
DSQLiteDatabase.java378 int getThreadDefaultConnectionFlags(boolean readOnly) { in getThreadDefaultConnectionFlags() argument
379 int flags = readOnly ? SQLiteConnectionPool.CONNECTION_FLAG_READ_ONLY : in getThreadDefaultConnectionFlags()
/frameworks/native/include/utils/
DFileMap.h60 off64_t offset, size_t length, bool readOnly);
/frameworks/base/libs/androidfw/
DCursorWindow.cpp33 void* data, size_t size, bool readOnly) : in CursorWindow() argument
34 mName(name), mAshmemFd(ashmemFd), mData(data), mSize(size), mReadOnly(readOnly) { in CursorWindow()
/frameworks/base/include/androidfw/
DCursorWindow.h53 void* data, size_t size, bool readOnly);