Home
last modified time | relevance | path

Searched refs:CtsContentCaptureService (Results 1 – 8 of 8) sorted by relevance

/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DWhitelistTest.java53 final CtsContentCaptureService service = enableService(NO_PACKAGES, NO_ACTIVITIES); in testNothingWhitelisted()
60 final CtsContentCaptureService service = enableService(toSet("not.me"), NO_ACTIVITIES); in testNotWhitelisted_byPackage()
66 final CtsContentCaptureService service = enableService(NO_PACKAGES, in testNotWhitelisted_byActivity()
73 final CtsContentCaptureService service = enableService(toSet(MY_PACKAGE), NO_ACTIVITIES); in testWhitelisted_byPackage()
79 final CtsContentCaptureService service = enableService(NO_PACKAGES, in testWhitelisted_byActivity()
88 final CtsContentCaptureService service = enableService(toSet(MY_PACKAGE), NO_ACTIVITIES); in testRinseAndRepeat()
101 private void assertWhitelisted(@NonNull CtsContentCaptureService service) throws Exception { in assertWhitelisted()
105 private void assertNotWhitelisted(@NonNull CtsContentCaptureService service) throws Exception { in assertNotWhitelisted()
109 private void launchActivityAndAssert(@NonNull CtsContentCaptureService service, in launchActivityAndAssert()
DAbstractContentCaptureIntegrationTest.java30 import android.contentcaptureservice.cts.CtsContentCaptureService.ServiceWatcher;
92 return CtsContentCaptureService.getExceptions();
201 CtsContentCaptureService.resetStaticState(); in clearState()
213 public CtsContentCaptureService enableService() throws InterruptedException { in enableService()
217 public CtsContentCaptureService enableService(@Nullable Set<String> whitelistedPackages, in enableService()
222 public CtsContentCaptureService enableService( in enableService()
227 mServiceWatcher = CtsContentCaptureService.setServiceWatcher(); in enableService()
228 setService(CtsContentCaptureService.SERVICE_NAME); in enableService()
DAppKilledTest.java23 import android.contentcaptureservice.cts.CtsContentCaptureService.Session;
34 final CtsContentCaptureService service = enableService(); in testDoIt()
DCustomViewActivityTest.java40 import android.contentcaptureservice.cts.CtsContentCaptureService.Session;
94 final CtsContentCaptureService service = enableService(); in testLifecycle()
116 final CtsContentCaptureService service = enableService(); in testVirtualView_wrongWay()
181 final CtsContentCaptureService service = enableService(); in testVirtualView_oneLevel()
249 final CtsContentCaptureService service = enableService(); in testVirtualView_multipleLevels()
366 final CtsContentCaptureService service = enableService(); in testVirtualView_batchDisappear()
425 final CtsContentCaptureService service = enableService(); in testContentCaptureConditions()
449 final CtsContentCaptureService service = enableService(); in testContentCaptureConditions_otherPackage()
467 final CtsContentCaptureService service = enableService(); in testContentCaptureEnabled_dynamicFlagSecure()
493 final CtsContentCaptureService service = enableService(); in testDisabledByFlagSecure()
[all …]
DCtsContentCaptureService.java51 public class CtsContentCaptureService extends ContentCaptureService { class
53 private static final String TAG = CtsContentCaptureService.class.getSimpleName();
56 + CtsContentCaptureService.class.getSimpleName();
58 componentNameFor(CtsContentCaptureService.class);
483 private CtsContentCaptureService mService;
486 public CtsContentCaptureService waitOnCreate() throws InterruptedException { in waitOnCreate()
DAbstractContentCaptureActivity.java21 import android.contentcaptureservice.cts.CtsContentCaptureService.Session;
DCustomViewActivity.java26 import android.contentcaptureservice.cts.CtsContentCaptureService.Session;
DAssertions.java34 import android.contentcaptureservice.cts.CtsContentCaptureService.Session;