/hardware/google/gfxstream/guest/android-emu/ |
D | Android.bp | 14 "aemu/base/AlignedBuf.cpp", 15 "aemu/base/files/MemStream.cpp", 16 "aemu/base/files/Stream.cpp", 17 "aemu/base/files/StreamSerializing.cpp", 18 "aemu/base/Path.cpp", 19 "aemu/base/Pool.cpp", 20 "aemu/base/StringFormat.cpp", 21 "aemu/base/Process.cpp", 22 "aemu/base/AndroidSubAllocator.cpp", 23 "aemu/base/synchronization/AndroidMessageChannel.cpp", [all …]
|
/hardware/google/gfxstream/third-party/glm/include/glm/detail/ |
D | type_gentype.inl | 11 typename base<vT, cT, rT, pT>::size_type base<vT, cT, rT, pT>::col_size() 17 typename base<vT, cT, rT, pT>::size_type base<vT, cT, rT, pT>::row_size() 23 typename base<vT, cT, rT, pT>::size_type base<vT, cT, rT, pT>::value_size() 29 bool base<vT, cT, rT, pT>::is_scalar() 35 bool base<vT, cT, rT, pT>::is_vector() 41 bool base<vT, cT, rT, pT>::is_matrix() 50 base<vT, cT, rT, pT>::base() function in glm::detail::base 56 base<vT, cT, rT, pT>::base function in glm::detail::base 58 typename base<vT, cT, rT, pT>::class_type const & m 63 typename genType<vT, cT, rT, pT>::size_type i = typename base<vT, cT, rT, pT>::size_type(0); [all …]
|
/hardware/google/aemu/base/ |
D | CMakeLists.txt | 4 add_library(aemu-base.headers INTERFACE) 5 # TODO: Remove this once host-common/logging.h is moved into base. 6 target_link_libraries(aemu-base.headers INTERFACE aemu-host-common.headers) 7 target_include_directories(aemu-base.headers INTERFACE include) 10 target_compile_definitions(aemu-base.headers INTERFACE WIN32_LEAN_AND_MEAN) 14 … target_compile_definitions(aemu-base.headers INTERFACE -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS) 15 target_compile_options(aemu-base.headers INTERFACE -Wthread-safety) 19 if (NOT DEFINED aemu-base-srcs) 21 set(aemu-base-srcs 43 set(aemu-base-posix-srcs [all …]
|
/hardware/google/aemu/build-config/gfxstream/ |
D | CMakeLists.txt | 2 set(GFXSTREAM_BASE_LIB aemu-base PARENT_SCOPE) 5 # aemu-base overrides: 6 # - aemu-base-srcs: aemu-base source files 7 # - aemu-base-test-srcs: aemu-base test source files 8 set(aemu-base-srcs 31 list(APPEND aemu-base-srcs CompressingStream.cpp DecompressingStream.cpp) 34 set(aemu-base-posix-srcs 37 set(aemu-base-windows-srcs 44 set(aemu-base-platform-srcs ${aemu-base-posix-srcs} system-native-mac.mm) 46 set(aemu-base-platform-srcs ${aemu-base-windows-srcs}) [all …]
|
/hardware/google/gfxstream/host/vulkan/ |
D | VkDecoderSnapshot.h | 44 namespace base { 55 void save(android::base::Stream* stream); 56 void load(android::base::Stream* stream, emugl::GfxApiLogger& gfx_logger, 61 android::base::BumpPool* pool, VkResult input_result, 65 android::base::BumpPool* pool, VkInstance instance, 68 android::base::BumpPool* pool, VkResult input_result, 72 android::base::BumpPool* pool, VkPhysicalDevice physicalDevice, 76 android::base::BumpPool* pool, 80 const uint8_t* snapshotTraceBegin, size_t snapshotTraceBytes, android::base::BumpPool* pool, 85 android::base::BumpPool* pool, [all …]
|
D | VkDecoderGlobalState.h | 38 using android::base::AutoLock; 39 using android::base::Lock; 47 namespace base { 94 void save(android::base::Stream* stream); 95 void load(android::base::Stream* stream, emugl::GfxApiLogger& gfxLogger, 110 VkResult on_vkEnumerateInstanceVersion(android::base::BumpPool* pool, uint32_t* pApiVersion); 119 VkResult on_vkCreateInstance(android::base::BumpPool* pool, 123 void on_vkDestroyInstance(android::base::BumpPool* pool, VkInstance instance, 126 VkResult on_vkEnumeratePhysicalDevices(android::base::BumpPool* pool, VkInstance instance, 131 void on_vkGetPhysicalDeviceFeatures(android::base::BumpPool* pool, [all …]
|
D | VulkanDispatch.cpp | 23 using android::base::AutoLock; 24 using android::base::Lock; 25 using android::base::pj; 37 return pj({android::base::getProgramDirectory(), suffix}) + sep + in icdJsonNameToProgramAndLauncherPaths() 38 pj({android::base::getLauncherDirectory(), suffix}); in icdJsonNameToProgramAndLauncherPaths() 44 android::base::setEnvironmentVariable("VK_ICD_FILENAMES", paths); in setIcdPaths() 60 auto androidIcd = android::base::getEnvironmentVariable("ANDROID_EMU_VK_ICD"); in initIcdPaths() 69 android::base::setEnvironmentVariable("ANDROID_EMU_VK_ICD", testingICD); in initIcdPaths() 81 android::base::setEnvironmentVariable("ANDROID_EMU_VK_ICD", "moltenvk"); in initIcdPaths() 92 (android::base::getEnvironmentVariable("ANDROID_EMUGL_VERBOSE") == "1"); in initIcdPaths() [all …]
|
D | VkDecoderSnapshot.cpp | 48 void save(android::base::Stream* stream) { mReconstruction.save(stream); } in save() 50 void load(android::base::Stream* stream, GfxApiLogger& gfx_logger, in load() 60 android::base::BumpPool* pool, VkResult input_result, in vkCreateInstance() 64 android::base::AutoLock lock(mLock); in vkCreateInstance() 76 android::base::BumpPool* pool, VkInstance instance, in vkDestroyInstance() 78 android::base::AutoLock lock(mLock); in vkDestroyInstance() 83 android::base::BumpPool* pool, VkResult input_result, in vkEnumeratePhysicalDevices() 87 android::base::AutoLock lock(mLock); in vkEnumeratePhysicalDevices() 106 android::base::BumpPool* pool, VkPhysicalDevice physicalDevice, in vkGetPhysicalDeviceFeatures() 110 android::base::BumpPool* pool, in vkGetPhysicalDeviceFormatProperties() [all …]
|
/hardware/interfaces/audio/common/all-versions/test/utility/tests/ |
D | utility_tests.cpp | 85 ASSERT_TRUE(android::base::WriteStringToFile(INVALID_XML_SOURCE, xml.path)) << strerror(errno); in TEST() 87 ASSERT_TRUE(android::base::WriteStringToFile(XSD_SOURCE, xsd.path)) << strerror(errno); in TEST() 94 android::base::WriteStringToFile(substitute(VALID_XML_SOURCE, MODULE_SOURCE), xml.path)) in TEST() 97 ASSERT_TRUE(android::base::WriteStringToFile(XSD_SOURCE, xsd.path)) << strerror(errno); in TEST() 103 ASSERT_TRUE(android::base::WriteStringToFile(substitute(XML_INCLUDED_SOURCE, MODULE_SOURCE), in TEST() 107 ASSERT_TRUE(android::base::WriteStringToFile( in TEST() 111 ASSERT_TRUE(android::base::WriteStringToFile(XSD_SOURCE, xsd.path)) << strerror(errno); in TEST() 117 ASSERT_TRUE(android::base::WriteStringToFile(substitute(XML_INCLUDED_SOURCE, MODULE_SOURCE), in TEST() 121 ASSERT_EQ(android::base::Dirname(xml.path), android::base::Dirname(xmlInclude.path)); in TEST() 122 ASSERT_TRUE(android::base::WriteStringToFile( in TEST() [all …]
|
/hardware/interfaces/radio/aidl/compat/libradiocompat/sim/ |
D | structs.cpp | 109 .base = toHidl(info), in toHidl_1_6() 161 aidlStatus.applications = toAidl(status.base.base.applications); in toAidl() 167 .cardState = static_cast<int32_t>(status.base.base.base.cardState), in toAidl() 168 .universalPinState = aidl::PinState(status.base.base.base.universalPinState), in toAidl() 169 .gsmUmtsSubscriptionAppIndex = status.base.base.base.gsmUmtsSubscriptionAppIndex, in toAidl() 170 .cdmaSubscriptionAppIndex = status.base.base.base.cdmaSubscriptionAppIndex, in toAidl() 171 .imsSubscriptionAppIndex = status.base.base.base.imsSubscriptionAppIndex, in toAidl() 173 .atr = status.base.base.atr, in toAidl() 174 .iccid = status.base.base.iccid, in toAidl() 175 .eid = status.base.eid, in toAidl() [all …]
|
/hardware/qcom/display/msm8960/libgralloc/ |
D | ionalloc.cpp | 72 void *base = 0; in alloc_buffer() local 103 base = mmap(0, ionAllocData.len, PROT_READ|PROT_WRITE, in alloc_buffer() 105 if(base == MAP_FAILED) { in alloc_buffer() 112 memset(base, 0, ionAllocData.len); in alloc_buffer() 114 clean_buffer(base, data.size, data.offset, fd_data.fd, in alloc_buffer() 118 data.base = base; in alloc_buffer() 122 data.base, ionAllocData.len, data.fd); in alloc_buffer() 127 int IonAlloc::free_buffer(void* base, size_t size, int offset, int fd) in free_buffer() argument 131 base, size, fd); in free_buffer() 137 if(base) in free_buffer() [all …]
|
/hardware/google/gfxstream/guest/mesa/src/c11/impl/ |
D | time.c | 50 c23_timespec_get(struct timespec *ts, int base) in c23_timespec_get() argument 58 if (base == TIME_UTC) { in c23_timespec_get() 69 return base; in c23_timespec_get() 70 } else if (base == TIME_MONOTONIC || base == TIME_MONOTONIC_RAW) { in c23_timespec_get() 85 return base; in c23_timespec_get() 97 int c23_timespec_get(struct timespec *ts, int base) in c23_timespec_get() argument 101 switch (base) in c23_timespec_get() 105 return base; in c23_timespec_get() 110 return base; in c23_timespec_get() 116 return base; in c23_timespec_get() [all …]
|
/hardware/qcom/display/msm8084/libgralloc/ |
D | ionalloc.cpp | 72 void *base = 0; in alloc_buffer() local 103 base = mmap(0, ionAllocData.len, PROT_READ|PROT_WRITE, in alloc_buffer() 105 if(base == MAP_FAILED) { in alloc_buffer() 114 data.base = base; in alloc_buffer() 118 data.base, ionAllocData.len, data.fd); in alloc_buffer() 123 int IonAlloc::free_buffer(void* base, size_t size, size_t offset, int fd) in free_buffer() argument 127 base, size, fd); in free_buffer() 133 if(base) in free_buffer() 134 err = unmap_buffer(base, size, offset); in free_buffer() 142 void *base = 0; in map_buffer() local [all …]
|
/hardware/qcom/display/msm8909w_3100/libgralloc/ |
D | ionalloc.cpp | 76 void *base = 0; in alloc_buffer() local 103 base = mmap(0, ionAllocData.len, PROT_READ|PROT_WRITE, in alloc_buffer() 105 if(base == MAP_FAILED) { in alloc_buffer() 114 data.base = base; in alloc_buffer() 118 data.base, ionAllocData.len, data.fd); in alloc_buffer() 123 int IonAlloc::free_buffer(void* base, unsigned int size, unsigned int offset, in free_buffer() argument 129 base, size, fd); in free_buffer() 135 if(base) in free_buffer() 136 err = unmap_buffer(base, size, offset); in free_buffer() 146 void *base = 0; in map_buffer() local [all …]
|
/hardware/qcom/display/msm8994/libgralloc/ |
D | ionalloc.cpp | 77 void *base = 0; in alloc_buffer() local 114 base = mmap(0, ionAllocData.len, PROT_READ|PROT_WRITE, in alloc_buffer() 116 if(base == MAP_FAILED) { in alloc_buffer() 125 data.base = base; in alloc_buffer() 129 data.base, ionAllocData.len, data.fd); in alloc_buffer() 134 int IonAlloc::free_buffer(void* base, unsigned int size, unsigned int offset, in free_buffer() argument 140 base, size, fd); in free_buffer() 146 if(base) in free_buffer() 147 err = unmap_buffer(base, size, offset); in free_buffer() 157 void *base = 0; in map_buffer() local [all …]
|
/hardware/qcom/display/msm8996/libgralloc/ |
D | ionalloc.cpp | 81 void *base = 0; in alloc_buffer() local 108 base = mmap(0, ionAllocData.len, PROT_READ|PROT_WRITE, in alloc_buffer() 110 if(base == MAP_FAILED) { in alloc_buffer() 119 data.base = base; in alloc_buffer() 123 data.base, ionAllocData.len, data.fd); in alloc_buffer() 128 int IonAlloc::free_buffer(void* base, unsigned int size, unsigned int offset, in free_buffer() argument 134 base, size, fd); in free_buffer() 140 if(base) in free_buffer() 141 err = unmap_buffer(base, size, offset); in free_buffer() 151 void *base = 0; in map_buffer() local [all …]
|
/hardware/qcom/display/msm8226/libgralloc/ |
D | ionalloc.cpp | 72 void *base = 0; in alloc_buffer() local 103 base = mmap(0, ionAllocData.len, PROT_READ|PROT_WRITE, in alloc_buffer() 105 if(base == MAP_FAILED) { in alloc_buffer() 114 data.base = base; in alloc_buffer() 118 data.base, ionAllocData.len, data.fd); in alloc_buffer() 123 int IonAlloc::free_buffer(void* base, unsigned int size, unsigned int offset, in free_buffer() argument 128 base, size, fd); in free_buffer() 134 if(base) in free_buffer() 135 err = unmap_buffer(base, size, offset); in free_buffer() 144 void *base = 0; in map_buffer() local [all …]
|
/hardware/qcom/display/msm8909/libgralloc/ |
D | ionalloc.cpp | 76 void *base = 0; in alloc_buffer() local 103 base = mmap(0, ionAllocData.len, PROT_READ|PROT_WRITE, in alloc_buffer() 105 if(base == MAP_FAILED) { in alloc_buffer() 114 data.base = base; in alloc_buffer() 118 data.base, ionAllocData.len, data.fd); in alloc_buffer() 123 int IonAlloc::free_buffer(void* base, unsigned int size, unsigned int offset, in free_buffer() argument 129 base, size, fd); in free_buffer() 135 if(base) in free_buffer() 136 err = unmap_buffer(base, size, offset); in free_buffer() 146 void *base = 0; in map_buffer() local [all …]
|
/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/ |
D | vk_object.h | 77 struct vk_object_base *base, 84 void vk_object_base_finish(struct vk_object_base *base); 95 void vk_object_base_recycle(struct vk_object_base *base); 98 vk_object_base_assert_valid(ASSERTED struct vk_object_base *base, in vk_object_base_assert_valid() argument 101 assert(base == NULL || base->type == obj_type); in vk_object_base_assert_valid() 107 struct vk_object_base *base = (struct vk_object_base *)(uintptr_t)handle; in vk_object_base_from_u64_handle() local 108 vk_object_base_assert_valid(base, obj_type); in vk_object_base_from_u64_handle() 109 return base; in vk_object_base_from_u64_handle() 136 struct vk_object_base *base = (struct vk_object_base *)_handle; \ 137 vk_object_base_assert_valid(base, __VK_TYPE); \ [all …]
|
/hardware/google/gfxstream/host/ |
D | RenderThread.h | 37 class RenderThread : public android::base::Thread { 38 using MemStream = android::base::MemStream; 44 android::base::Stream* loadStream = nullptr, 50 android::base::Stream* loadStream, 61 void save(android::base::Stream* stream); 83 void snapshotOperation(android::base::AutoLock* lock, OpImpl&& impl); 89 void waitForSnapshotCompletion(android::base::AutoLock* lock); 90 void loadImpl(android::base::AutoLock* lock, const SnapshotObjects& objects); 91 void saveImpl(android::base::AutoLock* lock, const SnapshotObjects& objects); 100 android::base::Lock mLock; [all …]
|
/hardware/interfaces/radio/aidl/compat/libradiocompat/voice/ |
D | structs.cpp | 190 .state = static_cast<int32_t>(call.base.base.state), in toAidl() 191 .index = call.base.base.index, in toAidl() 192 .toa = call.base.base.toa, in toAidl() 193 .isMpty = call.base.base.isMpty, in toAidl() 194 .isMT = call.base.base.isMT, in toAidl() 195 .als = static_cast<int8_t>(call.base.base.als), in toAidl() 196 .isVoice = call.base.base.isVoice, in toAidl() 197 .isVoicePrivacy = call.base.base.isVoicePrivacy, in toAidl() 198 .number = call.base.base.number, in toAidl() 199 .numberPresentation = static_cast<int32_t>(call.base.base.numberPresentation), in toAidl() [all …]
|
/hardware/interfaces/radio/aidl/compat/libradiocompat/network/ |
D | structs.cpp | 179 .mcc = ci.base.base.mcc, in toAidl() 180 .mnc = ci.base.base.mnc, in toAidl() 181 .lac = ci.base.base.lac, in toAidl() 182 .cid = ci.base.base.cid, in toAidl() 183 .arfcn = ci.base.base.arfcn, in toAidl() 184 .bsic = static_cast<int8_t>(ci.base.base.bsic), in toAidl() 185 .operatorNames = toAidl(ci.base.operatorNames), in toAidl() 206 .mcc = ci.base.base.mcc, in toAidl() 207 .mnc = ci.base.base.mnc, in toAidl() 208 .lac = ci.base.base.lac, in toAidl() [all …]
|
/hardware/google/gfxstream/common/vulkan/include/vulkan/ |
D | vk_icd.h | 129 VkIcdSurfaceBase base; member 137 VkIcdSurfaceBase base; member 145 VkIcdSurfaceBase base; member 153 VkIcdSurfaceBase base; member 161 VkIcdSurfaceBase base; member 169 VkIcdSurfaceBase base; member 177 VkIcdSurfaceBase base; member 184 VkIcdSurfaceBase base; member 191 VkIcdSurfaceBase base; member 198 VkIcdSurfaceBase base; member [all …]
|
/hardware/google/gfxstream/guest/mesa/include/vulkan/ |
D | vk_icd.h | 129 VkIcdSurfaceBase base; member 137 VkIcdSurfaceBase base; member 145 VkIcdSurfaceBase base; member 153 VkIcdSurfaceBase base; member 161 VkIcdSurfaceBase base; member 169 VkIcdSurfaceBase base; member 177 VkIcdSurfaceBase base; member 184 VkIcdSurfaceBase base; member 191 VkIcdSurfaceBase base; member 198 VkIcdSurfaceBase base; member [all …]
|
/hardware/libhardware/tests/hwc/ |
D | cnativewindow.c | 50 aBuffer base; member 57 aWindow base; member 113 static void cnw_inc_ref(aBase *base) { TRACE("buf %p ref++\n",base); } in cnw_inc_ref() argument 114 static void cnw_dec_ref(aBase *base) { TRACE("buf %p ref--\n",base); } in cnw_dec_ref() argument 116 static inline CNativeWindow *from_base(aWindow *base) { in from_base() argument 117 return (CNativeWindow *) base; in from_base() 120 static inline CNativeWindow *from_base_const(const aWindow *base) { in from_base_const() argument 121 return (CNativeWindow *) base; in from_base_const() 124 static int cnw_set_swap_interval(aWindow *base, int interval) { in cnw_set_swap_interval() argument 125 CNativeWindow *win = from_base(base); in cnw_set_swap_interval() [all …]
|