Home
last modified time | relevance | path

Searched refs:mServiceIntent (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DAdminSecondaryLockScreenControllerTest.java68 private Intent mServiceIntent; field in AdminSecondaryLockScreenControllerTest
93 mServiceIntent = new Intent().setComponent(mComponentName); in setUp()
118 mTestController.show(mServiceIntent); in testShow()
133 mTestController.show(mServiceIntent); in testShow_dismissedByCallback()
147 mTestController.show(mServiceIntent); in testHide()
167 mTestController.show(mServiceIntent); in testDismissed_onCreateKeyguardSurface_RemoteException()
179 mTestController.show(mServiceIntent); in testDismissed_onCreateKeyguardSurface_timeout()
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DPlayerController.java48 private final Intent mServiceIntent; field in PlayerController
61 mServiceIntent = new Intent(mContext, PlayerService.class); in PlayerController()
63 mServiceIntent = serviceIntent; in PlayerController()
84 Log.d(TAG, "onResume. Binding to service with intent " + mServiceIntent.toString()); in onResume()
155 mContext.bindService(mServiceIntent, mServiceConnection, Context.BIND_AUTO_CREATE); in bindToService()
/frameworks/base/test-runner/src/android/test/
DServiceTestCase.java123 private Intent mServiceIntent = null; field in ServiceTestCase
242 mServiceIntent = intent.cloneFilter(); in bindService()
259 mService.onUnbind(mServiceIntent); in shutdownService()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/suggestions/
DSuggestionController.java58 private final Intent mServiceIntent; field in SuggestionController
75 mServiceIntent = new Intent().setComponent(service); in SuggestionController()
83 mContext.bindServiceAsUser(mServiceIntent, mServiceConnection, Context.BIND_AUTO_CREATE, in start()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DServiceTest.java73 private final Intent mServiceIntent = new Intent(mContext, RemoteService.class); field in ServiceTest
78 mContext.stopService(mServiceIntent); in tearDown()
124 if (mServiceIntent.getComponent().equals(rs.service)) { in testRestart_boundNotStickyStartedService_restarted()
163 () -> mContext.startService(mServiceIntent.putExtra(EXTRA_START_CODE, code))); in startService()
188 assertThat(mContext.bindService(mServiceIntent, mCurrentConnection, flags), is(true)); in bindService()
/frameworks/base/core/java/com/android/internal/util/
DObservableServiceConnection.java118 private final Intent mServiceIntent; field in ObservableServiceConnection
163 mServiceIntent = serviceIntent; in ObservableServiceConnection()
187 mContext.bindService(mServiceIntent, mFlags, mExecutor, this); in bind()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/service/
DObservableServiceConnection.java110 private final Intent mServiceIntent; field in ObservableServiceConnection
133 mServiceIntent = serviceIntent; in ObservableServiceConnection()
148 bindResult = mContext.bindService(mServiceIntent, mFlags, mExecutor, this); in bind()
/frameworks/base/services/tests/mockingservicestests/src/android/service/dreams/
DDreamOverlayConnectionHandlerTest.java61 private Intent mServiceIntent; field in DreamOverlayConnectionHandlerTest
77 mServiceIntent, in setUp()