Home
last modified time | relevance | path

Searched refs:ejectRoot (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/provider/src/android/provider/cts/
DDocumentsContractTest.java31 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()
/cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/
DMyDocumentsProvider.java501 public void ejectRoot(String rootId) { in ejectRoot() method in MyDocumentsProvider