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/
DIStorageManager.aidl150 void mountObb(in String rawPath, in String canonicalPath, in String key, in mountObb() argument
158 void unmountObb(in String rawPath, boolean force, IObbActionListener token, int nonce) = 22; in unmountObb() argument
163 boolean isObbMounted(in String rawPath) = 23; field
167 String getMountedObbPath(in String rawPath) = 24; field
DStorageManager.java564 public boolean mountObb(String rawPath, String key, OnObbStateChangeListener listener) { in mountObb() argument
565 Preconditions.checkNotNull(rawPath, "rawPath cannot be null"); in mountObb()
569 final String canonicalPath = new File(rawPath).getCanonicalPath(); in mountObb()
571 mStorageManager.mountObb(rawPath, canonicalPath, key, mObbActionListener, nonce); in mountObb()
574 throw new IllegalArgumentException("Failed to resolve path: " + rawPath, e); in mountObb()
600 public boolean unmountObb(String rawPath, boolean force, OnObbStateChangeListener listener) { in unmountObb() argument
601 Preconditions.checkNotNull(rawPath, "rawPath cannot be null"); in unmountObb()
606 mStorageManager.unmountObb(rawPath, force, mObbActionListener, nonce); in unmountObb()
619 public boolean isObbMounted(String rawPath) { in isObbMounted() argument
620 Preconditions.checkNotNull(rawPath, "rawPath cannot be null"); in isObbMounted()
[all …]
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java523 public ObbState(String rawPath, String canonicalPath, int callingUid, in ObbState() argument
525 this.rawPath = rawPath; in ObbState()
533 final String rawPath; field in StorageManagerService.ObbState
565 sb.append("rawPath=").append(rawPath); in toString()
2518 public String getMountedObbPath(String rawPath) { in getMountedObbPath() argument
2519 Preconditions.checkNotNull(rawPath, "rawPath cannot be null"); in getMountedObbPath()
2526 state = mObbPathToStateMap.get(rawPath); in getMountedObbPath()
2529 Slog.w(TAG, "Failed to find OBB mounted at " + rawPath); in getMountedObbPath()
2549 public boolean isObbMounted(String rawPath) { in isObbMounted() argument
2550 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/libs/storage/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()