/external/chromium/third_party/icu/source/tools/toolutil/ |
filetools.h | 27 isFileModTimeLater(const char *filePath, const char *checkAgainst, UBool isDir=FALSE); 30 swapFileSepChar(char *filePath, const char oldFileSepChar, const char newFileSepChar);
|
filetools.cpp | 35 isFileModTimeLater(const char *filePath, const char *checkAgainst, UBool isDir) { 38 if (filePath == NULL || checkAgainst == NULL) { 59 isLatest = isFileModTimeLater(filePath, newpath, isDir); 64 int32_t latest = whichFileModTimeIsLater(filePath, newpath); 81 int32_t latest = whichFileModTimeIsLater(filePath, checkAgainst); 122 swapFileSepChar(char *filePath, const char oldFileSepChar, const char newFileSepChar) { 123 for (int32_t i = 0, length = uprv_strlen(filePath); i < length; i++) { 124 filePath[i] = (filePath[i] == oldFileSepChar ) ? newFileSepChar : filePath[i] [all...] |
/external/icu4c/tools/toolutil/ |
filetools.h | 27 isFileModTimeLater(const char *filePath, const char *checkAgainst, UBool isDir=FALSE); 30 swapFileSepChar(char *filePath, const char oldFileSepChar, const char newFileSepChar);
|
filetools.cpp | 35 isFileModTimeLater(const char *filePath, const char *checkAgainst, UBool isDir) { 38 if (filePath == NULL || checkAgainst == NULL) { 59 isLatest = isFileModTimeLater(filePath, newpath, isDir); 64 int32_t latest = whichFileModTimeIsLater(filePath, newpath); 81 int32_t latest = whichFileModTimeIsLater(filePath, checkAgainst); 122 swapFileSepChar(char *filePath, const char oldFileSepChar, const char newFileSepChar) { 123 for (int32_t i = 0, length = uprv_strlen(filePath); i < length; i++) { 124 filePath[i] = (filePath[i] == oldFileSepChar ) ? newFileSepChar : filePath[i] [all...] |
/frameworks/base/core/java/android/content/res/ |
ObbScanner.java | 33 * @param filePath path to the OBB file to be scanned. 38 public static ObbInfo getObbInfo(String filePath) throws IOException { 39 if (filePath == null) { 43 final File obbFile = new File(filePath); 45 throw new IllegalArgumentException("OBB file does not exist: " + filePath); 61 private native static void getObbInfo_native(String filePath, ObbInfo obbInfo)
|
/external/webkit/WebCore/platform/gtk/ |
SharedBufferGtk.cpp | 30 PassRefPtr<SharedBuffer> SharedBuffer::createWithContentsOfFile(const String& filePath) 32 if (filePath.isEmpty()) 35 gchar* filename = filenameFromString(filePath); 40 LOG_ERROR("Failed to fully read contents of file %s - %s", filenameForDisplay(filePath).utf8().data(), error->message);
|
/external/webkit/WebCore/platform/win/ |
SharedBufferWin.cpp | 34 PassRefPtr<SharedBuffer> SharedBuffer::createWithContentsOfFile(const String& filePath) 36 if (filePath.isEmpty()) 39 String nullifiedPath = filePath; 42 LOG_ERROR("Failed to open file %s to create shared buffer, errno(%i)", filePath.ascii().data(), errno); 63 LOG_ERROR("Failed to fully read contents of file %s - errno(%i)", filePath.ascii().data(), errno);
|
/frameworks/base/core/tests/coretests/src/android/os/storage/ |
StorageManagerIntegrationTest.java | 67 String filePath = mFile.getAbsolutePath(); 68 mountObb(filePath); 69 verifyObb1Contents(filePath); 70 unmountObb(filePath, DONT_FORCE); 119 String filePath = mFile.getAbsolutePath(); 120 mountObb(filePath, OBB_FILE_3_PASSWORD, OnObbStateChangeListener.MOUNTED); 121 verifyObb3Contents(filePath); 122 unmountObb(filePath, DONT_FORCE); 131 String filePath = mFile.getAbsolutePath(); 132 mountObb(filePath, OBB_FILE_3_PASSWORD, OnObbStateChangeListener.ERROR_COULD_NOT_MOUNT) [all...] |
/dalvik/dx/src/com/android/dx/command/dump/ |
ClassDumper.java | 36 * @param filePath the file path for the class, excluding any base 41 String filePath, Args args) { 43 new ClassDumper(bytes, out, filePath, args); 52 String filePath, Args args) { 53 super(bytes, out, filePath, args);
|
DotDumper.java | 45 private final String filePath; 50 static void dump(byte[] bytes, String filePath, Args args) { 51 new DotDumper(bytes, filePath, args).run(); 54 DotDumper(byte[] bytes, String filePath, Args args) { 56 this.filePath = filePath; 69 classFile = new DirectClassFile(ba, filePath, strictParse); 75 new DirectClassFile(ba, filePath, strictParse);
|
BaseDumper.java | 53 private final String filePath; 79 * @param filePath the file path for the class, excluding any base 83 String filePath, Args args) { 88 this.filePath = filePath; 192 return filePath;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/ |
EclipseTestCollector.java | 53 String filePath = entry.getPath().replace(".class", ""); 55 Class<?> testClass = getClass(filePath, expectedPackage); 62 //sLogger.log(Level.INFO, "Could not load class " + filePath); 91 * @param filePath - path of class in bundle 95 protected Class<?> getClass(String filePath, String expectedPackage) throws ClassNotFoundException { 96 String dotPath = filePath.replace('/', '.');
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
CodecTest.java | 82 public static int getDuration(String filePath) { 83 Log.v(TAG, "getDuration - " + filePath); 86 mp.setDataSource(filePath); 98 public static boolean getCurrentPosition(String filePath){ 99 Log.v(TAG, "GetCurrentPosition - " + filePath); 105 mp.setDataSource(filePath); 123 if (filePath.equals(MediaNames.SHORTMP3)){ 133 public static boolean seekTo(String filePath){ 134 Log.v(TAG, "seekTo " + filePath); 138 mp.setDataSource(filePath); [all...] |
/external/webkit/WebCore/platform/android/ |
FileSystemAndroid.cpp | 119 char filePath[1024]; 120 if ((int) (sizeof(filePath) - 1) < snprintf(filePath, 121 sizeof(filePath), "%s/%s", cpath.data(), name)) { 124 entries.append(filePath);
|
/external/qemu/android/utils/ |
ini.h | 33 IniFile* iniFile_newFromFile( const char* filePath); 38 int iniFile_saveToFile( IniFile* f, const char* filePath );
|
/packages/providers/DownloadProvider/tests/permission/src/com/android/providers/downloads/permission/tests/ |
DownloadProviderPermissionsTest.java | 54 String filePath = "/cache/this-should-not-exist.txt"; 55 FileOutputStream strm = new FileOutputStream(filePath); 59 fail("Was able to create and write to " + filePath);
|
/external/webkit/WebKit/chromium/src/ |
WebHTTPBody.cpp | 81 result.filePath.reset(); 89 result.filePath = element.m_filename; 110 void WebHTTPBody::appendFile(const WebString& filePath) 113 m_private->appendFile(filePath); 116 void WebHTTPBody::appendFile(const WebString& filePath, long long fileStart, long long fileLength, const WebFileInfo& fileInfo)
|
/dalvik/dx/src/com/android/dx/cf/direct/ |
DirectClassFile.java | 77 private final String filePath; 166 * @param filePath {@code non-null;} the file path for the class, 173 public DirectClassFile(ByteArray bytes, String filePath, 179 if (filePath == null) { 180 throw new NullPointerException("filePath == null"); 183 this.filePath = filePath; 193 * @param filePath {@code non-null;} the file path for the class, 200 public DirectClassFile(byte[] bytes, String filePath, 202 this(new ByteArray(bytes), filePath, strictParse) [all...] |
/external/webkit/WebKit/chromium/public/ |
WebMimeRegistry.h | 52 virtual WebString mimeTypeFromFile(const WebString& filePath) = 0;
|
/frameworks/base/core/jni/ |
android_content_res_ObbScanner.cpp | 51 const char* filePath = env->GetStringUTFChars(file, JNI_FALSE); 54 if (!obb->readFrom(filePath)) { 55 env->ReleaseStringUTFChars(file, filePath); 60 env->ReleaseStringUTFChars(file, filePath);
|
/sdk/dumpeventlog/src/com/android/dumpeventlog/ |
DumpEventLog.java | 44 public LogWriter(String filePath) throws IOException { 45 mOutputStream = new FileOutputStream(filePath); 74 System.out.println("Usage: dumpeventlog <device s/n> <filepath>"); 136 private static void grabLogFrom(IDevice device, String filePath) throws IOException { 137 LogWriter writer = new LogWriter(filePath);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/power/ |
MediaPlayerPowerTest.java | 49 public void audioPlayback(String filePath) { 52 mp.setDataSource(filePath);
|
/packages/apps/Email/src/com/android/email/mail/internet/ |
BinaryTempFileBody.java | 48 * @param filePath The file containing the data to be stored on disk temporarily 50 public void setFile(String filePath) { 51 mFile = new File(filePath);
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/log/event/ |
BugReportImporter.java | 35 public BugReportImporter(String filePath) throws FileNotFoundException { 37 new InputStreamReader(new FileInputStream(filePath)));
|
EventLogImporter.java | 36 public EventLogImporter(String filePath) throws FileNotFoundException { 45 new InputStreamReader(new FileInputStream(filePath)));
|