/frameworks/av/media/utils/tests/ |
D | shared_memory_allocator_tests.cpp | 94 const auto memory = allocator.allocate(BasicAllocRequest{500}); in TEST() local 95 ASSERT_TRUE(memory != nullptr); in TEST() 96 const auto fd = dup(memory->getMemory()->getHeapID()); in TEST() 97 EXPECT_EQ(memory->size(), static_cast<unsigned>(kPageSize)); in TEST() 98 EXPECT_EQ(memory->size(), memory->getMemory()->getSize()); in TEST() 99 validate_block(memory); in TEST() 100 allocator.deallocate(memory); in TEST() 102 EXPECT_EQ(memory->unsecurePointer(), nullptr); in TEST() 103 EXPECT_EQ(memory->getMemory()->getBase(), nullptr); in TEST() 191 const auto memory = allocator.allocate(NamedAllocRequest{{kPageSize}, "allocation"}); in TEST() local [all …]
|
/frameworks/compile/mclinker/include/mcld/LD/ |
D | DiagGOTPLT.inc | 7 "fial to allocate memory for GOT", 8 "fial to allocate memory for GOT") 11 "fial to allocate memory for PLT", 12 "fial to allocate memory for PLT")
|
D | DiagCommonKinds.inc | 128 "cannot open memory mapped file %0 from offset %1 to length %2.", 132 "cannot remove the mapped memory of file %0.", 133 "cannot remove the mapped memory of file %0.") 148 "requested memory region [%0, %1] is out of range.", 149 "requested memory region [%0, %1] is out of range.")
|
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/ |
D | TypefaceSerializationPerfTest.java | 87 SharedMemory memory = Typeface.serializeFontMap(systemFontMap); in testSerializeFontMap_memory() local 90 while (state.keepRunning(memory.getSize())) { in testSerializeFontMap_memory() 101 SharedMemory memory = Typeface.serializeFontMap(Typeface.getSystemFontMap()); in testDeserializeFontMap() local 102 ByteBuffer buffer = memory.mapReadOnly().order(ByteOrder.BIG_ENDIAN); in testDeserializeFontMap() 124 SharedMemory memory = Typeface.serializeFontMap(Typeface.getSystemFontMap()); in testDeserializeFontMap_memory() local 125 ByteBuffer buffer = memory.mapReadOnly().order(ByteOrder.BIG_ENDIAN); in testDeserializeFontMap_memory()
|
/frameworks/base/core/java/android/text/ |
D | Selection.java | 86 private static void setSelection(Spannable text, int start, int stop, int memory) { in setSelection() argument 98 updateMemory(text, memory); in setSelection() 107 private static void updateMemory(Spannable text, int memory) { in updateMemory() argument 108 if (memory > -1) { in updateMemory() 110 if (memory != currentMemory) { in updateMemory() 111 text.setSpan(SELECTION_MEMORY, memory, memory, Spanned.SPAN_POINT_POINT); in updateMemory() 174 private static void extendSelection(Spannable text, int index, int memory) { in extendSelection() argument 178 updateMemory(text, memory); in extendSelection() 240 int memory = getSelectionMemory(text); in setSelectionAndMemory() local 241 if (memory > -1) { in setSelectionAndMemory() [all …]
|
/frameworks/av/media/libshmem/ |
D | README.md | 3 This library provides facilities for sharing memory across processes over (stable) AIDL. The main 5 memory that can be shared between processes. In addition, a few utilities are provided to facilitate 6 the use of shared memory and to integrate with legacy code that uses older facilities.
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | MediaBuffer.h | 133 static bool isDeadObject(const sp<IMemory> &memory) { in isDeadObject() argument 139 if (memory.get() == nullptr || memory->unsecurePointer() == nullptr) return false; in isDeadObject() 140 return reinterpret_cast<SharedControl *>(memory->unsecurePointer())->isDeadObject(); in isDeadObject() 142 (void) memory; in isDeadObject()
|
D | CodecBase.h | 441 const sp<hardware::HidlMemory> &memory, in attachEncryptedBuffer() argument 452 (void)memory; in attachEncryptedBuffer() 481 const sp<hardware::HidlMemory> &memory, in attachEncryptedBuffers() argument 486 (void)memory; in attachEncryptedBuffers() 546 const sp<IMemory> &memory,
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | ATraceMemoryDump.cpp | 109 it.second.memory = 0; in startFrame() 133 hwui_all_frame_memory += it.second.memory; in logTraces() 134 ATRACE_INT64(it.first.c_str(), it.second.memory); in logTraces() 174 memoryCounter->second.memory += mLastDumpValue; in recordAndResetCountersIfNeeded()
|
/frameworks/proto_logging/stats/atoms/kernel/ |
D | kernel_extension_atoms.proto | 33 * Logs each time the kernel's out-of-memory (OOM) killer claims a victim. 53 // OOM victim's virtual memory, which was freed up after the process' death. 56 // OOM victim's anonymous RSS memory, which was freed up after the process' death. 59 // OOM victim's file-backed RSS memory, which was freed up after the process' death. 62 // OOM victim's shared RSS memory, which was freed up after the process' death.
|
/frameworks/compile/mclinker/lib/MC/ |
D | InputBuilder.cpp | 124 MemoryArea* memory = m_pMemFactory->produce(pInput.path(), pMode, pPerm); in setMemory() local 125 pInput.setMemArea(memory); in setMemory() 130 MemoryArea* memory = m_pMemFactory->produce(pMemBuffer, pSize); in setMemory() local 131 pInput.setMemArea(memory); in setMemory()
|
/frameworks/base/services/core/java/com/android/server/flags/ |
D | pinner.aconfig | 7 description: "This flag controls if webview should be pinned in memory." 14 …iption: "Ablation study flag that controls if home app odex/vdex files should be pinned in memory."
|
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/ |
D | MemoryAccessTask.java | 34 byte[] memory = new byte[BUFFER_SIZE]; in run() 43 result += ++memory[index]; in run()
|
/frameworks/base/tests/SystemMemoryTest/ |
D | README.txt | 1 This directory contains a test for system server memory use. 16 atest -v system-memory-test
|
/frameworks/av/media/libstagefright/ |
D | CodecBase.cpp | 30 const sp<IMemory> &memory, in IMemoryToSharedBuffer() argument 37 hidlMemory = hardware::fromHeap(memory->getMemory(&offset, &size)); in IMemoryToSharedBuffer()
|
/frameworks/native/services/sensorservice/ |
D | AidlSensorHalWrapper.cpp | 267 status_t AidlSensorHalWrapper::registerDirectChannel(const sensors_direct_mem_t *memory, in registerDirectChannel() argument 272 switch (memory->type) { in registerDirectChannel() 283 if (memory->format != SENSOR_DIRECT_FMT_SENSORS_EVENT) { in registerDirectChannel() 292 .size = static_cast<int32_t>(memory->size), in registerDirectChannel() 293 .memoryHandle = dupToAidl(memory->handle), in registerDirectChannel()
|
D | HidlSensorHalWrapper.cpp | 299 status_t HidlSensorHalWrapper::registerDirectChannel(const sensors_direct_mem_t* memory, in registerDirectChannel() argument 304 switch (memory->type) { in registerDirectChannel() 316 if (memory->format != SENSOR_DIRECT_FMT_SENSORS_EVENT) { in registerDirectChannel() 324 .size = static_cast<uint32_t>(memory->size), in registerDirectChannel() 325 .memoryHandle = memory->handle, in registerDirectChannel()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | EventLogTags.logtags | 30 # Reporting to applications that memory is low 33 # Kill a process to reclaim memory. 66 # Report collection of global memory state 68 # Report collection of memory used by a process 71 # Report changing memory conditions (Values are ProcessStats.ADJ_MEM_FACTOR* constants)
|
/frameworks/hardware/interfaces/sensorservice/1.0/ |
D | ISensorManager.hal | 54 * Create direct channel based on shared memory 59 * The memory layout looks as follows. These offsets can be found in 72 * @param mem the shared memory to use, must be ashmem. 84 createAshmemDirectChannel(memory mem, uint64_t size)
|
/frameworks/proto_logging/stats/enums/service/ |
D | procstats_enum.proto | 32 MEMORY_STATE_MODERATE = 2; // moderate memory pressure. 33 MEMORY_STATE_LOW = 3; // low memory. 34 MEMORY_STATE_CRITICAL = 4; // critical memory.
|
/frameworks/av/media/libaudiohal/impl/ |
D | EffectBufferHalHidl.cpp | 75 [&](bool success, const hidl_memory& memory) { in init() argument 77 mHidlBuffer.data = memory; in init()
|
/frameworks/base/core/proto/android/os/ |
D | ps.proto | 45 // Virtual set size (memory size) of the process, in KiB. 48 // process; real memory usage, in KiB. 101 // How Android memory manager will treat the task
|
/frameworks/av/media/libstagefright/include/ |
D | ACodecBufferChannel.h | 90 const sp<hardware::HidlMemory> &memory, 139 int32_t getHeapSeqNum(const sp<HidlMemory> &memory);
|
D | SharedMemoryBuffer.h | 34 typedef ::android::hidl::memory::V1_0::IMemory TMemory;
|
/frameworks/native/services/inputflinger/reader/ |
D | TouchVideoDevice.cpp | 101 req.memory = V4L2_MEMORY_MMAP; in create() 115 buf.memory = V4L2_MEMORY_MMAP; in create() 189 buf.memory = V4L2_MEMORY_MMAP; in readFrame()
|