/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/ |
TestUtils.java | 161 String fileName = keyStoreFileName + testKeyStoreType; 162 ks.load(Support_Resources.getResourceStream(fileName), [all...] |
/libcore/support/src/test/java/tests/support/resource/ |
Support_Resources.java | 47 String fileName = name; 61 url = new URL("file:/" + resPath + "/" + fileName);
|
/ndk/tests/device/test-gnustl-full/unit/ |
codecvt_test.cpp | 294 const char* fileName = "test_file.txt"; 296 ofstream ostr(fileName); 306 ifstream istr(fileName); 341 ifstream istr(fileName);
|
/ndk/tests/device/test-stlport/unit/ |
codecvt_test.cpp | 294 const char* fileName = "test_file.txt"; 296 ofstream ostr(fileName); 306 ifstream istr(fileName); 341 ifstream istr(fileName);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppLauncherActivity.java | 209 String fileName = getString(R.string.bluetooth_share_file_name) + ".html"; 210 context.deleteFile(fileName); 218 outStream = context.openFileOutput(fileName, Context.MODE_PRIVATE); 221 fileUri = Uri.fromFile(new File(context.getFilesDir(), fileName));
|
BluetoothOppTransferHistory.java | 195 String fileName = mTransferCursor.getString(mTransferCursor 197 if (fileName == null) { 198 fileName = this.getString(R.string.unknown_file); 200 menu.setHeaderTitle(fileName);
|
BluetoothOppUtility.java | 140 String fileName = metadataCursor.getString(0); 141 Uri path = Uri.parse(fileName); 144 path = Uri.fromFile(new File(fileName)); 157 public static void openReceivedFile(Context context, String fileName, String mimetype, 159 if (fileName == null || mimetype == null) { 160 Log.e(TAG, "ERROR: Para fileName ==null, or mimetype == null"); 164 File f = new File(fileName); 179 Uri path = Uri.parse(fileName); 182 path = Uri.fromFile(new File(fileName));
|
/packages/apps/Email/src/com/android/email/provider/ |
AttachmentProvider.java | 69 AttachmentColumns.MIME_TYPE, AttachmentColumns.FILENAME }; 73 private static final String[] PROJECTION_QUERY = new String[] { AttachmentColumns.FILENAME, 84 String filename = file.getName(); local 85 if (filename.endsWith(".tmp") || filename.startsWith("thmb_")) { 114 String fileName = c.getString(MIME_TYPE_COLUMN_FILENAME); 115 mimeType = AttachmentUtilities.inferMimeType(fileName, mimeType); 171 String filename = "thmb_" + accountId + "_" + id; local 173 File file = new File(dir, 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));
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
BinaryDictionaryGetter.java | 147 final String fileName = replaceFileNameDangerousCharacters(id); 148 return getCacheDirectoryForLocale(locale, context) + File.separator + fileName;
|
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/ |
HandleProfiling.java | 90 * @param fileName is the name of the file to which profiling data 96 public static void sendMPRS(Client client, String fileName, int bufferSize, 99 ByteBuffer rawBuf = allocBuffer(3*4 + fileName.length() * 2); 105 buf.putInt(fileName.length()); 106 putString(buf, fileName); 109 Log.d("ddm-prof", "Sending " + name(CHUNK_MPRS) + " '" + fileName 113 // record the filename we asked for. 114 client.getClientData().setPendingMethodProfiling(fileName); 143 // get the filename and make the client not have pending HPROF dump anymore. 144 String filename = client.getClientData().getPendingMethodProfiling() local 277 String filename = client.getClientData().getPendingMethodProfiling(); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/builders/ |
PreCompilerDeltaVisitor.java | 265 String fileName = resource.getName(); 268 if (AdtConstants.FN_RESOURCE_CLASS.equals(fileName) || 269 AdtConstants.FN_MANIFEST_CLASS.equals(fileName)) { 290 String msg = String.format(Messages.s_Removed_Recreating_s, fileName); 295 fileName);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/preferences/ |
AndroidPreferencePage.java | 124 String fileName = getTextControl().getText(); 125 fileName = fileName.trim(); 127 if (fileName.indexOf(',') >= 0 || fileName.indexOf(';') >= 0) { 132 File file = new File(fileName); 139 boolean ok = AdtPlugin.getDefault().checkSdkLocationAndId(fileName,
|
/cts/tests/tests/os/src/android/os/cts/ |
ParcelFileDescriptorTest.java | 282 final String fileName = "testParcelFileDescriptor"; 286 fout = con.openFileOutput(fileName, Context.MODE_WORLD_WRITEABLE); 295 File file = new File(dir, fileName);
|
/dalvik/vm/native/ |
dalvik_system_VMDebug.cpp | 491 * static void dumpHprofData(String fileName, FileDescriptor fd) 501 char* fileName; 508 dvmThrowNullPointerException("fileName == null && fd == null"); 513 fileName = dvmCreateCstrFromString(fileNameStr); 514 if (fileName == NULL) { 520 fileName = strdup("[fd]"); 527 free(fileName); 532 result = hprofDumpHeap(fileName, fd, false); 533 free(fileName);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
FileInputStreamTest.java | 35 public String fileName; 47 java.io.File f = new File(fileName); 56 FileOutputStream fos = new FileOutputStream(fileName); 66 is = new FileInputStream(fileName); 101 is = new FileInputStream(fileName); 113 is = new FileInputStream(fileName); 124 FileInputStream fis1 = new FileInputStream(fileName); 152 FileInputStream fis = new FileInputStream(fileName); 162 InputStreamReader isr = new InputStreamReader(new FileInputStream(fileName)); 173 is = new FileInputStream(fileName); [all...] |
FileOutputStreamTest.java | 31 public String fileName; 49 f = new File(fileName = System.getProperty("user.home"), "fos.tst"); 57 f = new File(fileName = System.getProperty("user.home"), "fos.tst"); 58 fileName = f.getAbsolutePath(); 59 fos = new FileOutputStream(fileName); 62 fis = new FileInputStream(fileName); 72 f = new File(fileName = System.getProperty("user.home"), "fos.tst"); 73 fileName = f.getAbsolutePath(); 74 fos = new FileOutputStream(fileName); 145 f = new File(fileName = System.getProperty("user.home"), "testfd") [all...] |
SerializationStressTest5.java | 160 String fileName = files[i].getPath(); 161 int instOfBegTarget = fileName.indexOf(begTarget); 162 int instOfEndTarget = fileName.indexOf(endTarget); 163 fileName = fileName.substring(instOfBegTarget + 1, instOfEndTarget); 164 fileName = fileName.replace(slash.charAt(0), '.'); 166 Class theClass = Class.forName(fileName, false, ClassLoader 173 if (!fileName.equals("java.lang.VirtualMachineError") 174 && !fileName [all...] |
/external/emma/ant/ant14/com/vladium/emma/report/ |
ReportCfg.java | 88 public void setOutfile (final String fileName) 90 m_settings.setProperty (m_prefix.concat (OUT_FILE), fileName); 389 public void setOutfile (final String fileName) 391 m_settings.setProperty (PREFIX.concat (OUT_FILE), fileName);
|
/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/icu4c/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/proguard/src/proguard/ |
ConfigurationParser.java | 389 String fileName = nextWord; 393 return fileName; [all...] |
/external/stlport/test/unit/ |
fstream_test.cpp | 680 const char* fileName = "test_file.txt"; 683 ofstream ofstr(fileName, ios_base::binary); 692 my_ifstream ifstr(fileName);
|
/external/webkit/Source/WebCore/platform/win/ |
ClipboardWin.cpp | 141 // The filename for any content based drag or file url should be the last element of 186 static HGLOBAL createGlobalHDropContent(const KURL& url, String& fileName, SharedBuffer* data) 188 if (fileName.isEmpty() || !data) 212 if (!::PathAppend(tempPath, fileName.charactersWithNullTermination())) 276 // to provide a filename extension. Something tricky (like a bait-n-switch) is going on 574 WCHAR filename[MAX_PATH]; 577 if (!DragQueryFileW(hdrop, i, filename, WTF_ARRAY_LENGTH(filename))) 579 files->append(File::create(reinterpret_cast<UChar*>(filename))); 678 String fileName = cachedImage->response().suggestedFilename() [all...] |
/frameworks/base/core/java/android/webkit/ |
JWebCoreJavaBridge.java | 279 String fileName = mContentUriToFilePathMap.get(uri); 280 if (fileName != null) { 281 return fileName;
|