/dalvik/dx/src/junit/runner/ |
TestCaseClassLoader.java | 115 String fileName= className.replace('.', '/')+".class"; 117 data= loadJarData(path, fileName); 119 data= loadFileData(path, fileName); 133 private byte[] loadFileData(String path, String fileName) { 134 File file= new File(path, fileName); 158 private byte[] loadJarData(String path, String fileName) { 169 ZipEntry entry= zipFile.getEntry(fileName);
|
/external/junit/src/junit/runner/ |
TestCaseClassLoader.java | 123 String fileName= className.replace('.', '/')+".class"; 125 data= loadJarData(path, fileName); 127 data= loadFileData(path, fileName); 139 private byte[] loadFileData(String path, String fileName) { 140 File file= new File(path, fileName); 172 private byte[] loadJarData(String path, String fileName) { 183 ZipEntry entry= zipFile.getEntry(fileName);
|
/external/webkit/Tools/DumpRenderTree/qt/ |
main.cpp | 92 fprintf(stderr, "Usage: DumpRenderTree [-v|--pixel-tests] [--stdout output_filename] [-stderr error_filename] filename [filename2..n]\n"); 197 QString fileName = takeOptionValue(args, index); 198 dumper.setRedirectOutputFileName(fileName); 199 if (fileName.isEmpty() || !freopen(qPrintable(fileName), "w", stdout)) { 206 QString fileName = takeOptionValue(args, index); 207 dumper.setRedirectErrorFileName(fileName); 208 if (!freopen(qPrintable(fileName), "w", stderr)) {
|
DumpRenderTreeQt.h | 109 void setRedirectOutputFileName(const QString& fileName) { m_redirectOutputFileName = fileName; } 110 void setRedirectErrorFileName(const QString& fileName) { m_redirectErrorFileName = fileName; }
|
/frameworks/base/test-runner/src/junit/runner/ |
TestCaseClassLoader.java | 114 String fileName= className.replace('.', '/')+".class"; 116 data= loadJarData(path, fileName); 118 data= loadFileData(path, fileName); 132 private byte[] loadFileData(String path, String fileName) { 133 File file= new File(path, fileName); 157 private byte[] loadJarData(String path, String fileName) { 168 ZipEntry entry= zipFile.getEntry(fileName);
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
AttachmentUtilities.java | 90 * Filename extensions of attachments we're never willing to download (potential malware). 91 * Entries in this list are compared to the end of the lower-cased filename, so they must 104 * Filename extensions of attachments that can be installed. 105 * Entries in this list are compared to the end of the lower-cased filename, so they must 146 * Return the filename for a given attachment. This should be used by any code that is 150 * the filename that should be used. 168 * Helper to convert unknown or unmapped attachments to something useful based on filename 191 * @param fileName The given filename 195 public static String inferMimeType(final String fileName, final String mimeType) [all...] |
/sdk/assetstudio/tests/src/com/android/assetstudiolib/ |
GeneratorTest.java | 66 File fileName = new File(targetDir, folderName + File.separator 68 assertFalse(fileName.exists()); 69 if (!fileName.getParentFile().exists()) { 70 boolean mkdir = fileName.getParentFile().mkdirs(); 71 assertTrue(fileName.getParent(), mkdir); 74 ImageIO.write(image, "PNG", fileName); 75 errors.add("File did not exist, created " + fileName.getPath());
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/preferences/ |
AndroidPreferencePage.java | 124 String fileName = getTextControl().getText(); 125 fileName = fileName.trim(); 127 if (fileName.indexOf(',') >= 0 || fileName.indexOf(';') >= 0) { 132 File file = new File(fileName); 139 boolean ok = AdtPlugin.getDefault().checkSdkLocationAndId(fileName,
|
/dalvik/vm/native/ |
dalvik_system_DexFile.cpp | 38 char* fileName; 53 LOGV("Freeing DexOrJar '%s'", pDexOrJar->fileName); 59 free(pDexOrJar->fileName); 189 * class path. The easiest way to do this is by filename, which works 229 pDexOrJar->fileName = sourceName; 285 pDexOrJar->fileName = strdup("<memory>"); // Needs to be free()able. 307 LOGV("Closing DEX file %p (%s)", pDexOrJar, pDexOrJar->fileName); 322 pDexOrJar->fileName); 325 LOGV("+++ freeing DexFile '%s' resources", pDexOrJar->fileName); 328 LOGV("+++ NOT freeing DexFile '%s' resources", pDexOrJar->fileName); [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
FontLoader.java | 263 String fileName = trimXmlWhitespaces(mBuilder.toString()); 264 Font font = getFont(fileName); 266 if (fileName.endsWith(FONT_SUFFIX_REGULAR)) { 268 } else if (fileName.endsWith(FONT_SUFFIX_BOLD)) { 270 } else if (fileName.endsWith(FONT_SUFFIX_ITALIC)) { 272 } else if (fileName.endsWith(FONT_SUFFIX_BOLDITALIC)) { 274 } else if (fileName.endsWith(FONT_SUFFIX_NONE)) { 282 private Font getFont(String fileName) { 284 File file = new File(mOsFontsLocation, fileName);
|
/external/proguard/src/proguard/ant/ |
ClassPathElement.java | 116 String fileName = fileNames[index]; 117 File file = new File(fileName); 120 new ClassPathEntry(file.isAbsolute() ? file : new File(baseDir, fileName),
|
/frameworks/base/core/java/com/google/android/mms/pdu/ |
PduBody.java | 66 byte[] fileName = part.getFilename(); 67 if(null != fileName) { 68 String clc = new String(fileName); 163 * the same as filename and name(param of content-type). 165 * @param fileName the value of filename. 175 * @param fileName the value of filename. 183 * Get pdu part by filename. 185 * @param fileName the value of filename [all...] |
/system/vold/ |
VolumeManager.h | 102 int mountObb(const char *fileName, const char *key, int ownerUid); 103 int unmountObb(const char *fileName, bool force); 108 const char *fileName, const char *mountPoint, bool force);
|
/build/tools/zipalign/ |
ZipAlign.cpp | 143 static int verify(const char* fileName, int alignment, bool verbose) 149 printf("Verifying alignment of %s (%d)...\n", fileName, alignment); 151 if (zipFile.open(fileName, ZipFile::kOpenReadOnly) != NO_ERROR) { 152 fprintf(stderr, "Unable to open '%s' for verification\n", fileName);
|
/dalvik/vm/ |
Native.h | 65 bool dvmLoadNativeCode(const char* fileName, Object* classLoader,
|
/external/icu4c/common/unicode/ |
usprep.h | 174 * @param fileName name of the profile file to be opened 184 const char* fileName,
|
/external/icu4c/samples/layout/ |
FontMap.h | 22 FontMap(const char *fileName, le_int16 pointSize, GUISupport *guiSupport, LEErrorCode &status);
|
/external/srec/tools/grxmlcompile/ |
hashmap.h | 45 void writeFile( std::string fileName );
|
/external/webkit/Source/WebCore/plugins/wx/ |
PluginDataWx.cpp | 46 info.file = package->fileName();
|
/frameworks/base/tools/preload/ |
Root.java | 134 void toFile(String fileName) throws IOException { 135 FileOutputStream out = new FileOutputStream(fileName); 151 static Root fromFile(String fileName) 153 FileInputStream fin = new FileInputStream(fileName);
|
/frameworks/media/libvideoeditor/osal/src/ |
M4PSW_Trace.c | 75 M4OSA_Char* fileName,
|
/libcore/luni/src/test/java/libcore/java/util/jar/ |
OldJarFileTest.java | 54 String fileName = (new File(resources, jarName)).getCanonicalPath(); 55 new JarFile(fileName); 66 String fileName = (new File(resources, jarName)).getCanonicalPath(); 67 new JarFile(fileName, true);
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
OldAndroidZipFileTest.java | 100 static void scanZip(String fileName) throws IOException { 101 ZipFile zipFile = new ZipFile(fileName); 123 static void read2(String fileName) throws IOException { 131 zipFile = new ZipFile(fileName);
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/log/event/ |
EventLogPanel.java | 152 String fileName = fileDialog.open(); 153 if (fileName != null) { 154 saveLog(fileName); 168 String fileName = fileDialog.open(); 169 if (fileName != null) { 170 loadLog(fileName); 182 String fileName = fileDialog.open(); 183 if (fileName != null) { 184 importBugReport(fileName); 464 private void startEventLogFromFiles(final String fileName) { [all...] |
/sdk/hierarchyviewer2/libs/hierarchyviewerlib/src/com/android/hierarchyviewerlib/ |
HierarchyViewerDirector.java | 349 String fileName = fileDialog.open(); 350 if (fileName != null) { 352 Image image = new Image(Display.getDefault(), fileName); 355 Log.e(TAG, "Unable to load image from " + fileName); 455 final String fileName = fileDialog.open(); 456 if (fileName != null) { 464 String extensionedFileName = fileName; 472 + fileName); 497 final String fileName = fileDialog.open(); 498 if (fileName != null) [all...] |