/aosp12/frameworks/base/native/android/ |
H A D | storage_manager.cpp | 83 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()
|
/aosp12/frameworks/base/core/java/android/app/backup/ |
H A D | BackupUtils.java | 37 String canonicalPath = canonical.getPath(); in isFileSpecifiedInPathList() local 38 File fileFromList = new File(canonicalPath); in isFileSpecifiedInPathList() 47 if (file.toPath().startsWith(canonicalPath)) { in isFileSpecifiedInPathList()
|
/aosp12/frameworks/base/services/core/java/com/android/server/ |
H A D | ExtconUEventObserver.java | 145 String canonicalPath = devPath.getCanonicalPath(); in getDevicePath() local 146 int start = canonicalPath.indexOf("/devices"); in getDevicePath() 147 return canonicalPath.substring(start); in getDevicePath()
|
H A D | StorageManagerService.java | 634 public ObbState(String rawPath, String canonicalPath, int callingUid, in ObbState() argument 637 this.canonicalPath = canonicalPath; in ObbState() 645 final String canonicalPath; field in StorageManagerService.ObbState 679 sb.append(",canonicalPath=").append(canonicalPath); in toString() 2856 public void mountObb(String rawPath, String canonicalPath, String key, in mountObb() argument 2859 Objects.requireNonNull(canonicalPath, "canonicalPath cannot be null"); in mountObb() 2864 final ObbState obbState = new ObbState(rawPath, canonicalPath, in mountObb() 2885 final ObbState newState = new ObbState(rawPath, existingState.canonicalPath, in unmountObb() 4128 if (state.canonicalPath.startsWith(path)) { in handleMessage() 4257 mObbState.volId = mVold.createObb(mObbState.canonicalPath, binderKey, in handleExecute() [all …]
|
/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/content/res/ |
H A D | OverlayConfigIterationRule.java | 73 final File canonicalPath = new File(path.getCanonicalPath()); in addOverlay() local 74 mOverlayStubResults.put(canonicalPath, new ParsedOverlayInfo( in addOverlay() 76 canonicalPath)); in addOverlay()
|
/aosp12/frameworks/opt/setupwizard/tools/gradle/ |
H A D | docs.gradle | 36 .setValue(['Android', file("$DOCSDIR/android-22.txt").canonicalPath]) 38 file("$rootDir/external/doclava/res/assets/templates-sdk").canonicalPath)
|
H A D | dist-library-instrumentation-tests.gradle | 25 dist.file output.outputFile.canonicalPath, output.outputFile.name 31 dist.file output.outputFile.canonicalPath, output.outputFile.name
|
/aosp12/frameworks/base/libs/storage/include/storage/ |
H A D | IMountService.h | 66 virtual void mountObb(const String16& rawPath, const String16& canonicalPath,
|
/aosp12/frameworks/base/core/java/android/net/ |
H A D | Uri.java | 2368 final String canonicalPath; in getCanonicalUri() local 2370 canonicalPath = new File(getPath()).getCanonicalPath(); in getCanonicalUri() 2380 if (canonicalPath.startsWith(legacyPath)) { in getCanonicalUri() 2383 canonicalPath.substring(legacyPath.length() + 1))); in getCanonicalUri() 2387 return Uri.fromFile(new File(canonicalPath)); in getCanonicalUri()
|
/aosp12/frameworks/base/libs/storage/ |
H A D | IMountService.cpp | 445 void mountObb(const String16& rawPath, const String16& canonicalPath, const String16& key, in mountObb() argument 451 data.writeString16(canonicalPath); in mountObb()
|
/aosp12/frameworks/base/core/java/android/os/storage/ |
H A D | StorageManager.java | 693 final String canonicalPath = new File(rawPath).getCanonicalPath(); in mountObb() local 695 mStorageManager.mountObb(rawPath, canonicalPath, key, mObbActionListener, nonce, in mountObb() 696 getObbInfo(canonicalPath)); in mountObb() 732 private ObbInfo getObbInfo(String canonicalPath) { in getObbInfo() argument 734 final ObbInfo obbInfo = ObbScanner.getObbInfo(canonicalPath); in getObbInfo() 737 throw new IllegalArgumentException("Couldn't get OBB info for " + canonicalPath, e); in getObbInfo()
|
H A D | IStorageManager.aidl | 62 void mountObb(in String rawPath, in String canonicalPath, in String key, in mountObb() argument
|
/aosp12/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
H A D | DownloadProvider.java | 477 final String canonicalPath; in canonicalizeDataPaths() local 479 canonicalPath = new File(filePath).getCanonicalPath(); in canonicalizeDataPaths() 486 updateValues.put(Downloads.Impl._DATA, canonicalPath); in canonicalizeDataPaths()
|
/aosp12/build/soong/finder/fs/ |
H A D | fs.go | 242 func (m *MockFs) followLinks(path string, followLastLink bool, count int) (canonicalPath string, er…
|