/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_FilesTest.java | 138 String fileName = fileDir + "/Test.Mp3"; 139 writeFile(R.raw.testmp3, fileName); 151 new File(fileName).delete();
|
/external/emma/core/java12/com/vladium/emma/report/lcov/ |
ReportGenerator.java | 185 final String fileName = item.getFullVMName(); 192 + Descriptors.combineVMName(packageVMName, fileName) 307 + Descriptors.combineVMName(packageVMName, fileName)
|
/external/emma/core/java12/com/vladium/util/ |
Property.java | 108 final String fileName = Property.getSystemProperty (namespace + ".properties"); 109 final File file = fileName != null 110 ? new File (fileName)
|
/frameworks/base/media/java/android/media/ |
MediaFile.java | 320 public static int getFormatCode(String fileName, String mimeType) { 327 int lastDot = fileName.lastIndexOf('.'); 329 String extension = fileName.substring(lastDot + 1).toUpperCase(Locale.ROOT);
|
/cts/tests/tests/media/src/android/media/cts/ |
EncodeVirtualDisplayTest.java | 231 String fileName = DEBUG_FILE_NAME_BASE + WIDTH + "x" + HEIGHT + ".mp4"; 233 outputStream = new FileOutputStream(fileName); 234 Log.d(TAG, "encoded output will be saved as " + fileName); 236 Log.w(TAG, "Unable to create debug output file " + fileName);
|
EncodeDecodeTest.java | 464 String fileName = DEBUG_FILE_NAME_BASE + mWidth + "x" + mHeight + ".mp4"; 466 outputStream = new FileOutputStream(fileName); 467 Log.d(TAG, "encoded output will be saved as " + fileName); 469 Log.w(TAG, "Unable to create debug output file " + fileName); [all...] |
/dalvik/vm/ |
AllocTracker.cpp | 326 const char* fileName = dvmGetMethodSourceFile(method); 327 if (fileName == NULL) 328 fileName = ""; 329 return fileName;
|
/dalvik/vm/compiler/ |
Frontend.cpp | 636 char *fileName = (char *) dvmCompilerNew( 643 sprintf(fileName, "%s%s%s%s%s.dot", dirPrefix, 652 for (i = strlen(dirPrefix); fileName[i]; i++) { 653 if (fileName[i] == '/') { 654 fileName[i] = '_'; 655 } else if (fileName[i] == ';') { 656 fileName[i] = '#'; 657 } else if (fileName[i] == '$') { 658 fileName[i] = '+'; 659 } else if (fileName[i] == '(' || fileName[i] == ')') [all...] |
/dalvik/vm/oo/ |
Class.h | 46 char* fileName;
|
/external/antlr/antlr-3.4/runtime/C/include/ |
antlr3tokenstream.h | 92 pANTLR3_STRING fileName;
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
Interp.java | 101 lexer.fileName = grammarFileName;
|
/external/chromium_org/third_party/icu/source/tools/gensprep/ |
store.c | 588 char* fileName = (char*) uprv_malloc(uprv_strlen(bundleName) +100); 618 fileName[0]=0; 619 uprv_strcat(fileName,bundleName); 621 pData=udata_create(dataDir, DATA_TYPE, fileName, &dataInfo,
|
/external/guava/guava/src/com/google/common/io/ |
Files.java | 759 public static String getFileExtension(String fileName) { 760 checkNotNull(fileName); 761 int dotIndex = fileName.lastIndexOf('.'); 762 return (dotIndex == -1) ? "" : fileName.substring(dotIndex + 1);
|
/external/icu4c/test/intltest/ |
dcfmtest.cpp | 170 DecimalFormatTest::getPath(char *buffer, const char *filename) { 176 strcat(buffer, filename); 465 UChar *DecimalFormatTest::ReadAndConvertFile(const char *fileName, int32_t &ulen, 480 f = fopen(fileName, "rb"); 482 dataerrln("Error opening test data file %s\n", fileName); 514 errln("Test data file %s is missing its BOM", fileName);
|
/external/qemu/android/utils/ |
assert.h | 22 void _android_assert_loc(const char* fileName,
|
/external/srec/srec_jni/ |
android_speech_srec_Recognizer.cpp | 94 (JNIEnv *env, jclass clazz, jstring fileName) { 95 // TODO: check for fileName NPE 96 const char* fn = env->GetStringUTFChars(fileName, 0); 98 env->ReleaseStringUTFChars(fileName, fn); 403 (JNIEnv *env, jclass clazz, jstring fileName) { 404 // TODO: check for fileName NPE 406 const char* fn = env->GetStringUTFChars(fileName, 0); 408 env->ReleaseStringUTFChars(fileName, fn); 413 (JNIEnv *env, jclass clazz, jint grammar, jstring fileName) { 414 const char* fn = env->GetStringUTFChars(fileName, 0) 438 char filename[P_PATH_MAX]; local [all...] |
/frameworks/av/media/libstagefright/tests/ |
SurfaceMediaSource_test.cpp | 741 const char *fileName = "/sdcard/outputSurfEncMSource.mp4"; 742 int fd = open(fileName, O_RDWR | O_CREAT, 0744); 744 ALOGE("ERROR: Could not open the the file %s, fd = %d !!", fileName, fd); 876 const char *fileName = "/sdcard/outputSurfEncMSourceGL.mp4"; 877 int fd = open(fileName, O_RDWR | O_CREAT, 0744); 879 ALOGE("ERROR: Could not open the the file %s, fd = %d !!", fileName, fd); [all...] |
/frameworks/base/include/androidfw/ |
ZipFileRO.h | 58 * filename, so we don't need to extract those (but we do need to byte-read 93 ZipEntryRO findEntryByName(const char* fileName) const; 117 * Copy the filename into the supplied buffer. Returns 0 on success, 118 * -1 if "entry" is invalid, or the filename length if it didn't fit. The
|
/hardware/libhardware_legacy/audio/ |
AudioDumpInterface.cpp | 290 if (mInterface->fileName() != "") { 292 sprintf(name, "%s_out_%d_%d.pcm", mInterface->fileName().string(), mId, ++mFileCount); 446 if (mInterface->fileName() != "") { 448 sprintf(name, "%s_in_%d_%d.pcm", mInterface->fileName().string(), mId, ++mFileCount);
|
/libcore/dalvik/src/main/java/dalvik/system/ |
VMDebug.java | 287 * @param filename Full pathname of output file (e.g. "/sdcard/dump.hprof"). 292 public static void dumpHprofData(String filename) throws IOException { 293 if (filename == null) { 294 throw new NullPointerException("filename == null"); 296 dumpHprofData(filename, null); 310 * @param fileName Name of output file. If fd is non-null, the 313 * If this is null, the fileName is used instead. 315 public static native void dumpHprofData(String fileName, FileDescriptor fd)
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/ |
VCardService.java | 450 for (final String fileName : fileList()) { 451 if (fileName.startsWith(CACHE_FILE_PREFIX)) { 453 Log.i(LOG_TAG, "Remove a temporary file: " + fileName); 454 deleteFile(fileName);
|
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
EmailSyncParser.java | 458 String fileName = null; 469 fileName = getValue(); 490 if ((fileName != null) && (length != null) && (location != null)) { 494 att.mFileName = fileName; 496 att.mMimeType = getMimeTypeFromFileName(fileName); 522 * @param fileName the file name to ponder 526 public String getMimeTypeFromFileName(String fileName) { 528 int lastDot = fileName.lastIndexOf('.'); 530 if ((lastDot > 0) && (lastDot < fileName.length() - 1)) { 531 extension = fileName.substring(lastDot + 1).toLowerCase() [all...] |
/packages/apps/Exchange/tests/src/com/android/exchange/adapter/ |
FolderSyncParserTests.java | 160 public MockFolderSyncParser(String fileName, AbstractSyncAdapter adapter) 164 InputStream is = am.open(fileName); 296 * @param fileName the name of the file containing emaillog data for folder sync 300 private void testComplexFolderListParse(String fileName) throws IOException, 304 FolderSyncParser parser = new MockFolderSyncParser(fileName, adapter);
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/ |
dynamic_patricia_trie_writing_helper.cpp | 150 void DynamicPatriciaTrieWritingHelper::writeToDictFile(const char *const fileName, 159 DictFileWritingUtils::flushAllHeaderAndBodyToFile(fileName, &headerBuffer, mBuffer); 163 const char *const fileName, const HeaderPolicy *const headerPolicy) { 179 DictFileWritingUtils::flushAllHeaderAndBodyToFile(fileName, &headerBuffer, &newDictBuffer);
|
/cts/tools/cfassembler/src/dxconvext/ |
ClassFileParser.java | 64 String fileName = absSrcFilePath; 66 String pckPath = fileName.substring(srcDir.length() + 1);
|