summaryrefslogtreecommitdiffstats
path: root/core/java/android/os
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2015-03-22 20:03:54 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-03-22 20:03:55 +0000
commitbf2673384cdea54eef2ca1c3e6ee35f5a3ce0e8a (patch)
tree0439a8402f2e2bd7c33235abb0f62b05f2797a53 /core/java/android/os
parentafa10ad39a7effd964d6afc83dab891e98856e1d (diff)
parent56e629322f0739a04c8ff48915226ecf36a13b44 (diff)
downloadframeworks_base-bf2673384cdea54eef2ca1c3e6ee35f5a3ce0e8a.zip
frameworks_base-bf2673384cdea54eef2ca1c3e6ee35f5a3ce0e8a.tar.gz
frameworks_base-bf2673384cdea54eef2ca1c3e6ee35f5a3ce0e8a.tar.bz2
Merge "Bring MountService into the SystemService world."
Diffstat (limited to 'core/java/android/os')
-rw-r--r--core/java/android/os/storage/IMountService.java25
1 files changed, 25 insertions, 0 deletions
diff --git a/core/java/android/os/storage/IMountService.java b/core/java/android/os/storage/IMountService.java
index 116110e..6209c2a 100644
--- a/core/java/android/os/storage/IMountService.java
+++ b/core/java/android/os/storage/IMountService.java
@@ -888,6 +888,21 @@ public interface IMountService extends IInterface {
}
return;
}
+
+ @Override
+ public void waitForAsecScan() throws RemoteException {
+ Parcel _data = Parcel.obtain();
+ Parcel _reply = Parcel.obtain();
+ try {
+ _data.writeInterfaceToken(DESCRIPTOR);
+ mRemote.transact(Stub.TRANSACTION_waitForAsecScan, _data, _reply, 0);
+ _reply.readException();
+ } finally {
+ _reply.recycle();
+ _data.recycle();
+ }
+ return;
+ }
}
private static final String DESCRIPTOR = "IMountService";
@@ -978,6 +993,8 @@ public interface IMountService extends IInterface {
static final int TRANSACTION_runMaintenance = IBinder.FIRST_CALL_TRANSACTION + 42;
+ static final int TRANSACTION_waitForAsecScan = IBinder.FIRST_CALL_TRANSACTION + 43;
+
/**
* Cast an IBinder object into an IMountService interface, generating a
* proxy if needed.
@@ -1396,6 +1413,12 @@ public interface IMountService extends IInterface {
reply.writeNoException();
return true;
}
+ case TRANSACTION_waitForAsecScan: {
+ data.enforceInterface(DESCRIPTOR);
+ waitForAsecScan();
+ reply.writeNoException();
+ return true;
+ }
}
return super.onTransact(code, data, reply, flags);
}
@@ -1680,4 +1703,6 @@ public interface IMountService extends IInterface {
* @throws RemoteException
*/
public void runMaintenance() throws RemoteException;
+
+ public void waitForAsecScan() throws RemoteException;
}