/system/core/toolbox/cp/ |
D | utils.c | 97 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 …]
|
D | cp.c | 87 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/ |
D | SERVICES.TXT | 1 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 …]
|
D | OVERVIEW.TXT | 5 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 …]
|
D | protocol.txt | 4 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/core/sh/ |
D | TOUR | 44 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/ |
D | README.BOOTCHART | 1 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 …]
|
D | readme.txt | 9 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/ |
D | fastboot_protocol.txt | 6 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/ |
D | README | 1 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/core/run-as/ |
D | NOTICE | 7 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/libpagemap/ |
D | NOTICE | 7 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/liblog/ |
D | NOTICE | 7 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/ |
D | NOTICE | 7 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/netcfg/ |
D | NOTICE | 7 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/logwrapper/ |
D | NOTICE | 7 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/ |
D | NOTICE | 7 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/ |
D | NOTICE | 7 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/ |
D | NOTICE | 7 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/tests/cpueater/ |
D | NOTICE | 7 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/ext4_utils/ |
D | NOTICE | 7 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/showslab/ |
D | NOTICE | 7 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/ |
D | NOTICE | 7 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/timeinfo/ |
D | NOTICE | 7 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/latencytop/ |
D | NOTICE | 7 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 …]
|