HomeSort by relevance Sort by last modified time
    Searched refs:fileName (Results 251 - 275 of 849) sorted by null

<<11121314151617181920>>

  /packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
AttachmentUtilities.java 106 * Filename extensions of attachments we're never willing to download (potential malware).
107 * Entries in this list are compared to the end of the lower-cased filename, so they must
120 * Filename extensions of attachments that can be installed.
121 * Entries in this list are compared to the end of the lower-cased filename, so they must
169 * Return the filename for a given attachment. This should be used by any code that is
173 * the filename that should be used.
191 * Helper to convert unknown or unmapped attachments to something useful based on filename
214 * @param fileName The given filename
218 public static String inferMimeType(final String fileName, final String mimeType)
    [all...]
  /cts/tools/vm-tests-tf/src/util/build/
BuildDalvikSuite.java 325 String fileName = getFileName(pName, method, ".java");
381 String fileName = dependentTestClassName.replace('.', '/').trim();
383 if (new File(sourceFolder, fileName + ".dfh").exists()) {
386 JAVASRC_FOLDER, fileName + ".dfh");
388 OUTPUT_FOLDER, fileName + ".dex");
393 OUTPUT_FOLDER, fileName + ".jar");
402 if (new File(sourceFolder, fileName + ".d").exists()) {
405 JAVASRC_FOLDER, fileName + ".d");
407 OUTPUT_FOLDER, fileName + ".dex");
412 OUTPUT_FOLDER, fileName + ".jar")
    [all...]
  /development/tools/apkcheck/src/com/android/apkcheck/
