Home
last modified time | relevance | path

Searched refs:rawPath (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/os/storage/
DStorageManager.java459 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 …]
DIMountService.java491 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/
Dstorage_manager.cpp128 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/
DMountService.java267 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/
DEnvironment.java901 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/
DIMountService.h65 virtual void mountObb(const String16& rawPath, const String16& canonicalPath,
/frameworks/base/libs/storage/
DIMountService.cpp438 void mountObb(const String16& rawPath, const String16& canonicalPath, const String16& key, in mountObb() argument
443 data.writeString16(rawPath); in mountObb()