@@ -489,13 +489,14 @@ public void finishMediaUpdate() throws RemoteException {
489489 * IObbActionListener to inform it of the terminal state of the
490490 * call.
491491 */
492- public void mountObb (String filename , String key , IObbActionListener token , int nonce )
493- throws RemoteException {
492+ public void mountObb (String rawPath , String canonicalPath , String key ,
493+ IObbActionListener token , int nonce ) throws RemoteException {
494494 Parcel _data = Parcel .obtain ();
495495 Parcel _reply = Parcel .obtain ();
496496 try {
497497 _data .writeInterfaceToken (DESCRIPTOR );
498- _data .writeString (filename );
498+ _data .writeString (rawPath );
499+ _data .writeString (canonicalPath );
499500 _data .writeString (key );
500501 _data .writeStrongBinder ((token != null ? token .asBinder () : null ));
501502 _data .writeInt (nonce );
@@ -514,13 +515,14 @@ public void mountObb(String filename, String key, IObbActionListener token, int
514515 * IObbActionListener to inform it of the terminal state of the
515516 * call.
516517 */
517- public void unmountObb (String filename , boolean force , IObbActionListener token ,
518- int nonce ) throws RemoteException {
518+ public void unmountObb (
519+ String rawPath , boolean force , IObbActionListener token , int nonce )
520+ throws RemoteException {
519521 Parcel _data = Parcel .obtain ();
520522 Parcel _reply = Parcel .obtain ();
521523 try {
522524 _data .writeInterfaceToken (DESCRIPTOR );
523- _data .writeString (filename );
525+ _data .writeString (rawPath );
524526 _data .writeInt ((force ? 1 : 0 ));
525527 _data .writeStrongBinder ((token != null ? token .asBinder () : null ));
526528 _data .writeInt (nonce );
@@ -536,13 +538,13 @@ public void unmountObb(String filename, boolean force, IObbActionListener token,
536538 * Checks whether the specified Opaque Binary Blob (OBB) is mounted
537539 * somewhere.
538540 */
539- public boolean isObbMounted (String filename ) throws RemoteException {
541+ public boolean isObbMounted (String rawPath ) throws RemoteException {
540542 Parcel _data = Parcel .obtain ();
541543 Parcel _reply = Parcel .obtain ();
542544 boolean _result ;
543545 try {
544546 _data .writeInterfaceToken (DESCRIPTOR );
545- _data .writeString (filename );
547+ _data .writeString (rawPath );
546548 mRemote .transact (Stub .TRANSACTION_isObbMounted , _data , _reply , 0 );
547549 _reply .readException ();
548550 _result = 0 != _reply .readInt ();
@@ -556,13 +558,13 @@ public boolean isObbMounted(String filename) throws RemoteException {
556558 /**
557559 * Gets the path to the mounted Opaque Binary Blob (OBB).
558560 */
559- public String getMountedObbPath (String filename ) throws RemoteException {
561+ public String getMountedObbPath (String rawPath ) throws RemoteException {
560562 Parcel _data = Parcel .obtain ();
561563 Parcel _reply = Parcel .obtain ();
562564 String _result ;
563565 try {
564566 _data .writeInterfaceToken (DESCRIPTOR );
565- _data .writeString (filename );
567+ _data .writeString (rawPath );
566568 mRemote .transact (Stub .TRANSACTION_getMountedObbPath , _data , _reply , 0 );
567569 _reply .readException ();
568570 _result = _reply .readString ();
@@ -1042,15 +1044,14 @@ public boolean onTransact(int code, Parcel data, Parcel reply,
10421044 }
10431045 case TRANSACTION_mountObb : {
10441046 data .enforceInterface (DESCRIPTOR );
1045- String filename ;
1046- filename = data .readString ();
1047- String key ;
1048- key = data .readString ();
1047+ final String rawPath = data .readString ();
1048+ final String canonicalPath = data .readString ();
1049+ final String key = data .readString ();
10491050 IObbActionListener observer ;
10501051 observer = IObbActionListener .Stub .asInterface (data .readStrongBinder ());
10511052 int nonce ;
10521053 nonce = data .readInt ();
1053- mountObb (filename , key , observer , nonce );
1054+ mountObb (rawPath , canonicalPath , key , observer , nonce );
10541055 reply .writeNoException ();
10551056 return true ;
10561057 }
@@ -1194,7 +1195,7 @@ public int createSecureContainer(String id, int sizeMb, String fstype, String ke
11941195 /**
11951196 * Gets the path to the mounted Opaque Binary Blob (OBB).
11961197 */
1197- public String getMountedObbPath (String filename ) throws RemoteException ;
1198+ public String getMountedObbPath (String rawPath ) throws RemoteException ;
11981199
11991200 /**
12001201 * Gets an Array of currently known secure container IDs
@@ -1220,7 +1221,7 @@ public int createSecureContainer(String id, int sizeMb, String fstype, String ke
12201221 * Checks whether the specified Opaque Binary Blob (OBB) is mounted
12211222 * somewhere.
12221223 */
1223- public boolean isObbMounted (String filename ) throws RemoteException ;
1224+ public boolean isObbMounted (String rawPath ) throws RemoteException ;
12241225
12251226 /*
12261227 * Returns true if the specified container is mounted
@@ -1243,8 +1244,8 @@ public int createSecureContainer(String id, int sizeMb, String fstype, String ke
12431244 * MountService will call back to the supplied IObbActionListener to inform
12441245 * it of the terminal state of the call.
12451246 */
1246- public void mountObb (String filename , String key , IObbActionListener token , int nonce )
1247- throws RemoteException ;
1247+ public void mountObb (String rawPath , String canonicalPath , String key ,
1248+ IObbActionListener token , int nonce ) throws RemoteException ;
12481249
12491250 /*
12501251 * Mount a secure container with the specified key and owner UID. Returns an
@@ -1287,7 +1288,7 @@ public void mountObb(String filename, String key, IObbActionListener token, int
12871288 * MountService will call back to the supplied IObbActionListener to inform
12881289 * it of the terminal state of the call.
12891290 */
1290- public void unmountObb (String filename , boolean force , IObbActionListener token , int nonce )
1291+ public void unmountObb (String rawPath , boolean force , IObbActionListener token , int nonce )
12911292 throws RemoteException ;
12921293
12931294 /*
0 commit comments