/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | MountServiceTests.java | 66 public String getPath() { in getPath() method in MountServiceTests.ObbObserver 117 FileUtils.setPermissions(outFile.getPath(), FileUtils.S_IRWXU | FileUtils.S_IRWXG in copyRawToFile() 120 FileUtils.setPermissions(outFile.getPath(), FileUtils.S_IRWXU | FileUtils.S_IRWXG in copyRawToFile() 133 assertTrue("mountObb call on " + file.getPath() + " should succeed", in mountObb() 134 sm.mountObb(file.getPath(), null, observer)); in mountObb() 140 assertTrue("OBB should be mounted", sm.isObbMounted(file.getPath())); in mountObb() 144 file.getPath(), observer.getPath()); in mountObb() 154 assertTrue("mountObb call on " + file.getPath() + " should succeed", sm.mountObb(file in mountObbWithoutWait() 155 .getPath(), null, observer)); in mountObbWithoutWait() 164 assertTrue("OBB should be mounted", sm.isObbMounted(file.getPath())); in waitForObbActionCompletion() [all …]
|
/frameworks/base/core/tests/coretests/src/android/database/ |
D | DatabaseErrorHandlerTest.java | 46 mDatabase = SQLiteDatabase.openOrCreateDatabase(mDatabaseFile.getPath(), null, in setUp() 68 BufferedWriter writer = new BufferedWriter(new FileWriter(mDatabaseFile.getPath())); in testDatabaseIsCorrupt() 94 SQLiteDatabase db = SQLiteDatabase.openOrCreateDatabase(mDatabaseFile.getPath(), null, in testDatabaseIsCorrupt() 116 mDatabaseFile.getPath()); in onCorruption() 120 mDatabaseFile.getPath()); in onCorruption()
|
/frameworks/base/services/core/java/com/android/server/updates/ |
D | SELinuxPolicyInstallReceiver.java | 110 Os.rename(current.getPath(), backup.getPath()); in applyUpdate() 113 Os.rename(tmp.getPath(), current.getPath()); in applyUpdate() 118 Os.rename(backup.getPath(), current.getPath()); in applyUpdate()
|
/frameworks/base/tools/aapt/ |
D | OutputSet.h | 37 inline const android::String8& getPath() const { in getPath() function 41 bool operator<(const OutputEntry& o) const { return getPath() < o.mPath; } 42 bool operator==(const OutputEntry& o) const { return getPath() == o.mPath; }
|
/frameworks/support/tests/java/android/support/v4/content/ |
D | FileProviderTest.java | 114 assertEquals(file.getPath(), in testStrategyFileSimple() 115 strat.getFileForUri(Uri.parse("content://authority/tag/file.test")).getPath()); in testStrategyFileSimple() 118 assertEquals(file.getPath(), strat.getFileForUri( in testStrategyFileSimple() 119 Uri.parse("content://authority/tag/subdir/file.test")).getPath()); in testStrategyFileSimple() 142 assertEquals(file.getPath(), in testStrategyEscaping() 143 strat.getFileForUri(Uri.parse(expected)).getPath()); in testStrategyEscaping() 151 assertEquals(file.getPath(), strat.getFileForUri( in testStrategyExtraParams() 152 Uri.parse("content://authority/tag/file.txt?extra=foo")).getPath()); in testStrategyExtraParams() 166 assertEquals(outFile.getPath(), in testStrategyExtraSeparators() 167 strat.getFileForUri(Uri.parse(expected)).getPath()); in testStrategyExtraSeparators()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiApConfigStoreTest.java | 97 m.invoke(null, mApConfigFile.getPath(), config); in writeApConfigFile() 120 mContext, mBackupManagerProxy, mApConfigFile.getPath()); in initWithDefaultConfiguration() 138 mContext, mBackupManagerProxy, mApConfigFile.getPath()); in initWithExistingConfiguration() 158 mContext, mBackupManagerProxy, mApConfigFile.getPath()); in setNullApConfiguration() 173 mContext, mBackupManagerProxy, mApConfigFile.getPath()); in updateApConfiguration()
|
/frameworks/multidex/library/src/android/support/multidex/ |
D | MultiDexExtractor.java | 129 extractedFile.getPath() + "'"); in loadExistingExtractions() 207 extractedFile.getPath() + "'"); in performExtractions() 265 Log.w(TAG, "Failed to list secondary dex dir content (" + dexDir.getPath() + ")."); in prepareDexDir() 269 Log.i(TAG, "Trying to delete old file " + oldFile.getPath() + " of size " + in prepareDexDir() 272 Log.w(TAG, "Failed to delete old file " + oldFile.getPath()); in prepareDexDir() 274 Log.i(TAG, "Deleted old file " + oldFile.getPath()); in prepareDexDir() 286 Log.i(TAG, "Extracting " + tmp.getPath()); in extract() 305 Log.i(TAG, "Renaming to " + extractTo.getPath()); in extract()
|
D | MultiDex.java | 344 Log.i(TAG, "Clearing old secondary dex dir (" + dexDir.getPath() + ")."); in clearOldDexDir() 347 Log.w(TAG, "Failed to list secondary dex dir content (" + dexDir.getPath() + ")."); in clearOldDexDir() 351 Log.i(TAG, "Trying to delete old file " + oldFile.getPath() + " of size " in clearOldDexDir() 354 Log.w(TAG, "Failed to delete old file " + oldFile.getPath()); in clearOldDexDir() 356 Log.i(TAG, "Deleted old file " + oldFile.getPath()); in clearOldDexDir() 360 Log.w(TAG, "Failed to delete secondary dex dir " + dexDir.getPath()); in clearOldDexDir() 362 Log.i(TAG, "Deleted old secondary dex dir " + dexDir.getPath()); in clearOldDexDir() 390 Log.e(TAG, "Failed to create dir " + dir.getPath() + ". Parent file is null."); in mkdirChecked() 392 Log.e(TAG, "Failed to create dir " + dir.getPath() + in mkdirChecked() 399 throw new IOException("Failed to create directory " + dir.getPath()); in mkdirChecked()
|
/frameworks/base/core/java/android/database/ |
D | DefaultDatabaseErrorHandler.java | 54 Log.e(TAG, "Corruption reported by sqlite on database: " + dbObj.getPath()); in onCorruption() 64 deleteDatabaseFile(dbObj.getPath()); in onCorruption() 91 deleteDatabaseFile(dbObj.getPath()); in onCorruption()
|
/frameworks/base/core/java/com/android/internal/content/ |
D | NativeLibraryHelper.java | 175 int res = nativeCopyNativeBinaries(apkHandle, sharedLibraryDir.getPath(), abi, in copyNativeBinaries() 230 Slog.w(TAG, "Deleting native binaries from: " + nativeLibraryRoot.getPath()); in removeNativeBinariesFromDirLI() 249 Slog.w(TAG, "Could not delete native binary: " + files[nn].getPath()); in removeNativeBinariesFromDirLI() 258 nativeLibraryRoot.getPath()); in removeNativeBinariesFromDirLI() 269 throw new IOException("Cannot create " + path.getPath()); in createNativeLibrarySubdir() 273 Os.chmod(path.getPath(), S_IRWXU | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH); in createNativeLibrarySubdir() 276 + path.getPath(), e); in createNativeLibrarySubdir() 279 throw new IOException("Cannot set SELinux context for " + path.getPath()); in createNativeLibrarySubdir()
|
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/ |
D | DownloadManagerTestApp.java | 100 String path = Environment.getExternalStorageDirectory().getPath(); in getDownloadStartedFilePath() 267 String localDownloadDirectory = Environment.getExternalStorageDirectory().getPath(); in runDownloadMultipleSwitching() 282 Log.i(LOG_TAG, "setting localUri to: " + localUri.getPath()); in runDownloadMultipleSwitching() 344 String localDownloadDirectory = Environment.getExternalStorageDirectory().getPath(); in runDownloadMultipleWiFiEnableDisable() 358 Log.i(LOG_TAG, "setting localUri to: " + localUri.getPath()); in runDownloadMultipleWiFiEnableDisable() 414 String localDownloadDirectory = Environment.getExternalStorageDirectory().getPath(); in runDownloadMultipleAirplaneModeEnableDisable() 428 Log.i(LOG_TAG, "setting localUri to: " + localUri.getPath()); in runDownloadMultipleAirplaneModeEnableDisable()
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | WebAddressTest.java | 30 assertEquals("/b/c/g", webAddress.getPath()); in testHostWithTrailingDot() 38 assertEquals("/?si=1", webAddress.getPath()); in testPathWithoutLeadingSlash()
|
/frameworks/base/media/java/android/mtp/ |
D | MtpStorage.java | 40 mPath = volume.getPath(); in MtpStorage() 61 public final String getPath() { in getPath() method in MtpStorage
|
/frameworks/av/media/mtp/ |
D | MtpStorage.cpp | 67 if (statfs(getPath(), &stat)) in getMaxCapacity() 76 if (statfs(getPath(), &stat)) in getFreeSpace()
|
/frameworks/base/tests/LowStorageTest/src/com/android/lowstoragetest/ |
D | LowStorageTest.java | 52 StatFs stat = new StatFs(path.getPath()); in onCreate() 80 StatFs stat = new StatFs(path.getPath()); in fillupdisk() 122 StatFs stat = new StatFs(path.getPath()); in updateInfo()
|
/frameworks/base/core/java/android/os/ |
D | SELinux.java | 148 file.getPath(), e); in restorecon() 166 file.getPath(), e); in restoreconRecursive()
|
/frameworks/base/core/java/android/app/ |
D | SharedPreferencesImpl.java | 114 stat = Os.stat(mFile.getPath()); in loadFromDisk() 145 return new File(prefsFile.getPath() + ".bak"); in makeBackupFile() 176 stat = Os.stat(mFile.getPath()); in hasFileChangedUnexpectedly() 555 parent.getPath(), in createFileOutputStream() 603 ContextImpl.setFilePermissionsFromMode(mFile.getPath(), mMode, 0); in writeToFile() 605 final StructStat stat = Os.stat(mFile.getPath()); in writeToFile()
|
/frameworks/base/core/java/android/transition/ |
D | ChangeBounds.java | 319 Path topLeftPath = getPathMotion().getPath(startLeft, startTop, endLeft, in createAnimator() 325 Path topLeftPath = getPathMotion().getPath(startLeft, startTop, in createAnimator() 330 Path bottomRightPath = getPathMotion().getPath(startRight, startBottom, in createAnimator() 344 Path topLeftPath = getPathMotion().getPath(startLeft, startTop, in createAnimator() 349 Path bottomRight = getPathMotion().getPath(startRight, startBottom, in createAnimator() 363 Path topLeftPath = getPathMotion().getPath(startLeft, startTop, endLeft, in createAnimator() 452 Path topLeftPath = getPathMotion().getPath(startX, startY, endX, endY); in createAnimator()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/ |
D | MOTree.java | 112 public String getPath() { in getPath() method in MOTree.NodeData 143 if (curValue == null || curValue.getPath() != null) in buildNode() 182 context, null, curValue.getPath()); in buildNode() 193 nodeData.getValue(), nodeData.getPath()); in buildNode()
|
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServices/src/com/android/framework/multidexlegacytestservices/ |
D | AbstractService.java | 63 Log.i(TAG, "Writing 0x42434445 at " + raf.length() + " in " + resultFile.getPath()); in run() 73 Log.i(TAG, "Saving the result (" + value + ") to " + resultFile.getPath()); in run() 78 Log.i(TAG, "Writing result at " + raf.length() + " in " + resultFile.getPath()); in run() 87 Log.i(TAG, "creating complete file " + resultFile.getPath()); in run()
|
/frameworks/support/v4/java/android/support/v4/content/ |
D | FileProvider.java | 671 final String rootPath = root.getValue().getPath(); in getUriForFile() 673 || rootPath.length() > mostSpecific.getValue().getPath().length())) { in getUriForFile() 684 final String rootPath = mostSpecific.getValue().getPath(); in getUriForFile() 717 if (!file.getPath().startsWith(root.getPath())) { in getFileForUri()
|
/frameworks/native/libs/input/ |
D | Keyboard.cpp | 108 String8 path(getPath(deviceIdentifier, name, in loadKeyLayout() 125 String8 path(getPath(deviceIdentifier, name, in loadKeyCharacterMap() 141 String8 KeyMap::getPath(const InputDeviceIdentifier& deviceIdentifier, in getPath() function in android::KeyMap
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/ |
D | MOTree.java | 108 public String getPath() { in getPath() method in MOTree.NodeData 139 if (curValue == null || curValue.getPath() != null) in buildNode() 178 context, null, curValue.getPath()); in buildNode() 189 nodeData.getValue(), nodeData.getPath()); in buildNode()
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
D | WebAsset.java | 60 public String getPath() { in getPath() method in WebAsset 61 return mUrl.getPath(); in getPath()
|
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/ |
D | SharedStorageAgent.java | 56 fullBackupFileTree(null, domain, v.getPath(), in onFullBackup() 80 outFile = new File(mVolumes[i].getPath(), relpath.substring(slash + 1)); in onRestoreFile()
|