/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | BlankActivityTest.java | 19 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()
|
D | WhitelistTest.java | 62 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()
|
D | AbstractContentCaptureIntegrationTest.java | 30 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()
|
D | DataSharingServiceTest.java | 74 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()
|
D | BlankWithTitleActivityTest.java | 22 import android.contentcaptureservice.cts.CtsContentCaptureService.Session; 51 final CtsContentCaptureService service = enableService(); in testSimpleSessionLifecycle() 69 final CtsContentCaptureService service = enableService(); in testSimpleSessionLifecycle_noAnimation()
|
D | AppKilledTest.java | 24 import android.contentcaptureservice.cts.CtsContentCaptureService.Session; 41 final CtsContentCaptureService service = enableService(); in testDoIt()
|
D | LoginActivityTest.java | 48 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 …]
|
D | ChildlessActivityTest.java | 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() 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 …]
|
D | DataSharingActivityTest.java | 54 final CtsContentCaptureService service = enableService(); in testHappyPath_dataCopiedSuccessfully() 74 final CtsContentCaptureService service = enableService(); in testDataSharingSessionIsRejected_propagatedToClient()
|
D | CustomViewActivityTest.java | 36 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 …]
|
D | BlankActivity.java | 20 import android.contentcaptureservice.cts.CtsContentCaptureService.Session;
|
D | ChildlessActivity.java | 20 import android.contentcaptureservice.cts.CtsContentCaptureService.Session;
|
D | NullTextViewActivity.java | 18 import android.contentcaptureservice.cts.CtsContentCaptureService.Session;
|
D | ResizingEditActivityTest.java | 24 import android.contentcaptureservice.cts.CtsContentCaptureService.Session; 85 final CtsContentCaptureService service = enableService(); in testInsetsChangedOnImeAction()
|
D | ResizingEditActivity.java | 18 import android.contentcaptureservice.cts.CtsContentCaptureService.Session;
|
D | BlankWithTitleActivity.java | 20 import android.contentcaptureservice.cts.CtsContentCaptureService.Session;
|
D | CtsContentCaptureService.java | 62 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()
|
D | DataSharingActivity.java | 21 import android.contentcaptureservice.cts.CtsContentCaptureService.Session;
|
D | AbstractContentCaptureActivity.java | 21 import android.contentcaptureservice.cts.CtsContentCaptureService.Session;
|
D | CustomViewActivity.java | 30 import android.contentcaptureservice.cts.CtsContentCaptureService.Session;
|
D | LoginActivity.java | 29 import android.contentcaptureservice.cts.CtsContentCaptureService.Session;
|
D | Assertions.java | 37 import android.contentcaptureservice.cts.CtsContentCaptureService.Session;
|
/cts/tests/translation/src/android/translation/cts/ |
D | CtsContentCaptureService.java | 42 public class CtsContentCaptureService extends ContentCaptureService { class 48 + CtsContentCaptureService.class.getSimpleName(); 154 CtsContentCaptureService mService; 158 public CtsContentCaptureService waitOnConnected() throws InterruptedException { in waitOnConnected()
|
D | UiTranslationManagerTest.java | 124 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 …]
|