Home
last modified time | relevance | path

Searched refs:read (Results 1 – 25 of 561) sorted by relevance

12345678910>>...23

/device/generic/goldfish-opengl/system/vulkan_enc/
Dgoldfish_vk_marshaling_guest.cpp59 vkStream->read((uint32_t*)&forUnmarshaling->width, sizeof(uint32_t)); in unmarshal_VkExtent2D()
60 vkStream->read((uint32_t*)&forUnmarshaling->height, sizeof(uint32_t)); in unmarshal_VkExtent2D()
74 vkStream->read((uint32_t*)&forUnmarshaling->width, sizeof(uint32_t)); in unmarshal_VkExtent3D()
75 vkStream->read((uint32_t*)&forUnmarshaling->height, sizeof(uint32_t)); in unmarshal_VkExtent3D()
76 vkStream->read((uint32_t*)&forUnmarshaling->depth, sizeof(uint32_t)); in unmarshal_VkExtent3D()
89 vkStream->read((int32_t*)&forUnmarshaling->x, sizeof(int32_t)); in unmarshal_VkOffset2D()
90 vkStream->read((int32_t*)&forUnmarshaling->y, sizeof(int32_t)); in unmarshal_VkOffset2D()
104 vkStream->read((int32_t*)&forUnmarshaling->x, sizeof(int32_t)); in unmarshal_VkOffset3D()
105 vkStream->read((int32_t*)&forUnmarshaling->y, sizeof(int32_t)); in unmarshal_VkOffset3D()
106 vkStream->read((int32_t*)&forUnmarshaling->z, sizeof(int32_t)); in unmarshal_VkOffset3D()
[all …]
/device/generic/vulkan-cereal/stream-servers/vulkan/cereal/common/
Dgoldfish_vk_marshaling.cpp59 vkStream->read((uint32_t*)&forUnmarshaling->width, sizeof(uint32_t)); in unmarshal_VkExtent2D()
60 vkStream->read((uint32_t*)&forUnmarshaling->height, sizeof(uint32_t)); in unmarshal_VkExtent2D()
74 vkStream->read((uint32_t*)&forUnmarshaling->width, sizeof(uint32_t)); in unmarshal_VkExtent3D()
75 vkStream->read((uint32_t*)&forUnmarshaling->height, sizeof(uint32_t)); in unmarshal_VkExtent3D()
76 vkStream->read((uint32_t*)&forUnmarshaling->depth, sizeof(uint32_t)); in unmarshal_VkExtent3D()
89 vkStream->read((int32_t*)&forUnmarshaling->x, sizeof(int32_t)); in unmarshal_VkOffset2D()
90 vkStream->read((int32_t*)&forUnmarshaling->y, sizeof(int32_t)); in unmarshal_VkOffset2D()
104 vkStream->read((int32_t*)&forUnmarshaling->x, sizeof(int32_t)); in unmarshal_VkOffset3D()
105 vkStream->read((int32_t*)&forUnmarshaling->y, sizeof(int32_t)); in unmarshal_VkOffset3D()
106 vkStream->read((int32_t*)&forUnmarshaling->z, sizeof(int32_t)); in unmarshal_VkOffset3D()
[all …]
/device/linaro/poplar/sepolicy/
Dhiavplayer.te13 allow hiavplayer hi_sys_device:chr_file { read write open ioctl };
14 allow hiavplayer hi_vfmw_device:chr_file { open read write ioctl getattr};
15 allow hiavplayer hi_userproc_device:chr_file { read write open ioctl };
16 allow hiavplayer hi_log_device:chr_file { read write open getattr ioctl };
17 allow hiavplayer hi_mem_device:chr_file { read write open ioctl };
18 allow hiavplayer hi_module_device:chr_file { read write open ioctl };
19 allow hiavplayer hi_stat_device:chr_file { read write open ioctl };
20 allow hiavplayer hi_userproc_device:chr_file { read write open ioctl };
21 allow hiavplayer hi_vdec_device:chr_file { read write open ioctl };
22 allow hiavplayer hi_sync_device:chr_file { read write open ioctl };
[all …]
Dhal_graphics_composer_default.te4 allow hal_graphics_composer_default hi_vfmw_device:chr_file { read write open ioctl getattr};
5 allow hal_graphics_composer_default hi_mem_device:chr_file { open read write};
6 allow hal_graphics_composer_default graphics_device:chr_file { read write};
8 allow hal_graphics_composer_default hi_gfx2d_device:chr_file { read write open ioctl };
9 allow hal_graphics_composer_default hi_vo_device:chr_file { read write open ioctl };
10 allow hal_graphics_composer_default mmz_userdev_device:chr_file { read write open ioctl };
11 allow hal_graphics_composer_default hi_vdec_device:chr_file { read write open ioctl };
12 allow hal_graphics_composer_default hi_pq_device:chr_file { read write open ioctl};
13 allow hal_graphics_composer_default hi_disp_device:chr_file { read write open ioctl};
14 allow hal_graphics_composer_default hi_sys_device:chr_file { read write open ioctl};
[all …]
Dtee.te3 allow shell tee_exec:file { getattr execute read open execute_no_trans };
4 ## allow shell tee_data_file:file { create write open getattr unlink read };
6 ## allow shell tee_data_file:chr_file { read write open ioctl };
7 allow tee console_device:chr_file { getattr read write ioctl };
14 allow tee vendor_data_file:file { getattr write open read create append };
17 allow tee tee:tcp_socket { create connect read write getopt setopt };
18 allow tee tee:udp_socket { create connect read write getopt getattr };
25 allow netd tee:tcp_socket { read write getopt setopt };
26 allow netd tee:udp_socket { read write getopt setopt };
Dpriv_app.te1 allow priv_app mali_device:chr_file { read write open getattr ioctl };
2 allow priv_app sysfs:file { getattr }; # open read
3 allow priv_app proc_stat:file { read write open getattr };
4 allow priv_app sysfs_hisi:file { read write open getattr };
5 allow priv_app proc_uptime:file { getattr open read };
11 allow priv_app hi_vfmw_device:chr_file { write read open ioctl getattr};
12 allow priv_app hi_overlay_file:file { read open getattr };
Dsystem_app.te1 allow system_app mali_device:chr_file { getattr ioctl open read write };
2 allow system_app hi_vdec_device:chr_file { getattr read write open ioctl };
4 allow system_app hi_vfmw_device:file { write read open getattr };
5 allow system_app hi_vfmw_device:chr_file { write read open getattr };
6 allow system_app hi_overlay_file:file { read open getattr };
Dsystem_server.te3 allow system_server hi_vdec_device:chr_file { read write open };
4 allow system_server sysfs_hisi:file { write read open getattr };
5 allow system_server sysfs:dir { read open };
6 allow system_server hi_vfmw_device:chr_file { open read write getattr ioctl };
7 allow system_server hi_overlay_file:file { read open getattr };
Dhal_graphics_allocator_default.te3 allow hal_graphics_allocator_default graphics_device:chr_file { read write open ioctl };
4 allow hal_graphics_allocator_default hi_vfmw_device:chr_file { read write open getattr ioctl };
5 allow hal_graphics_allocator_default hi_vdec_device:chr_file { read write open };
6 allow hal_graphics_allocator_default hi_mem_device:chr_file { read write open };
7 allow hal_graphics_allocator_default mmz_userdev_device:chr_file { read write open ioctl };
Dfsck.te2 allow fsck hi_system_block_device:blk_file { getattr read open write ioctl };
4 allow fsck hi_vendor_block_device:blk_file { getattr read open write ioctl };
6 allow fsck hi_cache_block_device:blk_file { getattr read open write ioctl };
8 allow fsck hi_userdata_block_device:blk_file { getattr read open write ioctl };
9 # allow fsck block_device:blk_file { ioctl open read write };
Duntrusted_app.te19 tombstone_data_file }:dir { getattr read search };
23 allow untrusted_app mali_device:chr_file { getattr ioctl open read write };
25 allow untrusted_app proc_modules:file { read };
26 allow untrusted_app sysfs_kernel_notes:file { read };
27 allow untrusted_app hi_vfmw_device:chr_file { write read open ioctl };
Dmediacodec.te2 allow mediacodec hi_omxvdec_device:chr_file { read write open ioctl };
3 allow mediacodec hi_vfmw_device:chr_file { read write open };
4 allow mediacodec mmz_userdev_device:chr_file { read write ioctl open };
5 allow mediacodec system_file:dir { open read };
Dsurfaceflinger.te2 allow surfaceflinger hi_vdec_device:chr_file { read write open ioctl };
3 allow surfaceflinger hi_overlay_file:file { read open getattr };
4 allow surfaceflinger hi_vfmw_device:chr_file { read write open getattr ioctl };
7 #allow surfaceflinger vendor_file:file { read open getattr execute };
/device/google/cuttlefish/common/libs/security/
Dkeymaster_channel_test.cpp44 keymaster::Buffer read; in TEST() local
46 EXPECT_TRUE(read.Deserialize(&read_data, read_data + response->payload_size)) in TEST()
48 ASSERT_EQ(request.end() - request.begin(), read.end() - read.begin()); in TEST()
49 ASSERT_EQ(request.buffer_size(), read.buffer_size()); in TEST()
50 ASSERT_TRUE(std::equal(request.begin(), request.end(), read.begin())); in TEST()
69 keymaster::Buffer read; in TEST() local
71 EXPECT_TRUE(read.Deserialize(&read_data, read_data + response->payload_size)) in TEST()
73 ASSERT_EQ(request.end() - request.begin(), read.end() - read.begin()); in TEST()
74 ASSERT_EQ(request.buffer_size(), read.buffer_size()); in TEST()
75 ASSERT_TRUE(std::equal(request.begin(), request.end(), read.begin())); in TEST()
Dkeymaster_channel_sharedfd.cpp66 auto read = ReadExactBinary(input_, &message_header); in ReceiveMessage() local
67 if (read != sizeof(keymaster_message)) { in ReceiveMessage()
69 << read; in ReceiveMessage()
79 read = ReadExact(input_, message_bytes, message->payload_size); in ReceiveMessage()
80 if (read != message->payload_size) { in ReceiveMessage()
Dgatekeeper_channel_sharedfd.cpp61 auto read = ReadExactBinary(input_, &message_header); in ReceiveMessage() local
62 if (read != sizeof(GatekeeperRawMessage)) { in ReceiveMessage()
64 << read; in ReceiveMessage()
73 read = ReadExact(input_, message_bytes, message->payload_size); in ReceiveMessage()
74 if (read != message->payload_size) { in ReceiveMessage()
Dchannel_sharedfd.cpp56 auto read = ReadExactBinary(input_, &message_header); in ReceiveMessage() local
57 CF_EXPECT(read == sizeof(RawMessage), in ReceiveMessage()
58 "Expected " << sizeof(RawMessage) << ", received " << read << "\n" << in ReceiveMessage()
65 read = ReadExact(input_, message_bytes, message->payload_size); in ReceiveMessage()
66 CF_EXPECT(read == message->payload_size, in ReceiveMessage()
/device/google/cuttlefish/common/libs/fs/
Dshared_buf.cc52 ssize_t read = 0; in ReadExact() local
54 read = fd->Read((void*)&(buf[total_read]), size - total_read); in ReadExact()
55 if (read <= 0) { in ReadExact()
56 if (read < 0) { in ReadExact()
58 return read; in ReadExact()
62 total_read += read; in ReadExact()
70 ssize_t read; in ReadAll() local
71 while ((read = fd->Read(buff, BUFF_SIZE - 1)) > 0) { in ReadAll()
73 ss << std::string(buff, read); in ReadAll()
75 if (read < 0) { in ReadAll()
[all …]
/device/google/trout/hal/dumpstate/aidl/1.0/config/
Ddumpstate_hal_configuration_V1_0.cpp65 DumpstateHalConfiguration value = DumpstateHalConfiguration::read(child); in readBuffer()
82 DumpstateHalConfiguration value = DumpstateHalConfiguration::read(child); in readFile()
107 Service Service::read(xmlNode* root) { in read() function in dumpstate::hal::configuration::V1_0::Service
142 Services Services::read(xmlNode* root) { in read() function in dumpstate::hal::configuration::V1_0::Services
147 Service value = Service::read(child); in read()
172 SystemLogs SystemLogs::read(xmlNode* root) { in read() function in dumpstate::hal::configuration::V1_0::SystemLogs
177 Service value = Service::read(child); in read()
228 DumpstateHalConfiguration DumpstateHalConfiguration::read(xmlNode* root) { in read() function in dumpstate::hal::configuration::V1_0::DumpstateHalConfiguration
240 Services value = Services::read(child); in read()
243 SystemLogs value = SystemLogs::read(child); in read()
/device/linaro/dragonboard/sepolicy/
Drmtfs.te7 allow rmtfs modem_block_device:blk_file { open read };
8 allow rmtfs rmtfs_device:chr_file { open read write };
10 allow rmtfs self:qipcrtr_socket { bind create getattr read setopt write };
11 allow rmtfs sysfs_mss:dir { open read search };
12 allow rmtfs sysfs_remoteproc:dir { open read search };
15 allow rmtfs sysfs_rmtfs:file { open read };
Deth_mac_addr.te5 allow eth_mac_addr proc_cmdline:file { open read };
6 allow eth_mac_addr rootfs:dir { open read };
8 allow eth_mac_addr self:netlink_route_socket { bind create getattr nlmsg_readpriv nlmsg_write read
10 allow eth_mac_addr shell_exec:file { execute getattr map read };
12 allow eth_mac_addr toolbox_exec:file { execute execute_no_trans getattr map open read };
/device/generic/opengl-transport/host/libs/virglrenderer/
DEglSurface.h45 if (read_ && sur->read) in bind()
52 read = true; in bind()
61 if (read || draw) { in unbind()
63 read = false; in unbind()
66 if (read || draw) in unbind()
88 bool read = false; member
/device/generic/goldfish/sepolicy/common/
Dhal_graphics_composer_default.te4 allow hal_graphics_composer_default vndbinder_device:chr_file { ioctl open read write map };
5 allow hal_graphics_composer_default graphics_device:chr_file { ioctl open read write map };
6 allow hal_graphics_composer_default gpu_device:chr_file { ioctl open read write map };
8 allow hal_graphics_composer_default hal_graphics_allocator_default:vsock_socket { read write getatt…
9 allow hal_graphics_composer_default self:netlink_kobject_uevent_socket { create bind read };
/device/google/cuttlefish/host/commands/tcp_connector/
Dmain.cpp66 auto read = fifo_in->Read(buf, sizeof(buf)); in main() local
67 while (cuttlefish::WriteAll(sock, buf, read) == -1) { in main()
79 auto read = sock->Read(buf, sizeof(buf)); in main() local
80 if (read == -1) { in main()
87 cuttlefish::WriteAll(fifo_out, buf, read); in main()
/device/google/cuttlefish/host/libs/location/
DGpxParser.cpp53 int read = SscanfWithCLocale(reinterpret_cast<const char *>(tmpStr), "%f", in parseLocation() local
56 if (read != 1) { in parseLocation()
67 int read = SscanfWithCLocale(reinterpret_cast<const char *>(tmpStr), "%f", in parseLocation() local
70 if (read != 1) { in parseLocation()
112 int read = SscanfWithCLocale(reinterpret_cast<const char *>(tmpStr), in parseLocation() local
115 if (read != 1) { in parseLocation()

12345678910>>...23