Home
last modified time | relevance | path

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

1234

/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()
DIntentLaunchService.java63 bindService(innerIntent, SERVICE_CONNECTION, Context.BIND_AUTO_CREATE); in onBind()
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()
/cts/hostsidetests/seccomp/app/src/android/seccomp/cts/app/
DSeccompDeviceTest.java167 private IsolatedConnection bindService(Class<?> cls) { in bindService() method in SeccompDeviceTest
171 mContext.bindService(intent, conn, Context.BIND_AUTO_CREATE); in bindService()
188 IsolatedConnection conn = bindService(IsolatedService.class); in testAppZygoteSyscalls()
/cts/hostsidetests/appsecurity/test-apps/UseEmbeddedDexApp/src/com/android/cts/useembeddeddex/
DEmbeddedDexTest.java50 assertTrue(context.bindService(intent, conn, Context.BIND_AUTO_CREATE)); in testIsolatedService()
/cts/tests/tests/binder_ndk/src/android/binder/cts/
DSyncTestServiceConnection.java69 mContext.bindService(intent, this, Context.BIND_AUTO_CREATE); in get()
/cts/tests/app/src/android/app/cts/
DServiceTest.java585 mContext.bindService(service, conn, 0); in bindExpectResult()
590 mContext.bindService(service, conn2, 0); in bindExpectResult()
616 mContext.bindService(service, conn, 0); in bindExpectResult()
642 mContext.bindService(service, conn, 0); in bindExpectResult()
662 mContext.bindService(service, conn, 0); in bindExpectResult()
683 mContext.bindService( in bindAutoExpectResult()
834 mContext.bindService(service, conn, 0); in testStopSelf()
859 mContext.bindService(service, conn, 0); in testStopSelfResult()
895 mContext.bindService( in testBindServiceWithExecutor()
1409 mContext.bindService( in testLocalUnbindTwice()
[all …]
DIntentServiceTest.java99 mContext.bindService(mIntent, conn, Context.BIND_AUTO_CREATE); in testIntentServiceLifeCycle()
/cts/tests/tests/gwp-asan/enabled/src/android/gwpasan/cts/
DGwpAsanServiceTest.java46 IBinder binder = mServiceRule.bindService(serviceIntent); in isGwpAsanEnabledInService()
/cts/hostsidetests/appsecurity/test-apps/KeyRotationTest/ServiceTest/src/android/appsecurity/cts/keyrotationtest/test/
DSignatureQueryServiceInstrumentationTest.java60 IBinder binder = serviceTestRule.bindService( in setUp()
/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/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/common/device-side/bedstead/remotedpc/src/library/main/java/com/android/bedstead/remotedpc/connected/
DRemoteDPCBinder.java65 return context.bindService(bindIntent, in tryBind()
/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/framework/base/windowmanager/src/android/server/wm/
DWindowContextTests.java113 windowContext.bindService(new Intent(windowContext, TestLogService.class), in testWindowContextBindService()
208 TestToken token = (TestToken) serviceRule.bindService(intent); in testWindowProviderServiceLifecycle()
/cts/tests/tests/content/src/android/content/cts/
DContextTestBase.java101 serviceToken = serviceRule.bindService(intent); in createTestService()
/cts/hostsidetests/appsecurity/test-apps/UseProcessSuccess/src/com/android/cts/useprocess/
DAccessNetworkTest.java148 if (!context.bindService(intent, conn, Context.BIND_AUTO_CREATE)) { in doNetworkTest()
/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,

1234