/hardware/interfaces/soundtrigger/2.1/default/ |
D | SoundTriggerHw.cpp | 29 using android::hidl::memory::V1_0::IMemory; 45 sp<IMemory> memory; in memoryAsVector() local 47 return std::make_pair(true, memory); in memoryAsVector() 49 memory = mapMemory(m); in memoryAsVector() 50 if (memory != nullptr) { in memoryAsVector() 51 memory->read(); in memoryAsVector() 52 vec->setToExternal(static_cast<uint8_t*>(static_cast<void*>(memory->getPointer())), in memoryAsVector() 53 memory->getSize()); in memoryAsVector() 54 return std::make_pair(true, memory); in memoryAsVector() 57 return std::make_pair(false, memory); in memoryAsVector() [all …]
|
D | Android.mk | 39 android.hidl.memory@1.0
|
/hardware/interfaces/tests/memory/1.0/default/ |
D | MemoryTest.cpp | 28 using android::hidl::memory::V1_0::IMemory; 33 namespace memory { namespace 44 sp<IMemory> memory = mapMemory(memory_in); in fillMemory() local 46 if (memory == nullptr) { in fillMemory() 51 uint8_t* data = static_cast<uint8_t*>(static_cast<void*>(memory->getPointer())); in fillMemory() 53 memory->update(); in fillMemory() 55 for (size_t i = 0; i < memory->getSize(); i++) { in fillMemory() 59 memory->commit(); in fillMemory()
|
D | MemoryTest.h | 28 namespace memory { 40 using ::android::hardware::tests::memory::V1_0::IMemoryTest; 41 using ::android::hidl::memory::block::V1_0::MemoryBlock; 42 using ::android::hidl::memory::token::V1_0::IMemoryToken;
|
D | Android.bp | 16 name: "android.hardware.tests.memory@1.0-impl", 30 "android.hidl.memory@1.0", 31 "android.hidl.memory.token@1.0", 36 static_libs: ["android.hardware.tests.memory@1.0"],
|
/hardware/interfaces/memtrack/1.0/ |
D | IMemtrack.hal | 21 * device-specific memory usage. 22 * The primary goal is to be able to track memory that is not 23 * trackable in any other way, for example texture memory that is allocated by 25 * A secondary goal is to be able to categorize memory used by a process into 26 * GL, graphics, etc. All memory sizes must be in real memory usage, 34 * getMemory() populates MemtrackRecord vector with the sizes of memory 35 * plus associated flags for that memory. 40 * A process collecting memory statistics will call getMemory for each 41 * combination of pid and memory type. For each memory type that it 43 * structures breaking down the statistics of that memory type as much as [all …]
|
D | types.hal | 21 * Flags to differentiate memory that can already be accounted for in 24 * In general, memory mapped in to a userspace process is accounted unless 29 * Flags to differentiate memory shared across multiple processes vs. memory 31 * If SHARED_PSS flags is used, the memory must be divided by the number of 34 * If none are set, record is assumed to count shared + private memory. 37 * Flags to differentiate memory taken from the kernel's allocation pool vs. 38 * memory that is dedicated to non-kernel allocations, for example a carveout 39 * or separate video memory. Only zero or one of these may be set in a record. 40 * If none are set, record is assumed to count system + dedicated memory. 43 * Flags to differentiate memory accessible by the CPU in non-secure mode vs. [all …]
|
/hardware/interfaces/tests/memory/1.0/ |
D | IMemoryTest.hal | 17 package android.hardware.tests.memory@1.0; 19 import android.hidl.memory.token@1.0::IMemoryToken; 20 import android.hidl.memory.block@1.0::MemoryBlock; 23 haveSomeMemory(memory mem) generates(memory mem); 24 fillMemory(memory memory_in, uint8_t filler); 26 set(memory mem);
|
D | Android.bp | 4 name: "android.hardware.tests.memory@1.0", 11 "android.hidl.memory.block@1.0", 12 "android.hidl.memory.token@1.0",
|
/hardware/interfaces/cas/native/1.0/ |
D | types.hal | 40 * offset and a size. The offset is relative to the shared memory base for the 41 * memory region identified by heapBase. 45 * The shared memory base handle 47 memory heapBase; 50 * The offset from the shared memory base 62 * memory for the non-secure descrambling case, or it can be a secure buffer 79 * to user-space non-secure shared memory. 85 * to secure memory referenced by the vendor's buffer allocator.
|
/hardware/google/apf/ |
D | apf_interpreter.c | 26 const uint8_t* packet, const uint32_t* memory); 28 #define APF_TRACE_HOOK(pc, regs, program, packet, memory) \ argument 69 uint32_t memory[MEMORY_ITEMS] = {}; in accept_packet() local 71 memory[MEMORY_OFFSET_PROGRAM_SIZE] = program_len; in accept_packet() 72 memory[MEMORY_OFFSET_DATA_SIZE] = ram_len; in accept_packet() 73 memory[MEMORY_OFFSET_PACKET_SIZE] = packet_len; in accept_packet() 74 memory[MEMORY_OFFSET_FILTER_AGE] = filter_age; in accept_packet() 78 memory[MEMORY_OFFSET_IPV4_HEADER_SIZE] = (packet[APF_FRAME_HEADER_SIZE] & 15) * 4; in accept_packet() 89 APF_TRACE_HOOK(pc, registers, program, packet, memory); in accept_packet() 256 REG = memory[imm - LDM_EXT_OPCODE]; in accept_packet() [all …]
|
/hardware/interfaces/camera/device/1.0/ |
D | ICameraDeviceCallback.hal | 33 * Define a memory buffer from the provided handle and size, and return a 37 * descriptor in it; the file descriptor must be memory mappable to 43 * @return memId A positive integer identifier for this memory buffer, for 44 * use with data callbacks and unregistering memory. 0 must be returned 52 * Unregister a previously registered memory buffer 60 * @param data A memory handle to the buffer containing the data. 61 * @param bufferIndex The offset into the memory handle where the buffer 72 * @param data A memory handle to the buffer containing the data. 73 * @param bufferIndex The offset into the memory handle where the buffer 87 * @param data A memory handle to the buffer containing the data. [all …]
|
/hardware/interfaces/neuralnetworks/1.2/ |
D | IBurstCallback.hal | 22 * Callback object used by a service to retreive memory objects based on unique 27 * Get the memory regions that correspond to slot ids. The slot ids are 30 * @param slots Values uniquely identifying memory regions within a Burst. 33 * - NONE if the memory region was successfully retrieved 40 getMemories(vec<int32_t> slots) generates (ErrorStatus status, vec<memory> buffers);
|
D | IBurstContext.hal | 24 * freeMemory is used by the client to signal to the service that a memory 29 * @param slot Value uniquely identifying a memory region.
|
/hardware/interfaces/soundtrigger/2.2/default/ |
D | SoundTriggerHw.cpp | 28 using android::hidl::memory::V1_0::IMemory; 548 sp<IMemory> memory; in memoryAsVector() local 550 return std::make_pair(true, memory); in memoryAsVector() 552 memory = mapMemory(m); in memoryAsVector() 553 if (memory != nullptr) { in memoryAsVector() 554 memory->read(); in memoryAsVector() 555 vec->setToExternal(static_cast<uint8_t*>(static_cast<void*>(memory->getPointer())), in memoryAsVector() 556 memory->getSize()); in memoryAsVector() 557 return std::make_pair(true, memory); in memoryAsVector() 560 return std::make_pair(false, memory); in memoryAsVector() [all …]
|
/hardware/interfaces/soundtrigger/2.1/ |
D | ISoundTriggerHw.hal | 40 memory data; 64 memory data; 76 * ISoundTriggerHw@2.0 except that the SoundModel uses shared memory 90 * -ENOMEM in case of memory allocation failure, 110 * ISoundTriggerHw@2.0 except that the PhraseSoundModel uses shared memory 124 * -ENOMEM in case of memory allocation failure, 141 * ISoundTriggerHw@2.0 except that the RecognitionConfig uses shared memory 155 * -ENOMEM in case of memory allocation failure,
|
/hardware/interfaces/drm/1.0/ |
D | ICryptoPlugin.hal | 60 * Set a shared memory base for subsequent decrypt operations. The buffer 61 * base is a hidl_memory which maps shared memory in the HAL module. 69 * @param base the base IMemory of the memory buffer identified by 74 setSharedBufferBase(memory base, uint32_t bufferId); 77 * Decrypt an array of subsamples from the source memory buffer to the 78 * destination memory buffer.
|
/hardware/interfaces/camera/provider/2.4/default/ |
D | Android.bp | 17 "android.hidl.memory@1.0", 56 "android.hidl.memory@1.0", 99 "android.hidl.memory@1.0", 144 "android.hidl.memory@1.0",
|
/hardware/interfaces/neuralnetworks/1.0/vts/functional/ |
D | Android.bp | 34 "android.hidl.memory@1.0", 63 "android.hidl.memory@1.0",
|
/hardware/interfaces/drm/1.0/default/ |
D | common_default_service.mk | 22 android.hidl.memory@1.0 \
|
/hardware/interfaces/soundtrigger/2.1/vts/functional/ |
D | VtsHalSoundtriggerV2_1TargetTest.cpp | 57 using ::android::hidl::memory::V1_0::IMemory; 370 sp<IMemory> memory = ::android::hardware::mapMemory(hmemory); in TEST_F() local 371 ASSERT_NE(nullptr, memory.get()); in TEST_F() 372 memory->update(); in TEST_F() 373 for (uint8_t *p = static_cast<uint8_t*>(static_cast<void*>(memory->getPointer())); size >= 0; in TEST_F()
|
/hardware/interfaces/drm/1.2/vts/functional/ |
D | drm_hal_common.cpp | 308 size, [&](bool success, const hidl_memory& memory) { in getDecryptMemory() argument 310 EXPECT_EQ(memory.size(), size); in getDecryptMemory() 311 hidlMemory = memory; in getDecryptMemory() 323 void DrmHalTest::fillRandom(const sp<IMemory>& memory) { in fillRandom() argument 326 for (size_t i = 0; i < memory->getSize() / sizeof(uint32_t); i++) { in fillRandom() 328 static_cast<void*>(memory->getPointer())); in fillRandom()
|
/hardware/interfaces/sensors/1.0/ |
D | ISensors.hal | 144 * Register a direct channel with supplied shared memory information. Upon 145 * return, the sensor hardware is responsible for resetting the memory 146 * content to initial value (depending on memory format settings). 148 * @param mem shared memory info data structure. 149 * @return result OK on success; BAD_VALUE if shared memory information is 150 * not consistent; NO_MEMORY if shared memory cannot be used by
|
/hardware/interfaces/camera/provider/2.5/default/ |
D | Android.bp | 17 "android.hidl.memory@1.0", 57 "android.hidl.memory@1.0", 101 "android.hidl.memory@1.0",
|
/hardware/interfaces/media/omx/1.0/vts/functional/common/ |
D | Android.bp | 29 "android.hidl.memory@1.0", 69 "android.hidl.memory@1.0",
|