/system/tools/aidl/ |
D | ast_java.cpp | 40 void WriteComment(CodeWriter* to, const std::string& comment) { in WriteComment() argument 41 to->Write("%s", comment.c_str()); in WriteComment() 42 if (!comment.empty() && comment.back() != '\n') to->Write("\n"); in WriteComment() 45 void WriteModifiers(CodeWriter* to, int mod, int mask) { in WriteModifiers() argument 49 to->Write("@Override "); in WriteModifiers() 53 to->Write("public "); in WriteModifiers() 55 to->Write("private "); in WriteModifiers() 57 to->Write("protected "); in WriteModifiers() 61 to->Write("static "); in WriteModifiers() 65 to->Write("final "); in WriteModifiers() [all …]
|
D | ast_cpp.cpp | 42 void LiteralDecl::Write(CodeWriter* to) const { in Write() 43 to->Write("%s", expression_.c_str()); in Write() 62 void ClassDecl::Write(CodeWriter* to) const { in Write() 64 to->Write("template <typename %s>\n", base::Join(template_params_, ", typename ").c_str()); in Write() 66 to->Write("class"); in Write() 68 to->Write(" %s", attributes_.c_str()); in Write() 70 to->Write(" %s ", name_.c_str()); in Write() 72 if (parent_.length() > 0) to->Write(": public %s ", parent_.c_str()); in Write() 74 to->Write("{\n"); in Write() 76 if (!public_members_.empty()) to->Write("public:\n"); in Write() [all …]
|
/system/libhwbinder/ |
D | TextOutput.h | 42 inline explicit Bundle(TextOutput& to) : mTO(to) { to.pushBundle(); } in Bundle() argument 59 TextOutput& endl(TextOutput& to); 60 TextOutput& indent(TextOutput& to); 61 TextOutput& dedent(TextOutput& to); 64 TextOutput& operator<<(TextOutput& to, const T& val) 69 to.print(str.c_str(), str.size()); 70 return to; 73 TextOutput& operator<<(TextOutput& to, TextOutputManipFunc func); 87 TextOutput& operator<<(TextOutput& to, const TypeCode& val); 116 TextOutput& operator<<(TextOutput& to, const HexDump& val); [all …]
|
/system/sepolicy/prebuilts/api/29.0/public/ |
D | hal_health.te | 1 # HwBinder IPC from client to server, and callbacks 9 # Allow to listen to uevents for updates 12 # Allow to read /sys/class/power_supply directory 15 # Allow to read files under /sys/class/power_supply. Implementations typically have symlinks 16 # to vendor specific files. Vendors should mark sysfs_batteryinfo on all files read by health 20 # Allow to wake up to send periodic events 23 # Write to /dev/kmsg 26 # Allow to use timerfd to wake itself up periodically to send health info.
|
D | postinstall.te | 2 # Extend the permissions in this domain to allow this program to access other 6 # Allow postinstall to write to its stdout/stderr when redirected via pipes to 11 # Allow postinstall to read and execute directories and files in the same 17 # Allow postinstall to execute the shell or other system executables. 22 # Allow postinstall to execute shell in recovery. 31 # Allow postinstall scripts to talk to the system server. 35 # Need to talk to the otadexopt service. 38 # Allow postinstall scripts to trigger f2fs garbage collection 43 # should transition to postinstall, as it is only meant to run during the
|
/system/sepolicy/public/ |
D | hal_health.te | 1 # HwBinder IPC from client to server, and callbacks 9 # Allow to listen to uevents for updates 12 # Allow to read /sys/class/power_supply directory 15 # Allow to read files under /sys/class/power_supply. Implementations typically have symlinks 16 # to vendor specific files. Vendors should mark sysfs_batteryinfo on all files read by health 20 # Allow to wake up to send periodic events 23 # Write to /dev/kmsg 26 # Allow to use timerfd to wake itself up periodically to send health info.
|
D | postinstall.te | 2 # Extend the permissions in this domain to allow this program to access other 6 # Allow postinstall to write to its stdout/stderr when redirected via pipes to 11 # Allow postinstall to read and execute directories and files in the same 17 # Allow postinstall to execute the shell or other system executables. 22 # Allow postinstall to execute shell in recovery. 31 # Allow postinstall scripts to talk to the system server. 35 # Need to talk to the otadexopt service. 38 # Allow postinstall scripts to trigger f2fs garbage collection 43 # should transition to postinstall, as it is only meant to run during the
|
/system/sepolicy/prebuilts/api/30.0/public/ |
D | hal_health.te | 1 # HwBinder IPC from client to server, and callbacks 9 # Allow to listen to uevents for updates 12 # Allow to read /sys/class/power_supply directory 15 # Allow to read files under /sys/class/power_supply. Implementations typically have symlinks 16 # to vendor specific files. Vendors should mark sysfs_batteryinfo on all files read by health 20 # Allow to wake up to send periodic events 23 # Write to /dev/kmsg 26 # Allow to use timerfd to wake itself up periodically to send health info.
|
D | postinstall.te | 2 # Extend the permissions in this domain to allow this program to access other 6 # Allow postinstall to write to its stdout/stderr when redirected via pipes to 11 # Allow postinstall to read and execute directories and files in the same 17 # Allow postinstall to execute the shell or other system executables. 22 # Allow postinstall to execute shell in recovery. 31 # Allow postinstall scripts to talk to the system server. 35 # Need to talk to the otadexopt service. 38 # Allow postinstall scripts to trigger f2fs garbage collection 43 # should transition to postinstall, as it is only meant to run during the
|
/system/sepolicy/prebuilts/api/31.0/public/ |
D | hal_health.te | 1 # HwBinder IPC from client to server, and callbacks 9 # Allow to listen to uevents for updates 12 # Allow to read /sys/class/power_supply directory 15 # Allow to read files under /sys/class/power_supply. Implementations typically have symlinks 16 # to vendor specific files. Vendors should mark sysfs_batteryinfo on all files read by health 20 # Allow to wake up to send periodic events 23 # Write to /dev/kmsg 26 # Allow to use timerfd to wake itself up periodically to send health info.
|
D | postinstall.te | 2 # Extend the permissions in this domain to allow this program to access other 6 # Allow postinstall to write to its stdout/stderr when redirected via pipes to 11 # Allow postinstall to read and execute directories and files in the same 17 # Allow postinstall to execute the shell or other system executables. 22 # Allow postinstall to execute shell in recovery. 31 # Allow postinstall scripts to talk to the system server. 35 # Need to talk to the otadexopt service. 38 # Allow postinstall scripts to trigger f2fs garbage collection 43 # should transition to postinstall, as it is only meant to run during the
|
/system/sepolicy/prebuilts/api/28.0/public/ |
D | hal_health.te | 1 # HwBinder IPC from client to server, and callbacks 8 # Read access to system files for HALs in 10 # to be able to open the hal implementation .so files 15 # Allow to listen to uevents for updates 18 # Allow to read /sys/class/power_supply directory 21 # Allow to read files under /sys/class/power_supply. Implementations typically have symlinks 22 # to vendor specific files. Vendors should mark sysfs_batteryinfo on all files read by health 26 # Allow to wake up to send periodic events 29 # Write to /dev/kmsg
|
D | postinstall.te | 2 # Extend the permissions in this domain to allow this program to access other 6 # Allow postinstall to write to its stdout/stderr when redirected via pipes to 11 # Allow postinstall to read and execute directories and files in the same 17 # Allow postinstall to execute the shell or other system executables. 26 # Allow postinstall scripts to talk to the system server. 30 # Need to talk to the otadexopt service. 34 # should transition to postinstall, as it is only meant to run during the
|
/system/sepolicy/prebuilts/api/31.0/private/ |
D | automotive_display_service.te | 7 # Allow to add a display service to the manager 10 # Allow init to launch automotive display service 13 # Allow to use Binder IPC for SurfaceFlinger. 16 # Allow to use HwBinder IPC for HAL implementations. 21 # Allow to read the target property. 24 # Allow to find SurfaceFlinger. 27 # Allow client domain to do binder IPC to serverdomain. 30 # Allow to use a graphics mapper 33 # Allow to use hidl token service
|
D | dumpstate.te | 6 # Execute and transition to the vdc domain 26 # Allow dumpstate to make binder calls to incidentd 29 # Allow dumpstate to make binder calls to storaged service 32 # Allow dumpstate to make binder calls to statsd 35 # Allow dumpstate to talk to gpuservice over binder 38 # Allow dumpstate to talk to idmap over binder 41 # Allow dumpstate to talk to profcollectd over binder 49 # Signal native processes to dump their stack. 76 # For comminucating with the system process to do confirmation ui. 80 # dumpstate_prop is used to share state with the Shell app. [all …]
|
D | snapshotctl.te | 4 # Allow init to run snapshotctl and do auto domain transfer. 7 # Allow to start gsid service. 10 # Allow to talk to gsid. 15 # Allow to create/read/write/delete OTA metadata files for snapshot status and COW file status. 20 # Allow to get A/B slot suffix from device tree or kernel cmdline. 24 # Needed to (re-)map logical partitions. 28 # Interact with device-mapper to collapse snapshots. 31 # Needed to mutate device-mapper nodes. 34 # Snapshotctl talk to boot control HAL to set merge status. 38 # Allow snapshotctl to write to statsd socket.
|
/system/sepolicy/private/ |
D | automotive_display_service.te | 7 # Allow to add a display service to the manager 10 # Allow init to launch automotive display service 13 # Allow to use Binder IPC for SurfaceFlinger. 16 # Allow to use HwBinder IPC for HAL implementations. 21 # Allow to read the target property. 24 # Allow to find SurfaceFlinger. 27 # Allow client domain to do binder IPC to serverdomain. 30 # Allow to use a graphics mapper 33 # Allow to use hidl token service
|
D | dumpstate.te | 6 # Execute and transition to the vdc domain 26 # Allow dumpstate to make binder calls to incidentd 29 # Allow dumpstate to make binder calls to storaged service 32 # Allow dumpstate to make binder calls to statsd 35 # Allow dumpstate to talk to gpuservice over binder 38 # Allow dumpstate to talk to idmap over binder 41 # Allow dumpstate to talk to profcollectd over binder 49 # Signal native processes to dump their stack. 76 # For comminucating with the system process to do confirmation ui. 80 # dumpstate_prop is used to share state with the Shell app. [all …]
|
D | snapshotctl.te | 4 # Allow init to run snapshotctl and do auto domain transfer. 7 # Allow to start gsid service. 10 # Allow to talk to gsid. 15 # Allow to create/read/write/delete OTA metadata files for snapshot status and COW file status. 20 # Allow to get A/B slot suffix from device tree or kernel cmdline. 24 # Needed to (re-)map logical partitions. 28 # Interact with device-mapper to collapse snapshots. 31 # Needed to mutate device-mapper nodes. 34 # Snapshotctl talk to boot control HAL to set merge status. 38 # Allow snapshotctl to write to statsd socket.
|
/system/sepolicy/prebuilts/api/30.0/private/ |
D | automotive_display_service.te | 7 # Allow to add a display service to the manager 10 # Allow init to launch automotive display service 13 # Allow to use Binder IPC for SurfaceFlinger. 16 # Allow to use HwBinder IPC for HAL implementations. 20 # Allow to read the target property. 23 # Allow to find SurfaceFlinger. 26 # Allow client domain to do binder IPC to serverdomain. 29 # Allow to use a graphics mapper 32 # Allow to use hidl token service
|
D | snapshotctl.te | 4 # Allow init to run snapshotctl and do auto domain transfer. 7 # Allow to start gsid service. 10 # Allow to talk to gsid. 15 # Allow to create/read/write/delete OTA metadata files for snapshot status and COW file status. 20 # Allow to get A/B slot suffix from device tree or kernel cmdline. 24 # Needed to (re-)map logical partitions. 28 # Interact with device-mapper to collapse snapshots. 31 # Needed to mutate device-mapper nodes. 34 # Snapshotctl talk to boot control HAL to set merge status. 38 # Allow snapshotctl to write to statsd socket.
|
/system/chre/doc/ |
D | vendor_extensions.md | 5 The CHRE framework is easily extensible with no modifications to the core 7 steps must be performed. At a high-level, to add a new vendor-specific API to 13 2. Expose the new APIs from the framework to nanoapps, and connect them to a new 14 module to provide the desired functionality 17 event subsystem, to provide complete functionality that fits within the 20 It's best to refer to existing standard CHRE API feature areas, such as 28 it’s recommended to prefix the APIs with the vendor’s name as lowercase. For 30 ‘widget’ API, it’s recommended to use a naming scheme like 37 where vendors may wish or need to define a custom value in an existing field. To 39 only use values within vendor-reserved ranges. If you would like to add a new [all …]
|
/system/sepolicy/prebuilts/api/26.0/public/ |
D | postinstall.te | 2 # Extend the permissions in this domain to allow this program to access other 6 # Allow postinstall to write to its stdout/stderr when redirected via pipes to 11 # Allow postinstall to read and execute directories and files in the same 17 # Allow postinstall to execute the shell or other system executables. 26 # Allow postinstall scripts to talk to the system server. 30 # Need to talk to the otadexopt service. 34 # should transition to postinstall, as it is only meant to run during the
|
/system/sepolicy/prebuilts/api/27.0/public/ |
D | postinstall.te | 2 # Extend the permissions in this domain to allow this program to access other 6 # Allow postinstall to write to its stdout/stderr when redirected via pipes to 11 # Allow postinstall to read and execute directories and files in the same 17 # Allow postinstall to execute the shell or other system executables. 26 # Allow postinstall scripts to talk to the system server. 30 # Need to talk to the otadexopt service. 34 # should transition to postinstall, as it is only meant to run during the
|
/system/sepolicy/prebuilts/api/29.0/private/ |
D | dumpstate.te | 5 # Execute and transition to the vdc domain 19 # Allow dumpstate to make binder calls to incidentd 22 # Allow dumpstate to make binder calls to storaged service 25 # Allow dumpstate to make binder calls to statsd 28 # Allow dumpstate to talk to gpuservice over binder 31 # Allow dumpstate to talk to idmap over binder 37 # Signal native processes to dump their stack. 51 # For comminucating with the system process to do confirmation ui.
|