Searched defs:bindService (Results 1 - 19 of 19) sorted by relevance

/frameworks/base/tests/ActivityManagerPerfTests/tests/src/com/android/frameworks/perftests/am/tests/
H A DServiceBindPerfTest.java58 private void bindService(Intent intent, ServiceConnection serviceConnection, int flags) { method in class:ServiceBindPerfTest
59 final boolean success = mContext.bindService(intent, serviceConnection, flags);
64 * Benchmark time from Context.bindService() to Service.onBind() when target package is not
74 bindService(intent, serviceConnection, Context.BIND_AUTO_CREATE);
85 * Benchmark time from Context.bindService() to Service.onBind() when target package is running.
96 bindService(intent, serviceConnection, Context.BIND_AUTO_CREATE);
107 * Benchmark time from Context.bindService() to Service.onBind() when service is already bound
124 bindService(intent, serviceConnection, Context.BIND_AUTO_CREATE);
137 * Benchmark time from Context.bindService() (without BIND_ALLOW_OOM_MANAGEMENT) to
153 bindService(intentNoOo
[all...]
/frameworks/base/test-runner/src/android/test/
H A DServiceTestCase.java56 * test methods calls {@link #startService} or {@link #bindService}. This gives you an
62 * or {@link #bindService ServiceTestCase.bindService()}, the test case calls
65 * {@link android.app.Service#bindService(Intent, ServiceConnection, int)
66 * Service.bindService(Intent, ServiceConnection, int)}, as appropriate. It also stores
90 * startService() or bindService(). The test framework provides a
128 * a test calls {@link #startService} or {@link #bindService}.
153 * by {@link #bindService}.
204 * {@link android.content.Context#bindService(Intent, ServiceConnection, int)
205 * Context.bindService(Inten
231 protected IBinder bindService(Intent intent) { method in class:ServiceTestCase
[all...]
H A DIsolatedContext.java73 public boolean bindService(Intent service, ServiceConnection conn, int flags) { method in class:IsolatedContext
/frameworks/base/core/tests/coretests/src/android/os/
H A DBinderProxyCountingTest.java123 private ServiceConnection bindService(final Consumer<IBinder> consumer, Intent intent) method in class:BinderProxyCountingTest
139 sContext.bindService(intent, connection,
199 sTestAppConnection = bindService(sTestAppConsumer, sTestAppIntent);
225 sTestAppConnection = bindService(sTestAppConsumer, sTestAppIntent);
226 sTestServiceConnection = bindService(sTestServiceConsumer, sTestServiceIntent);
262 sTestAppConnection = bindService(sTestAppConsumer, sTestAppIntent);
263 sTestServiceConnection = bindService(sTestServiceConsumer, sTestServiceIntent);
295 sTestAppConnection = bindService(sTestAppConsumer, sTestAppIntent);
296 sTestServiceConnection = bindService(sTestServiceConsumer, sTestServiceIntent);
353 sTestAppConnection = bindService(sTestAppConsume
[all...]
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetHost.java166 bindService(context);
169 private static void bindService(Context context) { method in class:AppWidgetHost
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
H A DTileServiceManager.java125 bindService();
155 bindService();
167 private void bindService() { method in class:TileServiceManager
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DNetworkRegistrationManager.java68 bindService();
177 private boolean bindService() { method in class:NetworkRegistrationManager
183 return mPhone.getContext().bindService(intent, new NetworkServiceConnection(),
186 loge("bindService failed " + e);
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
H A DConnOnActivityStartTest.java116 bindService();
129 private static void bindService() throws Exception { method in class:ConnOnActivityStartTest
148 mContext.bindService(intent, mServiceConnection,
/frameworks/base/tests/testables/src/android/testing/
H A DTestableContext.java215 * Adds a mock service to be connected to by a bindService call.
233 public boolean bindService(Intent service, ServiceConnection conn, int flags) { method in class:TestableContext
236 return super.bindService(service, conn, flags);
/frameworks/base/services/core/java/com/android/server/policy/keyguard/
H A DKeyguardServiceDelegate.java138 public void bindService(Context context) { method in class:KeyguardServiceDelegate
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DContextFixture.java181 public boolean bindService( method in class:ContextFixture.FakeContext
/frameworks/base/core/java/android/content/
H A DContextWrapper.java696 public boolean bindService(Intent service, ServiceConnection conn, method in class:ContextWrapper
698 return mBase.bindService(service, conn, flags);
H A DContext.java240 * Flag for {@link #bindService}: automatically create the service as long
263 * Flag for {@link #bindService}: include debugging help for mismatched
273 * Flag for {@link #bindService}: don't allow this binding to raise
285 * Flag for {@link #bindService}: indicates that the client application
294 * Flag for {@link #bindService}: allow the process hosting the bound
304 * Flag for {@link #bindService}: don't impact the scheduling or
312 * Flag for {@link #bindService}: this service is very important to
320 * Flag for {@link #bindService}: If binding from an activity, allow the
329 * @hide Flag for {@link #bindService}: allows binding to a service provided
338 * @hide Flag for {@link #bindService}
2902 public abstract boolean bindService(@RequiresPermission Intent service, method in class:Context
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DBluetoothManagerService.java1050 if (!psc.bindService()) {
1163 private boolean bindService() { method in class:BluetoothManagerService.ProfileServiceConnections
1616 psc.bindService();
/frameworks/base/test-mock/src/android/test/mock/
H A DMockContext.java575 public boolean bindService(Intent service, ServiceConnection conn, int flags) { method in class:MockContext
/frameworks/base/core/java/android/app/
H A DContextImpl.java136 public boolean bindService(Intent service, ServiceConnection conn, int flags) { method in class:ReceiverRestrictedContext
1609 public boolean bindService(Intent service, ServiceConnection conn, method in class:ContextImpl
1672 int res = ActivityManager.getService().bindService(
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeContext.java1241 public boolean bindService(Intent arg0, ServiceConnection arg1, int arg2) { method in class:BridgeContext
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
H A DAppWidgetServiceImpl.java1303 if(ActivityManager.getService().bindService(
2028 bindService(intent, connection, new UserHandle(userId));
3493 private void bindService(Intent intent, ServiceConnection connection, method in class:AppWidgetServiceImpl
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerService.java20492 public int bindService(IApplicationThread caller, IBinder token, Intent service, method in class:ActivityManagerService
20495 enforceNotIsolatedCaller("bindService");
[all...]

Completed in 1657 milliseconds