Home
last modified time | relevance | path

Searched refs:BIND_AUTO_CREATE (Results 1 – 25 of 115) 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()
DBinderThreadPriorityTest.java64 mConnection, Context.BIND_AUTO_CREATE); in setUp()
/frameworks/opt/telephony/src/java/android/telephony/
DCarrierMessagingServiceManager.java65 Context.BIND_AUTO_CREATE); in bindToCarrierMessagingService()
/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/services/systemcaptions/java/com/android/server/systemcaptions/
DRemoteSystemCaptionsManagerService.java111 int flags = Context.BIND_AUTO_CREATE | Context.BIND_FOREGROUND_SERVICE; in ensureBound()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/suggestions/
DSuggestionController.java83 mContext.bindServiceAsUser(mServiceIntent, mServiceConnection, Context.BIND_AUTO_CREATE, in start()
/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/opt/telephony/src/java/com/android/internal/telephony/ims/
DImsServiceFeatureQueryManager.java58 int serviceFlags = Context.BIND_AUTO_CREATE | Context.BIND_FOREGROUND_SERVICE in start()
/frameworks/base/services/core/java/com/android/server/connectivity/
DPacManager.java341 Context.BIND_AUTO_CREATE | Context.BIND_NOT_FOREGROUND | Context.BIND_NOT_VISIBLE); in bind()
379 Context.BIND_AUTO_CREATE | Context.BIND_NOT_FOREGROUND | Context.BIND_NOT_VISIBLE); in bind()
/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/core/java/com/android/internal/util/
DScreenshotHelper.java115 Context.BIND_AUTO_CREATE | Context.BIND_FOREGROUND_SERVICE_WHILE_AWAKE, in takeScreenshot()
/frameworks/base/tests/ActivityManagerPerfTests/tests/src/com/android/frameworks/perftests/am/util/
DTargetPackageUtils.java127 Context.BIND_AUTO_CREATE | bindFlags); in bindAndWaitForConnectedService()
/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/telephony/java/android/telephony/mbms/
DMbmsUtils.java129 context.bindService(bindIntent, serviceConnection, Context.BIND_AUTO_CREATE); in startBinding()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkScoreServiceTest.java886 eq(Context.BIND_AUTO_CREATE | Context.BIND_FOREGROUND_SERVICE), in testServiceConnection_bind_notBound()
899 eq(Context.BIND_AUTO_CREATE | Context.BIND_FOREGROUND_SERVICE), in testServiceConnection_bind_alreadyBound()
910 eq(Context.BIND_AUTO_CREATE | Context.BIND_FOREGROUND_SERVICE), in testServiceConnection_bind_alreadyBound()
923 eq(Context.BIND_AUTO_CREATE | Context.BIND_FOREGROUND_SERVICE), in testServiceConnection_bindFails()
950 eq(Context.BIND_AUTO_CREATE | Context.BIND_FOREGROUND_SERVICE), in testServiceConnection_unbind_alreadyBound()
/frameworks/base/media/java/android/media/
DMediaScannerConnection.java119 mContext.bindService(intent, this, Context.BIND_AUTO_CREATE); in connect()

12345