Home
last modified time | relevance | path

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

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DFrame.java181 final void setReadOnly(boolean readOnly) { in setReadOnly() argument
182 mReadOnly = readOnly; in setReadOnly()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteStatementInfo.java38 public boolean readOnly; field in SQLiteStatementInfo
DSQLiteConnection.java443 void setOnlyAllowReadOnlyOperations(boolean readOnly) { in setOnlyAllowReadOnlyOperations() argument
444 mOnlyAllowReadOnlyOperations = readOnly; in setOnlyAllowReadOnlyOperations()
504 outStatementInfo.readOnly = statement.mReadOnly; in prepare()
893 final boolean readOnly = nativeIsReadOnly(mConnectionPtr, statementPtr); in acquirePreparedStatement()
894 statement = obtainPreparedStatement(sql, statementPtr, numParameters, type, readOnly); in acquirePreparedStatement()
1182 int numParameters, int type, boolean readOnly) { in obtainPreparedStatement() argument
1195 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.java380 int getThreadDefaultConnectionFlags(boolean readOnly) { in getThreadDefaultConnectionFlags() argument
381 int flags = readOnly ? SQLiteConnectionPool.CONNECTION_FLAG_READ_ONLY : in getThreadDefaultConnectionFlags()
/frameworks/base/libs/androidfw/
DCursorWindow.cpp34 void* data, size_t size, bool readOnly) : in CursorWindow() argument
35 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);
/frameworks/base/media/jni/
Dandroid_media_MediaCodec.h150 JNIEnv *env, bool readOnly, bool clearBuffer, const sp<ABuffer> &buffer,
Dandroid_media_MediaCodec.cpp450 JNIEnv *env, bool readOnly, bool clearBuffer, const sp<ABuffer> &buffer, in createByteBufferFromABuffer() argument
467 if (readOnly && byteBuffer != NULL) { in createByteBufferFromABuffer()
/frameworks/base/core/java/com/android/internal/content/
DPackageHelper.java133 public static String mountSdDir(String cid, String key, int ownerUid, boolean readOnly) { in mountSdDir() argument
135 int rc = getMountService().mountSecureContainer(cid, key, ownerUid, readOnly); in mountSdDir()
/frameworks/base/core/jni/android/graphics/
DGraphics.cpp626 SkColorTable* ctable, int fd, void* addr, size_t size, bool readOnly) { in mapAshmemPixelRef() argument
635 int flags = readOnly ? (PROT_READ) : (PROT_READ | PROT_WRITE); in mapAshmemPixelRef()
649 if (readOnly) { in mapAshmemPixelRef()
DGraphicsJNI.h104 SkColorTable* ctable, int fd, void* addr, size_t size, bool readOnly);
/frameworks/base/core/java/android/os/storage/
DIMountService.java327 public int mountSecureContainer(String id, String key, int ownerUid, boolean readOnly) in mountSecureContainer() argument
337 _data.writeInt(readOnly ? 1 : 0); in mountSecureContainer()
1674 boolean readOnly; in onTransact()
1675 readOnly = data.readInt() != 0; in onTransact()
1676 int resultCode = mountSecureContainer(id, key, ownerUid, readOnly); in onTransact()
2254 public int mountSecureContainer(String id, String key, int ownerUid, boolean readOnly) in mountSecureContainer() argument
/frameworks/base/media/java/android/media/
DMediaCodec.java3489 @NonNull ByteBuffer buffer, @NonNull ByteBuffer info, boolean readOnly, in MediaImage() argument
/frameworks/base/services/core/java/com/android/server/
DMountService.java2246 public int mountSecureContainer(String id, String key, int ownerUid, boolean readOnly) { in mountSecureContainer() argument
2260 readOnly ? "ro" : "rw"); in mountSecureContainer()