/libcore/luni/src/main/java/java/util/jar/ |
StrictJarFile.java | 56 public StrictJarFile(String fileName) throws IOException { 57 this.nativeHandle = nativeOpenJarFile(fileName); 58 this.raf = new RandomAccessFile(fileName, "r"); 66 this.verifier = new JarVerifier(fileName, manifest, metaEntries); 227 private static native long nativeOpenJarFile(String fileName) throws IOException;
|
/packages/apps/Mms/src/com/android/mms/ |
TempFileProvider.java | 64 String fileName = getScrapPath(getContext()); 68 File file = new File(fileName); 88 Log.e(TAG, "getTempStoreFd: error creating pfd for " + fileName, ex); 127 public static String getScrapPath(Context context, String fileName) { 128 return context.getExternalCacheDir().getAbsolutePath() + "/" + fileName; 147 // the scrap file to a new scrap file with the slide number as part of the filename. 149 // Replace the filename ".temp.jpg" with ".temp#.[jpg | 3gp]" where # is the unique
|
/external/chromium_org/third_party/icu/source/test/thaitest/ |
thaitest.cpp | 108 // fileName - the path name of the file 111 static const UChar *readFile(char *fileName, int32_t &charCount); 305 const UChar *ThaiWordbreakTest::readFile(char *fileName, int32_t &charCount) 313 f = fopen(fileName, "rb"); 316 fprintf(stderr,"Couldn't open %s reason: %s \n", fileName, strerror(errno)); 327 fprintf(stderr,"Couldn't get memory for reading %s reason: %s \n", fileName, strerror(errno)); 334 fprintf(stderr,"Couldn't read %s reason: %s \n", fileName, strerror(errno)); 348 fprintf(stderr,"Couldn't get memory for reading %s reason: %s \n", fileName, strerror(errno)); 440 char *fileName = "space.txt"; 456 fileName = argv[arg++] [all...] |
/external/icu/icu4c/source/test/thaitest/ |
thaitest.cpp | 108 // fileName - the path name of the file 111 static const UChar *readFile(char *fileName, int32_t &charCount); 305 const UChar *ThaiWordbreakTest::readFile(char *fileName, int32_t &charCount) 313 f = fopen(fileName, "rb"); 316 fprintf(stderr,"Couldn't open %s reason: %s \n", fileName, strerror(errno)); 327 fprintf(stderr,"Couldn't get memory for reading %s reason: %s \n", fileName, strerror(errno)); 334 fprintf(stderr,"Couldn't read %s reason: %s \n", fileName, strerror(errno)); 348 fprintf(stderr,"Couldn't get memory for reading %s reason: %s \n", fileName, strerror(errno)); 440 char *fileName = "space.txt"; 456 fileName = argv[arg++] [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
AttachmentUtilities.java | 104 * Filename extensions of attachments we're never willing to download (potential malware). 105 * Entries in this list are compared to the end of the lower-cased filename, so they must 118 * Filename extensions of attachments that can be installed. 119 * Entries in this list are compared to the end of the lower-cased filename, so they must 167 * Return the filename for a given attachment. This should be used by any code that is 171 * the filename that should be used. 189 * Helper to convert unknown or unmapped attachments to something useful based on filename 212 * @param fileName The given filename 216 public static String inferMimeType(final String fileName, final String mimeType) [all...] |
/external/chromium_org/third_party/webrtc/modules/media_file/source/ |
media_file_impl.cc | 368 const char* fileName, 377 return StartPlayingFile(fileName, notificationTimeMs, loop, videoOnly, 382 int32_t MediaFileImpl::StartPlayingVideoFile(const char* fileName, 391 return StartPlayingFile(fileName, notificationTimeMs, loop, videoOnly, 396 const char* fileName, 406 if(!ValidFileName(fileName)) 436 "Failed to allocate input stream for file %s", fileName); 444 if(inputStream->OpenFile(fileName, true, loop) != 0) 448 "Could not open input file %s", fileName); 453 if(StartPlayingStream(*inputStream, fileName, loop, notificationTimeMs [all...] |
/bootable/recovery/minzip/ |
Zip.c | 93 LOGI(" %p '%.*s'\n", pEntry->fileName,pEntry->fileNameLen,pEntry->fileName); 111 return memcmp(entry1->fileName, entry2->fileName, entry1->fileNameLen); 127 return memcmp(entry->fileName, name, nameLen); 131 * Compute the hash code for a ZipEntry filename. 148 unsigned int itemHash = computeHash(pEntry->fileName, pEntry->fileNameLen); 155 found->fileNameLen, found->fileName); 160 static int validFilename(const char *fileName, unsigned int fileNameLen) 164 LOGW("Filename too long (%d chatacters)\n", fileNameLen) [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/generators/ |
ErrorTracker.java | 61 public void loadFile(String fileName) { 71 Document document = parser.parse(fileName); 157 System.out.println("IOException: " + fileName); 161 System.out.println("SAXException: " + fileName); 167 public void registerError(String fileName) { 168 // System.out.println("Found an error in: " + fileName); 169 if (logFiles.containsKey(fileName)) { 170 Vector aVector = (Vector) logFiles.get(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);
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldFilterInputStreamTest.java | 35 private String fileName; 116 new java.io.FileInputStream(fileName), 100)); 137 new java.io.FileInputStream(fileName), 100)); 250 new java.io.FileInputStream(fileName), 100)); 295 fileName = f.getAbsolutePath(); 296 java.io.OutputStream fos = new java.io.FileOutputStream(fileName); 299 is = new MyFilterInputStream(new java.io.FileInputStream(fileName));
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/preferences/ |
AndroidPreferencePage.java | 126 String fileName = getTextControl().getText(); 127 fileName = fileName.trim(); 129 if (fileName.indexOf(',') >= 0 || fileName.indexOf(';') >= 0) { 134 File file = new File(fileName); 141 boolean ok = AdtPlugin.getDefault().checkSdkLocationAndId(fileName,
|
/libcore/dalvik/src/main/java/dalvik/system/ |
DexPathList.java | 276 * Get the filename component of the path, and replace the 287 String fileName = path.getName(); 288 if (!fileName.endsWith(DEX_SUFFIX)) { 289 int lastDot = fileName.lastIndexOf("."); 291 fileName += DEX_SUFFIX; 294 sb.append(fileName, 0, lastDot); 296 fileName = sb.toString(); 300 File result = new File(optimizedDirectory, fileName); 380 String fileName = System.mapLibraryName(libraryName); 382 String path = new File(directory, fileName).getPath() [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
ByodIconSamplerActivity.java | 65 String fileName = Environment.getExternalStorageDirectory().getPath() + "/badged_icon.png"; 68 file = new FileOutputStream(fileName); 76 Log.d(TAG, "Wrote badged icon to file: " + fileName);
|
/cts/suite/audio_quality/lib/src/ |
FileUtil.cpp | 97 bool FileUtil::init(const char* fileName) 99 if (fileName == NULL) { 103 mFile.open(fileName, std::ios::out | std::ios::trunc);
|
/cts/tests/tests/media/src/android/media/cts/ |
MediaScannerConnectionTest.java | 50 String fileName = "test" + System.currentTimeMillis(); 51 copier.copy(R.raw.testmp3, fileName); 54 mMediaFile = new File(dir, fileName);
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
NativeMediaActivity.java | 86 String fileName = getMediaString(); 87 Log.i(TAG, "start playing " + fileName); 88 Assert.assertTrue(createMediaPlayer("file://" + fileName));
|
/development/samples/training/threadsample/src/com/example/android/threadsample/ |
RSSPullParser.java | 144 // Defines a place to store the filename of a URL, 145 String fileName; 176 // Gets the filename of the URL and puts it into the ContentValues 177 fileName = Uri.parse(urlValue).getLastPathSegment(); 178 mImage.put(imageNameKey, fileName);
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
GrammarNonDeterminismMessage.java | 63 String fileName = probe.dfa.nfa.grammar.getFileName(); 64 if ( fileName!=null ) { 65 file = fileName;
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
ListenerLeakTest.cpp | 90 void RunTest(const std::string& filename) 93 std::string fileName(filename); 95 URLTestHelpers::registerMockedURLFromBaseURL(WebString::fromUTF8(baseURL.c_str()), WebString::fromUTF8(fileName.c_str())); 96 webViewHelper.initializeAndLoad(baseURL + fileName, executeScript);
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
parse-malloc-history | 63 foreach my $fileName (@ARGV) { 64 open FILE, "<$fileName" or die "bad file: $fileName";
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/test/ |
PacketLossTest.cc | 134 std::string fileName = webrtc::test::OutputPath() + "outFile.rtp"; 137 rtpFile.Open(fileName.c_str(), "wb+"); 153 rtpFile.Open(fileName.c_str(), "rb");
|
/external/chromium_org/third_party/webrtc/modules/utility/source/ |
file_recorder_impl.h | 57 const char* fileName, 73 const char* fileName, 143 const char* 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/opt/telephony/src/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...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/ |
SourceRevealer.java | 86 * <li> A search, either by filename/line number, or for fqmn might provide only 1 result. 91 * such a case, if the fileName:lineNumber argument is available, a search for that 93 * <li> The search might provide multiple results. In such a case, the fileName/lineNumber 98 * @param fileName file name in which the method is present, null if not known 105 public boolean revealMethod(String fqmn, String fileName, int lineNumber, String perspective) { 106 // Search by filename:linenumber. If there is just one result for it, that would 109 if (fileName != null && lineNumber >= 0) { 110 fileMatches = searchForFile(fileName); 112 return revealLineMatch(fileMatches, fileName, lineNumber, perspective); 126 return revealLineMatch(filteredMatches, fileName, lineNumber, perspective) [all...] |