HomeSort by relevance Sort by last modified time
    Searched defs:filePath (Results 1 - 25 of 973) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/parameter-framework/upstream/test/test-platform/
main.cpp 86 auto filePath = options.front();
108 if (!CTestPlatform(filePath, portNumber).run(strError)) {
  /frameworks/base/core/jni/
android_content_res_ObbScanner.cpp 44 const char* filePath = env->GetStringUTFChars(file, NULL);
47 if (!obb->readFrom(filePath)) {
48 env->ReleaseStringUTFChars(file, filePath);
53 env->ReleaseStringUTFChars(file, filePath);
  /packages/apps/Camera2/src/com/android/camera/session/
StackSaverImpl.java 64 String filePath =
66 Log.d(TAG, "Saving using stack image saver: " + filePath);
67 File outputImagePath = new File(filePath);
73 mGpsLocation, imageOrientation, fileLength, filePath, width, height,
80 filePath));
  /packages/apps/Messaging/src/com/android/messaging/datamodel/
MmsFileProvider.java 65 final File filePath = new File(getDirectory(context), path + ".dat");
68 if (!filePath.getCanonicalPath()
71 + filePath.getCanonicalPath()
80 return filePath;
MediaScratchFileProvider.java 93 final File filePath = new File(getDirectory(context),
97 if (!filePath.getCanonicalPath()
100 + filePath.getCanonicalPath()
109 return filePath;
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
dict_file_writing_utils.cpp 41 /* static */ bool DictFileWritingUtils::createEmptyDictFile(const char *const filePath,
51 filePath, localeAsCodePointVector, attributeMap, formatVersion);
56 filePath, localeAsCodePointVector, attributeMap, formatVersion);
59 filePath, dictVersion);
85 char filePath[filePathBufSize];
86 FileUtils::getFilePathWithSuffix(basePath, suffix, filePathBufSize, filePath);
87 return flushBufferToFile(filePath, buffer);
102 /* static */ bool DictFileWritingUtils::flushBufferToFile(const char *const filePath,
104 const int fd = open(filePath, O_WRONLY | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR);
106 AKLOGE("File %s cannot be opened. errno: %d", filePath, errno)
    [all...]
mmapped_buffer.cpp 75 char filePath[filePathBufferSize];
76 const int filePathLength = snprintf(filePath, filePathBufferSize, "%s%s", dirPath,
81 return openBuffer(filePath, isUpdatable);
file_utils.cpp 31 /* static */ int FileUtils::getFileSize(const char *const filePath) {
32 const int fd = open(filePath, O_RDONLY);
75 char filePath[filePathBufSize];
76 getFilePath(dirPath, dirent->d_name, filePathBufSize, filePath);
77 if (remove(filePath) != 0) {
78 AKLOGE("Cannot remove file %s.", filePath);
97 /* static */ int FileUtils::getFilePathWithSuffixBufSize(const char *const filePath,
99 return strlen(filePath) + strlen(suffix) + 1 /* terminator */;
102 /* static */ void FileUtils::getFilePathWithSuffix(const char *const filePath,
104 snprintf(outFilePath, filePathBufSize, "%s%s", filePath, suffix)
    [all...]
  /cts/tests/tests/content/src/android/content/cts/
ImageCaptureActivity.java 90 Uri filePath = clipData.getItemAt(0).getUri();
91 if (filePath == null) {
97 return new File(filePath.getPath());
ReadableFileReceiverActivity.java 92 Uri filePath = clipData.getItemAt(i).getUri();
93 if (filePath == null) {
98 result.add(new File(filePath.getPath()));
  /external/r8/src/main/java/com/android/tools/r8/utils/
DirectoryClassFileProvider.java 60 Path filePath = root.resolve(classBinaryName + CLASS_EXTENSION);
61 File file = filePath.toFile();
64 ? Resource.fromFile(Resource.Kind.CLASSFILE, filePath) : null;
  /packages/apps/Camera2/src/com/android/camera/data/
VideoDataFactory.java 44 String filePath = c.getString(VideoDataQuery.COL_DATA);
81 filePath,
PhotoDataFactory.java 41 String filePath = c.getString(PhotoDataQuery.COL_DATA);
52 + filePath + ":" + width + "x" + height);
54 dimensions = decodeBitmapDimensions(filePath);
78 filePath,
89 private Size decodeBitmapDimensions(String filePath) {
97 BitmapFactory.decodeFile(filePath, opts);
102 Log.w(TAG, "Dimension decode failed for " + filePath);
105 Bitmap b = BitmapFactory.decodeFile(filePath);
108 + " Decoding " + filePath + " failed.");
114 Log.w(TAG, "PhotoData skipped. Bitmap size 0 for " + filePath);
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/callcomposer/
GalleryGridItemData.java 39 private String filePath;
46 filePath = Assert.isNotNull(copyData.getFilePath());
59 filePath = Assert.isNotNull(cursor.getString(INDEX_DATA_PATH));
64 return filePath;
69 return TextUtils.isEmpty(filePath) ? null : Uri.fromFile(new File(filePath));
85 && Objects.equals(filePath, ((GalleryGridItemData) obj).filePath)
91 return Objects.hash(filePath, mimeType, dateModifiedSeconds);
101 dest.writeString(filePath);
    [all...]
  /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);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/binaryxml/
BinaryXMLMultiPageEditorPart.java 65 IPath filePath = path.append(SdkConstants.FD_DATA).append(
67 File file = new File(filePath.toOSString());
  /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/core/java/android/database/sqlite/
SQLiteOpenHelper.java 292 final File filePath = mContext.getDatabasePath(mName);
295 db = SQLiteDatabase.openDatabase(filePath, params);
297 setFilePermissionsForDb(filePath.getPath());
305 db = SQLiteDatabase.openDatabase(filePath, params);
  /dalvik/dx/src/com/android/dx/command/dump/
DotDumper.java 46 private final String filePath;
52 static void dump(byte[] bytes, String filePath, Args args) {
53 new DotDumper(bytes, filePath, args).run();
56 DotDumper(byte[] bytes, String filePath, Args args) {
58 this.filePath = filePath;
72 classFile = new DirectClassFile(ba, filePath, strictParse);
78 new DirectClassFile(ba, filePath, strictParse);
  /device/generic/goldfish/camera/
EmulatedCameraHotplugThread.cpp 185 String8 filePath = getFilePath(cameraId);
191 int newStatus = readFile(filePath);
228 String8 filePath = getFilePath(cameraId);
231 open(filePath.string(), O_WRONLY | O_CREAT | O_TRUNC,
235 __FUNCTION__, filePath.string(), strerror(errno), errno);
242 __FUNCTION__, filePath.string(), strerror(errno), errno);
250 int EmulatedCameraHotplugThread::getCameraId(const String8& filePath) const {
257 if (camPath == filePath) {
338 int EmulatedCameraHotplugThread::readFile(const String8& filePath) const {
341 open(filePath.string(), O_RDONLY, /*mode*/0))
    [all...]
  /external/jsilver/src/com/google/clearsilver/jsilver/adaptor/
ResourceLoaderAdaptor.java 111 String filePath = loadPathCache.lookup(getLoadPaths(), name);
112 if (filePath != null) {
113 file = newFile(filePath);
  /frameworks/base/telephony/java/android/telephony/mbms/
MbmsTempFileProvider.java 108 String filePath;
110 filePath = file.getCanonicalPath();
135 pathFragment = filePath.substring(tempFileDirPath.length());
137 pathFragment = filePath.substring(tempFileDirPath.length() + 1);
  /frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/processing/
Scope.java 144 String filePath = null;
146 while (top != null && (filePath == null || locations == null)) {
151 if (filePath == null && provider instanceof FileScopeProvider) {
152 filePath = ((FileScopeProvider) provider).provideScopeFilePath();
156 return new ScopedErrorReport(filePath, locations);
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
LocalMediaItem.java 45 public String filePath;
85 details.addDetail(MediaDetails.INDEX_PATH, filePath);
  /test/vts/harnesses/tradefed/src/com/android/tradefed/util/
VtsDashboardUtil.java 145 String filePath = tempFile.getAbsolutePath();
146 FileOutputStream out = new FileOutputStream(filePath);
149 return filePath;

Completed in 800 milliseconds

1 2 3 4 5 6 7 8 91011>>