Searched refs:CtsContentCaptureService (Results 1 – 16 of 16) sorted by relevance
53 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()
18 import static android.contentcaptureservice.cts.CtsContentCaptureService.CONTENT_CAPTURE_SERVICE_CO…27 import android.contentcaptureservice.cts.CtsContentCaptureService.Session;60 final CtsContentCaptureService service = enableService(); in testSimpleSessionLifecycle()77 final CtsContentCaptureService service = enableService(); in testGetServiceComponentName()102 final CtsContentCaptureService service = enableService(); in testGetServiceComponentName_onUiThread()122 final CtsContentCaptureService service = enableService(); in testIsContentCaptureFeatureEnabled_onUiThread()142 final CtsContentCaptureService service = enableService(); in testDisableContentCaptureService_onUiThread()158 final CtsContentCaptureService service = enableService(); in testOnConnectionEvents()
30 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()
45 import android.contentcaptureservice.cts.CtsContentCaptureService.Session;104 final CtsContentCaptureService service = enableService(); in testSimpleLifecycle_defaultSession()126 final CtsContentCaptureService service = enableService(); in testSimpleLifecycle_rootViewSession()240 final CtsContentCaptureService service = enableService(); in testSimpleLifecycle_changeContextAfterCreate()280 final CtsContentCaptureService service = enableService(); in testSimpleLifecycle_changeContextOnCreate()340 final CtsContentCaptureService service = enableService(); in testTextChanged()376 final CtsContentCaptureService service = enableService(); in testTextChangeBuffer()418 final CtsContentCaptureService service = enableService(); in testDisabledByFlagSecure()444 final CtsContentCaptureService service = enableService(); in testDisabledByApp()474 final CtsContentCaptureService service = enableService(); in testDisabledFlagSecureAndByApp()[all …]
22 import android.contentcaptureservice.cts.CtsContentCaptureService.Session;51 final CtsContentCaptureService service = enableService(); in testSimpleSessionLifecycle()69 final CtsContentCaptureService service = enableService(); in testSimpleSessionLifecycle_noAnimation()
45 import android.contentcaptureservice.cts.CtsContentCaptureService.DisconnectListener;46 import android.contentcaptureservice.cts.CtsContentCaptureService.ServiceWatcher;47 import android.contentcaptureservice.cts.CtsContentCaptureService.Session;102 final CtsContentCaptureService service = enableService(); in testDefaultLifecycle()147 final CtsContentCaptureService service = enableService(); in testLaunchAnotherActivity()183 final CtsContentCaptureService service = enableService(); in testLaunchAnotherActivity_onTopOfIt()241 final CtsContentCaptureService service = enableService(); in testAddAndRemoveNoImportantChild()278 final CtsContentCaptureService service = enableService(); in testAddAndRemoveImportantChild()337 final CtsContentCaptureService service = enableService(); in testAddImportantChildAfterSessionStarted()376 final CtsContentCaptureService service = enableService(); in testAddAndRemoveImportantChildOnDifferentSession()[all …]
44 import android.contentcaptureservice.cts.CtsContentCaptureService.Session;98 final CtsContentCaptureService service = enableService(); in testLifecycle()120 final CtsContentCaptureService service = enableService(); in testVirtualView_wrongWay()190 final CtsContentCaptureService service = enableService(); in testVirtualView_oneLevel()258 final CtsContentCaptureService service = enableService(); in testVirtualView_multipleLevels()375 final CtsContentCaptureService service = enableService(); in testVirtualView_batchDisappear()434 final CtsContentCaptureService service = enableService(); in testContentCaptureConditions()458 final CtsContentCaptureService service = enableService(); in testContentCaptureConditions_otherPackage()476 final CtsContentCaptureService service = enableService(); in testContentCaptureEnabled_dynamicFlagSecure()502 final CtsContentCaptureService service = enableService(); in testDisabledByFlagSecure()[all …]
23 import android.contentcaptureservice.cts.CtsContentCaptureService.Session;34 final CtsContentCaptureService service = enableService(); in testDoIt()
52 public class CtsContentCaptureService extends ContentCaptureService { class54 private static final String TAG = CtsContentCaptureService.class.getSimpleName();57 + CtsContentCaptureService.class.getSimpleName();59 componentNameFor(CtsContentCaptureService.class);484 private CtsContentCaptureService mService;487 public CtsContentCaptureService waitOnCreate() throws InterruptedException { in waitOnCreate()
20 import android.contentcaptureservice.cts.CtsContentCaptureService.Session;
29 import android.contentcaptureservice.cts.CtsContentCaptureService.Session;
21 import android.contentcaptureservice.cts.CtsContentCaptureService.Session;
30 import android.contentcaptureservice.cts.CtsContentCaptureService.Session;
34 import android.contentcaptureservice.cts.CtsContentCaptureService.Session;