/frameworks/base/core/java/android/os/storage/ |
D | StorageManager.java | 459 public boolean mountObb(String rawPath, String key, OnObbStateChangeListener listener) { in mountObb() argument 460 Preconditions.checkNotNull(rawPath, "rawPath cannot be null"); in mountObb() 464 final String canonicalPath = new File(rawPath).getCanonicalPath(); in mountObb() 466 mMountService.mountObb(rawPath, canonicalPath, key, mObbActionListener, nonce); in mountObb() 469 throw new IllegalArgumentException("Failed to resolve path: " + rawPath, e); in mountObb() 497 public boolean unmountObb(String rawPath, boolean force, OnObbStateChangeListener listener) { in unmountObb() argument 498 Preconditions.checkNotNull(rawPath, "rawPath cannot be null"); in unmountObb() 503 mMountService.unmountObb(rawPath, force, mObbActionListener, nonce); in unmountObb() 518 public boolean isObbMounted(String rawPath) { in isObbMounted() argument 519 Preconditions.checkNotNull(rawPath, "rawPath cannot be null"); in isObbMounted() [all …]
|
D | IMountService.java | 491 public void mountObb(String rawPath, String canonicalPath, String key, in mountObb() argument 497 _data.writeString(rawPath); in mountObb() 518 String rawPath, boolean force, IObbActionListener token, int nonce) in unmountObb() argument 524 _data.writeString(rawPath); in unmountObb() 540 public boolean isObbMounted(String rawPath) throws RemoteException { in isObbMounted() argument 546 _data.writeString(rawPath); in isObbMounted() 560 public String getMountedObbPath(String rawPath) throws RemoteException { in getMountedObbPath() argument 566 _data.writeString(rawPath); in getMountedObbPath() 1180 final String rawPath = data.readString(); in onTransact() local 1187 mountObb(rawPath, canonicalPath, key, observer, nonce); in onTransact() [all …]
|
/frameworks/base/native/android/ |
D | storage_manager.cpp | 128 void mountObb(const char* rawPath, const char* key, AStorageManager_obbCallbackFunc func, in mountObb() 132 if (realpath(rawPath, canonicalPath) == NULL) { in mountObb() 133 ALOGE("mountObb failed to resolve path %s: %s", rawPath, strerror(errno)); in mountObb() 138 String16 rawPath16(rawPath); in mountObb()
|
/frameworks/base/services/core/java/com/android/server/ |
D | MountService.java | 267 public ObbState(String rawPath, String canonicalPath, int callingUid, in ObbState() argument 269 this.rawPath = rawPath; in ObbState() 281 final String rawPath; field in MountService.ObbState 315 sb.append("rawPath=").append(rawPath); in toString() 2061 public String getMountedObbPath(String rawPath) { in getMountedObbPath() argument 2062 Preconditions.checkNotNull(rawPath, "rawPath cannot be null"); in getMountedObbPath() 2069 state = mObbPathToStateMap.get(rawPath); in getMountedObbPath() 2072 Slog.w(TAG, "Failed to find OBB mounted at " + rawPath); in getMountedObbPath() 2092 public boolean isObbMounted(String rawPath) { in isObbMounted() argument 2093 Preconditions.checkNotNull(rawPath, "rawPath cannot be null"); in isObbMounted() [all …]
|
/frameworks/base/core/java/android/os/ |
D | Environment.java | 901 final String rawPath = path.getCanonicalPath(); in maybeTranslateEmulatedPathToInternal() local 902 if (rawPath.startsWith(CANONCIAL_EMULATED_STORAGE_TARGET)) { in maybeTranslateEmulatedPathToInternal() 904 rawPath.substring(CANONCIAL_EMULATED_STORAGE_TARGET.length())); in maybeTranslateEmulatedPathToInternal()
|
/frameworks/base/include/storage/ |
D | IMountService.h | 65 virtual void mountObb(const String16& rawPath, const String16& canonicalPath,
|
/frameworks/base/libs/storage/ |
D | IMountService.cpp | 438 void mountObb(const String16& rawPath, const String16& canonicalPath, const String16& key, in mountObb() argument 443 data.writeString16(rawPath); in mountObb()
|