Searched refs:bindService (Results 1 - 25 of 42) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DServiceTest.java239 getContext().bindService(service, conn, 0);
244 getContext().bindService(service, conn2, 0);
274 getContext().bindService(service, conn, 0);
304 getContext().bindService(service, conn, 0);
328 getContext().bindService(service, conn, 0);
345 getContext().bindService(
366 getContext().bindService(service, conn, Context.BIND_AUTO_CREATE);
459 getContext().bindService(
H A DLocalReceiver.java55 context.bindService(new Intent(context, LocalService.class), sc, 0);
/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/
H A DFakeApp.java135 bindService(new Intent(this, FakeCoreService.class), mServiceConnection,
137 bindService(new Intent(this, FakeCoreService2.class), mServiceConnection2,
139 bindService(new Intent(this, FakeCoreService3.class), mServiceConnection3,
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetHost.java136 bindService();
140 private static void bindService() { method in class:AppWidgetHost
222 bindService();
238 bindService();
281 bindService();
/frameworks/base/core/tests/coretests/src/android/os/
H A DMessengerTest.java96 getContext().bindService(new Intent(mContext, MessengerService.class),
H A DBinderThreadPriorityTest.java63 getContext().bindService(
/frameworks/base/packages/Keyguard/test/src/com/android/keyguard/test/
H A DKeyguardTestActivity.java126 private void bindService() { method in class:KeyguardTestActivity
132 if (!bindService(intent, mConnection, Context.BIND_AUTO_CREATE)) {
152 bindService();
/frameworks/base/test-runner/src/android/test/
H A DServiceTestCase.java58 * test methods calls {@link #startService} or {@link #bindService}. This gives you an
64 * or {@link #bindService ServiceTestCase.bindService()}, the test case calls
67 * {@link android.app.Service#bindService(Intent, ServiceConnection, int)
68 * Service.bindService(Intent, ServiceConnection, int)}, as appropriate. It also stores
92 * startService() or bindService(). The test framework provides a
124 * a test calls {@link #startService} or {@link #bindService}.
149 * by {@link #bindService}.
206 * {@link android.content.Context#bindService(Intent, ServiceConnection, int)
207 * Context.bindService(Inten
233 protected IBinder bindService(Intent intent) { method in class:ServiceTestCase
[all...]
H A DIsolatedContext.java80 public boolean bindService(Intent service, ServiceConnection conn, int flags) { method in class:IsolatedContext
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DBordeauxManagerService.java57 context.bindService(new Intent(IBordeauxService.class.getName()),
/frameworks/testing/uiautomator/utils/SleepUtils/SleepHelper/src/com/android/testing/sleephelper/
H A DSetAlarm.java115 if (!getContext().bindService(mServceIntent, mConn, Context.BIND_AUTO_CREATE)) {
/frameworks/base/media/java/android/media/
H A DMediaScannerConnection.java119 mContext.bindService(intent, this, Context.BIND_AUTO_CREATE);
/frameworks/base/services/java/com/android/server/connectivity/
H A DPacManager.java313 mContext.bindService(intent, mConnection,
351 mContext.bindService(intent, mProxyConnection,
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothPan.java140 if (VDBG) Log.d(TAG, "BluetoothPan() call bindService");
142 if (VDBG) Log.d(TAG, "BluetoothPan(), bindService called");
149 if (comp == null || !mContext.bindService(intent, mConnection, 0)) {
191 Log.d(TAG, "onBluetoothStateChange(on) call bindService");
193 if (VDBG) Log.d(TAG, "BluetoothPan(), bindService called");
H A DBluetoothPbap.java164 if (comp == null || !mContext.bindService(intent, mConnection, 0)) {
H A DBluetoothA2dp.java165 if (comp == null || !mContext.bindService(intent, mConnection, 0)) {
H A DBluetoothHealth.java491 if (comp == null || !mContext.bindService(intent, mConnection, 0)) {
H A DBluetoothMap.java109 if (comp == null || !mContext.bindService(intent, mConnection, 0)) {
H A DBluetoothInputDevice.java245 if (comp == null || !mContext.bindService(intent, mConnection, 0)) {
/frameworks/base/keystore/java/android/security/
H A DKeyChain.java451 boolean isBound = context.bindService(intent,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DServiceMonitor.java240 mBound = mContext.bindService(intent, mServiceConnection, Context.BIND_AUTO_CREATE);
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/
H A DClientTest.java163 this.bindService(new Intent(IWapPushManager.class.getName()), conn,
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DWapPushOverSms.java64 if (comp == null || !context.bindService(intent, this, Context.BIND_AUTO_CREATE)) {
65 Rlog.e(TAG, "bindService() for wappush manager failed");
67 if (DBG) Rlog.v(TAG, "bindService() for wappush manager succeeded");
/frameworks/base/core/java/android/content/
H A DContextWrapper.java515 public boolean bindService(Intent service, ServiceConnection conn, method in class:ContextWrapper
517 return mBase.bindService(service, conn, flags);
/frameworks/base/core/java/android/speech/
H A DSpeechRecognizer.java287 if (!mContext.bindService(serviceIntent, mConnection, Context.BIND_AUTO_CREATE)) {

Completed in 704 milliseconds

12