Home
last modified time | relevance | path

Searched refs:filepath (Results 1 – 12 of 12) sorted by relevance

/development/tools/screenshot/src/com/android/screenshot/
DScreenshot.java41 String filepath = null; in main() local
78 filepath = argument; in main()
87 if (filepath == null) { in main()
179 getDeviceImage(target, filepath, landscape); in main()
195 private static void getDeviceImage(IDevice device, String filepath, boolean landscape) in getDeviceImage() argument
229 if (!ImageIO.write(image, "png", new File(filepath))) { in getDeviceImage()
/development/tools/apkbuilder/src/com/android/apkbuilder/internal/
DApkBuilderImpl.java175 private File getOutFile(String filepath) throws ApkCreationException { in getOutFile() argument
176 File f = new File(filepath); in getOutFile()
179 throw new ApkCreationException(filepath + " is a directory!"); in getOutFile()
184 throw new ApkCreationException("Cannot write " + filepath); in getOutFile()
189 throw new ApkCreationException("Failed to create " + filepath); in getOutFile()
193 "Failed to create '" + filepath + "' : " + e.getMessage()); in getOutFile()
200 public static File getInputFile(String filepath) throws ApkCreationException { in getInputFile() argument
201 File f = new File(filepath); in getInputFile()
204 throw new ApkCreationException(filepath + " is a directory!"); in getInputFile()
209 throw new ApkCreationException("Cannot read " + filepath); in getInputFile()
[all …]
/development/tools/scripts/
Ddivide_and_compress.py316 def AddFileToArchive(self, filepath, compress_bit): argument
329 if os.path.isfile(filepath) and not os.path.islink(filepath):
330 if os.path.getsize(filepath) > 1048576:
331 print 'Warning: %s is potentially too large to serve on GAE' % filepath
335 archive.write(filepath, filepath[len(self.base_path):])
/development/tools/monkeyrunner/src/com/android/monkeyrunner/
DMonkeyRecorder.java302 …private static void addFileToZip(ZipOutputStream zip, String filepath, byte[] buf) throws IOExcept… in addFileToZip() argument
303 FileInputStream in = new FileInputStream(filepath); in addFileToZip()
304 zip.putNextEntry(new ZipEntry(filepath)); in addFileToZip()
DMonkeyRunner.java556 private static void getDeviceImage(IDevice device, String filepath, boolean landscape) in getDeviceImage() argument
560 System.out.println("Grabbing Screeshot: " + filepath + "."); in getDeviceImage()
629 if (!ImageIO.write(image, "png", new File(filepath))) { in getDeviceImage()
633 recordResponse("OK", filepath); in getDeviceImage()
/development/ndk/build/platforms/android-3/arch-arm/usr/include/
Dunistd.h167 extern int acct(const char* filepath);
/development/ndk/build/platforms/android-4/arch-arm/usr/include/
Dunistd.h167 extern int acct(const char* filepath);
/development/ndk/build/platforms/android-5/arch-arm/usr/include/
Dunistd.h167 extern int acct(const char* filepath);
/development/tools/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/
DAdtPlugin.java551 public static String readEmbeddedTextFile(String filepath) { in readEmbeddedTextFile() argument
563 URL url = bundle.getEntry(AndroidConstants.WS_SEP + filepath); in readEmbeddedTextFile()
592 public static byte[] readEmbeddedFile(String filepath) { in readEmbeddedFile() argument
604 URL url = bundle.getEntry(AndroidConstants.WS_SEP + filepath); in readEmbeddedFile()
/development/ndk/build/platforms/android-3/arch-arm/usr/include/sys/
Dlinux-unistd.h51 int acct (const char* filepath);
/development/ndk/build/platforms/android-5/arch-arm/usr/include/sys/
Dlinux-unistd.h51 int acct (const char* filepath);
/development/ndk/build/platforms/android-4/arch-arm/usr/include/sys/
Dlinux-unistd.h51 int acct (const char* filepath);