Home
last modified time | relevance | path

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

/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/core/java/android/os/storage/
DStorageManager.java440 public boolean mountObb(String rawPath, String key, OnObbStateChangeListener listener) { in mountObb() argument
441 Preconditions.checkNotNull(rawPath, "rawPath cannot be null"); in mountObb()
445 final String canonicalPath = new File(rawPath).getCanonicalPath(); in mountObb()
447 mMountService.mountObb(rawPath, canonicalPath, key, mObbActionListener, nonce); in mountObb()
450 throw new IllegalArgumentException("Failed to resolve path: " + rawPath, e); in mountObb()
476 public boolean unmountObb(String rawPath, boolean force, OnObbStateChangeListener listener) { in unmountObb() argument
477 Preconditions.checkNotNull(rawPath, "rawPath cannot be null"); in unmountObb()
482 mMountService.unmountObb(rawPath, force, mObbActionListener, nonce); in unmountObb()
495 public boolean isObbMounted(String rawPath) { in isObbMounted() argument
496 Preconditions.checkNotNull(rawPath, "rawPath cannot be null"); in isObbMounted()
[all …]
DIMountService.java494 public void mountObb(String rawPath, String canonicalPath, String key, in mountObb() argument
500 _data.writeString(rawPath); in mountObb()
521 String rawPath, boolean force, IObbActionListener token, int nonce) in unmountObb() argument
527 _data.writeString(rawPath); in unmountObb()
543 public boolean isObbMounted(String rawPath) throws RemoteException { in isObbMounted() argument
549 _data.writeString(rawPath); in isObbMounted()
563 public String getMountedObbPath(String rawPath) throws RemoteException { in getMountedObbPath() argument
569 _data.writeString(rawPath); in getMountedObbPath()
1745 final String rawPath = data.readString(); in onTransact() local
1752 mountObb(rawPath, canonicalPath, key, observer, nonce); in onTransact()
[all …]
/frameworks/base/services/core/java/com/android/server/
DMountService.java496 public ObbState(String rawPath, String canonicalPath, int callingUid, in ObbState() argument
498 this.rawPath = rawPath; in ObbState()
506 final String rawPath; field in MountService.ObbState
538 sb.append("rawPath=").append(rawPath); in toString()
2428 public String getMountedObbPath(String rawPath) { in getMountedObbPath() argument
2429 Preconditions.checkNotNull(rawPath, "rawPath cannot be null"); in getMountedObbPath()
2436 state = mObbPathToStateMap.get(rawPath); in getMountedObbPath()
2439 Slog.w(TAG, "Failed to find OBB mounted at " + rawPath); in getMountedObbPath()
2459 public boolean isObbMounted(String rawPath) { in isObbMounted() argument
2460 Preconditions.checkNotNull(rawPath, "rawPath cannot be null"); in isObbMounted()
[all …]
/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/
DProxyServer.java207 String rawPath = uri.getRawPath(); in getAbsolutePathFromAbsoluteURI() local
212 if (rawPath != null) { in getAbsolutePathFromAbsoluteURI()
213 absolutePath.append(rawPath); in getAbsolutePathFromAbsoluteURI()
/frameworks/base/include/storage/
DIMountService.h65 virtual void mountObb(const String16& rawPath, const String16& canonicalPath,
/frameworks/base/libs/storage/
DIMountService.cpp445 void mountObb(const String16& rawPath, const String16& canonicalPath, const String16& key, in mountObb() argument
450 data.writeString16(rawPath); in mountObb()