/frameworks/av/drm/libdrmframework/include/ |
ReadWriteUtils.h | 45 * @param[in] filePath Path of the file 48 static String8 readBytes(const String8& filePath); 52 * @param[in] filePath Path of the file 56 static int readBytes(const String8& filePath, char** buffer); 60 * @param[in] filePath Path of the file 63 static void writeToFile(const String8& filePath, const String8& data); 67 * @param[in] filePath Path of the file 70 static void appendToFile(const String8& filePath, const String8& data);
|
/external/chromium_org/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 | 36 isFileModTimeLater(const char *filePath, const char *checkAgainst, UBool isDir) { 39 if (filePath == NULL || checkAgainst == NULL) { 60 isLatest = isFileModTimeLater(filePath, newpath, isDir); 65 int32_t latest = whichFileModTimeIsLater(filePath, newpath); 82 int32_t latest = whichFileModTimeIsLater(filePath, checkAgainst); 123 swapFileSepChar(char *filePath, const char oldFileSepChar, const char newFileSepChar) { 124 for (int32_t i = 0, length = uprv_strlen(filePath); i < length; i++) { 125 filePath[i] = (filePath[i] == oldFileSepChar ) ? newFileSepChar : filePath[i] [all...] |
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/utils/ |
dict_file_writing_utils.h | 31 static bool createEmptyDictFile(const char *const filePath, const int dictVersion, 34 static bool flushAllHeaderAndBodyToFile(const char *const filePath, 43 static bool createEmptyV3DictFile(const char *const filePath,
|
dict_file_writing_utils.cpp | 31 /* static */ bool DictFileWritingUtils::createEmptyDictFile(const char *const filePath, 35 return createEmptyV3DictFile(filePath, attributeMap); 42 /* static */ bool DictFileWritingUtils::createEmptyV3DictFile(const char *const filePath, 53 return flushAllHeaderAndBodyToFile(filePath, &headerBuffer, &bodyBuffer); 56 /* static */ bool DictFileWritingUtils::flushAllHeaderAndBodyToFile(const char *const filePath, 58 const int tmpFileNameBufSize = strlen(filePath) 63 snprintf(tmpFileName, tmpFileNameBufSize, "%s%s", filePath, 86 rename(tmpFileName, filePath);
|
/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)
|
/packages/apps/Camera2/src/com/android/camera/ |
ImageTaskManager.java | 30 public void onTaskQueued(String filePath, Uri imageUri); 31 public void onTaskDone(String filePath, Uri imageUri); 33 String filePath, Uri imageUri, int progress);
|
Thumbnail.java | 29 public static Bitmap createVideoThumbnailBitmap(String filePath, int targetWidth) { 30 return createVideoThumbnailBitmap(filePath, null, targetWidth); 33 private static Bitmap createVideoThumbnailBitmap(String filePath, FileDescriptor fd, 38 if (filePath != null) { 39 retriever.setDataSource(filePath);
|
/external/chromium_org/third_party/WebKit/Source/core/platform/audio/ |
AudioFileReader.h | 47 PassRefPtr<AudioBus> createBusFromAudioFile(const char* filePath, bool mixToMono, float sampleRate); 50 void writeBusToAudioFile(AudioBus* bus, const char* filePath, double fileSampleRate);
|
/external/smack/src/org/jivesoftware/smack/ |
BOSHConfiguration.java | 64 * @param filePath the file which is described by the URL 69 public BOSHConfiguration(boolean https, String host, int port, String filePath, String xmppDomain) { 73 file = (filePath != null ? filePath : "/"); 85 * @param filePath the file which is described by the URL 91 public BOSHConfiguration(boolean https, String host, int port, String filePath, ProxyInfo proxy, String xmppDomain) { 95 file = (filePath != null ? filePath : "/");
|
/frameworks/av/drm/common/ |
ReadWriteUtils.cpp | 35 String8 ReadWriteUtils::readBytes(const String8& filePath) { 37 file = fopen(filePath.string(), "r"); 57 int ReadWriteUtils::readBytes(const String8& filePath, char** buffer) { 59 file = fopen(filePath.string(), "r"); 78 void ReadWriteUtils::writeToFile(const String8& filePath, const String8& data) { 80 file = fopen(filePath.string(), "w+"); 88 ALOGE("Failed to write the data to: %s", filePath.string()); 95 void ReadWriteUtils::appendToFile(const String8& filePath, const String8& data) { 97 file = fopen(filePath.string(), "a+"); 104 ALOGE("Failed to write the data to: %s", filePath.string()) [all...] |
/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...] |
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
URLTestHelpers.cpp | 63 std::string filePath = std::string(Platform::current()->unitTestSupport()->webKitRootDir().utf8().data()); 64 filePath.append("/Source/web/tests/data/"); 65 filePath.append(std::string(relativeBaseDirectory.utf8().data())); 66 filePath.append(std::string(fileName.utf8().data())); 68 Platform::current()->unitTestSupport()->registerMockedURL(fullURL, response, WebString::fromUTF8(filePath.c_str()));
|
WebImageTest.cpp | 48 String filePath = Platform::current()->unitTestSupport()->webKitRootDir(); 49 filePath.append("/Source/web/tests/data/"); 50 filePath.append(fileName); 52 return Platform::current()->unitTestSupport()->readFromFile(filePath);
|
/packages/apps/Camera/src/com/android/camera/ |
Thumbnail.java | 29 public static Bitmap createVideoThumbnailBitmap(String filePath, int targetWidth) { 30 return createVideoThumbnailBitmap(filePath, null, targetWidth); 33 private static Bitmap createVideoThumbnailBitmap(String filePath, FileDescriptor fd, 38 if (filePath != null) { 39 retriever.setDataSource(filePath);
|
/device/generic/goldfish/camera/ |
EmulatedCameraHotplugThread.h | 56 int getCameraId(String8 filePath) const; 60 int readFile(String8 filePath) const;
|
/dalvik/dx/src/com/android/dx/command/dump/ |
ClassDumper.java | 35 * @param filePath the file path for the class, excluding any base 40 String filePath, Args args) { 42 new ClassDumper(bytes, out, filePath, args); 51 String filePath, Args args) { 52 super(bytes, out, filePath, args);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/ |
EclipseTestCollector.java | 54 String filePath = entry.getPath().replace(".class", ""); 56 Class<?> testClass = getClass(filePath, expectedPackage); 70 //sLogger.log(Level.INFO, "Could not load class " + filePath); 107 * @param filePath - path of class in bundle 111 protected Class<?> getClass(String filePath, String expectedPackage) throws ClassNotFoundException { 112 String dotPath = filePath.replace('/', '.');
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
CodecTest.java | 88 public static int getDuration(String filePath) { 89 Log.v(TAG, "getDuration - " + filePath); 92 mp.setDataSource(filePath); 104 public static boolean getCurrentPosition(String filePath){ 105 Log.v(TAG, "GetCurrentPosition - " + filePath); 111 mp.setDataSource(filePath); 129 if (filePath.equals(MediaNames.SHORTMP3)){ 139 public static boolean seekTo(String filePath){ 140 Log.v(TAG, "seekTo " + filePath); 144 mp.setDataSource(filePath); [all...] |
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
CodecTest.java | 80 public static int getDuration(String filePath) { 81 Log.v(TAG, "getDuration - " + filePath); 84 mp.setDataSource(filePath); 96 public static boolean getCurrentPosition(String filePath) { 97 Log.v(TAG, "GetCurrentPosition - " + filePath); 103 mp.setDataSource(filePath); 126 public static boolean seekTo(String filePath) { 127 Log.v(TAG, "seekTo " + filePath); 131 mp.setDataSource(filePath); 150 public static boolean setLooping(String filePath) { [all...] |
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/policy/ |
dictionary_structure_with_buffer_policy.h | 77 virtual void flush(const char *const filePath) = 0; 79 virtual void flushWithGC(const char *const filePath) = 0;
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
FileSystemProjectDelegate.js | 113 var filePath = this._filePathForPath(path); 114 this._fileSystem.requestFileContent(filePath, innerCallback.bind(this)); 133 var filePath = this._filePathForPath(path); 134 this._fileSystem.requestMetadata(filePath, callback); 152 var filePath = this._filePathForPath(path); 153 this._fileSystem.setFileContent(filePath, newContent, callback.bind(this, "")); 171 var filePath = this._filePathForPath(path); 172 this._fileSystem.renameFile(filePath, newName, callback); 184 var filePath = this._filePathForPath(path); 185 this._fileSystem.requestFileContent(filePath, contentCallback.bind(this)) [all...] |
/external/chromium_org/third_party/WebKit/public/platform/ |
WebUnitTestSupport.h | 42 virtual void registerMockedURL(const WebURL&, const WebURLResponse&, const WebString& filePath) { }
|