/frameworks/base/core/java/android/os/storage/ |
D | IStorageManager.aidl | 60 void mountObb(in String rawPath, in String canonicalPath, in String key, in mountObb() argument 68 void unmountObb(in String rawPath, boolean force, IObbActionListener token, int nonce) = 22; in unmountObb() argument 73 boolean isObbMounted(in String rawPath) = 23; field 77 String getMountedObbPath(in String rawPath) = 24; field
|
D | StorageManager.java | 619 public boolean mountObb(String rawPath, String key, OnObbStateChangeListener listener) { in mountObb() argument 620 Preconditions.checkNotNull(rawPath, "rawPath cannot be null"); in mountObb() 624 final String canonicalPath = new File(rawPath).getCanonicalPath(); in mountObb() 626 mStorageManager.mountObb(rawPath, canonicalPath, key, mObbActionListener, nonce, in mountObb() 630 throw new IllegalArgumentException("Failed to resolve path: " + rawPath, e); in mountObb() 665 public boolean unmountObb(String rawPath, boolean force, OnObbStateChangeListener listener) { in unmountObb() argument 666 Preconditions.checkNotNull(rawPath, "rawPath cannot be null"); in unmountObb() 671 mStorageManager.unmountObb(rawPath, force, mObbActionListener, nonce); in unmountObb() 684 public boolean isObbMounted(String rawPath) { in isObbMounted() argument 685 Preconditions.checkNotNull(rawPath, "rawPath cannot be null"); in isObbMounted() [all …]
|
/frameworks/base/native/android/ |
D | storage_manager.cpp | 143 void mountObb(const char* rawPath, const char* key, AStorageManager_obbCallbackFunc func, in mountObb() 147 if (realpath(rawPath, canonicalPath) == NULL) { in mountObb() 148 ALOGE("mountObb failed to resolve path %s: %s", rawPath, strerror(errno)); in mountObb() 159 String16 rawPath16(rawPath); in mountObb()
|
/frameworks/base/services/core/java/com/android/server/ |
D | StorageManagerService.java | 502 public ObbState(String rawPath, String canonicalPath, int callingUid, in ObbState() argument 504 this.rawPath = rawPath; in ObbState() 512 final String rawPath; field in StorageManagerService.ObbState 546 sb.append("rawPath=").append(rawPath); in toString() 2363 public String getMountedObbPath(String rawPath) { in getMountedObbPath() argument 2364 Objects.requireNonNull(rawPath, "rawPath cannot be null"); in getMountedObbPath() 2370 state = mObbPathToStateMap.get(rawPath); in getMountedObbPath() 2373 Slog.w(TAG, "Failed to find OBB mounted at " + rawPath); in getMountedObbPath() 2381 public boolean isObbMounted(String rawPath) { in isObbMounted() argument 2382 Objects.requireNonNull(rawPath, "rawPath cannot be null"); in isObbMounted() [all …]
|
/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/ |
D | ProxyServer.java | 207 String rawPath = uri.getRawPath(); in getAbsolutePathFromAbsoluteURI() local 212 if (rawPath != null) { in getAbsolutePathFromAbsoluteURI() 213 absolutePath.append(rawPath); in getAbsolutePathFromAbsoluteURI()
|
/frameworks/base/libs/storage/include/storage/ |
D | IMountService.h | 66 virtual void mountObb(const String16& rawPath, const String16& canonicalPath,
|
/frameworks/base/libs/storage/ |
D | IMountService.cpp | 445 void mountObb(const String16& rawPath, const String16& canonicalPath, const String16& key, in mountObb() argument 450 data.writeString16(rawPath); in mountObb()
|