Home
last modified time | relevance | path

Searched refs:to (Results 1 – 25 of 366) sorted by relevance

12345678910>>...15

/system/tools/aidl/
Dast_java.cpp29 void WriteModifiers(CodeWriter* to, int mod, int mask) { in WriteModifiers() argument
33 to->Write("@Override "); in WriteModifiers()
37 to->Write("public "); in WriteModifiers()
39 to->Write("private "); in WriteModifiers()
41 to->Write("protected "); in WriteModifiers()
45 to->Write("static "); in WriteModifiers()
49 to->Write("final "); in WriteModifiers()
53 to->Write("abstract "); in WriteModifiers()
57 void WriteArgumentList(CodeWriter* to, const vector<Expression*>& arguments) { in WriteArgumentList() argument
60 arguments[i]->Write(to); in WriteArgumentList()
[all …]
Dast_cpp.cpp44 void ClassDecl::Write(CodeWriter* to) const { in Write()
45 to->Write("class %s ", name_.c_str()); in Write()
48 to->Write(": public %s ", parent_.c_str()); in Write()
50 to->Write("{\n"); in Write()
53 to->Write("public:\n"); in Write()
56 dec->Write(to); in Write()
59 to->Write("private:\n"); in Write()
62 dec->Write(to); in Write()
64 to->Write("}; // class %s\n", name_.c_str()); in Write()
84 void Enum::Write(CodeWriter* to) const { in Write()
[all …]
Dast_java.h55 void WriteModifiers(CodeWriter* to, int mod, int mask);
61 virtual void Write(CodeWriter* to) const = 0;
66 virtual void Write(CodeWriter* to) const = 0;
74 void Write(CodeWriter* to) const override;
83 void Write(CodeWriter* to) const override;
96 void WriteDeclaration(CodeWriter* to) const;
97 void Write(CodeWriter* to) const;
109 void Write(CodeWriter* to) const;
122 void Write(CodeWriter* to) const override;
127 virtual void Write(CodeWriter* to) const = 0;
[all …]
/system/media/audio_utils/
DDoxyfile.orig3 # This file describes the settings to be used by the documentation system
37 # The PROJECT_NUMBER tag can be used to enter a project or revision number. This
52 # to the output directory.
56 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path
58 # entered, it will be relative to the location where doxygen was started. If
63 # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create 4096 sub-
73 # The OUTPUT_LANGUAGE tag is used to specify the language in which all
75 # information to generate all constant output in the proper language.
88 # If the BRIEF_MEMBER_DESC tag is set to YES doxygen will include brief member
90 # documentation (similar to Javadoc). Set to NO to disable this.
[all …]
DDoxyfile3 # This file describes the settings to be used by the documentation system
37 # The PROJECT_NUMBER tag can be used to enter a project or revision number. This
52 # to the output directory.
56 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path
58 # entered, it will be relative to the location where doxygen was started. If
63 # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create 4096 sub-
73 # The OUTPUT_LANGUAGE tag is used to specify the language in which all
75 # information to generate all constant output in the proper language.
88 # If the BRIEF_MEMBER_DESC tag is set to YES doxygen will include brief member
90 # documentation (similar to Javadoc). Set to NO to disable this.
[all …]
/system/sepolicy/
Dte_macros3 # Allow a transition from olddomain to newdomain
6 # cause it to occur automatically - use domain_auto_trans
10 # Old domain may exec the file and transition to the new domain.
15 # New domain can send SIGCHLD to its caller.
25 # Automatically transition from olddomain to newdomain
37 # Allow domain to create a file labeled file_type in a
40 # cause it to occur automatically - use file_type_auto_trans
44 # Allow the domain to add entries to the directory.
46 # Allow the domain to create the file.
66 # Allow the specified domain to read directories, files
[all …]
Dpostinstall.te2 # 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 # No domain other than update_engine should transition to postinstall, as it is
23 # only meant to run during the update.
30 # Allow postinstall scripts to talk to the system server.
34 # Need to talk to the otadexopt service.
Dkernel.te21 # cgroup filesystem initialization prior to setting the cgroup root directory label.
28 # Initial setenforce by init prior to switching to init domain.
29 # We use dontaudit instead of allow to prevent a kernel spawned userspace
33 # Write to /proc/1/oom_adj prior to switching to init domain.
38 # As part of rebooting, init writes "u" to /proc/sysrq-trigger to
44 # Allow writing to /dev/__kmsg__ which was created prior to
48 # Set checkreqprot by init.rc prior to switching to init domain.
57 # Allow the kernel to read OBB files from app directories. (b/17428116)
68 # Access to /data/media.
69 # This should be removed if sdcardfs is modified to alter the secontext for its
[all …]
Duntrusted_app.te6 ### optionally package name to seinfo value) and seapp_contexts (maps UID
7 ### and optionally seinfo value to domain for process and type for data
12 ### domain is assigned to all non-system apps as well as to any system apps
14 ### a system app into a specific domain, add a signer entry for it to
29 # to their sandbox directory and then execute.
44 # Figure out a way to remove these rules.
55 # This includes what used to be media_app, shared_app, and release_app.
58 # Access to /data/media.
63 # TODO: narrow this to just MediaProvider
66 # allow cts to query all services
[all …]
Dpriv_app.te15 # to their sandbox directory and then execute.
41 # TODO: narrow this to just MediaProvider
44 # Write to /cache.
48 # Access to /data/media.
57 # Allow verifier to access staged apks.
64 # Allow GMS core to access perfprofd output, which is stored
65 # in /data/misc/perfprofd/. GMS core will need to list all
66 # data stored in that directory to process them one by one.
72 # Allow GMS core to scan executables on the system partition
88 # Allow GMS core to communicate with update_engine for A/B update.
[all …]
Ddomain.te37 # Same as adbd rules above, except allow su to do the same thing
49 # allow "gdbserver --attach" to work for su.
52 # Allow writing coredumps to /cores/*
58 ### Talk to debuggerd.
88 # messages to logd.
135 # Almost all processes log tracing information to
150 # Do not allow any domain other than init or recovery to create unlabeled files.
153 # Limit ability to ptrace or read sensitive /proc/pid files of processes
154 # with other UIDs to these whitelisted domains.
164 # Limit device node creation to these whitelisted domains.
[all …]
Dnetd.te11 # than one of the groups assigned to the current process to see if
13 # bit was even set. We do not appear to truly need this capability
14 # for netd to operate.
35 # TODO: added to match above sysfs rule. Remove me?
38 # Needed to update /data/misc/wifi/hostapd.conf
39 # TODO: See what we can do to reduce the need for
45 # Needed to update /data/misc/net/rt_tables
49 # Allow netd to spawn hostapd in it's own domain
53 # Allow netd to spawn dnsmasq in it's own domain
57 # Allow netd to start clatd in its own domain
[all …]
/system/core/adb/
DSERVICES.TXT1 This file tries to document all requests a client can make
2 to the ADB server of an adbd daemon. See the OVERVIEW.TXT document
3 to understand what's going on here.
11 hex string corresponding to its internal version number, without
15 Ask the ADB server to quit immediately. This is used when the
21 Ask to return the list of available Android devices and their
32 to track the state of connected devices in real-time without
36 This is a special query that is sent to the ADB server when a
38 to the emulator's ADB control port, i.e. the TCP port that the
39 emulator will forward automatically to the adbd daemon running
[all …]
DOVERVIEW.TXT5 The Android Debug Bridge (ADB) is used to:
8 connected to or running on a given host developer machine
19 if to sense the USB ports to know when devices are attached/removed,
23 to each one of them: OFFLINE, BOOTLOADER, RECOVERY or ONLINE (more on
27 to orchestrate the exchange of data (packets, really) between clients,
34 or emulated system. Its purpose is to connect to the ADB server
39 connected to the adbd program within it. Otherwise, the device is OFFLINE,
41 connect to the adbd daemon.
43 the BOOTLOADER and RECOVERY states correspond to alternate states of
48 The 'adb' command-line program is used to run adb commands from a shell
[all …]
Dprotocol.txt4 When it comes down to it, aproto's primary purpose is to forward
9 to an extremely straightforward model optimized to accomplish the
14 be used by either commandline or interactive tools to communicate with
15 a device or emulator that is connected to the bridge.
17 The protocol is designed to be straightforward and well-defined enough
18 that if it needs to be reimplemented in another environment (Java
22 implementation to be much more robust.
50 The identifiers "local-id" and "remote-id" are always relative to the
59 The version is used to ensure protocol compatibility and maxdata
61 is willing to accept.
[all …]
/system/bt/doc/
Dpower_management.md7 by the BTM HCI interfacing code, with results being posted back to the PM
13 The events fired to drive the state machine at the time of this writing are:
24 Each of these correspond to a function name in `bta/sys/bta_sys_conn.c`, which
27 The PM code makes calls into the BTM module to set various power
32 controller, timers are used to post messages to the BTA workqueue thread as
37 currently known connections to a given device. Thus, if RFCOMM specifies that
38 it's willing to go to into SNIFF and specifies that as an action, and say, a PAN
39 connection is up which specifies it is willing to go into SNIFF, but its action
40 states it wants ACTIVE, the power management code will change to ACTIVE.
45 and what actions to take for the above events are defined in the
[all …]
/system/core/metricsd/
DREADME.md4 The metricsd daemon is used to gather metrics from the platform and application,
5 aggregate them and upload them periodically to a server.
6 The metrics will then be available in their aggregated form to the developer
9 Three components are provided to interact with `metricsd`: `libmetrics`,
17 easiest and recommended way for a client-side module to collect user metrics is
18 to link `libmetrics` and use its APIs to send metrics to `metricsd` for transport to
19 UMA. In order to use the library in a module, you need to do the following:
28 MetricsLibrary object needs to be constructed and initialized through its
37 You will be able to see all uploaded metrics on the metrics dashboard,
41 It usually takes a day for metrics to be available on the dashboard.
[all …]
/system/core/crash_reporter/
DREADME.md9 them to the crash server.
11 On a device, if the user has opted in to metrics and crash reporting, a
13 uploaded to the crash server.
15 On the crash server, it compares the minidump's signature to the symbol files
21 In order to correctly generate a minidump, `crash_reporter` needs to be given
23 executable. By default, `crash_reporter` has only been given access to a select
25 a developer wants their executable's crashes to be caught by `crash_reporter`,
26 they will have to set their SELinux policies in their .te file to allow
27 `crash_reporter` access to their domain. This can be done through a simple
32 Replace *domain_name* with whatever domain is assigned to the executable in
[all …]
/system/extras/tests/net_test/
Dcsocket.py110 def Bind(s, to): argument
112 ret = libc.bind(s.fileno(), to.CPointer(), len(to))
117 def Connect(s, to): argument
119 ret = libc.connect(s.fileno(), to.CPointer(), len(to))
124 def Sendmsg(s, to, data, control, flags): argument
145 if to:
146 if isinstance(to, tuple):
147 to = Sockaddr(to)
148 msg_name = to.CPointer()
149 msg_namelen = len(to)
DREADME11 - Access to host filesystem and networking via L2 bridging.
16 How to use it
20 path/to/net_test/run_net_test.sh <test>
29 net_test compiles the kernel to a user-mode linux binary, which runs as a
30 process on the host machine. It runs the binary to start a Linux "virtual
32 boots, mounts the root filesystem read-only, runs the specified test from init, and then drops to a…
35 Access to host filesystem
42 Access to host networking
45 Access to host networking is provided by tap interfaces. On the host, the
59 The number of tap interfaces is currently hardcoded to two. To change this
[all …]
/system/sepolicy/tools/fc_sort/
DNOTICE6 Everyone is permitted to copy and distribute verbatim copies
11 The licenses for most software are designed to take away your
12 freedom to share and change it. By contrast, the GNU General Public
13 License is intended to guarantee your freedom to share and change free
14 software--to make sure the software is free for all its users. This
15 General Public License applies to most of the Free Software
16 Foundation's software and to any other program whose authors commit to
18 the GNU Library General Public License instead.) You can apply it to
21 When we speak of free software, we are referring to freedom, not
22 price. Our General Public Licenses are designed to make sure that you
[all …]
/system/core/liblog/
DREADME87 liblog represents an interface to the volatile Android Logging system
93 overridden individually in order to control the verbosity of the appli‐
94 cation or library. [ASR]LOG[VDIWE] calls are used to log to BAsic,
96 Error priorities. [ASR]LOG[VDIWE]_IF calls are used to perform thus
99 is used to ALOG a message, then kill the process. LOG_FATAL call is a
101 release builds. ALOG_ASSERT is used to ALOG a message if the condition
103 LOG_EVENT_(INT|LONG) is used to drop binary content into the Events
108 optionally limited to a specific pid and tail of the log(s) and finally
119 The ANDROID_LOG_WRAP mode flag to the android_logger_list_alloc_time
120 signals logd to quiesce the reader until the buffer is about to prune
[all …]
/system/bt/service/doc/
DIBluetoothLowEnergyCallback.txt10 * Unless required by applicable law or agreed to in writing, software
18 * Binder IPC interface for receiving callbacks related to Bluetooth Low Energy
23 * Called to report the result of a call to
27 * to perform further operations on the IBluetoothLowEnergy interface.
31 /* Called asynchronously to notify the delegate of connection state change.
36 /* Called to report current MTU value. Can be a result of calling
37 * IBluetoothLowEnergy.setMtu or remote device trying to change MTU.
42 * Called to report BLE device scan results once a scan session is started for
44 * the data related to the discovered BLE device.
49 * Called to report the result of a call to
DIBluetooth.txt10 * Unless required by applicable law or agreed to in writing, software
23 * Returns true if the Bluetooth adapter is powered and ready to use. This
24 * is equivalent to "getState() == ADAPTER_STATE_ON".
40 * Turns on the Bluetooth radio. This function initiates the procedure to
41 * bring the adapter state from ADAPTER_STATE_OFF to ADAPTER_STATE_ON. Returns
44 * asynchronously updated to ADAPTER_STATE_TURNING_ON and eventually to
51 * Turns off the Bluetooth radio. This function initiates the procedure to
52 * bring the adapter state from ADAPTER_STATE_ON to ADAPTER_STATE_OFF. Returns
55 * asynchronously updated to ADAPTER_STATE_TURNING_OFF and eventually to
62 * Returns the identity Bluetooth Device Address (BD_ADDR) assigned to the
[all …]
/system/extras/perfprofd/
Dperf_data_converter.cc11 RangeTarget(uint64 start, uint64 end, uint64 to) in RangeTarget()
12 : start(start), end(end), to(to) {} in RangeTarget()
20 return to < r.to; in operator <()
25 uint64 to; member
64 if (dso_name == event.branch_stack[i - 1].to.dso_name()) { in RawPerfDataToAndroidPerfProfile()
65 uint64 start = event.branch_stack[i].to.offset(); in RawPerfDataToAndroidPerfProfile()
67 uint64 to = event.branch_stack[i - 1].to.offset(); in RawPerfDataToAndroidPerfProfile() local
74 RangeTarget(start, end, to)]++; in RawPerfDataToAndroidPerfProfile()
122 range_samples->set_to(range_count.first.to); in RawPerfDataToAndroidPerfProfile()

12345678910>>...15