Home
last modified time | relevance | path

Searched refs:BIND_AUTO_CREATE (Results 1 – 25 of 119) sorted by relevance

12345

/frameworks/base/tests/ActivityManagerPerfTests/tests/src/com/android/frameworks/perftests/am/tests/
DServiceBindPerfTest.java75 bindService(intent, serviceConnection, Context.BIND_AUTO_CREATE);
97 bindService(intent, serviceConnection, Context.BIND_AUTO_CREATE);
125 bindService(intent, serviceConnection, Context.BIND_AUTO_CREATE);
154 bindService(intentNoOom, serviceConnectionNoOom, Context.BIND_AUTO_CREATE);
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DPrintSpoolerProvider.java19 import static android.content.Context.BIND_AUTO_CREATE;
37 mContext.bindService(intent, this, BIND_AUTO_CREATE); in PrintSpoolerProvider()
/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/
DFakeApp.java136 Context.BIND_AUTO_CREATE); in onCreate()
138 Context.BIND_AUTO_CREATE); in onCreate()
140 Context.BIND_AUTO_CREATE); in onCreate()
/frameworks/base/services/core/java/com/android/server/am/
DIntentBindRecord.java99 if ((collectFlags()&Context.BIND_AUTO_CREATE) != 0) { in toString()
121 (collectFlags()&Context.BIND_AUTO_CREATE) != 0); in writeToProto()
DConnectionRecord.java53 Context.BIND_AUTO_CREATE,
171 if ((flags&Context.BIND_AUTO_CREATE) != 0) { in toString()
/frameworks/base/core/tests/coretests/src/android/os/
DBinderWorkSourceTest.java83 mConnection, Context.BIND_AUTO_CREATE); in setUp()
86 mNestedConnection, Context.BIND_AUTO_CREATE); in setUp()
DBinderWorkSourceNestedService.java66 mConnection, Context.BIND_AUTO_CREATE);
DMessengerTest.java93 mConnection, Context.BIND_AUTO_CREATE); in setUp()
DBinderProxyTest.java116 Context.BIND_AUTO_CREATE); in testGetExtension()
DBinderThreadPriorityTest.java64 mConnection, Context.BIND_AUTO_CREATE); in setUp()
/frameworks/base/tests/ServiceCrashTest/src/com/android/tests/servicecrashtest/
DMainActivity.java66 bindService(intent, mServiceConnection, Service.BIND_AUTO_CREATE); in onResume()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DServiceTest.java345 service, conn, Context.BIND_AUTO_CREATE); in bindAutoExpectResult()
365 getContext().bindService(service, conn, Context.BIND_AUTO_CREATE); in bindExpectNoPermission()
/frameworks/base/tests/net/integration/src/com/android/server/net/integrationtests/
DConnectivityServiceIntegrationTest.kt21 import android.content.Context.BIND_AUTO_CREATE
144 BIND_AUTO_CREATE or BIND_IMPORTANT), in onServiceDisconnected()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/suggestions/
DSuggestionController.java83 mContext.bindServiceAsUser(mServiceIntent, mServiceConnection, Context.BIND_AUTO_CREATE, in start()
/frameworks/base/services/systemcaptions/java/com/android/server/systemcaptions/
DRemoteSystemCaptionsManagerService.java111 int flags = Context.BIND_AUTO_CREATE | Context.BIND_FOREGROUND_SERVICE; in ensureBound()
/frameworks/base/services/core/java/com/android/server/connectivity/
DPacManager.java330 Context.BIND_AUTO_CREATE | Context.BIND_NOT_FOREGROUND | Context.BIND_NOT_VISIBLE); in bind()
368 Context.BIND_AUTO_CREATE | Context.BIND_NOT_FOREGROUND | Context.BIND_NOT_VISIBLE); in bind()
/frameworks/base/services/core/java/com/android/server/location/
DGeofenceProxy.java101 new GeofenceProxyServiceConnection(), Context.BIND_AUTO_CREATE, in bind()
/frameworks/base/core/tests/utiltests/src/android/util/
DRemoteIntArray.java120 InstrumentationRegistry.getContext().bindService(mIntent, this, Context.BIND_AUTO_CREATE); in bindLocked()
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DActivityTestMain.java241 if (bindService(intent, conn, Context.BIND_AUTO_CREATE)) { in onCreateOptionsMenu()
276 if (bindService(intent, conn, Context.BIND_AUTO_CREATE)) { in onCreateOptionsMenu()
343 if (bindServiceAsUser(intent, conn, Context.BIND_AUTO_CREATE, UserHandle.SYSTEM)) { in onCreateOptionsMenu()
366 if (bindServiceAsUser(intent, conn, Context.BIND_AUTO_CREATE, in onCreateOptionsMenu()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkScoreServiceTest.java887 eq(Context.BIND_AUTO_CREATE | Context.BIND_FOREGROUND_SERVICE), in testServiceConnection_bind_notBound()
900 eq(Context.BIND_AUTO_CREATE | Context.BIND_FOREGROUND_SERVICE), in testServiceConnection_bind_alreadyBound()
911 eq(Context.BIND_AUTO_CREATE | Context.BIND_FOREGROUND_SERVICE), in testServiceConnection_bind_alreadyBound()
924 eq(Context.BIND_AUTO_CREATE | Context.BIND_FOREGROUND_SERVICE), in testServiceConnection_bindFails()
951 eq(Context.BIND_AUTO_CREATE | Context.BIND_FOREGROUND_SERVICE), in testServiceConnection_unbind_alreadyBound()
/frameworks/base/telephony/java/android/telephony/mbms/
DMbmsUtils.java129 context.bindService(bindIntent, serviceConnection, Context.BIND_AUTO_CREATE); in startBinding()
/frameworks/base/apct-tests/perftests/core/src/android/os/
DStrictModeTest.java123 new Intent(context, SomeService.class), connection, Context.BIND_AUTO_CREATE); in causeCrossProcessThreadViolations()
/frameworks/base/tests/ActivityManagerPerfTests/tests/src/com/android/frameworks/perftests/am/util/
DTargetPackageUtils.java127 Context.BIND_AUTO_CREATE | bindFlags); in bindAndWaitForConnectedService()
/frameworks/base/media/java/android/media/
DMediaScannerConnection.java119 mContext.bindService(intent, this, Context.BIND_AUTO_CREATE); in connect()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DImsServiceFeatureQueryManager.java59 int serviceFlags = Context.BIND_AUTO_CREATE | Context.BIND_FOREGROUND_SERVICE in start()

12345