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