Home
last modified time | relevance | path

Searched refs:TestServiceConnection (Results 1 – 17 of 17) sorted by relevance

/cts/tests/app/BroadcastsTest/src/android/app/cts/broadcasts/
DBroadcastDeliveryGroupTest.java35 final TestServiceConnection connection1 = bindToHelperService(HELPER_PKG1); in testDeliveryGroupPolicy_policyAll()
36 final TestServiceConnection connection2 = bindToHelperService(HELPER_PKG2); in testDeliveryGroupPolicy_policyAll()
64 final TestServiceConnection connection1 = bindToHelperService(HELPER_PKG1); in testDeliveryGroupPolicy_withForceDelay_policyAll()
65 final TestServiceConnection connection2 = bindToHelperService(HELPER_PKG2); in testDeliveryGroupPolicy_withForceDelay_policyAll()
98 final TestServiceConnection connection1 = bindToHelperService(HELPER_PKG1); in testDeliveryGroupPolicy_policyMostRecent()
99 final TestServiceConnection connection2 = bindToHelperService(HELPER_PKG2); in testDeliveryGroupPolicy_policyMostRecent()
130 final TestServiceConnection connection1 = bindToHelperService(HELPER_PKG1); in testDeliveryGroupPolicy_withForceDelay_policyMostRecent()
131 final TestServiceConnection connection2 = bindToHelperService(HELPER_PKG2); in testDeliveryGroupPolicy_withForceDelay_policyMostRecent()
DBroadcastDeferralTest.java56 final TestServiceConnection connection1 = bindToHelperService(HELPER_PKG1); in testFgBroadcastDeliveryToFrozenApp_withDeferUntilActive()
66 TestServiceConnection connection2 = bindToHelperService(HELPER_PKG2); in testFgBroadcastDeliveryToFrozenApp_withDeferUntilActive()
123 final TestServiceConnection connection1 = bindToHelperService(HELPER_PKG1); in testFgBroadcastDeliveryToFrozenApp()
132 TestServiceConnection connection2 = bindToHelperService(HELPER_PKG2); in testFgBroadcastDeliveryToFrozenApp()
DBroadcastFreezerTest.java79 TestServiceConnection connection = bindToHelperService(HELPER_PKG1); in testBroadcastOptions_appFreezingDelayed()
136 TestServiceConnection connection = bindToHelperService(HELPER_PKG1); in testBroadcastDelivery_syncTxnWhileFrozen()
169 TestServiceConnection connection1 = bindToHelperService(HELPER_PKG1); in testBroadcastDelivery_pendingFreezeCancelled()
174 TestServiceConnection connection2 = bindToHelperService(HELPER_PKG2); in testBroadcastDelivery_pendingFreezeCancelled()
DBroadcastsTest.java50 final TestServiceConnection connection = bindToHelperService(HELPER_PKG1); in testExplicitManifestBroadcast()
82 final TestServiceConnection connection = bindToHelperService(HELPER_PKG1); in testImplicitManifestBroadcast()
DBaseBroadcastTest.java299 protected TestServiceConnection bindToHelperService(String packageName) { in bindToHelperService()
300 final TestServiceConnection in bindToHelperService()
301 connection = new TestServiceConnection(mContext); in bindToHelperService()
308 protected class TestServiceConnection implements ServiceConnection { class in BaseBroadcastTest
313 TestServiceConnection(Context context) { in TestServiceConnection() method in BaseBroadcastTest.TestServiceConnection
DBroadcastReceiverTest.java400 final TestServiceConnection connection = bindToHelperService(HELPER_PKG1); in testPeekService()
/cts/tests/tests/telecom/src/android/telecom/cts/
DSelfManagedConnectionTest.java138 private class TestServiceConnection implements ServiceConnection { class in SelfManagedConnectionTest
225 TestServiceConnection controlConn = setUpControl(THIRD_PTY_CONTROL, in testBindToSupportNonUiInCallService()
252 TestServiceConnection controlConn = setUpControl(THIRD_PTY_CONTROL, in testBindToSupportDefaultDialerNoCarMode()
279 TestServiceConnection controlConn = setUpControl(THIRD_PTY_CONTROL, in testNoBindToUnsupportDefaultDialerNoCarMode()
302 TestServiceConnection controlConn = setUpControl(CAR_MODE_CONTROL, in testEnterCarMode()
334 TestServiceConnection control = setUpControl(CAR_MODE_CONTROL, CAR_SELF_MANAGED_COMPONENT); in testTelecomManagerGetSelfManagedPhoneAccountsForPackage()
413 TestServiceConnection csControl = in testIncomingVideoCallWithNoVideoSupportInCarMode()
425 TestServiceConnection inCallControl = setUpControl(CAR_MODE_CONTROL, in testIncomingVideoCallWithNoVideoSupportInCarMode()
544 TestServiceConnection inCallControl = setUpControl(CAR_MODE_CONTROL, CAR_DIALER_1); in testSwapInCallServicesForSelfManagedCSCall()
608 TestServiceConnection controlConn1 = setUpControl(CAR_MODE_CONTROL, CAR_DIALER_1); in testChangeCarModeApp()
[all …]
DSelfManagedConnectionServiceTest.java130 private static class TestServiceConnection implements ServiceConnection { class in SelfManagedConnectionServiceTest
138 TestServiceConnection(PhoneAccount account) { in TestServiceConnection() method in SelfManagedConnectionServiceTest.TestServiceConnection
178 private TestServiceConnection bindExternalSelfManagedServiceAndRegister( in bindExternalSelfManagedServiceAndRegister()
180 TestServiceConnection control = setUpControl(SELF_MANAGED_CS_CONTROL, SELF_MANAGED_CS_1, in bindExternalSelfManagedServiceAndRegister()
187 private TestServiceConnection setUpControl(String action, ComponentName componentName, in setUpControl()
192 TestServiceConnection serviceConnection = new TestServiceConnection(acct); in setUpControl()
200 private void tearDownControl(TestServiceConnection c) throws Exception { in tearDownControl()
742 TestServiceConnection selfManagedConnection = null; in testSelfManagedAndSimBasedCallSwapping()
1370 TestServiceConnection conn = null; in testPlaceCallToRegisteredSelfManagedConnectionService()
1398 TestServiceConnection conn = null; in testPlaceIncorrectSelfManagedCallFromRemote()
[all …]
DPhoneAccountRegistrarTest.java87 TestServiceConnection mControl;
368 TestServiceConnection control = setUpControl(carModeControl, in testTwoPackagesRegisterMax()
859 private TestServiceConnection setUpControl(String action, ComponentName componentName) { in setUpControl()
863 TestServiceConnection in setUpControl()
864 serviceConnection = new TestServiceConnection(); in setUpControl()
872 private class TestServiceConnection implements ServiceConnection { class in PhoneAccountRegistrarTest
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DDomainSelectionServiceConnector.java53 private class TestServiceConnection implements ServiceConnection { class in DomainSelectionServiceConnector
57 TestServiceConnection(CountDownLatch latch) { in TestServiceConnection() method in DomainSelectionServiceConnector.TestServiceConnection
138 private TestServiceConnection mTestServiceConn;
156 mTestServiceConn = new TestServiceConnection(latch); in setupLocalTestDomainSelectionService()
/cts/tests/tests/app.usage/BroadcastResponseStats/src/android/app/usage/brs/cts/
DBroadcastResponseStatsTest.java256 final TestServiceConnection connection = bindToTestServiceAndGetConnection(); in testBroadcastResponseStats_broadcastDispatchedCount()
327 final TestServiceConnection connection = bindToTestServiceAndGetConnection(); in testBroadcastResponseStats_notificationPostedCount()
405 final TestServiceConnection connection = bindToTestServiceAndGetConnection(); in testBroadcastResponseStats_notificationUpdatedCount()
486 final TestServiceConnection connection = bindToTestServiceAndGetConnection(); in testBroadcastResponseStats_notificationCancelledCount()
566 final TestServiceConnection connection = bindToTestServiceAndGetConnection(); in testBroadcastResponseStats_multipleEvents()
707 final TestServiceConnection connection = bindToTestServiceAndGetConnection(); in testBroadcastResponseStats_clearCounts()
808 final TestServiceConnection connection = bindToTestServiceAndGetConnection(); in testBroadcastResponseStats_changeResponseWindowDuration()
898 final TestServiceConnection connection = bindToTestServiceAndGetConnection(); in testBroadcastResponseStats_appNotInForeground()
1005 final TestServiceConnection connection1 = bindToTestServiceAndGetConnection(TEST_APP_PKG); in testBroadcastResponseStats_multiplePackages()
1006 final TestServiceConnection connection3 = bindToTestServiceAndGetConnection(TEST_APP3_PKG); in testBroadcastResponseStats_multiplePackages()
[all …]
/cts/tests/BlobStore/src/com/android/cts/blob/
DBlobStoreManagerTest.java508 final TestServiceConnection connection1 = bindToHelperService(HELPER_PKG); in testPrivateAccess()
509 final TestServiceConnection connection2 = bindToHelperService(HELPER_PKG2); in testPrivateAccess()
510 final TestServiceConnection connection3 = bindToHelperService(HELPER_PKG3); in testPrivateAccess()
567 final TestServiceConnection connection1 = bindToHelperService(HELPER_PKG); in testMixedAccessType_fromMultiplePackages()
568 final TestServiceConnection connection2 = bindToHelperService(HELPER_PKG2); in testMixedAccessType_fromMultiplePackages()
569 final TestServiceConnection connection3 = bindToHelperService(HELPER_PKG3); in testMixedAccessType_fromMultiplePackages()
698 final TestServiceConnection connection = bindToHelperService(HELPER_PKG); in testRecommitBlob_fromMultiplePackages()
951 final TestServiceConnection serviceConnection = bindToHelperService(HELPER_PKG); in testAcquireLease_multipleLeasees()
1169 final TestServiceConnection serviceConnection = bindToHelperService(HELPER_PKG); in testStorageAttribution_acquireLease()
1828 private void commitBlobFromPkg(FakeBlobData blobData, TestServiceConnection serviceConnection) in commitBlobFromPkg()
[all …]
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/
DClientTest.java466 final TestServiceConnection connection = new TestServiceConnection(); in testStartNormal()
481 final TestServiceConnection connection = new TestServiceConnection(); in testStartNormal()
647 final TestServiceConnection connection = new TestServiceConnection(); in testStartExposed08()
676 final TestServiceConnection connection = new TestServiceConnection(); in testStartExposed09()
981 final TestServiceConnection connection = new TestServiceConnection(); in testStartEphemeral()
1008 final TestServiceConnection connection = new TestServiceConnection(); in testStartEphemeral()
1515 private static class TestServiceConnection implements ServiceConnection { class in ClientTest
/cts/tests/tests/car/src/android/car/cts/
DCarOccupantConnectionManagerTest.java78 private final TestServiceConnection mServiceConnection = new TestServiceConnection();
243 private final class TestServiceConnection implements ServiceConnection { class in CarOccupantConnectionManagerTest
/cts/tests/appsearch/src/com/android/cts/appsearch/app/
DGlobalSearchSessionServiceCtsTestBase.java268 GlobalSearchSessionServiceCtsTestBase.TestServiceConnection serviceConnection = in testPublicVisibility_accessibleTestPackage()
296 GlobalSearchSessionServiceCtsTestBase.TestServiceConnection serviceConnection = in testPublicVisibility_inaccessibleHelperApp()
393 GlobalSearchSessionServiceCtsTestBase.TestServiceConnection serviceConnection = in testPublicVisibility_invalidCertificate()
2047 GlobalSearchSessionServiceCtsTestBase.TestServiceConnection serviceConnection = in getSchemaAsPackage()
2059 GlobalSearchSessionServiceCtsTestBase.TestServiceConnection serviceConnection = in assertPackageCanAccess()
2097 GlobalSearchSessionServiceCtsTestBase.TestServiceConnection serviceConnection = in indexGloballySearchableDocument()
2137 GlobalSearchSessionServiceCtsTestBase.TestServiceConnection serviceConnection = in indexGloballySearchableDocumentVisibleToConfig()
2177 GlobalSearchSessionServiceCtsTestBase.TestServiceConnection serviceConnection = in writeGloballySearchableBlobVisibleToConfig()
2192 GlobalSearchSessionServiceCtsTestBase.TestServiceConnection serviceConnection = in writeGloballyNotSearchableBlob()
2205 GlobalSearchSessionServiceCtsTestBase.TestServiceConnection serviceConnection = in removeBlob()
[all …]
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DUsageStatsTest.java1049 final TestServiceConnection connection = bindToTestServiceAndGetConnection(); in testNotificationSeen_verifyBucket()
1050 final TestServiceConnection connection2 = bindToTestServiceAndGetConnection( in testNotificationSeen_verifyBucket()
1125 final TestServiceConnection connection = bindToTestServiceAndGetConnection(); in testNotificationSeen_verifyBucket_retainPreTImpact()
1126 final TestServiceConnection connection2 = bindToTestServiceAndGetConnection( in testNotificationSeen_verifyBucket_retainPreTImpact()
1200 final TestServiceConnection connection = bindToTestServiceAndGetConnection(); in testNotificationSeen_noImpact()
2794 final TestServiceConnection connection = bindToTestServiceAndGetConnection(); in bindToTestService()
2798 private TestServiceConnection bindToTestServiceAndGetConnection(String packageName) in bindToTestServiceAndGetConnection()
2800 final TestServiceConnection connection = new TestServiceConnection(mContext); in bindToTestServiceAndGetConnection()
2807 private TestServiceConnection bindToTestServiceAndGetConnection() throws Exception { in bindToTestServiceAndGetConnection()
2857 static class TestServiceConnection implements ServiceConnection { class in UsageStatsTest
[all …]
/cts/tests/tests/tv/src/android/media/tv/tuner/cts/
DTunerTest.java180 private TestServiceConnection mConnection;
353 private class TestServiceConnection implements ServiceConnection { class in TunerTest
2588 mConnection = new TestServiceConnection(); in testSharedFilterTwoProcessesCloseInSharedFilter()
2619 mConnection = new TestServiceConnection(); in testSharedFilterTwoProcessesCloseInFilter()
2650 mConnection = new TestServiceConnection(); in testSharedFilterTwoProcessesReleaseInFilter()
2683 mConnection = new TestServiceConnection(); in testSharedFilterTwoProcessesVerifySharedFilter()