Searched refs:getPath (Results 26 - 50 of 210) sorted by relevance

123456789

/frameworks/base/media/tests/MtpTests/src/android/mtp/
H A DMtpStorageManagerTest.java144 Assert.assertEquals(obj.getName(), mainStorageDir.getPath());
263 Assert.assertEquals(stream.findFirst().get().getPath().toString(), newFile.getPath());
297 Assert.assertEquals(mainMtpStorage.getPath(), mainStorageDir.getPath());
323 MtpStorageManager.MtpObject obj = manager.getByPath(newFile.getPath());
325 Assert.assertEquals(obj.getPath().toString(), newFile.getPath());
335 MtpStorageManager.MtpObject obj = manager.getByPath(newFile.getPath() + "q");
345 MtpStorageManager.MtpObject obj = manager.getByPath(newFile.getPath());
[all...]
/frameworks/base/core/tests/coretests/src/android/provider/
H A DDocumentsProviderTest.java79 assertEquals(expected.getPath(), actual.getPath());
99 assertEquals(Arrays.asList(PARENT_DOCUMENT_ID, DOCUMENT_ID), path.getPath());
111 assertEquals(Arrays.asList(PARENT_DOCUMENT_ID, DOCUMENT_ID), path.getPath());
/frameworks/base/libs/hwui/
H A DRevealClip.h52 const SkPath* getPath() const { function in class:android::uirenderer::RevealClip
/frameworks/base/core/tests/coretests/src/android/database/sqlite/
H A DSQLiteConnectionPoolTest.java56 mTestDatabase = new File(db.getPath());
59 mTestConf = new SQLiteDatabaseConfiguration(mTestDatabase.getPath(), 0);
/frameworks/support/compat/src/androidTest/java/androidx/core/content/
H A DFileProviderTest.java131 assertEquals(file.getPath(),
132 strat.getFileForUri(Uri.parse("content://authority/tag/file.test")).getPath());
135 assertEquals(file.getPath(), strat.getFileForUri(
136 Uri.parse("content://authority/tag/subdir/file.test")).getPath());
162 assertEquals(file.getPath(),
163 strat.getFileForUri(Uri.parse(expected)).getPath());
173 assertEquals(file.getPath(), strat.getFileForUri(
174 Uri.parse("content://authority/tag/file.txt?extra=foo")).getPath());
190 assertEquals(outFile.getPath(),
191 strat.getFileForUri(Uri.parse(expected)).getPath());
[all...]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DWifiApConfigStoreTest.java113 m.invoke(null, mApConfigFile.getPath(), config);
152 mContext, mBackupManagerProxy, mApConfigFile.getPath());
170 mContext, mBackupManagerProxy, mApConfigFile.getPath());
190 mContext, mBackupManagerProxy, mApConfigFile.getPath());
205 mContext, mBackupManagerProxy, mApConfigFile.getPath());
229 mContext, mBackupManagerProxy, mApConfigFile.getPath());
260 mContext, mBackupManagerProxy, mApConfigFile.getPath());
285 mContext, mBackupManagerProxy, mApConfigFile.getPath());
318 mContext, mBackupManagerProxy, mApConfigFile.getPath());
356 mContext, mBackupManagerProxy, mApConfigFile.getPath());
[all...]
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServices/src/com/android/framework/multidexlegacytestservices/
H A DAbstractService.java64 Log.i(TAG, "Writing 0x42434445 at " + raf.length() + " in " + resultFile.getPath());
68 + " in " + resultFile.getPath());
77 Log.i(TAG, "Saving the result (" + value + ") to " + resultFile.getPath());
81 Log.i(TAG, "Writing result at " + raf.length() + " in " + resultFile.getPath());
91 Log.i(TAG, "creating complete file " + resultFile.getPath());
/frameworks/base/tests/LowStorageTest/src/com/android/lowstoragetest/
H A DLowStorageTest.java52 StatFs stat = new StatFs(path.getPath());
80 StatFs stat = new StatFs(path.getPath());
122 StatFs stat = new StatFs(path.getPath());
/frameworks/multidex/library/src/androidx/multidex/
H A DMultiDex.java435 Log.i(TAG, "Clearing old secondary dex dir (" + dexDir.getPath() + ").");
438 Log.w(TAG, "Failed to list secondary dex dir content (" + dexDir.getPath() + ").");
442 Log.i(TAG, "Trying to delete old file " + oldFile.getPath() + " of size "
445 Log.w(TAG, "Failed to delete old file " + oldFile.getPath());
447 Log.i(TAG, "Deleted old file " + oldFile.getPath());
451 Log.w(TAG, "Failed to delete secondary dex dir " + dexDir.getPath());
453 Log.i(TAG, "Deleted old secondary dex dir " + dexDir.getPath());
481 Log.e(TAG, "Failed to create dir " + dir.getPath() + ". Parent file is null.");
483 Log.e(TAG, "Failed to create dir " + dir.getPath() +
490 throw new IOException("Failed to create directory " + dir.getPath());
[all...]
/frameworks/support/persistence/db/src/main/java/androidx/sqlite/db/
H A DSupportSQLiteOpenHelper.java232 Log.e(TAG, "Corruption reported by sqlite on database: " + db.getPath());
241 deleteDatabaseFile(db.getPath());
268 deleteDatabaseFile(db.getPath());
/frameworks/base/core/java/com/android/internal/content/
H A DNativeLibraryHelper.java195 int res = nativeCopyNativeBinaries(apkHandle, sharedLibraryDir.getPath(), abi,
251 Slog.w(TAG, "Deleting native binaries from: " + nativeLibraryRoot.getPath());
270 Slog.w(TAG, "Could not delete native binary: " + files[nn].getPath());
279 nativeLibraryRoot.getPath());
293 throw new IOException("Cannot create " + path.getPath());
297 Os.chmod(path.getPath(), S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH);
300 + path.getPath(), e);
303 throw new IOException("Cannot set SELinux context for " + path.getPath());
/frameworks/base/core/java/com/android/internal/os/
H A DAtomicFile.java49 mBackupName = new File(baseName.getPath() + ".bak");
77 parent.getPath(),
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
H A DMtpDocumentsProviderTest.java863 assertEquals(4, path.getPath().size());
864 assertEquals("1", path.getPath().get(0));
865 assertEquals("3", path.getPath().get(1));
866 assertEquals("6", path.getPath().get(2));
867 assertEquals("15", path.getPath().get(3));
877 assertEquals(3, path.getPath().size());
878 assertEquals("3", path.getPath().get(0));
879 assertEquals("7", path.getPath().get(1));
880 assertEquals("18", path.getPath().get(2));
892 assertEquals(4, path.getPath()
[all...]
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/
H A DSharedStorageAgent.java56 fullBackupFileTree(null, domain, v.getPath(),
80 outFile = new File(mVolumes[i].getPath(), relpath.substring(slash + 1));
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
H A DWebAsset.java60 public String getPath() { method in class:WebAsset
61 return mUrl.getPath();
143 String path = url.getFile(); // This is url.getPath() + url.getQuery().
/frameworks/compile/mclinker/include/mcld/Support/
H A DFileOutputBuffer.h51 llvm::StringRef getPath() const;
/frameworks/compile/mclinker/lib/Support/
H A DFileOutputBuffer.cpp55 llvm::StringRef FileOutputBuffer::getPath() const { function in class:mcld::FileOutputBuffer
/frameworks/native/include/input/
H A DKeyboard.h75 String8 getPath(const InputDeviceIdentifier& deviceIdentifier,
/frameworks/support/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/content/
H A DSharingSupportProvider.java76 String path = uri.getPath();
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/content/
H A DSharingSupportProvider.java76 String path = uri.getPath();
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
H A DDownloadManagerTestApp.java100 String path = Environment.getExternalStorageDirectory().getPath();
267 String localDownloadDirectory = Environment.getExternalStorageDirectory().getPath();
282 Log.i(LOG_TAG, "setting localUri to: " + localUri.getPath());
344 String localDownloadDirectory = Environment.getExternalStorageDirectory().getPath();
358 Log.i(LOG_TAG, "setting localUri to: " + localUri.getPath());
414 String localDownloadDirectory = Environment.getExternalStorageDirectory().getPath();
428 Log.i(LOG_TAG, "setting localUri to: " + localUri.getPath());
/frameworks/base/core/java/android/app/backup/
H A DFullBackup.java170 Log.e(TAG, "Unable to create/open file " + outFile.getPath(), e);
190 Log.e(TAG, "Unable to write to file " + outFile.getPath(), e);
206 Os.chmod(outFile.getPath(), (int)mode);
331 public String getPath() { method in class:FullBackup.BackupScheme.PathWithRequiredFlags
568 Log.v(TAG_XML_PARSER, " path: " + includeData.getPath()
579 Log.v(TAG_XML_PARSER, " path: " + excludeData.getPath()
682 Log.v(TAG_XML_PARSER, "...resolved \"" + domain.getPath() + " " + filePathFromXml
689 Log.v(TAG_XML_PARSER, "...resolved \"" + domain.getPath() + " " + filePathFromXml
/frameworks/base/core/java/android/content/pm/dex/
H A DDexMetadataHelper.java154 ? buildDexMetadataPathForApk(targetFile.getPath())
155 : targetFile.getPath() + DEX_METADATA_FILE_EXTENSION;
/frameworks/base/core/java/android/util/
H A DAtomicFile.java68 mBackupName = new File(baseName.getPath() + ".bak");
135 parent.getPath(),
/frameworks/base/telephony/java/android/telephony/mbms/
H A DMbmsDownloadReceiver.java150 MbmsTempFileProvider.getEmbmsTempFileDir(context).getPath())) {
268 Path appSpecifiedDestination = FileSystems.getDefault().getPath(
269 request.getDestinationUri().getPath());
273 String relativeLocation = getFileRelativePath(request.getSourceUri().getPath(),
274 completedFileInfo.getUri().getPath());
306 Log.w(LOG_TAG, "Failed to delete temp file at " + tempFile.getPath());
458 Path fromFile = FileSystems.getDefault().getPath(fromPath.getPath());

Completed in 2389 milliseconds

123456789