Home
last modified time | relevance | path

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

1234

/system/core/toolbox/cp/
Dutils.c97 const char *to; member
108 fi->from, fi->to, written, fi->size, pcent); in progress()
142 (void)fprintf(stderr, "overwrite %s? ", to.p_path); in copy_file()
153 lstat(to.p_path, &sb) : stat(to.p_path, &sb); in copy_file()
155 warn("stat: %s", to.p_path); in copy_file()
161 to_fd = open(to.p_path, O_WRONLY | O_TRUNC, 0); in copy_file()
163 to_fd = open(to.p_path, O_WRONLY | O_TRUNC | O_CREAT, in copy_file()
171 (void)unlink(to.p_path); in copy_file()
172 to_fd = open(to.p_path, O_WRONLY | O_TRUNC | O_CREAT, in copy_file()
177 warn("%s", to.p_path); in copy_file()
[all …]
Dcp.c87 PATH_T to = { .p_end = to.p_path, .target_end = empty }; variable
212 if (strlcpy(to.p_path, target, sizeof(to.p_path)) >= sizeof(to.p_path)) in cp_main()
214 to.p_end = to.p_path + strlen(to.p_path); in cp_main()
215 have_trailing_slash = (to.p_end[-1] == '/'); in cp_main()
217 STRIP_TRAILING_SLASH(to); in cp_main()
218 to.target_end = to.p_end; in cp_main()
242 r = lstat(to.p_path, &to_stat); in cp_main()
244 r = stat(to.p_path, &to_stat); in cp_main()
246 err(EXIT_FAILURE, "%s", to.p_path); in cp_main()
282 to.p_path); in cp_main()
[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 …]
DNOTICE8 Unless required by applicable law or agreed to in writing, software
32 "control" means (i) the power, direct or indirect, to cause the
41 including but not limited to software source code, documentation
46 not limited to compiled object code, generated documentation,
47 and conversions to other media types.
51 copyright notice that is included in or attached to the work
59 separable from, or merely link (or bind by name) to the interfaces of,
64 to that Work or Derivative Works thereof, that is intentionally
65 submitted to Licensor for inclusion in the Work by the copyright owner
66 or by an individual or Legal Entity authorized to submit on behalf of
[all …]
/system/core/sh/
DTOUR44 back to the main command loop */
52 events occur. The intent is to improve modularity by isolating
53 the information about which modules need to be explicitly
68 Preprocessor #define statements are copied to init.c without any
69 special action to request this.
73 cluded that the optimal amount to indent is in the range of four
74 to six spaces. I use six spaces since it is not too big a jump
76 indentation, use the adjind (source included) program to change
77 it to something else.
85 pose of EXSHELLPROC is to perform the cleanup actions associated
[all …]
/system/core/init/
DREADME.BOOTCHART1 This version of init contains code to perform "bootcharting", i.e. generating log
4 To activate it, you need to define build 'init' with the INIT_BOOTCHART environment
5 variable defined to 'true', for example:
10 On the emulator, use the new -bootchart <timeout> option to boot with bootcharting
18 Where the value of $TIMEOUT corresponds to the wanted bootcharted period in seconds;
19 for example, to bootchart for 2 minutes, do:
29 bootcharting. This is not the case of /data/bootchart-start, so don't forget to delete it
35 which will use ADB to retrieve them and create a bootchart.tgz file that can be used with
36 the bootchart parser/renderer, or even uploaded directly to the form located at:
40 NOTE: the bootchart.org webform doesn't seem to work at the moment, you can generate an
[all …]
Dreadme.txt9 whitespace. The c-style backslash escapes may be used to insert
10 whitespace into a token. Double quotes may also be used to prevent
17 or options belong to the section most recently declared. Commands
28 is used to determine when the action should occur. When an event
29 occurs which matches an action's trigger, that action is added to
30 the tail of a to-be-executed queue (unless it is already on the
59 Options are modifiers to services. They affect how and when init
71 Set the environment variable <name> to <value> in the launched process.
75 its fd to the launched process. <type> must be "dgram", "stream" or "seqpacket".
76 User and group default to 0.
[all …]
/system/core/fastboot/
Dfastboot_protocol.txt6 over USB. It is designed to be very straightforward to implement, to
7 allow it to be used across a wide range of devices and from hosts running
38 to present to the user. Stop.
40 c. OKAY -> the requested command completed successfully. Go to #5
45 the total data size to transfer.
55 Similar to #2:
57 a. INFO -> display the remaining 60 bytes and return to #4
62 c. OKAY -> success. Go to #5
78 Host: "download:00001234" request to send 0x1234 bytes of data
80 Client: "DATA00001234" ready to accept data
[all …]
/system/extras/tests/sdcard/
DREADME1 This directory contains tools to profile the sdcard performance.
3 There are 2 parts to the tool:
5 measurment data back to the host (sdcard_perf_test).
6 * A host python script to plot the data.
9 to check how the sdcard scale with the number of processes.
21 If you want to graph the results you need gnuplot and numpy:
26 Download it from the Gnuplot.py web site. Extract to a temp
41 The test will not call sync to flush the writes.
44 If you want to plot the data, you need to use the --dump option and provide a file:
/system/security/keystore-engine/
Drsa_meth.cpp44 int keystore_rsa_priv_enc(int flen, const unsigned char* from, unsigned char* to, RSA* rsa, in keystore_rsa_priv_enc() argument
46 ALOGV("keystore_rsa_priv_enc(%d, %p, %p, %p, %d)", flen, from, to, rsa, padding); in keystore_rsa_priv_enc()
108 memcpy(to, reply, replyLen); in keystore_rsa_priv_enc()
111 ALOGV("rsa=%p keystore_rsa_priv_enc => returning %p len %llu", rsa, to, in keystore_rsa_priv_enc()
116 int keystore_rsa_priv_dec(int flen, const unsigned char* from, unsigned char* to, RSA* rsa, in keystore_rsa_priv_dec() argument
118 ALOGV("keystore_rsa_priv_dec(%d, %p, %p, %p, %d)", flen, from, to, rsa, padding); in keystore_rsa_priv_dec()
164 outSize = RSA_padding_check_PKCS1_type_2(to, num, alignedReply, replyLen, num); in keystore_rsa_priv_dec()
167 outSize = RSA_padding_check_X931(to, num, alignedReply, replyLen, num); in keystore_rsa_priv_dec()
170 outSize = RSA_padding_check_none(to, num, alignedReply, replyLen, num); in keystore_rsa_priv_dec()
180 ALOGV("rsa=%p keystore_rsa_priv_dec => returning %p len %llu", rsa, to, outSize); in keystore_rsa_priv_dec()
/system/core/
DNOTICE2 == NOTICE file corresponding to the section 4 d of ==
14 == NOTICE file corresponding to the section 4 d of ==
26 == NOTICE file corresponding to the section 4 d of ==
38 == NOTICE file corresponding to the section 4 d of ==
47 == NOTICE file corresponding to the section 4 d of ==
57 == NOTICE file corresponding to the section 4 d of ==
70 unless required by applicable law or agreed to in writing, TagSoup
76 == NOTICE file corresponding to the section 4 d of ==
86 == NOTICE file corresponding to the section 4 d of ==
114 "control" means (i) the power, direct or indirect, to cause the
[all …]
/system/core/run-as/
DNOTICE7 Unless required by applicable law or agreed to in writing, software
31 "control" means (i) the power, direct or indirect, to cause the
40 including but not limited to software source code, documentation
45 not limited to compiled object code, generated documentation,
46 and conversions to other media types.
50 copyright notice that is included in or attached to the work
58 separable from, or merely link (or bind by name) to the interfaces of,
63 to that Work or Derivative Works thereof, that is intentionally
64 submitted to Licensor for inclusion in the Work by the copyright owner
65 or by an individual or Legal Entity authorized to submit on behalf of
[all …]
/system/core/libcutils/
DNOTICE7 Unless required by applicable law or agreed to in writing, software
31 "control" means (i) the power, direct or indirect, to cause the
40 including but not limited to software source code, documentation
45 not limited to compiled object code, generated documentation,
46 and conversions to other media types.
50 copyright notice that is included in or attached to the work
58 separable from, or merely link (or bind by name) to the interfaces of,
63 to that Work or Derivative Works thereof, that is intentionally
64 submitted to Licensor for inclusion in the Work by the copyright owner
65 or by an individual or Legal Entity authorized to submit on behalf of
[all …]
/system/extras/procmem/
DNOTICE7 Unless required by applicable law or agreed to in writing, software
31 "control" means (i) the power, direct or indirect, to cause the
40 including but not limited to software source code, documentation
45 not limited to compiled object code, generated documentation,
46 and conversions to other media types.
50 copyright notice that is included in or attached to the work
58 separable from, or merely link (or bind by name) to the interfaces of,
63 to that Work or Derivative Works thereof, that is intentionally
64 submitted to Licensor for inclusion in the Work by the copyright owner
65 or by an individual or Legal Entity authorized to submit on behalf of
[all …]
/system/core/debuggerd/
DNOTICE7 Unless required by applicable law or agreed to in writing, software
31 "control" means (i) the power, direct or indirect, to cause the
40 including but not limited to software source code, documentation
45 not limited to compiled object code, generated documentation,
46 and conversions to other media types.
50 copyright notice that is included in or attached to the work
58 separable from, or merely link (or bind by name) to the interfaces of,
63 to that Work or Derivative Works thereof, that is intentionally
64 submitted to Licensor for inclusion in the Work by the copyright owner
65 or by an individual or Legal Entity authorized to submit on behalf of
[all …]
/system/extras/procrank/
DNOTICE7 Unless required by applicable law or agreed to in writing, software
31 "control" means (i) the power, direct or indirect, to cause the
40 including but not limited to software source code, documentation
45 not limited to compiled object code, generated documentation,
46 and conversions to other media types.
50 copyright notice that is included in or attached to the work
58 separable from, or merely link (or bind by name) to the interfaces of,
63 to that Work or Derivative Works thereof, that is intentionally
64 submitted to Licensor for inclusion in the Work by the copyright owner
65 or by an individual or Legal Entity authorized to submit on behalf of
[all …]
/system/core/libctest/
DNOTICE7 Unless required by applicable law or agreed to in writing, software
31 "control" means (i) the power, direct or indirect, to cause the
40 including but not limited to software source code, documentation
45 not limited to compiled object code, generated documentation,
46 and conversions to other media types.
50 copyright notice that is included in or attached to the work
58 separable from, or merely link (or bind by name) to the interfaces of,
63 to that Work or Derivative Works thereof, that is intentionally
64 submitted to Licensor for inclusion in the Work by the copyright owner
65 or by an individual or Legal Entity authorized to submit on behalf of
[all …]
/system/extras/showmap/
DNOTICE7 Unless required by applicable law or agreed to in writing, software
31 "control" means (i) the power, direct or indirect, to cause the
40 including but not limited to software source code, documentation
45 not limited to compiled object code, generated documentation,
46 and conversions to other media types.
50 copyright notice that is included in or attached to the work
58 separable from, or merely link (or bind by name) to the interfaces of,
63 to that Work or Derivative Works thereof, that is intentionally
64 submitted to Licensor for inclusion in the Work by the copyright owner
65 or by an individual or Legal Entity authorized to submit on behalf of
[all …]
/system/core/libcorkscrew/
DNOTICE7 Unless required by applicable law or agreed to in writing, software
31 "control" means (i) the power, direct or indirect, to cause the
40 including but not limited to software source code, documentation
45 not limited to compiled object code, generated documentation,
46 and conversions to other media types.
50 copyright notice that is included in or attached to the work
58 separable from, or merely link (or bind by name) to the interfaces of,
63 to that Work or Derivative Works thereof, that is intentionally
64 submitted to Licensor for inclusion in the Work by the copyright owner
65 or by an individual or Legal Entity authorized to submit on behalf of
[all …]
/system/core/logcat/
DNOTICE7 Unless required by applicable law or agreed to in writing, software
31 "control" means (i) the power, direct or indirect, to cause the
40 including but not limited to software source code, documentation
45 not limited to compiled object code, generated documentation,
46 and conversions to other media types.
50 copyright notice that is included in or attached to the work
58 separable from, or merely link (or bind by name) to the interfaces of,
63 to that Work or Derivative Works thereof, that is intentionally
64 submitted to Licensor for inclusion in the Work by the copyright owner
65 or by an individual or Legal Entity authorized to submit on behalf of
[all …]
/system/core/libpixelflinger/
DNOTICE7 Unless required by applicable law or agreed to in writing, software
31 "control" means (i) the power, direct or indirect, to cause the
40 including but not limited to software source code, documentation
45 not limited to compiled object code, generated documentation,
46 and conversions to other media types.
50 copyright notice that is included in or attached to the work
58 separable from, or merely link (or bind by name) to the interfaces of,
63 to that Work or Derivative Works thereof, that is intentionally
64 submitted to Licensor for inclusion in the Work by the copyright owner
65 or by an individual or Legal Entity authorized to submit on behalf of
[all …]
/system/core/libnetutils/
DNOTICE7 Unless required by applicable law or agreed to in writing, software
31 "control" means (i) the power, direct or indirect, to cause the
40 including but not limited to software source code, documentation
45 not limited to compiled object code, generated documentation,
46 and conversions to other media types.
50 copyright notice that is included in or attached to the work
58 separable from, or merely link (or bind by name) to the interfaces of,
63 to that Work or Derivative Works thereof, that is intentionally
64 submitted to Licensor for inclusion in the Work by the copyright owner
65 or by an individual or Legal Entity authorized to submit on behalf of
[all …]
/system/extras/su/
DNOTICE7 Unless required by applicable law or agreed to in writing, software
31 "control" means (i) the power, direct or indirect, to cause the
40 including but not limited to software source code, documentation
45 not limited to compiled object code, generated documentation,
46 and conversions to other media types.
50 copyright notice that is included in or attached to the work
58 separable from, or merely link (or bind by name) to the interfaces of,
63 to that Work or Derivative Works thereof, that is intentionally
64 submitted to Licensor for inclusion in the Work by the copyright owner
65 or by an individual or Legal Entity authorized to submit on behalf of
[all …]

1234