Home
last modified time | relevance | path

Searched refs:mServiceConnection (Results 1 – 14 of 14) sorted by relevance

/cts/tests/tests/dreams/src/android/service/dreams/cts/
DControlledDreamSession.java136 private ProxyServiceConnection mServiceConnection;
197 if (mServiceConnection != null) { in start()
208 mServiceConnection = new ProxyServiceConnection(countDownLatch, in start()
215 mContext.bindService(intent, mServiceConnection, Context.BIND_AUTO_CREATE); in start()
227 mServiceConnection.getProxy().registerListener(dreamConnectListener); in start()
236 mServiceConnection.getProxy().unregisterListener(dreamConnectListener); in start()
257 if (mServiceConnection == null) { in cleanup()
272 mContext.unbindService(mServiceConnection); in cleanup()
273 mServiceConnection = null; in cleanup()
/cts/tests/framework/base/windowmanager/backgroundactivity/TestApp/src/android/server/wm/backgroundactivity/appa/
DBindServiceActivity.java34 private ServiceConnection mServiceConnection = new ServiceConnection() { field in BindServiceActivity
56 bindService(serviceIntent, mServiceConnection, flags); in onStart()
62 unbindService(mServiceConnection); in onStop()
/cts/tests/app/ShortFgsTest/src/android/app/cts/shortfgstest/
DServiceBinder.java75 mServiceConnection, in doBind()
79 private final ServiceConnection mServiceConnection = new ServiceConnection() { field in ServiceBinder
113 mContext.unbindService(mServiceConnection); in close()
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/
DRemoteService.java123 private final ServiceConnection mServiceConnection; field in RemoteService.Invoker
140 mServiceConnection = new ServiceConnection() { in Invoker()
154 mContext.bindService(intent, mServiceConnection, BIND_AUTO_CREATE); in Invoker()
164 mContext.unbindService(mServiceConnection); in close()
/cts/tests/tests/telecom/src/android/telecom/cts/
DNonUiInCallServiceWoExportTest.java61 private ServiceConnection mServiceConnection; field in NonUiInCallServiceWoExportTest
150 mServiceConnection = serviceConnection; in setUpControlForBindingInterface()
162 mContext.unbindService(mServiceConnection); in cleanUpInterfaceAndService()
DNonUiInCallServiceTest.java23 private ServiceConnection mServiceConnection; field in NonUiInCallServiceTest
231 mServiceConnection = setupResult.first; in setUpControl()
237 mServiceConnection); in tearDownControl()
/cts/tests/tests/security/src/android/security/cts/
DIsolatedProcessTest.java70 private final ServiceConnection mServiceConnection = new ServiceConnection() { field in IsolatedProcessTest
92 …getInstrumentation().getContext().bindService(serviceIntent, mServiceConnection, Context.BIND_AUTO… in setUp()
130 getInstrumentation().getContext().unbindService(mServiceConnection); in tearDown()
DNanoAppBundleTest.java71 private ServiceConnection mServiceConnection = field in NanoAppBundleTest
90 mContext.bindService(serviceIntent, mServiceConnection, Context.BIND_AUTO_CREATE); in setUp()
/cts/tests/tests/os/src/android/os/cts/
DTokenWatcherTest.java40 private ServiceConnection mServiceConnection; field in TokenWatcherTest
67 mServiceConnection = new ServiceConnection() { in setUp()
90 getContext().bindService(secondaryIntent, mServiceConnection, Context.BIND_AUTO_CREATE); in setUp()
106 getContext().unbindService(mServiceConnection); in tearDown()
/cts/hostsidetests/appsecurity/test-apps/AppDataIsolationTestApp/AppA/src/com/android/cts/appdataisolation/appa/
DAppATests.java92 private final ServiceConnection mServiceConnection = new ServiceConnection() { field in AppATests
306 mContext.bindService(serviceIntent, mServiceConnection, Context.BIND_AUTO_CREATE); in testIsolatedProcess()
311 mContext.unbindService(mServiceConnection); in testIsolatedProcess()
320 mContext.bindService(serviceIntent, mServiceConnection, Context.BIND_AUTO_CREATE); in testAppZygoteIsolatedProcess()
325 mContext.unbindService(mServiceConnection); in testAppZygoteIsolatedProcess()
/cts/tests/tests/car/src/android/car/cts/
DCarOccupantConnectionManagerTest.java78 private final TestServiceConnection mServiceConnection = new TestServiceConnection(); field in CarOccupantConnectionManagerTest
234 mContext.bindService(intent, mServiceConnection, Context.BIND_AUTO_CREATE); in bindToLocalReceiverServiceAndWait()
236 JavaMockitoHelper.await(mServiceConnection.latch, BINDING_TIMEOUT_MS); in bindToLocalReceiverServiceAndWait()
/cts/tests/tests/companion/PermissionsSyncTestApp/src/android/os/cts/companiontestapp/
DMainActivity.java133 mServiceConnection, Context.BIND_AUTO_CREATE); in onStart()
151 unbindService(mServiceConnection); in onStop()
264 private ServiceConnection mServiceConnection = new ServiceConnection() { field in MainActivity
/cts/tests/tests/gameservice/src/android/service/games/
DGameServiceTest.java118 private ServiceConnection mServiceConnection; field in GameServiceTest
123 mServiceConnection = new ServiceConnection(); in setUp()
128 mServiceConnection, in setUp()
130 mServiceConnection.waitForConnection(10, TimeUnit.SECONDS); in setUp()
776 return mServiceConnection.mService; in getTestService()
/cts/apps/CtsVerifier/libs/
Dopencv3-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...