/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/ |
JavaSourceRevealer.java | 69 public static boolean revealMethod(String fqmn, String fileName, int linenumber, 73 if (revealer.revealMethod(fqmn, fileName, linenumber, perspective)) {
|
/cts/tests/tests/content/src/android/content/res/cts/ |
AssetManagerTest.java | 50 final String fileName = "text.txt"; 51 InputStream inputStream = mAssets.open(fileName); 55 inputStream = mAssets.open(fileName, AssetManager.ACCESS_BUFFER); 59 AssetFileDescriptor assetFileDes = mAssets.openFd(fileName); 79 if (files[i].equals(fileName)) {
|
/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/icu4c/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/webkit/Source/JavaScriptCore/ |
jsc.cpp | 72 static bool fillBufferWithContentsOfFile(const UString& fileName, Vector<char>& buffer); 210 UString fileName = exec->argument(0).toString(exec); 212 if (!fillBufferWithContentsOfFile(fileName, script)) 219 evaluate(globalObject->globalExec(), globalObject->globalScopeChain(), makeSource(script.data(), fileName)); 227 UString fileName = exec->argument(0).toString(exec); 229 if (!fillBufferWithContentsOfFile(fileName, script)) 233 Completion result = evaluate(globalObject->globalExec(), globalObject->globalScopeChain(), makeSource(script.data(), fileName)); 241 UString fileName = exec->argument(0).toString(exec); 243 if (!fillBufferWithContentsOfFile(fileName, script)) 250 Completion result = checkSyntax(globalObject->globalExec(), makeSource(script.data(), fileName)); [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);
|
/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)) {
|
/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);
|
/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,
|
/dalvik/vm/native/ |
dalvik_system_DexFile.cpp | 38 char* fileName; 53 ALOGV("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; 286 pDexOrJar->fileName = strdup("<memory>"); // Needs to be free()able. 308 ALOGV("Closing DEX file %p (%s)", pDexOrJar, pDexOrJar->fileName); 323 pDexOrJar->fileName); 326 ALOGV("+++ freeing DexFile '%s' resources", pDexOrJar->fileName); 329 ALOGV("+++ 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);
|
/bootable/recovery/minzip/ |
Zip.h | 28 * filename. We can change the accessors to retrieve the various pieces 34 const char* fileName; // not null-terminated 71 int mzOpenZipArchive(const char* fileName, ZipArchive* pArchive); 120 ret.str = pEntry->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/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/mms/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...] |
/external/icu4c/test/cintltst/ |
crestst.c | 774 char* fileName = (char*) malloc(uprv_strlen(testdatapath) +10); 796 uprv_strcpy(fileName,testdatapath); 797 uprv_strcat(fileName,".dat"); 798 stream = T_FileStream_open(fileName, "r"); 800 log_data_err("T_FileStream_open failed to open %s\n",fileName); 802 if(!T_FileStream_file_exists(fileName)){ 803 log_data_err("T_FileStream_file_exists failed to verify existence of %s \n",fileName); 808 log_data_err("T_FileStream_read failed to read from %s \n",fileName); 814 log_data_err("T_FileStream_rewind failed to rewind %s \n",fileName); 819 log_data_err("T_FileStream_peek failed to peekd %s \n",fileName); [all...] |
/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);
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
MultipartForm.java | 52 public MultipartForm addFormFile(String name, String fileName, byte[] data) { 54 mFileName = fileName; 136 private void writeFormFileHeader(PrintWriter writer, String name, String fileName) { 139 writer.append("\"; filename=\"").append(fileName).println("\"");
|
/dalvik/vm/ |
Native.h | 65 bool dvmLoadNativeCode(const char* fileName, Object* classLoader,
|
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/ |
rhino-python.prog | 3 function loadFile(fileName, encoding) { 4 var f = new java.io.File(fileName),
|