Home
last modified time | relevance | path

Searched refs:bindService (Results 1 – 25 of 53) sorted by relevance

123

/cts/tests/tests/externalservice/src/android/externalservice/cts/
DExternalServiceTest.java59 getContext().bindService(intent, mConnection, Context.BIND_AUTO_CREATE); in testFailBindIsolated()
70 getContext().bindService(intent, mConnection, in testFailBindExternalIsolated()
83 getContext().bindService(intent, mConnection, in testFailBindExternalExported()
96 getContext().bindService(intent, mConnection, in testFailBindExternalNonExported()
109 getContext().bindService(intent, mConnection, in testFailBindExternalNonIsolated()
121 getContext().bindService(intent, mConnection, Context.BIND_AUTO_CREATE); in testFailBindWithoutBindExternal()
134 assertTrue(getContext().bindService(intent, mConnection, in testBindExternalService()
162 assertTrue(getContext().bindService(intent, creatorConnection, Context.BIND_AUTO_CREATE)); in testBindExternalServiceWithRunningOwn()
210 assertTrue(getContext().bindService(intent, mConnection, in testBindExternalServiceWithRunningOwn()
258 assertTrue(getContext().bindService(intent, initialConn, in testBindExternalAboveClient()
[all …]
/cts/tests/app/src/android/app/cts/android/app/cts/tools/
DServiceConnectionHandler.java65 if (!mContext.bindService(mIntent, this, Context.BIND_WAIVE_PRIORITY in startMonitoring()
151 if (!mContext.bindService(mIntent, mMainBinding, Context.BIND_AUTO_CREATE)) { in bind()
219 mContext.bindService(mIntent, this, Context.BIND_WAIVE_PRIORITY); in onBindingDied()
/cts/tests/tests/os/src/android/os/cts/
DBinderTest.java213 getContext().bindService(mService, conn1, 0); in testTransact()
218 getContext().bindService(mService, conn2, 0); in testTransact()
249 getContext().bindService(mService, conn1, 0); in testTransact()
280 getContext().bindService(mService, conn1, 0); in testTransact()
304 getContext().bindService(mService, conn1, 0); in testTransact()
DParcelFileDescriptorProcessTest.java100 getContext().bindService(redIntent, redConn, 0); in setUp()
101 getContext().bindService(blueIntent, blueConn, 0); in setUp()
DSeccompTest.java211 assertTrue(getContext().bindService(intent, peer, Context.BIND_AUTO_CREATE)); in testIsolatedServicePolicy()
242 assertTrue(getContext().bindService(intent, peer, Context.BIND_AUTO_CREATE)); in testViolateIsolatedServicePolicy()
DCrossProcessExceptionTest.java73 getContext().bindService(greenIntent, greenConn, 0); in setUp()
DRemoteCallbackListTest.java66 assertTrue(mContext.bindService(secondaryIntent, mSecondaryConnection, in setUp()
/cts/hostsidetests/seccomp/app/src/android/seccomp/cts/app/
DSeccompDeviceTest.java166 private IsolatedConnection bindService(Class<?> cls) { in bindService() method in SeccompDeviceTest
170 mContext.bindService(intent, conn, Context.BIND_AUTO_CREATE); in bindService()
187 IsolatedConnection conn = bindService(IsolatedService.class); in testAppZygoteSyscalls()
/cts/tests/app/src/android/app/cts/
DServiceTest.java578 mContext.bindService(service, conn, 0); in bindExpectResult()
583 mContext.bindService(service, conn2, 0); in bindExpectResult()
609 mContext.bindService(service, conn, 0); in bindExpectResult()
635 mContext.bindService(service, conn, 0); in bindExpectResult()
655 mContext.bindService(service, conn, 0); in bindExpectResult()
676 mContext.bindService( in bindAutoExpectResult()
824 mContext.bindService(service, conn, 0); in testStopSelf()
849 mContext.bindService(service, conn, 0); in testStopSelfResult()
885 mContext.bindService( in testBindServiceWithExecutor()
1200 mContext.bindService( in testLocalUnbindTwice()
[all …]
DIntentServiceTest.java99 mContext.bindService(mIntent, conn, Context.BIND_AUTO_CREATE); in testIntentServiceLifeCycle()
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
DErrorLoggingService.java424 … mContext.bindService(new Intent(mContext, ErrorLoggingService.class), mConnection, in blockingGetBoundService()
445 … mContext.bindService(new Intent(mContext, ErrorLoggingService.class), mConnection, in getBoundService()
462 … mContext.bindService(new Intent(mContext, ErrorLoggingService.class), mConnection, in start()
/cts/tests/tests/binder_ndk/src/android/binder/cts/
DSyncTestServiceConnection.java69 mContext.bindService(intent, this, Context.BIND_AUTO_CREATE); in get()
/cts/tests/tests/telecom/src/android/telecom/cts/
DApi29InCallUtils.java45 boolean success = context.bindService(bindIntent, in setupControl()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/
DOpenCVLibrary.java122 if (context.bindService(intent, conn, Context.BIND_AUTO_CREATE)) { in probePackage()
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DRemoteSocketFactoryClient.java69 mContext.bindService(intent, mServiceConnection, Context.BIND_AUTO_CREATE); in bind()
DMyServiceClient.java65 mContext.bindService(intent, mServiceConnection, Context.BIND_AUTO_CREATE in bind()
/cts/tests/tests/uidisolation/src/android/uidisolation/cts/
DServiceRunnerActivity.java106 bindService(new Intent(this, isolated in doBindService()
/cts/tests/tests/security/src/android/security/cts/
DIsolatedProcessTest.java72 mContext.bindService(serviceIntent, mServiceConnection, Context.BIND_AUTO_CREATE); in setUp()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/
DWindowFocusStealer.java117 context.bindService(intent, connection, Context.BIND_AUTO_CREATE); in connect()
/cts/tests/tests/externalservice/service/src/android/externalservice/service/
DServiceCreator.java60 boolean result = context.bindService(intent, conn,
/cts/tests/tests/media/src/android/media/cts/
DAudioPlaybackCaptureActivity.java94 bindService(intent, mConnection, Context.BIND_AUTO_CREATE); in bindMediaProjectionService()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/
DClientTest.java462 assertThat(InstrumentationRegistry.getContext().bindService( in testStartNormal()
477 assertThat(InstrumentationRegistry.getContext().bindService( in testStartNormal()
643 assertThat(InstrumentationRegistry.getContext().bindService( in testStartExposed08()
672 assertThat(InstrumentationRegistry.getContext().bindService( in testStartExposed09()
954 assertThat(InstrumentationRegistry.getContext().bindService( in testStartEphemeral()
981 assertThat(InstrumentationRegistry.getContext().bindService( in testStartEphemeral()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DCrossProfileWidgetPrimaryUserTest.java68 getContext().bindService(intent, mConnection, Context.BIND_AUTO_CREATE); in setUp()
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DImsServiceConnector.java419 mInstrumentation.getContext().bindService(new Intent(mInstrumentation.getContext(), in setupLocalCarrierImsService()
437 mInstrumentation.getContext().bindService(deviceIntent, mExternalServiceConn, in setupExternalImsService()
/cts/tests/tests/webkit/src/android/webkit/cts/
DTestProcessClient.java86 context.bindService(i, this, Context.BIND_AUTO_CREATE); in TestProcessClient()

123