/packages/apps/Launcher3/ |
H A D | update_gallery_files.py | 6 import os namespace 49 dir = os.path.dirname(file_path) 54 os.system(cmd)
|
H A D | update_system_wallpaper_cropper.py | 6 import os namespace 53 dir = os.path.dirname(file_path) 58 os.system(cmd)
|
H A D | fill_screens.py | 4 import os namespace 32 os.makedirs(DIR) 36 rv = os.system("adb pull" 45 rv = os.system("adb push"
|
H A D | print_db.py | 5 import os namespace 35 os.makedirs(DIR) 38 os.system("adb root") 39 os.system("adb remount") 43 rv = os.system("adb pull"
|
/packages/apps/Settings/ |
H A D | wrap_alpha.py | 3 import os namespace 6 for root, dirs, files in os.walk('.'): 14 os.rename(os.path.join(root, before), os.path.join(root, after)) 17 for root, dirs, files in os.walk('.'):
|
/packages/apps/Camera2/tests/exiftool_parser/ |
H A D | parser.py | 15 import os namespace
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
H A D | DownloadUtils.java | 46 public static void dump(JobContext jc, InputStream is, OutputStream os) argument 59 os.write(buffer, 0, rc);
|
/packages/experimental/procstatlog/ |
H A D | procstatreport.py | 21 import os namespace 156 "user": cgi.escape(os.environ.get("USER", "unknown")), 160 files_dir = "%s_files" % os.path.splitext(filename)[0] 161 files_url = os.path.basename(files_dir) 162 if not os.path.isdir(files_dir): os.makedirs(files_dir) 197 os.path.join(files_dir, "total_cpu.csv")) 239 os.path.join(files_dir, "cpu_speed.csv")) 270 os.path.join(files_dir, "context_switches.csv")) 335 os [all...] |
/packages/apps/Browser/tools/ |
H A D | get_search_engines.py | 28 import os namespace 65 self.resdir = os.path.normpath(os.path.join(sys.path[0], '../res')) 178 all_search_engines_path = os.path.join(self.resdir, 'values/all_search_engines.xml') 190 self.generateXmlFromTemplate(os.path.join(sys.path[0], 'all_search_engines.template.xml'), 194 self.writeEngineList(os.path.join(self.resdir, 'values'), "default") 211 dir_path = os.path.join(self.resdir, 'values-' + language + '-r' + country) 216 if os.path.exists(dir_path) and not os.path.isdir(dir_path): 238 self.generateXmlFromTemplate(os [all...] |
/packages/apps/Launcher2/ |
H A D | fill_screens.py | 4 import os namespace 32 os.makedirs(DIR) 36 rv = os.system("adb pull" 45 rv = os.system("adb push"
|
H A D | print_db.py | 4 import os namespace 30 os.makedirs(DIR) 34 rv = os.system("adb pull"
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
H A D | FileSystemUtils.java | 68 int os = OTHER; 70 String osName = System.getProperty("os.name"); 72 throw new IOException("os.name not found"); 77 os = WINDOWS; 79 osName.indexOf("sun os") != -1 || 87 osName.indexOf("mac os x") != -1) { 88 os = UNIX; 91 os = POSIX_UNIX; 93 os = OTHER; 97 os 189 freeSpaceOS(String path, int os, boolean kb) argument [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/debug/ |
H A D | DataExporter.java | 65 final ZipOutputStream os = new ZipOutputStream(new FileOutputStream(outFile)); 66 os.setLevel(Deflater.BEST_COMPRESSION); 68 addDirectory(context, os, context.getFilesDir().getParentFile(), "contacts-files"); 70 Closeables.closeQuietly(os); 141 * Add all files under {@code current} to {@code os} zip stream 143 private static void addDirectory(Context context, ZipOutputStream os, File current, argument 158 addDirectory(context, os, child, childStoredPath); 160 addFile(os, child, childStoredPath); 168 * Add a single file {@code current} to {@code os} zip stream using the file name 171 private static void addFile(ZipOutputStream os, Fil argument [all...] |
/packages/apps/Camera2/src/com/android/camera/util/ |
H A D | XmpUtil.java | 164 FileOutputStream os = null; 167 os = new FileOutputStream(filename); 168 writeJpegFile(os, sections); 173 if (os != null) { 175 os.close(); 215 private static void writeJpegFile(OutputStream os, List<Section> sections) argument 218 os.write(0xff); 219 os.write(M_SOI); 221 os.write(0xff); 222 os [all...] |
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
H A D | Serializer.java | 57 public Serializer(OutputStream os) throws IOException { argument 58 this(os, true);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/ |
H A D | Utils.java | 28 import android.os.Binder; 29 import android.os.Build; 30 import android.os.ParcelUuid; 31 import android.os.Process; 32 import android.os.UserHandle; 33 import android.os.UserManager; 169 public static void copyStream(InputStream is, OutputStream os, int bufferSize) argument 171 if (is != null && os != null) { 175 os.write(buffer, 0, bytesRead); 190 public static void safeCloseStream(OutputStream os) { argument [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/ |
H A D | SapMessage.java | 16 import android.os.Parcel; 17 import android.os.Parcelable; 587 * @param os The BufferedOutputStream to write to. 591 * @throws IOException if the write to os fails 593 private static void writeParameter(OutputStream os, int id, int value, int length) argument 597 os.write(id); 598 os.write(0); 599 os.write(0); 600 os.write(length); 604 os 627 writeParameter(OutputStream os, int id, byte[] value) argument 644 write(OutputStream os) argument [all...] |
/packages/apps/Camera2/src/com/android/camera/exif/ |
H A D | ExifInterface.java | 2022 private void doExifStreamIO(InputStream is, OutputStream os) throws IOException { argument 2026 os.write(buf, 0, ret);
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
H A D | ExifInterface.java | 2043 private void doExifStreamIO(InputStream is, OutputStream os) throws IOException { argument 2047 os.write(buf, 0, ret);
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/ |
H A D | ExifInterface.java | 2043 private void doExifStreamIO(InputStream is, OutputStream os) throws IOException { argument 2047 os.write(buf, 0, ret);
|
/packages/apps/Messaging/src/com/android/messaging/util/exif/ |
H A D | ExifInterface.java | 2084 private void doExifStreamIO(InputStream is, OutputStream os) throws IOException { argument 2088 os.write(buf, 0, ret);
|
/packages/services/Telecomm/libs/ |
H A D | guava.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/util/ ... |
/packages/apps/Messaging/build/gcheckstyle/ |
H A D | google-style-checker_deploy.jar | META-INF/ META-INF/MANIFEST.MF build-data.properties com/ com/google/ com/google/ ... |