Fix build breakage
Implement new methods in MockStorageManager Test: it builds Change-Id: Icdd49a1b6709ab63a8b00328b9da8120482bbc8a
This commit is contained in:
@@ -32,6 +32,8 @@ import android.os.storage.VolumeRecord;
|
||||
import android.util.ArrayMap;
|
||||
import android.util.Pair;
|
||||
|
||||
import com.android.internal.os.AppFuseMount;
|
||||
|
||||
import junit.framework.AssertionFailedError;
|
||||
|
||||
import java.util.ArrayList;
|
||||
@@ -462,14 +464,30 @@ public class MockStorageManager implements IStorageManager {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@Override
|
||||
public ParcelFileDescriptor mountAppFuse(String name) throws RemoteException {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fstrim(int flags) throws RemoteException {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@Override
|
||||
public AppFuseMount mountProxyFileDescriptorBridge() throws RemoteException {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@Override
|
||||
public ParcelFileDescriptor openProxyFileDescriptor(int mountPointId, int fileId, int mode)
|
||||
throws RemoteException {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@Override
|
||||
public long getCacheQuotaBytes(String volumeUuid, int uid) throws RemoteException {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@Override
|
||||
public long getCacheSizeBytes(String volumeUuid, int uid) throws RemoteException {
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user