Home
last modified time | relevance | path

Searched refs:canonicalPath (Results 1 – 12 of 12) 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.java623 public ObbState(String rawPath, String canonicalPath, int callingUid, in ObbState() argument
626 this.canonicalPath = canonicalPath; in ObbState()
634 final String canonicalPath; field in StorageManagerService.ObbState
668 sb.append(",canonicalPath=").append(canonicalPath); in toString()
2861 public void mountObb(String rawPath, String canonicalPath, String key, in mountObb() argument
2864 Objects.requireNonNull(canonicalPath, "canonicalPath cannot be null"); in mountObb()
2869 final ObbState obbState = new ObbState(rawPath, canonicalPath, in mountObb()
2890 final ObbState newState = new ObbState(rawPath, existingState.canonicalPath, in unmountObb()
4011 if (state.canonicalPath.startsWith(path)) { in handleMessage()
4140 mObbState.volId = mVold.createObb(mObbState.canonicalPath, binderKey, in handleExecute()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/content/
DOverlayConfigIterationRule.java73 final File canonicalPath = new File(path.getCanonicalPath()); in addOverlay() local
74 mOverlayStubResults.put(canonicalPath, new ParsedOverlayInfo( in addOverlay()
76 canonicalPath)); in addOverlay()
/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.java701 final String canonicalPath = new File(rawPath).getCanonicalPath(); in mountObb() local
703 mStorageManager.mountObb(rawPath, canonicalPath, key, mObbActionListener, nonce, in mountObb()
704 getObbInfo(canonicalPath)); in mountObb()
713 private ObbInfo getObbInfo(String canonicalPath) { in getObbInfo() argument
715 final ObbInfo obbInfo = ObbScanner.getObbInfo(canonicalPath); in getObbInfo()
718 throw new IllegalArgumentException("Couldn't get OBB info for " + canonicalPath, e); in getObbInfo()
/frameworks/base/core/java/android/net/
DUri.java2357 final String canonicalPath; in getCanonicalUri() local
2359 canonicalPath = new File(getPath()).getCanonicalPath(); in getCanonicalUri()
2369 if (canonicalPath.startsWith(legacyPath)) { in getCanonicalUri()
2372 canonicalPath.substring(legacyPath.length() + 1))); in getCanonicalUri()
2376 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()