Home
last modified time | relevance | path

Searched refs:SharedMemory (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/java/android/os/
DSharedMemory.java39 public final class SharedMemory implements Parcelable, Closeable { class
46 private SharedMemory(FileDescriptor fd) { in SharedMemory() method in SharedMemory
81 public static @NonNull SharedMemory create(@Nullable String name, int size) in create()
86 return new SharedMemory(nCreate(name, size)); in create()
275 public static final @android.annotation.NonNull Parcelable.Creator<SharedMemory> CREATOR =
276 new Parcelable.Creator<SharedMemory>() {
278 public SharedMemory createFromParcel(Parcel source) {
280 return new SharedMemory(descriptor);
284 public SharedMemory[] newArray(int size) {
285 return new SharedMemory[size];
DHidlMemoryUtil.java81 SharedMemory shmem = SharedMemory.create(name != null ? name : "", input.length); in byteArrayToHidlMemory()
125 SharedMemory shmem = SharedMemory.create(name != null ? name : "", input.size()); in byteListToHidlMemory()
DMemoryFile.java49 private SharedMemory mSharedMemory;
62 mSharedMemory = SharedMemory.create(name, length); in MemoryFile()
88 SharedMemory.unmap(mMapping); in deactivate()
DSharedMemory.aidl20 parcelable SharedMemory;
/frameworks/base/services/core/java/com/android/server/security/
DVerityUtils.java20 import android.os.SharedMemory;
114 SharedMemory shm = null; in generateApkVeritySetupData()
124 Pair<SharedMemory, Integer> result = in generateApkVeritySetupData()
172 private static Pair<SharedMemory, Integer> generateFsVerityIntoSharedMemory(String apkPath, in generateFsVerityIntoSharedMemory()
187 SharedMemory shm = shmBufferFactory.releaseSharedMemory(); in generateFsVerityIntoSharedMemory()
257 private SharedMemory mShm;
269 mShm = SharedMemory.create("apkverity", capacity); in create()
280 public SharedMemory releaseSharedMemory() { in releaseSharedMemory()
282 SharedMemory.unmap(mBuffer); in releaseSharedMemory()
285 SharedMemory tmp = mShm; in releaseSharedMemory()
/frameworks/base/core/jni/
Dandroid_os_SharedMemory.cpp98 NATIVE_METHOD(SharedMemory, nCreate, "(Ljava/lang/String;I)Ljava/io/FileDescriptor;"),
99 NATIVE_METHOD(SharedMemory, nGetSize, "(Ljava/io/FileDescriptor;)I"),
100 NATIVE_METHOD(SharedMemory, nSetProt, "(Ljava/io/FileDescriptor;I)I")
/frameworks/base/core/java/com/android/internal/net/
DINetworkWatchlistManager.aidl19 import android.os.SharedMemory;
/frameworks/base/config/
Dpreloaded-classes2880 android.os.SharedMemory$1
2881 android.os.SharedMemory
Dboot-image-profile.txt12128 HSPLandroid/os/SharedMemory$1;-><init>()V
12129 HSPLandroid/os/SharedMemory$Closer;->run()V
12130 HSPLandroid/os/SharedMemory$MemoryRegistration;->acquire()Landroid/os/SharedMemory$MemoryRegistrati…
12131 HSPLandroid/os/SharedMemory$MemoryRegistration;->release()V
12132 HSPLandroid/os/SharedMemory$Unmapper;->run()V
12133 HSPLandroid/os/SharedMemory;-><init>(Ljava/io/FileDescriptor;)V
12134 HPLandroid/os/SharedMemory;->close()V
12135 HSPLandroid/os/SharedMemory;->create(Ljava/lang/String;I)Landroid/os/SharedMemory;
12136 HSPLandroid/os/SharedMemory;->map(III)Ljava/nio/ByteBuffer;
12137 HSPLandroid/os/SharedMemory;->mapReadWrite()Ljava/nio/ByteBuffer;
[all …]
Dhiddenapi-greylist-max-o.txt51589 Landroid/os/MemoryFile;->mSharedMemory:Landroid/os/SharedMemory;
52388 Landroid/os/SharedMemory$Closer;-><init>(Ljava/io/FileDescriptor;Landroid/os/SharedMemory$MemoryReg…
52389 Landroid/os/SharedMemory$Closer;->mFd:Ljava/io/FileDescriptor;
52390 Landroid/os/SharedMemory$Closer;->mMemoryReference:Landroid/os/SharedMemory$MemoryRegistration;
52391 Landroid/os/SharedMemory$MemoryRegistration;-><init>(I)V
52392 Landroid/os/SharedMemory$MemoryRegistration;->acquire()Landroid/os/SharedMemory$MemoryRegistration;
52393 Landroid/os/SharedMemory$MemoryRegistration;->mReferenceCount:I
52394 Landroid/os/SharedMemory$MemoryRegistration;->mSize:I
52395 Landroid/os/SharedMemory$MemoryRegistration;->release()V
52396 Landroid/os/SharedMemory$Unmapper;-><init>(JILandroid/os/SharedMemory$MemoryRegistration;)V
[all …]
/frameworks/base/non-updatable-api/
Dcurrent.txt35402 public final class SharedMemory implements java.io.Closeable android.os.Parcelable {
35404 …method @NonNull public static android.os.SharedMemory create(@Nullable String, int) throws android…
35413 … field @NonNull public static final android.os.Parcelable.Creator<android.os.SharedMemory> CREATOR;
/frameworks/base/api/
Dcurrent.txt35546 public final class SharedMemory implements java.io.Closeable android.os.Parcelable {
35548 …method @NonNull public static android.os.SharedMemory create(@Nullable String, int) throws android…
35557 … field @NonNull public static final android.os.Parcelable.Creator<android.os.SharedMemory> CREATOR;