/device/google/cuttlefish/common/libs/utils/ |
D | unique_resource_allocator_test.cpp | 27 auto allocator = UniqueResourceAllocator<unsigned>::New(resources); in TEST_P() local 28 if (!allocator) { in TEST_P() 37 auto id_opt = allocator->UniqueItem(); in TEST_P() 42 ASSERT_FALSE(allocator->UniqueItem()); in TEST_P() 52 auto allocator = UniqueResourceAllocator<unsigned>::New(inputs); in TEST_F() local 53 if (!allocator) { in TEST_F() 58 auto allocated_items_opt = allocator->UniqueItems(inputs.size()); in TEST_F() 62 ASSERT_FALSE(allocator->UniqueItem()); in TEST_F() 67 auto allocator = UniqueResourceAllocator<unsigned>::New(inputs); in TEST_F() local 68 if (!allocator) { in TEST_F() [all …]
|
/device/google/contexthub/firmware/os/core/ |
D | slab.c | 31 struct SlabAllocator *allocator; in slabAllocatorNew() local 42 allocator = (struct SlabAllocator*)heapAlloc(sizeof(struct SlabAllocator) + bitsetSz + dataSz); in slabAllocatorNew() 43 if (allocator) { in slabAllocatorNew() 44 allocator->itemSz = itemSz; in slabAllocatorNew() 45 allocator->dataChunks = ((uint8_t*)allocator->bitset) + bitsetSz; in slabAllocatorNew() 46 atomicBitsetInit(allocator->bitset, numItems); in slabAllocatorNew() 49 return allocator; in slabAllocatorNew() 52 void slabAllocatorDestroy(struct SlabAllocator *allocator) in slabAllocatorDestroy() argument 54 heapFree(allocator); in slabAllocatorDestroy() 57 void* slabAllocatorAlloc(struct SlabAllocator *allocator) in slabAllocatorAlloc() argument [all …]
|
D | osApi.c | 254 struct SlabAllocator *allocator = va_arg(args, struct SlabAllocator *); in osExpApiSlabDestroy() local 256 slabAllocatorDestroy(allocator); in osExpApiSlabDestroy() 261 struct SlabAllocator *allocator = va_arg(args, struct SlabAllocator *); in osExpApiSlabAlloc() local 263 *retValP = (uintptr_t)slabAllocatorAlloc(allocator); in osExpApiSlabAlloc() 268 struct SlabAllocator *allocator = va_arg(args, struct SlabAllocator *); in osExpApiSlabFree() local 271 slabAllocatorFree(allocator, mem); in osExpApiSlabFree()
|
/device/generic/goldfish/camera/ |
D | exif.cpp | 48 void operator()(ExifMem* allocator) const { in operator ()() 49 exif_mem_unref(allocator); in operator ()() 156 ExifMemPtr allocator(exif_mem_new_default()); in createExifData() local 157 ExifDataPtr exifData(exif_data_new_mem(allocator.get())); in createExifData() 166 appendEntryS(exifData.get(), allocator.get(), EXIF_IFD_0, EXIF_TAG_MAKE, in createExifData() 171 appendEntryS(exifData.get(), allocator.get(), EXIF_IFD_0, EXIF_TAG_MODEL, in createExifData() 187 appendEntryS(exifData.get(), allocator.get(), EXIF_IFD_0, in createExifData() 189 appendEntryS(exifData.get(), allocator.get(), EXIF_IFD_EXIF, in createExifData() 191 appendEntryS(exifData.get(), allocator.get(), EXIF_IFD_EXIF, in createExifData() 197 appendEntryS(exifData.get(), allocator.get(), EXIF_IFD_EXIF, in createExifData() [all …]
|
/device/google/contexthub/firmware/os/inc/ |
D | slab.h | 29 void slabAllocatorDestroy(struct SlabAllocator *allocator); 30 void* slabAllocatorAlloc(struct SlabAllocator *allocator); 31 void slabAllocatorFree(struct SlabAllocator *allocator, void *ptr); 33 void* slabAllocatorGetNth(struct SlabAllocator *allocator, uint32_t idx); // -> pointer or NULL if … 34 uint32_t slabAllocatorGetIndex(struct SlabAllocator *allocator, void *ptr); // -> index or -1 if in… 35 uint32_t slabAllocatorGetNumItems(struct SlabAllocator *allocator); // simply say hwo many items it…
|
D | syscallDo.h | 205 static inline void eOsSlabAllocatorDestroy(struct SlabAllocator* allocator) in eOsSlabAllocatorDestroy() argument 207 …YSCALL_DOMAIN_OS, SYSCALL_OS_MAIN, SYSCALL_OS_MAIN_SLAB, SYSCALL_OS_MAIN_SLAB_DESTROY), allocator); in eOsSlabAllocatorDestroy() 210 static inline void* eOsSlabAllocatorAlloc(struct SlabAllocator* allocator) in eOsSlabAllocatorAlloc() argument 212 …(SYSCALL_DOMAIN_OS, SYSCALL_OS_MAIN, SYSCALL_OS_MAIN_SLAB, SYSCALL_OS_MAIN_SLAB_ALLOC), allocator); in eOsSlabAllocatorAlloc() 215 static inline void eOsSlabAllocatorFree(struct SlabAllocator* allocator, void* ptrP) in eOsSlabAllocatorFree() argument 217 …ALL_DOMAIN_OS, SYSCALL_OS_MAIN, SYSCALL_OS_MAIN_SLAB, SYSCALL_OS_MAIN_SLAB_FREE), allocator, ptrP); in eOsSlabAllocatorFree()
|
/device/google/cuttlefish/guest/hals/gralloc/ |
D | Android.bp | 41 "android.hardware.graphics.allocator-service.minigbm", 44 "allocator.minigbm.xml", // vintf 48 "android.hardware.graphics.allocator-service.minigbm", 86 srcs: [":allocator.minigbm.rc"],
|
D | apex_file_contexts | 5 /bin/hw/android\.hardware\.graphics\.allocator-service\.minigbm u:object_r:hal_graphics_allocator_…
|
/device/linaro/dragonboard/shared/graphics/minigbm_msm/sepolicy/ |
D | file_contexts | 1 /vendor/bin/hw/android\.hardware\.graphics\.allocator-service\.minigbm u:object_r:hal_graphics_al… 2 /vendor/bin/hw/android\.hardware\.graphics\.allocator@4\.0-service\.minigbm u:object_r:hal_graphic… 3 /vendor/bin/hw/android\.hardware\.graphics\.allocator@4\.0-service\.minigbm_msm u:object_r:hal_gra…
|
/device/google/cuttlefish/host/frontend/webrtc/doc/ |
D | graphics.dot | 55 minigbm -> hwcomposer_drm [dir = both, label = "HIDL (graphics.allocator)", style = "dashed"] 56 hwcomposer_ranchu -> minigbm [dir = both, label = "AIDL (graphics.allocator)", style = "dashed"] 67 surfaceflinger -> minigbm [dir = both, label = "HIDL (graphics.allocator)"]
|
/device/generic/goldfish-opengl/system/hals/ |
D | Android.bp | 75 name: "android.hardware.graphics.allocator@3.0-service.ranchu", 78 init_rc: ["android.hardware.graphics.allocator@3.0-service.ranchu.rc"], 81 "android.hardware.graphics.allocator@3.0",
|
D | android.hardware.graphics.allocator@3.0-service.ranchu.rc | 1 service vendor.gralloc-3-0 /vendor/bin/hw/android.hardware.graphics.allocator@3.0-service.ranchu 2 interface android.hardware.graphics.allocator@3.0::IAllocator default
|
D | allocator3.cpp | 41 namespace AllocatorV3 = ::android::hardware::graphics::allocator::V3_0; 435 sp<IAllocator3> allocator(new GoldfishAllocator()); in main() local 436 if (allocator->registerAsService() != ::android::NO_ERROR) { in main()
|
/device/generic/goldfish-opengl/system/codecs/c2/decoders/vpxdec/ |
D | Android.bp | 22 "android.hardware.graphics.allocator@3.0", 53 "android.hardware.graphics.allocator@3.0",
|
/device/linaro/poplar/ |
D | device.mk | 80 android.hardware.graphics.allocator@2.0 \ 81 android.hardware.graphics.allocator@2.0-impl \ 82 android.hardware.graphics.allocator@2.0-service \
|
/device/google/cuttlefish/shared/config/ |
D | CleanSpec.mk | 51 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/etc/init/android.hardware.graphics.allocator@4.… 52 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/bin/hw/android.hardware.graphics.allocator@4.0-…
|
/device/generic/goldfish/sepolicy/vendor/ |
D | file_contexts | 45 /vendor/bin/hw/android\.hardware\.graphics\.allocator@3\.0-service\.ranchu u:object_r:hal_graphics_… 79 /vendor/bin/hw/android\.hardware\.graphics\.allocator-service\.minigbm u:object_r:hal_graphics_al… 80 /vendor/bin/hw/android\.hardware\.graphics\.allocator@4\.0-service\.minigbm u:object_r:hal_graphi…
|
/device/google/cuttlefish/shared/graphics/sepolicy/ |
D | file_contexts | 7 /vendor/bin/hw/android\.hardware\.graphics\.allocator-service\.minigbm u:object_r:hal_graphics_al… 8 /vendor/bin/hw/android\.hardware\.graphics\.allocator@4\.0-service\.minigbm u:object_r:hal_graphi…
|
/device/generic/goldfish/fvpbase/ |
D | fvp.mk | 57 android.hardware.graphics.allocator@2.0-service \ 58 android.hardware.graphics.allocator@2.0-impl \
|
/device/linaro/dragonboard/shared/graphics/minigbm_msm/ |
D | device.mk | 19 android.hardware.graphics.allocator@4.0-service.minigbm_msm \
|
/device/generic/goldfish/product/ |
D | generic.mk | 44 android.hidl.allocator@1.0-service 106 android.hardware.graphics.allocator-service.minigbm \ 112 android.hardware.graphics.allocator@3.0-service.ranchu \
|
/device/generic/goldfish-opengl/system/codecs/c2/decoders/hevcdec/ |
D | Android.bp | 23 "android.hardware.graphics.allocator@3.0",
|
/device/generic/goldfish-opengl/system/codecs/c2/decoders/avcdec/ |
D | Android.bp | 23 "android.hardware.graphics.allocator@3.0",
|
/device/linaro/dragonboard/ |
D | mini.mk | 24 android.hidl.allocator@1.0-service \
|
/device/google/cuttlefish/shared/graphics/ |
D | device_vendor.mk | 64 android.hardware.graphics.allocator-service.minigbm \
|