/cts/tests/tests/externalservice/src/android/externalservice/cts/ |
D | ExternalServiceTest.java | 57 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 …]
|
D | PackagePrivateIsolatedServiceTest.java | 216 .bindService( in testFailBindDefaultProcessService() 237 .bindService( in testFailBindExportedNonIsolated() 259 .bindService( in testFailBindNonDefaultProcessExportedNonIsolated()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | BinderIntegrationTest.java | 216 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()
|
D | ParcelIntegrationTest.java | 72 assertTrue(mContext.bindService(intent, connection, in testExceptionOverwritesObject() 151 assertTrue(mContext.bindService(intent, connection, in testObjectDoubleFree()
|
D | IntentLaunchService.java | 63 bindService(innerIntent, SERVICE_CONNECTION, Context.BIND_AUTO_CREATE); in onBind()
|
D | ParcelFileDescriptorProcessTest.java | 102 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/ |
D | ServiceConnectionHandler.java | 65 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/ |
D | DynamicPermissionsTest.kt | 55 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/ |
D | SeccompDeviceTest.java | 167 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/ |
D | GwpAsanServiceTest.java | 55 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/ |
D | TestServiceActivity.java | 40 bindService(serviceIntent, new ServiceConnection() { in onCreate()
|
/cts/tests/app/src/android/app/cts/ |
D | ServiceTest.java | 616 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/ |
D | EmbeddedDexTest.java | 50 assertTrue(context.bindService(intent, conn, Context.BIND_AUTO_CREATE)); in testIsolatedService()
|
/cts/tests/tests/wifi/src/android/net/wifi/sharedconnectivity/cts/app/ |
D | SharedConnectivityManagerTest.java | 146 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/ |
D | ContextTestBase.java | 120 serviceToken = serviceRule.bindService(intent); in createTestService() 128 IBinder serviceToken = serviceRule.bindService(intent); in createWindowTestService()
|
/cts/tests/tests/binder_ndk/src/android/binder/cts/ |
D | SyncTestServiceConnection.java | 69 mContext.bindService(intent, this, Context.BIND_AUTO_CREATE); in get()
|
/cts/tests/framework/base/windowmanager/backgroundactivity/TestApp/src/android/server/wm/backgroundactivity/appa/ |
D | BindServiceActivity.java | 56 bindService(serviceIntent, mServiceConnection, flags); in onStart()
|
/cts/tests/tests/virtualdevice/applaunch/src/android/virtualdevice/cts/applaunch/ |
D | AppComponents.java | 59 IBinder serviceToken = serviceRule.bindService(intent); in startService()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | Api29InCallUtils.java | 45 boolean success = context.bindService(bindIntent, in setupControl()
|
/cts/hostsidetests/appsecurity/test-apps/KeyRotationTest/ServiceTest/src/android/appsecurity/cts/keyrotationtest/test/ |
D | SignatureQueryServiceInstrumentationTest.java | 60 IBinder binder = serviceTestRule.bindService( in setUp()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/ |
D | OpenCVLibrary.java | 122 if (context.bindService(intent, conn, Context.BIND_AUTO_CREATE)) { in probePackage()
|
/cts/tests/app/ShortFgsTest/src/android/app/cts/shortfgstest/ |
D | ServiceBinder.java | 73 mContext.bindService( in doBind()
|
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/ |
D | VoiceInteractionServiceBindingHelper.java | 98 VoiceInteractionServiceBindingHelper.this.bindService(serviceIntent, mTestServiceConnection, in onCreate()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | HeartbeatActivity.java | 93 bindService(intent, mConnection, Context.BIND_AUTO_CREATE); in startHeartbeat()
|
/cts/tests/tests/uidisolation/src/android/uidisolation/cts/ |
D | ServiceRunnerActivity.java | 106 bindService(new Intent(this, isolated in doBindService()
|