Searched defs:prot (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/native/android/
H A Dsharedmem.cpp58 int ASharedMemory_setProt(int fd, int prot) { argument
59 return ashmem_set_prot_region(fd, prot);
/frameworks/base/core/jni/
H A Dandroid_os_SharedMemory.cpp81 static jint SharedMemory_setProt(JNIEnv* env, jobject, jobject fileDescriptor, jint prot) { argument
84 if (ashmem_set_prot_region(fd, prot)) {
/frameworks/ml/nn/runtime/
H A DMemory.cpp61 int MemoryFd::set(size_t size, int prot, int fd, size_t offset) { argument
92 mHandle->data[1] = prot;
115 int prot = mHandle->data[1]; local
117 void* data = mmap(nullptr, mHidlMemory.size(), prot, MAP_SHARED, fd, offset);
H A DNeuralNetworks.cpp252 int ANeuralNetworksMemory_createFromFd(size_t size, int prot, int fd, size_t offset, argument
259 int n = m->set(size, prot, fd, offset);
/frameworks/base/core/java/android/os/
H A DSharedMemory.java97 private static void validateProt(int prot) { argument
98 if ((prot & ~PROT_MASK) != 0) {
99 throw new IllegalArgumentException("Invalid prot value");
104 * Sets the protection on the shared memory to the combination specified in prot, which
120 * @param prot Any bitwise-or'ed combination of
128 public boolean setProtect(int prot) { argument
130 validateProt(prot);
131 int errno = nSetProt(mFileDescriptor, prot);
200 * Creates an mmap of the SharedMemory with the specified prot, offset, and length. This will
205 * @param prot
213 map(int prot, int offset, int length) argument
362 nSetProt(FileDescriptor fd, int prot) argument
[all...]
/frameworks/ml/nn/common/
H A DCpuExecutor.cpp55 int prot = hidlMemory.handle()->data[1]; local
58 buffer = static_cast<uint8_t*>(mmap(nullptr, size, prot, MAP_SHARED, fd, offset));
130 int prot = mHidlMemory.handle()->data[1]; local
131 if (prot & PROT_WRITE) {
/frameworks/opt/setupwizard/tools/docs/
H A Ddoclava.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ccil/cowan/ org/ccil/cowan/tagsoup/ ...

Completed in 15 milliseconds