Searched refs:getPath (Results 1 - 25 of 161) sorted by relevance

1234567

/frameworks/base/core/tests/coretests/src/android/net/
H A DWebAddressTest.java30 assertEquals("/b/c/g", webAddress.getPath());
38 assertEquals("/?si=1", webAddress.getPath());
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DMountServiceTests.java66 public String getPath() { method in class:MountServiceTests.ObbObserver
117 FileUtils.setPermissions(outFile.getPath(), FileUtils.S_IRWXU | FileUtils.S_IRWXG
120 FileUtils.setPermissions(outFile.getPath(), FileUtils.S_IRWXU | FileUtils.S_IRWXG
133 assertTrue("mountObb call on " + file.getPath() + " should succeed",
134 sm.mountObb(file.getPath(), null, observer));
140 assertTrue("OBB should be mounted", sm.isObbMounted(file.getPath()));
144 file.getPath(), observer.getPath());
154 assertTrue("mountObb call on " + file.getPath() + " should succeed", sm.mountObb(file
155 .getPath(), nul
[all...]
/frameworks/base/tools/aapt/
H A DOutputSet.h37 inline const android::String8& getPath() const { function in class:OutputEntry
41 bool operator<(const OutputEntry& o) const { return getPath() < o.mPath; }
42 bool operator==(const OutputEntry& o) const { return getPath() == o.mPath; }
/frameworks/base/core/java/android/transition/
H A DPathMotion.java29 * by extending PathMotion and implementing {@link #getPath(float, float, float, float)}.
58 public abstract Path getPath(float startX, float startY, float endX, float endY); method in class:PathMotion
/frameworks/base/packages/SettingsLib/tests/src/com/android/settingslib/
H A DBaseTest.java26 System.setProperty("dexmaker.dexcache", mContext.getCacheDir().getPath());
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
H A DSysuiTestCase.java28 System.setProperty("dexmaker.dexcache", mContext.getCacheDir().getPath());
/frameworks/base/core/tests/coretests/src/android/database/
H A DDatabaseErrorHandlerTest.java46 mDatabase = SQLiteDatabase.openOrCreateDatabase(mDatabaseFile.getPath(), null,
68 BufferedWriter writer = new BufferedWriter(new FileWriter(mDatabaseFile.getPath()));
94 SQLiteDatabase db = SQLiteDatabase.openOrCreateDatabase(mDatabaseFile.getPath(), null,
116 mDatabaseFile.getPath());
120 mDatabaseFile.getPath());
/frameworks/base/media/java/android/mtp/
H A DMtpStorage.java40 mPath = volume.getPath();
61 public final String getPath() { method in class:MtpStorage
/frameworks/base/core/java/android/database/
H A DDefaultDatabaseErrorHandler.java54 Log.e(TAG, "Corruption reported by sqlite on database: " + dbObj.getPath());
64 deleteDatabaseFile(dbObj.getPath());
91 deleteDatabaseFile(dbObj.getPath());
/frameworks/base/services/core/java/com/android/server/updates/
H A DSELinuxPolicyInstallReceiver.java110 Os.rename(current.getPath(), backup.getPath());
113 Os.rename(tmp.getPath(), current.getPath());
118 Os.rename(backup.getPath(), current.getPath());
H A DTzDataInstallReceiver.java33 private static final String UPDATE_DIR_NAME = TZ_DATA_DIR.getPath() + "/updates/";
/frameworks/av/media/mtp/
H A DMtpStorage.h52 inline const char* getPath() const { return (const char *)mFilePath; } function in class:android::MtpStorage
H A DMtpStorage.cpp67 if (statfs(getPath(), &stat))
76 if (statfs(getPath(), &stat))
/frameworks/base/core/java/android/os/
H A DSELinux.java148 file.getPath(), e);
166 file.getPath(), e);
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DWifiApConfigStoreTest.java97 m.invoke(null, mApConfigFile.getPath(), config);
120 mContext, mBackupManagerProxy, mApConfigFile.getPath());
138 mContext, mBackupManagerProxy, mApConfigFile.getPath());
158 mContext, mBackupManagerProxy, mApConfigFile.getPath());
173 mContext, mBackupManagerProxy, mApConfigFile.getPath());
/frameworks/base/libs/hwui/
H A DRevealClip.h59 const SkPath* getPath() const { function in class:android::uirenderer::RevealClip
/frameworks/multidex/library/src/android/support/multidex/
H A DMultiDexExtractor.java129 extractedFile.getPath() + "'");
207 extractedFile.getPath() + "'");
265 Log.w(TAG, "Failed to list secondary dex dir content (" + dexDir.getPath() + ").");
269 Log.i(TAG, "Trying to delete old file " + oldFile.getPath() + " of size " +
272 Log.w(TAG, "Failed to delete old file " + oldFile.getPath());
274 Log.i(TAG, "Deleted old file " + oldFile.getPath());
286 Log.i(TAG, "Extracting " + tmp.getPath());
305 Log.i(TAG, "Renaming to " + extractTo.getPath());
H A DMultiDex.java344 Log.i(TAG, "Clearing old secondary dex dir (" + dexDir.getPath() + ").");
347 Log.w(TAG, "Failed to list secondary dex dir content (" + dexDir.getPath() + ").");
351 Log.i(TAG, "Trying to delete old file " + oldFile.getPath() + " of size "
354 Log.w(TAG, "Failed to delete old file " + oldFile.getPath());
356 Log.i(TAG, "Deleted old file " + oldFile.getPath());
360 Log.w(TAG, "Failed to delete secondary dex dir " + dexDir.getPath());
362 Log.i(TAG, "Deleted old secondary dex dir " + dexDir.getPath());
390 Log.e(TAG, "Failed to create dir " + dir.getPath() + ". Parent file is null.");
392 Log.e(TAG, "Failed to create dir " + dir.getPath() +
399 throw new IOException("Failed to create directory " + dir.getPath());
[all...]
/frameworks/support/tests/java/android/support/v4/content/
H A DFileProviderTest.java114 assertEquals(file.getPath(),
115 strat.getFileForUri(Uri.parse("content://authority/tag/file.test")).getPath());
118 assertEquals(file.getPath(), strat.getFileForUri(
119 Uri.parse("content://authority/tag/subdir/file.test")).getPath());
142 assertEquals(file.getPath(),
143 strat.getFileForUri(Uri.parse(expected)).getPath());
151 assertEquals(file.getPath(), strat.getFileForUri(
152 Uri.parse("content://authority/tag/file.txt?extra=foo")).getPath());
166 assertEquals(outFile.getPath(),
167 strat.getFileForUri(Uri.parse(expected)).getPath());
[all...]
/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/base/core/java/android/util/
H A DAtomicFile.java55 mBackupName = new File(baseName.getPath() + ".bak");
109 parent.getPath(),
/frameworks/base/core/java/com/android/internal/content/
H A DNativeLibraryHelper.java175 int res = nativeCopyNativeBinaries(apkHandle, sharedLibraryDir.getPath(), abi,
230 Slog.w(TAG, "Deleting native binaries from: " + nativeLibraryRoot.getPath());
249 Slog.w(TAG, "Could not delete native binary: " + files[nn].getPath());
258 nativeLibraryRoot.getPath());
269 throw new IOException("Cannot create " + path.getPath());
273 Os.chmod(path.getPath(), S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH);
276 + path.getPath(), e);
279 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/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().

Completed in 2723 milliseconds

1234567