Home
last modified time | relevance | path

Searched refs:canonicalPath (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/native/android/
Dstorage_manager.cpp83 ObbInfo* getObbInfo(char* canonicalPath) { in getObbInfo()
85 if (!obbFile->readFrom(canonicalPath)) { in getObbInfo()
146 char canonicalPath[PATH_MAX]; in mountObb() local
147 if (realpath(rawPath, canonicalPath) == NULL) { in mountObb()
152 sp<ObbInfo> obbInfo = getObbInfo(canonicalPath); in mountObb()
154 ALOGE("Couldn't get obb info for %s: %s", canonicalPath, strerror(errno)); in mountObb()
160 String16 canonicalPath16(canonicalPath); in mountObb()
/frameworks/base/core/java/android/app/backup/
DBackupUtils.java37 String canonicalPath = canonical.getPath(); in isFileSpecifiedInPathList() local
38 File fileFromList = new File(canonicalPath); in isFileSpecifiedInPathList()
47 if (file.toPath().startsWith(canonicalPath)) { in isFileSpecifiedInPathList()
/frameworks/base/services/core/java/com/android/server/
DExtconUEventObserver.java145 String canonicalPath = devPath.getCanonicalPath(); in getDevicePath() local
146 int start = canonicalPath.indexOf("/devices"); in getDevicePath()
147 return canonicalPath.substring(start); in getDevicePath()
DStorageManagerService.java502 public ObbState(String rawPath, String canonicalPath, int callingUid, in ObbState() argument
505 this.canonicalPath = canonicalPath; in ObbState()
513 final String canonicalPath; field in StorageManagerService.ObbState
547 sb.append(",canonicalPath=").append(canonicalPath); in toString()
2389 public void mountObb(String rawPath, String canonicalPath, String key, in mountObb() argument
2392 Objects.requireNonNull(canonicalPath, "canonicalPath cannot be null"); in mountObb()
2397 final ObbState obbState = new ObbState(rawPath, canonicalPath, in mountObb()
2418 final ObbState newState = new ObbState(rawPath, existingState.canonicalPath, in unmountObb()
3387 if (state.canonicalPath.startsWith(path)) { in handleMessage()
3516 mObbState.volId = mVold.createObb(mObbState.canonicalPath, binderKey, in handleExecute()
[all …]
/frameworks/opt/setupwizard/tools/gradle/
Ddocs.gradle36 .setValue(['Android', file("$DOCSDIR/android-22.txt").canonicalPath])
38 file("$rootDir/external/doclava/res/assets/templates-sdk").canonicalPath)
Ddist-library-instrumentation-tests.gradle25 dist.file output.outputFile.canonicalPath, output.outputFile.name
31 dist.file output.outputFile.canonicalPath, output.outputFile.name
/frameworks/base/libs/storage/include/storage/
DIMountService.h66 virtual void mountObb(const String16& rawPath, const String16& canonicalPath,
/frameworks/base/core/java/android/os/storage/
DIStorageManager.aidl60 void mountObb(in String rawPath, in String canonicalPath, in String key, in mountObb() argument
DStorageManager.java624 final String canonicalPath = new File(rawPath).getCanonicalPath(); in mountObb() local
626 mStorageManager.mountObb(rawPath, canonicalPath, key, mObbActionListener, nonce, in mountObb()
627 getObbInfo(canonicalPath)); in mountObb()
636 private ObbInfo getObbInfo(String canonicalPath) { in getObbInfo() argument
638 final ObbInfo obbInfo = ObbScanner.getObbInfo(canonicalPath); in getObbInfo()
641 throw new IllegalArgumentException("Couldn't get OBB info for " + canonicalPath, e); in getObbInfo()
/frameworks/base/core/java/android/net/
DUri.java2361 final String canonicalPath; in getCanonicalUri() local
2363 canonicalPath = new File(getPath()).getCanonicalPath(); in getCanonicalUri()
2373 if (canonicalPath.startsWith(legacyPath)) { in getCanonicalUri()
2376 canonicalPath.substring(legacyPath.length() + 1))); in getCanonicalUri()
2380 return Uri.fromFile(new File(canonicalPath)); in getCanonicalUri()
/frameworks/base/libs/storage/
DIMountService.cpp445 void mountObb(const String16& rawPath, const String16& canonicalPath, const String16& key, in mountObb() argument
451 data.writeString16(canonicalPath); in mountObb()