Home
last modified time | relevance | path

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

/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DBlankActivityTest.java19 import static android.contentcaptureservice.cts.CtsContentCaptureService.CONTENT_CAPTURE_SERVICE_CO…
31 import android.contentcaptureservice.cts.CtsContentCaptureService.Session;
75 final CtsContentCaptureService service = enableService(); in testSimpleSessionLifecycle()
92 final CtsContentCaptureService service = enableService(); in testGetServiceComponentName()
117 final CtsContentCaptureService service = enableService(); in testGetServiceComponentName_onUiThread()
137 final CtsContentCaptureService service = enableService(); in testIsContentCaptureFeatureEnabled_onUiThread()
157 final CtsContentCaptureService service = enableService(); in testDisableContentCaptureService_onUiThread()
173 final CtsContentCaptureService service = enableService(); in testOnConnectionEvents()
182 final CtsContentCaptureService service = enableService(); in testOutsideOfPackageActivity_noSessionCreated()
DWhitelistTest.java62 final CtsContentCaptureService service = enableService(NO_PACKAGES, NO_ACTIVITIES); in testNothingWhitelisted()
69 final CtsContentCaptureService service = enableService(toSet("not.me"), NO_ACTIVITIES); in testNotWhitelisted_byPackage()
75 final CtsContentCaptureService service = enableService(NO_PACKAGES, in testNotWhitelisted_byActivity()
82 final CtsContentCaptureService service = enableService(toSet(MY_PACKAGE), NO_ACTIVITIES); in testWhitelisted_byPackage()
88 final CtsContentCaptureService service = enableService(NO_PACKAGES, in testWhitelisted_byActivity()
108 final CtsContentCaptureService service = enableService(toSet(MY_PACKAGE), NO_ACTIVITIES); in testRinseAndRepeat()
121 private void assertWhitelisted(@NonNull CtsContentCaptureService service) throws Exception { in assertWhitelisted()
125 private void assertNotWhitelisted(@NonNull CtsContentCaptureService service) throws Exception { in assertNotWhitelisted()
138 private void launchActivityAndAssert(@NonNull CtsContentCaptureService service, in launchActivityAndAssert()
DAbstractContentCaptureIntegrationTest.java30 import android.contentcaptureservice.cts.CtsContentCaptureService.ServiceWatcher;
93 return CtsContentCaptureService.getExceptions();
202 CtsContentCaptureService.resetStaticState(); in clearState()
208 CtsContentCaptureService.clearServiceWatcher(); in clearServiceWatcher()
220 public CtsContentCaptureService enableService() throws InterruptedException { in enableService()
224 public CtsContentCaptureService enableService(@Nullable Set<String> whitelistedPackages, in enableService()
229 public CtsContentCaptureService enableService( in enableService()
234 mServiceWatcher = CtsContentCaptureService.setServiceWatcher(); in enableService()
235 setService(CtsContentCaptureService.SERVICE_NAME); in enableService()
DDataSharingServiceTest.java74 CtsContentCaptureService ccService = enableService(); in testDataSharingSessionAccepted()
93 CtsContentCaptureService ccService = enableService(); in testDataSharingSessionRejected()
108 CtsContentCaptureService ccService = enableService(); in testDataShareRequest_valuesPropagatedToReceiver()
125 CtsContentCaptureService ccService = enableService(); in testDataSharingSessionError_concurrentRequests()
141 CtsContentCaptureService ccService = enableService(); in testDataSharingSessionError_senderWasKilledBeforeWrite()
156 CtsContentCaptureService ccService = enableService(); in testDataSharingSessionError_senderWasKilledDuringWrite()
DBlankWithTitleActivityTest.java22 import android.contentcaptureservice.cts.CtsContentCaptureService.Session;
51 final CtsContentCaptureService service = enableService(); in testSimpleSessionLifecycle()
69 final CtsContentCaptureService service = enableService(); in testSimpleSessionLifecycle_noAnimation()
DAppKilledTest.java24 import android.contentcaptureservice.cts.CtsContentCaptureService.Session;
41 final CtsContentCaptureService service = enableService(); in testDoIt()
DLoginActivityTest.java48 import android.contentcaptureservice.cts.CtsContentCaptureService.Session;
113 final CtsContentCaptureService service = enableService(); in testSimpleLifecycle_defaultSession()
135 final CtsContentCaptureService service = enableService(); in testContentCaptureSessionCache()
175 final CtsContentCaptureService service = enableService(); in testSimpleLifecycle_rootViewSession()
292 final CtsContentCaptureService service = enableService(); in testSimpleLifecycle_changeContextAfterCreate()
332 final CtsContentCaptureService service = enableService(); in testSimpleLifecycle_changeContextOnCreate()
392 final CtsContentCaptureService service = enableService(); in testTextChanged()
428 final CtsContentCaptureService service = enableService(); in testTextChangeBuffer()
484 final CtsContentCaptureService service = enableService(); in testComposingSpan_mergedEvent()
525 final CtsContentCaptureService service = enableService(); in testComposingSpan_notMergedWithoutComposing()
[all …]
DChildlessActivityTest.java45 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()
182 final CtsContentCaptureService service = enableService(); in testLaunchAnotherActivity_onTopOfIt()
238 final CtsContentCaptureService service = enableService(); in testAddAndRemoveNoImportantChild()
275 final CtsContentCaptureService service = enableService(); in testAddAndRemoveImportantChild()
334 final CtsContentCaptureService service = enableService(); in testAddImportantChildAfterSessionStarted()
372 final CtsContentCaptureService service = enableService(); in testAddAndRemoveImportantChildOnDifferentSession()
[all …]
DDataSharingActivityTest.java54 final CtsContentCaptureService service = enableService(); in testHappyPath_dataCopiedSuccessfully()
74 final CtsContentCaptureService service = enableService(); in testDataSharingSessionIsRejected_propagatedToClient()
DCustomViewActivityTest.java36 import android.contentcaptureservice.cts.CtsContentCaptureService.Session;
90 final CtsContentCaptureService service = enableService(); in testLifecycle()
110 final CtsContentCaptureService service = enableService(); in testSessionLifecycleEvents()
166 final CtsContentCaptureService service = enableService(); in testVirtualView_wrongWay()
229 final CtsContentCaptureService service = enableService(); in testVirtualView_oneLevel()
297 final CtsContentCaptureService service = enableService(); in testVirtualView_multipleLevels()
414 final CtsContentCaptureService service = enableService(); in testVirtualView_batchDisappear()
473 final CtsContentCaptureService service = enableService(); in testContentCaptureConditions()
497 final CtsContentCaptureService service = enableService(); in testContentCaptureConditions_otherPackage()
515 final CtsContentCaptureService service = enableService(); in testContentCaptureEnabled_dynamicFlagSecure()
[all …]
DBlankActivity.java20 import android.contentcaptureservice.cts.CtsContentCaptureService.Session;
DChildlessActivity.java20 import android.contentcaptureservice.cts.CtsContentCaptureService.Session;
DNullTextViewActivity.java18 import android.contentcaptureservice.cts.CtsContentCaptureService.Session;
DResizingEditActivityTest.java24 import android.contentcaptureservice.cts.CtsContentCaptureService.Session;
85 final CtsContentCaptureService service = enableService(); in testInsetsChangedOnImeAction()
DResizingEditActivity.java18 import android.contentcaptureservice.cts.CtsContentCaptureService.Session;
DBlankWithTitleActivity.java20 import android.contentcaptureservice.cts.CtsContentCaptureService.Session;
DCtsContentCaptureService.java62 public class CtsContentCaptureService extends ContentCaptureService { class
64 private static final String TAG = CtsContentCaptureService.class.getSimpleName();
67 + CtsContentCaptureService.class.getSimpleName();
69 componentNameFor(CtsContentCaptureService.class);
604 private CtsContentCaptureService mService;
607 public CtsContentCaptureService waitOnCreate() throws InterruptedException { in waitOnCreate()
DDataSharingActivity.java21 import android.contentcaptureservice.cts.CtsContentCaptureService.Session;
DAbstractContentCaptureActivity.java21 import android.contentcaptureservice.cts.CtsContentCaptureService.Session;
DCustomViewActivity.java30 import android.contentcaptureservice.cts.CtsContentCaptureService.Session;
DLoginActivity.java29 import android.contentcaptureservice.cts.CtsContentCaptureService.Session;
DAssertions.java37 import android.contentcaptureservice.cts.CtsContentCaptureService.Session;
/cts/tests/translation/src/android/translation/cts/
DCtsContentCaptureService.java42 public class CtsContentCaptureService extends ContentCaptureService { class
48 + CtsContentCaptureService.class.getSimpleName();
154 CtsContentCaptureService mService;
158 public CtsContentCaptureService waitOnConnected() throws InterruptedException { in waitOnConnected()
DUiTranslationManagerTest.java124 private CtsContentCaptureService.ServiceWatcher mContentCaptureServiceWatcher;
163 CtsContentCaptureService.resetStaticState(); in setup()
522 CtsContentCaptureService contentcaptureService = enableContentCaptureService(); in testVirtualViewUiTranslation()
591 CtsContentCaptureService contentcaptureService = enableContentCaptureService(); in testUiTranslation_translationResponseNotSetForCustomTextView()
622 CtsContentCaptureService contentcaptureService = enableContentCaptureService(); in testUiTranslation_customTextView()
746 private CtsContentCaptureService enableContentCaptureService() throws Exception { in enableContentCaptureService()
747 mContentCaptureServiceWatcher = CtsContentCaptureService.setServiceWatcher(); in enableContentCaptureService()
748 Helper.setTemporaryContentCaptureService(CtsContentCaptureService.SERVICE_NAME); in enableContentCaptureService()
754 CtsContentCaptureService service) { in getContentCaptureContextFromContentCaptureService()
755 service.awaitSessionCreated(CtsContentCaptureService.GENERIC_TIMEOUT_MS); in getContentCaptureContextFromContentCaptureService()
[all …]