Searched defs:csv (Results 1 - 2 of 2) sorted by relevance
/packages/experimental/procstatlog/ |
H A D | procstatreport.py | 18 import csv namespace 136 writer = csv.writer(file(filename, "w")) 197 os.path.join(files_dir, "total_cpu.csv")) 203 "filename_js": json.write(files_url + "/total_cpu.csv"), 239 os.path.join(files_dir, "cpu_speed.csv")) 245 "filename_js": json.write(files_url + "/cpu_speed.csv"), 270 os.path.join(files_dir, "context_switches.csv")) 277 "filename_js": json.write(files_url + "/context_switches.csv"), 335 os.path.join(files_dir, "total_faults.csv")) 341 "filename_js": json.write(files_url + "/total_faults.csv"), [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
H A D | StringUtils.java | 45 public static boolean containsInCsv(final String key, final String csv) { argument 46 if (TextUtils.isEmpty(csv)) return false; 47 return containsInArray(key, csv.split(",")); 50 public static String appendToCsvIfNotExists(final String key, final String csv) { argument 51 if (TextUtils.isEmpty(csv)) return key; 52 if (containsInCsv(key, csv)) return csv; 53 return csv + "," + key; 56 public static String removeFromCsvIfExists(final String key, final String csv) { argument 57 if (TextUtils.isEmpty(csv)) retur [all...] |
Completed in 441 milliseconds