/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
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() 113 final CtsContentCaptureService service = enableService(toSet(MY_PACKAGE), NO_ACTIVITIES); in testRinseAndRepeat() 126 private void assertAllowlisted(@NonNull CtsContentCaptureService service) throws Exception { in assertAllowlisted() 130 private void assertNotAllowlisted(@NonNull CtsContentCaptureService service) throws Exception { in assertNotAllowlisted() 143 private void launchActivityAndAssert(@NonNull CtsContentCaptureService service, in launchActivityAndAssert()
|
D | AbstractContentCaptureIntegrationTest.java | 31 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 | BlankActivityTest.java | 20 import static android.contentcaptureservice.cts.CtsContentCaptureService.CONTENT_CAPTURE_SERVICE_CO… 37 import android.contentcaptureservice.cts.CtsContentCaptureService.Session; 89 final CtsContentCaptureService service = enableService(); in testSimpleSessionLifecycle() 106 final CtsContentCaptureService service = enableService(); in testGetServiceComponentName() 131 final CtsContentCaptureService service = enableService(); in testGetServiceComponentName_onUiThread() 151 final CtsContentCaptureService service = enableService(); in testIsContentCaptureFeatureEnabled_onUiThread() 171 final CtsContentCaptureService service = enableService(); in testDisableContentCaptureService_onUiThread() 187 final CtsContentCaptureService service = enableService(); in testOnConnectionEvents() 196 final CtsContentCaptureService service = enableService(); in testOutsideOfPackageActivity_noSessionCreated() 209 final CtsContentCaptureService service = enableService(); in testOutsideOfPackageContentCaptureEnable_updateAllowList() [all …]
|
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 | LoginActivityTest.java | 47 import android.contentcaptureservice.cts.CtsContentCaptureService.Session; 112 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() 334 final CtsContentCaptureService service = enableService(); in testSimpleLifecycle_changeContextOnCreate() 394 final CtsContentCaptureService service = enableService(); in testTextChanged() 426 final CtsContentCaptureService service = enableService(); in testTextChangeBuffer() 481 final CtsContentCaptureService service = enableService(); in testComposingSpan_mergedEvent() 518 final CtsContentCaptureService service = enableService(); in testComposingSpan_notMergedWithoutComposing() [all …]
|
D | AppKilledTest.java | 27 import android.contentcaptureservice.cts.CtsContentCaptureService.Session; 44 final CtsContentCaptureService service = enableService(); in testDoIt()
|
D | CustomViewActivityTest.java | 33 import android.contentcaptureservice.cts.CtsContentCaptureService.Session; 88 final CtsContentCaptureService service = enableService(); in testLifecycle() 108 final CtsContentCaptureService service = enableService(); in testSessionLifecycleEvents() 164 final CtsContentCaptureService service = enableService(); in testVirtualView_wrongWay() 227 final CtsContentCaptureService service = enableService(); in testVirtualView_oneLevel() 292 final CtsContentCaptureService service = enableService(); in testVirtualView_multipleLevels() 406 final CtsContentCaptureService service = enableService(); in testVirtualView_batchDisappear() 464 final CtsContentCaptureService service = enableService(); in testVirtualView_batchAppear() 516 final CtsContentCaptureService service = enableService(); in testContentCaptureConditions() 540 final CtsContentCaptureService service = enableService(); in testContentCaptureConditions_otherPackage() [all …]
|
D | PartialNotImportantActivityTest.java | 22 import android.contentcaptureservice.cts.CtsContentCaptureService.Session; 72 final CtsContentCaptureService service = enableService(); in testAddAndRemoveNoImportantChild() 116 final CtsContentCaptureService service = enableService(); in testAddAndRemoveImportantChild() 161 final CtsContentCaptureService service = enableService(); in testAddImportantChildAfterSessionStarted()
|
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() 241 final CtsContentCaptureService service = enableService(); in testAddAndRemoveNoImportantChild() 279 final CtsContentCaptureService service = enableService(); in testAddAndRemoveImportantChild() 338 final CtsContentCaptureService service = enableService(); in testAddImportantChildAfterSessionStarted() 381 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 | BlankActivity.java | 20 import android.contentcaptureservice.cts.CtsContentCaptureService.Session;
|
D | ChildlessActivity.java | 20 import android.contentcaptureservice.cts.CtsContentCaptureService.Session;
|
D | ResizingEditActivityTest.java | 24 import android.contentcaptureservice.cts.CtsContentCaptureService.Session; 85 final CtsContentCaptureService service = enableService(); in testInsetsChangedOnImeAction()
|
D | PartialNotImportantActivity.java | 20 import android.contentcaptureservice.cts.CtsContentCaptureService.Session;
|
D | NullTextViewActivity.java | 18 import android.contentcaptureservice.cts.CtsContentCaptureService.Session;
|
D | ResizingEditActivity.java | 18 import android.contentcaptureservice.cts.CtsContentCaptureService.Session;
|
D | BlankWithTitleActivity.java | 20 import android.contentcaptureservice.cts.CtsContentCaptureService.Session;
|
D | CtsContentCaptureService.java | 65 public class CtsContentCaptureService extends ContentCaptureService { class 67 private static final String TAG = CtsContentCaptureService.class.getSimpleName(); 70 + CtsContentCaptureService.class.getSimpleName(); 72 componentNameFor(CtsContentCaptureService.class); 649 private CtsContentCaptureService mService; 652 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;
|
/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 | 136 private CtsContentCaptureService.ServiceWatcher mContentCaptureServiceWatcher; 179 CtsContentCaptureService.resetStaticState(); in setup() 1166 CtsContentCaptureService contentcaptureService = enableContentCaptureService(); in testVirtualViewUiTranslation() 1236 CtsContentCaptureService contentcaptureService = enableContentCaptureService(); in testUiTranslation_translationResponseNotSetForCustomTextView() 1268 CtsContentCaptureService contentcaptureService = enableContentCaptureService(); in testUiTranslation_customTextView() 1472 private CtsContentCaptureService enableContentCaptureService() throws Exception { in enableContentCaptureService() 1473 mContentCaptureServiceWatcher = CtsContentCaptureService.setServiceWatcher(); in enableContentCaptureService() 1474 Helper.setTemporaryContentCaptureService(CtsContentCaptureService.SERVICE_NAME); in enableContentCaptureService() 1480 CtsContentCaptureService service) { in getContentCaptureContextFromContentCaptureService() 1481 service.awaitSessionCreated(CtsContentCaptureService.GENERIC_TIMEOUT_MS); in getContentCaptureContextFromContentCaptureService() [all …]
|