/device/linaro/poplar/sepolicy/ |
D | hiavplayer.te | 13 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 …]
|
D | hal_graphics_composer_default.te | 4 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 …]
|
D | tee.te | 3 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 };
|
D | priv_app.te | 1 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 };
|
D | system_app.te | 1 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 };
|
D | system_server.te | 3 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 };
|
D | hal_graphics_allocator_default.te | 3 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 };
|
D | fsck.te | 2 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 };
|
D | untrusted_app.te | 19 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 };
|
/device/google/cuttlefish/common/libs/security/ |
D | keymaster_channel_test.cpp | 44 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()
|
D | keymaster_channel_sharedfd.cpp | 66 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()
|
/device/google/cuttlefish/common/libs/fs/ |
D | shared_buf.cc | 52 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/linaro/dragonboard/shared/graphics/minigbm_msm/sepolicy/ |
D | minigbm_debug.te | 9 allow bootanim vendor_minigbm_debug_prop:file { getattr map open read }; 12 allow hal_graphics_allocator_default vendor_minigbm_debug_prop:file { getattr map open read }; 15 allow hal_graphics_composer_default vendor_minigbm_debug_prop:file { getattr map open read }; 18 allow platform_app vendor_minigbm_debug_prop:file { getattr map open read }; 21 allow priv_app vendor_minigbm_debug_prop:file { getattr map open read }; 24 allow surfaceflinger vendor_minigbm_debug_prop:file { getattr map open read }; 27 allow system_app vendor_minigbm_debug_prop:file { getattr map open read }; 30 allow system_server vendor_minigbm_debug_prop:file { getattr map open read }; 33 allow appdomain -isolated_app_all vendor_minigbm_debug_prop:file { getattr map open read };
|
/device/google/gs-common/edgetpu/sepolicy/ |
D | edgetpu_tachyon_service.te | 33 # Allow Tachyon service to read the overcommit_memory info. 36 # Allow Tachyon service to read the kernel version. 44 # Allow Tachyon service to read tflite DarwiNN delegate properties 46 # Allow Tachyon service to read DarwiNN runtime properties 48 # Allow Tachyon service to read hetero runtime properties 50 # Allow Tachyon service to read EdgeTPU CPU scheduler properties 56 # Need to effectively read file mapped file when mmap + mlocked. 57 allow edgetpu_tachyon_server privapp_data_file:file { map read}; 61 allow edgetpu_tachyon_server shell_data_file:file { map read};
|
D | edgetpu_dba_service.te | 33 # Allow EdgeTPU DBA service to read the overcommit_memory info. 36 # Allow EdgeTPU DBA service to read the kernel version. 44 # Allow EdgeTPU DBA service to read tflite DarwiNN delegate properties 46 # Allow EdgeTPU DBA service to read DarwiNN runtime properties 48 # Allow EdgeTPU DBA service to read hetero runtime properties 50 # Allow EdgeTPU DBA service to read EdgeTPU CPU scheduler properties
|
D | edgetpu_app_service.te | 27 # Allow EdgeTPU service to read EdgeTPU service related system properties. 29 # Allow EdgeTPU service to read device_configs that are set by the cloud server. 45 # Need to effectively read file mapped file when mmap + mlocked. 46 allow edgetpu_app_server privapp_data_file:file { map read}; 49 allow edgetpu_app_server shell_data_file:file { map read};
|
/device/google/cuttlefish/host/commands/tcp_connector/ |
D | main.cpp | 98 auto read = fifo_in->Read(buf, sizeof(buf)); in main() local 99 if (read < 0) { in main() 104 DumpPackets("Read from FIFO", buf, read); in main() 105 while (cuttlefish::WriteAll(sock, buf, read) == -1) { in main() 118 auto read = sock->Read(buf, sizeof(buf)); in main() local 119 DumpPackets("Read from socket", buf, read); in main() 120 if (read == -1) { in main() 128 auto wrote = cuttlefish::WriteAll(fifo_out, buf, read); in main()
|
/device/linaro/dragonboard/sepolicy/ |
D | rmtfs.te | 7 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 }; 14 allow rmtfs sysfs_remoteproc:file read; 16 allow rmtfs sysfs_rmtfs:file { open read };
|
D | tqftpserv.te | 6 allow tqftpserv self:qipcrtr_socket { connect create getattr read setopt write }; 7 allow tqftpserv sysfs_remoteproc:dir { open read search }; 8 allow tqftpserv sysfs_remoteproc:file { open read }; 9 allow tqftpserv tqftpserv_vendor_data_file:dir { add_name create open read search write }; 10 allow tqftpserv tqftpserv_vendor_data_file:file { create getattr open read write };
|
/device/google/trout/hal/dumpstate/1.1/config/ |
D | dumpstate_hal_configuration_V1_0.cpp | 65 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/generic/opengl-transport/host/libs/virglrenderer/ |
D | EglSurface.h | 45 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/vendor/ |
D | hal_graphics_composer_default.te | 4 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/common/libs/transport/ |
D | channel_sharedfd.cpp | 40 auto read = ReadExactBinary(input_, &message_header); in ReceiveMessage() local 41 CF_EXPECT(read == sizeof(RawMessage), in ReceiveMessage() 42 "Expected " << sizeof(RawMessage) << ", received " << read << "\n" in ReceiveMessage() 50 read = ReadExact(input_, message_bytes, message->payload_size); in ReceiveMessage() 51 CF_EXPECT(read == message->payload_size, in ReceiveMessage()
|
/device/google/cuttlefish/host/libs/location/ |
D | GpxParser.cpp | 53 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()
|
/device/google/gs-common/betterbug/sepolicy/product/private/ |
D | better_bug_app.te | 17 allow better_bug_app trace_data_file:file { getattr read }; 19 # Allow betterbug to read profile reports generated by profcollect. 28 # Allow the bug reporting frontend to read the presence and timestamp of the 41 allow better_bug_app perfetto_traces_data_file:file { read getattr }; 46 # Allow BetterBug to read system boot reason
|