/frameworks/base/core/java/android/os/ |
D | SharedMemory.java | 40 public final class SharedMemory implements Parcelable, Closeable { class 47 private SharedMemory(FileDescriptor fd) { in SharedMemory() method in SharedMemory 82 public static @NonNull SharedMemory create(@Nullable String name, int size) in create() 87 return new SharedMemory(nCreate(name, size)); in create() 290 public static final @android.annotation.NonNull Parcelable.Creator<SharedMemory> CREATOR = 291 new Parcelable.Creator<SharedMemory>() { 293 public SharedMemory createFromParcel(Parcel source) { 295 return new SharedMemory(descriptor); 299 public SharedMemory[] newArray(int size) { 300 return new SharedMemory[size];
|
D | HidlMemoryUtil.java | 79 try (SharedMemory shmem = SharedMemory.create(name != null ? name : "", input.length)) { in byteArrayToHidlMemory() 121 try (SharedMemory shmem = SharedMemory.create(name != null ? name : "", input.size())) { in byteListToHidlMemory() 194 @NonNull public static HidlMemory sharedMemoryToHidlMemory(@Nullable SharedMemory shmem) { in sharedMemoryToHidlMemory()
|
D | MemoryFile.java | 49 private SharedMemory mSharedMemory; 62 mSharedMemory = SharedMemory.create(name, length); in MemoryFile() 88 SharedMemory.unmap(mMapping); in deactivate()
|
D | SharedMemory.aidl | 20 parcelable SharedMemory;
|
/frameworks/base/core/java/com/android/internal/security/ |
D | VerityUtils.java | 21 import android.os.SharedMemory; 140 SharedMemory shm = null; in generateApkVeritySetupData() 150 Pair<SharedMemory, Integer> result = in generateApkVeritySetupData() 198 private static Pair<SharedMemory, Integer> generateFsVerityIntoSharedMemory(String apkPath, in generateFsVerityIntoSharedMemory() 213 SharedMemory shm = shmBufferFactory.releaseSharedMemory(); in generateFsVerityIntoSharedMemory() 289 private SharedMemory mShm; 301 mShm = SharedMemory.create("apkverity", capacity); in create() 312 public SharedMemory releaseSharedMemory() { in releaseSharedMemory() 314 SharedMemory.unmap(mBuffer); in releaseSharedMemory() 317 SharedMemory tmp = mShm; in releaseSharedMemory()
|
/frameworks/base/services/core/java/com/android/server/graphics/fonts/ |
D | FontManagerService.java | 31 import android.os.SharedMemory; 145 public SharedMemory getSerializedSystemFontMap() { in onStart() 189 private SharedMemory mSerializedFontMap = null; 227 @Nullable /* package */ SharedMemory getCurrentFontMap() { in getCurrentFontMap() 316 SharedMemory serializedFontMap = serializeFontMap(getSystemFontConfig()); in updateSerializedFontMap() 325 private static SharedMemory serializeFontMap(FontConfig fontConfig) { in serializeFontMap() 349 private static SharedMemory serializeSystemServerFontMap() { in serializeSystemServerFontMap() 358 private void setSerializedFontMap(SharedMemory serializedFontMap) { in setSerializedFontMap() 359 SharedMemory oldFontMap = null; in setSerializedFontMap()
|
D | FontManagerInternal.java | 20 import android.os.SharedMemory; 26 @Nullable SharedMemory getSerializedSystemFontMap(); in getSerializedSystemFontMap()
|
/frameworks/base/core/jni/ |
D | android_os_SharedMemory.cpp | 83 NATIVE_METHOD(SharedMemory, nCreate, "(Ljava/lang/String;I)Ljava/io/FileDescriptor;"), 84 NATIVE_METHOD(SharedMemory, nGetSize, "(Ljava/io/FileDescriptor;)I"), 85 NATIVE_METHOD(SharedMemory, nSetProt, "(Ljava/io/FileDescriptor;I)I")
|
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/ |
D | TypefaceSerializationPerfTest.java | 20 import android.os.SharedMemory; 55 SharedMemory memory = Typeface.serializeFontMap(Typeface.getSystemFontMap()); in testDeserializeFontMap() 68 SharedMemory memory = null; in testSetSystemFontMap()
|
/frameworks/base/core/java/android/service/voice/ |
D | AbstractHotwordDetector.java | 31 import android.os.SharedMemory; 102 @Nullable SharedMemory sharedMemory) { in updateState() 112 @Nullable SharedMemory sharedMemory, IHotwordRecognitionStatusCallback callback) { in updateStateLocked()
|
D | HotwordDetector.java | 29 import android.os.SharedMemory; 98 void updateState(@Nullable PersistableBundle options, @Nullable SharedMemory sharedMemory); in updateState()
|
D | IHotwordDetectionService.aidl | 26 import android.os.SharedMemory; 51 in SharedMemory sharedMemory, in updateState()
|
D | HotwordDetectionService.java | 41 import android.os.SharedMemory; 151 public void updateState(PersistableBundle options, SharedMemory sharedMemory, 295 @Nullable SharedMemory sharedMemory, in onUpdateState() 342 @Nullable SharedMemory sharedMemory, IRemoteCallback callback) { in onUpdateStateInternal()
|
D | VoiceInteractionService.java | 39 import android.os.SharedMemory; 364 @Nullable SharedMemory sharedMemory, 376 @Nullable SharedMemory sharedMemory, 429 @Nullable SharedMemory sharedMemory, in createHotwordDetector()
|
D | SoftwareHotwordDetector.java | 32 import android.os.SharedMemory; 61 SharedMemory sharedMemory, in SoftwareHotwordDetector()
|
D | AlwaysOnHotwordDetector.java | 51 import android.os.SharedMemory; 580 @Nullable SharedMemory sharedMemory) { in AlwaysOnHotwordDetector() 615 @Nullable SharedMemory sharedMemory) { in updateState()
|
/frameworks/base/core/java/com/android/internal/net/ |
D | INetworkWatchlistManager.aidl | 19 import android.os.SharedMemory;
|
/frameworks/base/core/java/com/android/internal/app/ |
D | IVoiceInteractionManagerService.aidl | 27 import android.os.SharedMemory; 249 in SharedMemory sharedMemory, in updateState()
|
/frameworks/av/media/libshmem/ |
D | README.md | 4 feature is the definition of the `android.media.SharedMemory` AIDL type, which represents a block of
|
/frameworks/base/graphics/java/android/graphics/ |
D | Typeface.java | 40 import android.os.SharedMemory; 158 static SharedMemory sSystemFontMapSharedMemory = null; 183 public static @Nullable SharedMemory getSystemFontMapSharedMemory() { in getSystemFontMapSharedMemory() 1224 public static @NonNull SharedMemory serializeFontMap(@NonNull Map<String, Typeface> fontMap) 1236 SharedMemory sharedMemory = SharedMemory.create( 1249 SharedMemory.unmap(writableBuffer); 1313 public static void setSystemFontMap(@Nullable SharedMemory sharedMemory) 1432 SharedMemory.unmap(sSystemFontMapBuffer);
|
D | GraphicsStatsService.java | 33 import android.os.SharedMemory; 499 SharedMemory mProcessBuffer; 512 mProcessBuffer = SharedMemory.create("GFXStats-" + pid, mAshmemSize); in ActiveBuffer() 529 SharedMemory.unmap(mMapping); in closeAllBuffers()
|
/frameworks/base/core/java/android/app/ |
D | IApplicationThread.aidl | 46 import android.os.SharedMemory; 83 in SharedMemory serializedSystemFontMap); in bindApplication()
|
/frameworks/base/core/java/android/hardware/soundtrigger/ |
D | ConversionUtil.java | 36 import android.os.SharedMemory; 381 SharedMemory shmem = SharedMemory.create(name != null ? name : "", data.length); in byteArrayToSharedMemory()
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | TypefaceTest.java | 28 import android.os.SharedMemory; 203 SharedMemory sharedMemory = Typeface.serializeFontMap(systemFontMap); in testSerialize()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | HotwordDetectionConnection.java | 48 import android.os.SharedMemory; 136 @Nullable SharedMemory sharedMemory, in HotwordDetectionConnection() 202 PersistableBundle options, SharedMemory sharedMemory) { in updateStateAfterProcessStart() 285 void updateStateLocked(PersistableBundle options, SharedMemory sharedMemory) { in updateStateLocked()
|