/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
AttachmentUtilities.java | 101 * Filename extensions of attachments we're never willing to download (potential malware). 102 * Entries in this list are compared to the end of the lower-cased filename, so they must 115 * Filename extensions of attachments that can be installed. 116 * Entries in this list are compared to the end of the lower-cased filename, so they must 157 * Return the filename for a given attachment. This should be used by any code that is 161 * the filename that should be used. 179 * Helper to convert unknown or unmapped attachments to something useful based on filename 202 * @param fileName The given filename 206 public static String inferMimeType(final String fileName, final String mimeType) [all...] |
/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");
|
/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/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 );
|
/frameworks/base/media/java/android/media/ |
ExifInterface.java | 119 public ExifInterface(String filename) throws IOException { 120 if (filename == null) { 121 throw new IllegalArgumentException("filename cannot be null"); 123 mFilename = filename; 408 private native boolean appendThumbnailNative(String fileName, 411 private native void saveAttributesNative(String fileName, 414 private native String getAttributesNative(String fileName); 416 private native void commitChangesNative(String fileName); 418 private native byte[] getThumbnailNative(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/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...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_5/Exceptions/ |
errstack-001.js | 209 var message = 'Hi there!'; var fileName = 'file name'; var lineNumber = 0; 210 myErr = Error(message, fileName, lineNumber); 221 myErr = new Error(message, fileName, lineNumber);
|
/frameworks/base/core/java/android/ddm/ |
DdmHandleProfiling.java | 100 String fileName = getString(in, len); 102 Log.v("ddm-heap", "Method profiling start: filename='" + fileName 106 Debug.startMethodTracing(fileName, bufferSize, flags);
|
/frameworks/base/include/androidfw/ |
Asset.h | 143 static Asset* createFromFile(const char* fileName, AccessMode mode); 148 static Asset* createFromCompressedFile(const char* fileName, 226 status_t openChunk(const char* fileName, int fd, off64_t offset, size_t length);
|
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/ |
PduPart.java | 359 * Get Content-disposition parameter: filename 361 * @param fileName the filename value 364 public void setFilename(byte[] fileName) { 365 if(null == fileName) { 369 mPartHeader.put(P_FILENAME, fileName); 373 * Set Content-disposition parameter: filename 375 * @return the filename 382 // Assumption: At least one of the content-location / name / filename
|
/system/core/libzipfile/ |
zipfile.c | 48 if (0 == memcmp(entryName, entry->fileName, entry->fileNameLength)) { 68 memcpy(s, e->fileName, l); 141 fwrite(entry->fileName, entry->fileNameLength, 1, to);
|
/external/valgrind/main/VEX/switchback/ |
linker.c | 137 char* fileName; 427 fprintf(stderr, "fixup area too small for %s\n", oc->fileName); 566 oc->fileName, symbol); 628 oc->fileName, (Int)ELF_R_TYPE(info)); 717 belch("%s: function %s with addend %p", oc->fileName, symbol, (void *)A); 721 fprintf(stderr,"%s: unknown symbol `%s'\n", oc->fileName, symbol); 841 fprintf(stderr, "%s: R_PPC_REL24 relocation failed\n", oc->fileName ); 856 oc->fileName, (Int)ELF_R_TYPE(info)); 883 fprintf(stderr,"%s: can't find string or symbol table\n", oc->fileName); 940 fprintf(stderr,"%s: not an ELF object\n", oc->fileName); [all...] |
/packages/apps/Contacts/src/com/android/contacts/detail/ |
PhotoSelectionHandler.java | 194 private void doCropPhoto(String fileName) { 198 final String newPath = ContactPhotoUtils.pathForNewCameraPhoto(fileName); 199 final String croppedPath = ContactPhotoUtils.pathForCroppedPhoto(mContext, fileName); 210 startPhotoActivity(intent, REQUEST_CODE_PHOTO_PICKED_WITH_DATA, fileName); 278 private static Intent getTakePhotoIntent(String fileName) { 280 final String newPhotoPath = ContactPhotoUtils.pathForNewCameraPhoto(fileName);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/preferences/ |
BuildPreferencePage.java | 281 String fileName = getTextControl().getText(); 282 fileName = fileName.trim(); 293 if (fileName.length() > 0) { 294 File file = new File(fileName); 298 DebugKeyProvider provider = new DebugKeyProvider(fileName,
|
/cts/tools/dex-tools/src/dex/reader/ |
DexBuffer.java | 30 public DexBuffer(String fileName) throws IOException { 35 fis = new FileInputStream(fileName);
|
/development/tools/idegen/src/com/android/idegen/ |
ModuleIndexes.java | 118 String fileName = getMakeFile(moduleName); 119 File file = new File(fileName);
|