Home
last modified time | relevance | path

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

123456

/cts/tests/tests/externalservice/src/android/externalservice/cts/
DExternalServiceTest.java57 getContext().bindService(intent, mConnection, Context.BIND_AUTO_CREATE); in testFailBindIsolated()
68 getContext().bindService(intent, mConnection, in testFailBindExternalIsolated()
81 getContext().bindService(intent, mConnection, in testFailBindExternalExported()
94 getContext().bindService(intent, mConnection, in testFailBindExternalNonExported()
107 getContext().bindService(intent, mConnection, in testFailBindExternalNonIsolated()
119 getContext().bindService(intent, mConnection, Context.BIND_AUTO_CREATE); in testFailBindWithoutBindExternal()
132 assertTrue(getContext().bindService(intent, mConnection, in testBindExternalService()
160 assertTrue(getContext().bindService(intent, creatorConnection, Context.BIND_AUTO_CREATE)); in testBindExternalServiceWithRunningOwn()
208 assertTrue(getContext().bindService(intent, mConnection, in testBindExternalServiceWithRunningOwn()
256 assertTrue(getContext().bindService(intent, initialConn, in testBindExternalAboveClient()
[all …]
DPackagePrivateIsolatedServiceTest.java216 .bindService( in testFailBindDefaultProcessService()
237 .bindService( in testFailBindExportedNonIsolated()
259 .bindService( in testFailBindNonDefaultProcessExportedNonIsolated()
/cts/tests/tests/os/src/android/os/cts/
DBinderIntegrationTest.java216 getContext().bindService(mService, conn1, 0); in testTransact()
221 getContext().bindService(mService, conn2, 0); in testTransact()
252 getContext().bindService(mService, conn1, 0); in testTransact()
283 getContext().bindService(mService, conn1, 0); in testTransact()
307 getContext().bindService(mService, conn1, 0); in testTransact()
341 getContext().bindService(remoteIntent, serviceConnection, Context.BIND_AUTO_CREATE); in testBinderDiedWho()
DParcelIntegrationTest.java72 assertTrue(mContext.bindService(intent, connection, in testExceptionOverwritesObject()
151 assertTrue(mContext.bindService(intent, connection, in testObjectDoubleFree()
DIntentLaunchService.java63 bindService(innerIntent, SERVICE_CONNECTION, Context.BIND_AUTO_CREATE); in onBind()
DParcelFileDescriptorProcessTest.java102 getContext().bindService(redIntent, redConn, 0); in setUp()
103 getContext().bindService(blueIntent, blueConn, 0); in setUp()
/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/security/src/android/security/cts/
DDynamicPermissionsTest.kt55 bindService() in setUp()
118 private fun bindService() { in bindService() method in android.security.cts.DynamicPermissionsTest
139 context.bindService(intent, serviceConnection, BIND_AUTO_CREATE) in bindService()
/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/gwp_asan/common/android/cts/gwp_asan/
DGwpAsanServiceTest.java55 IBinder binder = mServiceRule.bindService(serviceIntent); in runServiceAndCheckSuccess()
65 IBinder binder = mServiceRule.bindService(serviceIntent); in runService()
/cts/libs/install/testapp/src/com/android/cts/install/lib/testapp/
DTestServiceActivity.java40 bindService(serviceIntent, new ServiceConnection() { in onCreate()
/cts/tests/app/src/android/app/cts/
DServiceTest.java616 mContext.bindService(service, conn, 0); in bindExpectResult()
621 mContext.bindService(service, conn2, 0); in bindExpectResult()
647 mContext.bindService(service, conn, 0); in bindExpectResult()
673 mContext.bindService(service, conn, 0); in bindExpectResult()
693 mContext.bindService(service, conn, 0); in bindExpectResult()
714 mContext.bindService( in bindAutoExpectResult()
880 mContext.bindService(service, conn, 0); in testStopSelf()
905 mContext.bindService(service, conn, 0); in testStopSelfResult()
941 mContext.bindService( in testBindServiceWithExecutor()
1486 mContext.bindService( in testLocalUnbindTwice()
[all …]
/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/wifi/src/android/net/wifi/sharedconnectivity/cts/app/
DSharedConnectivityManagerTest.java146 when(mContext.bindService(any(Intent.class), any(ServiceConnection.class), in setUp()
170 verify(mContext).bindService(any(Intent.class), any(ServiceConnection.class), anyInt()); in bindingToServiceOnFirstCallbackRegistration()
175 when(mContext.bindService(any(Intent.class), any(ServiceConnection.class), in bindToServiceFails_userUnlocked_callsOnRegisterCallbackFailed()
187 when(mContext.bindService(any(Intent.class), any(ServiceConnection.class), in bindToServiceFails_userLocked_registerReceiver()
206 verify(mContext).bindService(any(Intent.class), any(ServiceConnection.class), anyInt()); in broadcastReceiver_onReceiveUnlock_retriesBind()
214 verify(mContext, times(1)).bindService(any(Intent.class), any(ServiceConnection.class), in bindIsCalledOnceOnMultipleCallbackRegistrations()
218 verify(mContext, times(1)).bindService(any(Intent.class), any(ServiceConnection.class), in bindIsCalledOnceOnMultipleCallbackRegistrations()
246 verify(mContext, times(2)).bindService(any(Intent.class), any(ServiceConnection.class), in bindIsCalledOnRegisterAfterUnbind()
/cts/tests/tests/content/src/android/content/wm/cts/
DContextTestBase.java120 serviceToken = serviceRule.bindService(intent); in createTestService()
128 IBinder serviceToken = serviceRule.bindService(intent); in createWindowTestService()
/cts/tests/tests/binder_ndk/src/android/binder/cts/
DSyncTestServiceConnection.java69 mContext.bindService(intent, this, Context.BIND_AUTO_CREATE); in get()
/cts/tests/framework/base/windowmanager/backgroundactivity/TestApp/src/android/server/wm/backgroundactivity/appa/
DBindServiceActivity.java56 bindService(serviceIntent, mServiceConnection, flags); in onStart()
/cts/tests/tests/virtualdevice/applaunch/src/android/virtualdevice/cts/applaunch/
DAppComponents.java59 IBinder serviceToken = serviceRule.bindService(intent); in startService()
/cts/tests/tests/telecom/src/android/telecom/cts/
DApi29InCallUtils.java45 boolean success = context.bindService(bindIntent, in setupControl()
/cts/hostsidetests/appsecurity/test-apps/KeyRotationTest/ServiceTest/src/android/appsecurity/cts/keyrotationtest/test/
DSignatureQueryServiceInstrumentationTest.java60 IBinder binder = serviceTestRule.bindService( in setUp()
/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/app/ShortFgsTest/src/android/app/cts/shortfgstest/
DServiceBinder.java73 mContext.bindService( in doBind()
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/
DVoiceInteractionServiceBindingHelper.java98 VoiceInteractionServiceBindingHelper.this.bindService(serviceIntent, mTestServiceConnection, in onCreate()
/cts/tests/app/app/src/android/app/stubs/
DHeartbeatActivity.java93 bindService(intent, mConnection, Context.BIND_AUTO_CREATE); in startHeartbeat()
/cts/tests/tests/uidisolation/src/android/uidisolation/cts/
DServiceRunnerActivity.java106 bindService(new Intent(this, isolated in doBindService()

123456