ApkCheck.java 160 static boolean parseApiDescr(ApiList apiList, String fileName) {
164 FileReader fileReader = new FileReader(fileName);
165 result = parseXml(apiList, fileReader, fileName);
168 System.err.println("Error opening " + fileName);
178 * @param fileName Input file name, only used for debug messages.
181 String fileName) {
182 //System.out.println("--- parsing " + fileName);
194 System.err.println("Error parsing " + fileName + " line " +
197 System.err.println("Error while reading " + fileName + ": " +
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitperl/VCSUtils_unittest/
mergeChangeLogs.pl 36 my ($fileName) = @_;
39 open(FH, "<", $fileName);
46 # Write a temporary file and return the filename.
51 my ($FH, $fileName) = tempfile(
60 my $newFileName = $fileName . $extension;
61 rename($fileName, $newFileName);
62 $fileName = $newFileName;
65 return $fileName;
  /external/chromium_org/third_party/icu/source/test/cintltst/
spooftest.c 131 char *fileName;
142 fileName = malloc(strlen(dataSrcDir) + 100);
143 strcpy(fileName, dataSrcDir);
144 strcat(fileName, U_FILE_SEP_STRING "unidata" U_FILE_SEP_STRING "confusables.txt");
145 f = fopen(fileName, "r");
152 strcpy(fileName, dataSrcDir);
153 strcat(fileName, U_FILE_SEP_STRING "unidata" U_FILE_SEP_STRING "confusablesWholeScript.txt");
154 f = fopen(fileName, "r");
167 free(fileName);
  /external/chromium_org/third_party/icu/source/tools/genrb/
wrtjava.c 628 char fileName[256] = {'\0'};
646 uprv_strcpy(fileName, outputDir);
648 uprv_strcat(fileName,U_FILE_SEP_STRING);
650 uprv_strcat(fileName,className);
651 uprv_strcat(fileName,".java");
653 uprv_strcat(fileName,className);
654 uprv_strcat(fileName,".java");
658 uprv_strncpy(writtenFilename, fileName, writtenFilenameLen);
665 out= T_FileStream_open(fileName,"w");
  /external/icu4c/tools/genrb/
wrtjava.c 620 char fileName[256] = {'\0'};
638 uprv_strcpy(fileName, outputDir);
640 uprv_strcat(fileName,U_FILE_SEP_STRING);
642 uprv_strcat(fileName,className);
643 uprv_strcat(fileName,".java");
645 uprv_strcat(fileName,className);
646 uprv_strcat(fileName,".java");
650 uprv_strncpy(writtenFilename, fileName, writtenFilenameLen);
657 out= T_FileStream_open(fileName,"w");
  /cts/tests/tests/hardware/src/android/hardware/camera2/cts/
CameraTestUtils.java 249 public static void dumpFile(String fileName, byte[] data) {
252 Log.v(TAG, "output will be saved as " + fileName);
253 outStream = new FileOutputStream(fileName);
255 throw new RuntimeException("Unable to create debug output file " + fileName, ioe);
262 throw new RuntimeException("failed writing data to file " + fileName, ioe);
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/
FileUtils.js 92 fileName: function() { },
153 fileName: function()
255 fileName: function()
356 * @param {string} fileName
359 open: function(fileName, callback)
363 this._fileName = fileName;
  /external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/
SFTPv3Client.java 177 * The currently used charset for filename encoding/decoding.
737 dirEnt.filename = tr.readString(charsetName);
744 log.debug("File: '" + dirEnt.filename + "'");
942 * @param fileName See the {@link SFTPv3Client comment} for the class for more details.
945 public void rm(String fileName) throws IOException
950 tw.writeString(fileName, charsetName);
1028 * @param fileName See the {@link SFTPv3Client comment} for the class for more details.
1032 public SFTPv3FileHandle openFileRO(String fileName) throws IOException
1034 return openFile(fileName, SSH_FXF_READ, null);
1040 * @param fileName See the {@link SFTPv3Client comment} for the class for more details
    [all...]
  /external/icu4c/samples/ugrep/
ugrep.cpp 45 const char *fileName;
266 fileName = name;
275 fprintf(stderr, "ugrep: Could not open file \"%s\"\n", fileName);
289 fprintf(stderr, "Error reading file \"%s\"\n", fileName);
443 printf("%s:", fileName);
  /external/lzma/CPP/7zip/UI/Common/
UpdateCallback.cpp 224 UString fileName = VolName;
225 fileName += L'.';
226 fileName += res;
227 fileName += VolExt;
230 if (!streamSpec->Create(fileName, false))
  /external/srec/tools/grxmlcompile/
grxmldoc.h 82 bool WriteOLabels(const std::string& fileName);
88 void writeMapFile( std::string & fileName );
89 void writeScriptFile( std::string & fileName );
90 void writeGraphFiles( std::string & fileName, bool bDoWriteRecogGraphs );
91 void writeParamsFile( std::string & fileName );
  /libcore/luni/src/test/java/libcore/java/util/jar/
DalvikExecTest.java 240 String fileName;
242 fileName = args[0];
243 System.out.format("for argument '%s'.\n", fileName);
246 fileName = "myResource";
249 InputStream is = ResourceDumper.class.getResourceAsStream(fileName);
  /packages/apps/Settings/src/com/android/settings/
SettingsLicenseActivity.java 69 public LicenseFileLoader(String fileName, Handler handler) {
70 mFileName = fileName;
134 String fileName = SystemProperties.get(PROPERTY_LICENSE_PATH, DEFAULT_LICENSE_PATH);
135 if (TextUtils.isEmpty(fileName)) {
170 Thread thread = new Thread(new LicenseFileLoader(fileName, mHandler));
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/builders/
PreCompilerDeltaVisitor.java 275 String fileName = resource.getName();
278 if (SdkConstants.FN_RESOURCE_CLASS.equals(fileName) ||
279 SdkConstants.FN_MANIFEST_CLASS.equals(fileName)) {
300 String msg = String.format(Messages.s_Removed_Recreating_s, fileName);
305 fileName);
  /system/core/liblog/
event_tag_map.c 64 EventTagMap* android_openEventTagMap(const char* fileName)
74 fd = open(fileName, O_RDONLY);
77 OUT_TAG, fileName, strerror(errno));
84 fprintf(stderr, "%s: unable to seek map '%s'\n", OUT_TAG, fileName);
92 OUT_TAG, fileName, strerror(errno));
  /external/qemu/android/avd/
info.c 254 * If 'fileName' is an absolute path, this returns a simple copy.
255 * Otherwise, this returns a new string corresponding to <rootPath>/<fileName>
260 _getFullFilePath( const char* rootPath, const char* fileName )
262 if (path_is_absolute(fileName)) {
263 return ASTRDUP(fileName);
267 p = bufprint(temp, end, "%s/%s", rootPath, fileName);
553 _avdInfo_getContentFilePath(AvdInfo* i, const char* fileName)
557 p = bufprint(p, end, "%s/%s", i->contentPath, fileName);
619 _avdInfo_getSdkFilePath(AvdInfo* i, const char* fileName)
630 p = bufprint(temp, end, "%s/%s", searchDir, fileName);
    [all...]
  /cts/suite/audio_quality/lib/src/task/
TaskSave.cpp 88 android::String8 fileName(dirName);
89 fileName.appendPath(it->first);
90 if (!it->second->saveToFile(fileName)) {
  /dalvik/vm/hprof/
Hprof.h 133 * If directToDdms is set, "fileName" and "fd" will be ignored.
134 * Otherwise, "fileName" must be valid, though if "fd" >= 0 it will
138 char *fileName;
188 void hprofContextInit(hprof_context_t *ctx, char *fileName, int fd,
225 int hprofDumpHeap(const char* fileName, int fd, bool directToDdms);
  /external/chromium_org/native_client_sdk/src/examples/api/file_io/
example.js 69 var fileName = document.querySelector('#saveFile input').value;
71 common.naclModule.postMessage(makeMessage('sv', fileName, fileText));
79 var fileName = document.querySelector('#loadFile input').value;
83 common.naclModule.postMessage(makeMessage('ld', fileName));
89 var fileName = document.querySelector('#delete input').value;
90 common.naclModule.postMessage(makeMessage('de', fileName));
  /external/chromium_org/third_party/angle/samples/gles2_book/MultiTexture/
MultiTexture.c 42 GLuint LoadTexture ( char *fileName )
46 char *buffer = esLoadTGA ( fileName, &width, &height );
51 esLogMessage ( "Error loading (%s) image.\n", fileName );
  /external/chromium_org/third_party/icu/source/tools/toolutil/
ucbuf.c 131 ucbuf_autodetect(const char* fileName, const char** cp,UConverter** conv, int32_t* signatureLength,UErrorCode* error){
136 if(conv==NULL || cp==NULL || fileName==NULL){
141 in= T_FileStream_open(fileName,"rb");
448 ucbuf_open(const char* fileName,const char** cp,UBool showWarning, UBool buffered, UErrorCode* error){
456 if(cp==NULL || fileName==NULL){
460 if (!uprv_strcmp(fileName, "-")) {
463 in = T_FileStream_open(fileName, "rb");
638 ucbuf_resolveFileName(const char* inputDir, const char* fileName, char* target, int32_t* len, UErrorCode* status){
646 if(inputDir == NULL || fileName == NULL || len==NULL || (target==NULL && *len>0)){
653 filelen = (int32_t)uprv_strlen(fileName);
    [all...]
  /external/emma/core/java12/com/vladium/emma/
EMMAProperties.java 142 final String fileName = Property.getSystemProperty (appName + ".properties");
143 final File file = fileName != null
144 ? new File (fileName)
  /external/icu4c/tools/toolutil/
ucbuf.c 132 ucbuf_autodetect(const char* fileName, const char** cp,UConverter** conv, int32_t* signatureLength,UErrorCode* error){
137 if(conv==NULL || cp==NULL || fileName==NULL){
142 in= T_FileStream_open(fileName,"rb");
449 ucbuf_open(const char* fileName,const char** cp,UBool showWarning, UBool buffered, UErrorCode* error){
457 if(cp==NULL || fileName==NULL){
461 if (!uprv_strcmp(fileName, "-")) {
464 in = T_FileStream_open(fileName, "rb");
639 ucbuf_resolveFileName(const char* inputDir, const char* fileName, char* target, int32_t* len, UErrorCode* status){
647 if(inputDir == NULL || fileName == NULL || len==NULL || (target==NULL && *len>0)){
654 filelen = (int32_t)uprv_strlen(fileName);
    [all...]

Completed in 710 milliseconds

<<11121314151617181920>>