Home
last modified time | relevance | path

Searched refs:infile (Results 1 – 9 of 9) sorted by relevance

/system/extras/ioblame/
Dioblame.sh214 cp trace_saved $infile
216 fgrep $1 $infile | sed 's/^.* \[.*\] //' | sed s/://g | sed s/,//g > foo
217 mv foo $infile
223 fgrep android_fs_dataread_start $infile > foo0
226 mv foo1 $infile
235 cat $infile | sed -n -e 's/^.*android_fs_writepages //p' > foo1
236 mv foo1 $infile
245 fgrep android_fs_datawrite_start $infile > foo0
248 mv foo1 $infile
256 cat $infile | sed s/,//g | sort -d -k2,2 -k8,8 > foo1
[all …]
/system/sepolicy/tests/
Dmini_parser.py19 def _getNextStmt(self, infile): argument
22 c = infile.read(1)
25 c = infile.read(1)
28 c = infile.read(1)
31 c = infile.read(1)
35 c = infile.read(1)
92 with open(policyFile, 'r') as infile:
93 s = self._getNextStmt(infile)
96 s = self._getNextStmt(infile)
/system/extras/app-launcher/
Dapp-launcher52 infile=$1
62 fgrep TotalTime $infile | awk '{print $2}' | computestats
66 fgrep cpu-cycles $infile | awk '{print $1}' | sed s/,//g | computestats
70 fgrep 'Total CPU util' $infile | awk '{print $5}' | computestatsf
72 fgrep 'User CPU util' $infile | awk '{print $5}' | computestatsf
74 fgrep 'Sys CPU util' $infile | awk '{print $5}' | computestatsf
78 fgrep instructions $infile | awk '{print $1}' | sed s/,//g | computestats
81 fgrep instructions $infile | awk '{print $4}' | sed s/,//g | computestatsf
84 fgrep branch-misses $infile | awk '{print $1}' | sed s/,//g | computestats
87 fgrep context-switches $infile | awk '{print $1}' | sed s/,//g | computestats
[all …]
/system/extras/ioshark/
Dconvert_format.c91 char *infile, *outfile; in main() local
108 infile = argv[1]; in main()
110 if (stat(infile, &st) < 0) { in main()
112 progname, infile); in main()
117 progname, infile); in main()
120 old_fp = fopen(infile, "r"); in main()
123 progname, infile); in main()
Dioshark_bench.c529 char *infile; in get_start_end() local
546 infile = thread_state[i].filename; in get_start_end()
547 fp = fopen(infile, "r"); in get_start_end()
550 progname, infile); in get_start_end()
555 progname, infile); in get_start_end()
657 char *infile; in main() local
711 infile = argv[i]; in main()
712 if (stat(infile, &st) < 0) { in main()
714 progname, infile); in main()
719 progname, infile); in main()
[all …]
Dcompile_ioshark.c535 char *infile, *outfile; in main() local
544 infile = argv[1]; in main()
546 if (stat(infile, &st) < 0) { in main()
548 progname, infile); in main()
553 progname, infile); in main()
558 fp = fopen(infile, "r"); in main()
561 progname, infile); in main()
/system/extras/tests/workloads/
Datrace-uncompress.py14 infile = open(sys.argv[1], "rb")
15 out = infile.read()
/system/vold/
DProcess.cpp49 std::ifstream infile(path); in checkMaps() local
51 while (std::getline(infile, line)) { in checkMaps()
/system/iot/attestation/partner-tools/
Dprovision-test.py250 with open('keysets/unencrypted.keyset', 'rb') as infile:
251 inner_ca_response = bytes(infile.read())
253 with open('keysets/encrypted.keyset', 'rb') as infile:
254 inner_ca_response = bytes(infile.read())