Searched refs:ejectRoot (Results 1 – 2 of 2) sorted by relevance
31 import static android.provider.DocumentsContract.ejectRoot;338 doNothing().when(mProvider).ejectRoot("r00t"); in testEjectRoot()339 ejectRoot(mResolver, buildRootUri(AUTHORITY, "r00t")); in testEjectRoot()344 doThrow(new RuntimeException()).when(mProvider).ejectRoot("r00t"); in testEjectRoot_Failure()345 ejectRoot(mResolver, buildRootUri(AUTHORITY, "r00t")); in testEjectRoot_Failure()
502 public void ejectRoot(String rootId) { in ejectRoot() method in MyDocumentsProvider