/aosp12/packages/services/Car/service/src/com/android/car/user/ |
H A D | CarUserNoticeService.java | 86 private final Intent mServiceIntent; field in CarUserNoticeService 228 mServiceIntent = null; in CarUserNoticeService() 232 mServiceIntent = new Intent(); in CarUserNoticeService() 233 mServiceIntent.setComponent(ComponentName.unflattenFromString(componentName)); in CarUserNoticeService() 279 String packageName = mServiceIntent.getComponent().getPackageName(); in grantSystemAlertWindowPermission() 356 boolean bound = mContext.bindServiceAsUser(mServiceIntent, mUiServiceConnection, in startNoticeUiIfNecessary() 359 Slog.i(TAG, "Bound UserNoticeUI Service: " + mServiceIntent); in startNoticeUiIfNecessary() 388 if (mServiceIntent == null) { in init() 414 if (mServiceIntent == null) { in release() 434 if (mServiceIntent == null) { in dump() [all …]
|
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
H A D | AdminSecondaryLockScreenControllerTest.java | 66 private Intent mServiceIntent; field in AdminSecondaryLockScreenControllerTest 90 mServiceIntent = new Intent().setComponent(mComponentName); in setUp() 115 mTestController.show(mServiceIntent); in testShow() 130 mTestController.show(mServiceIntent); in testShow_dismissedByCallback() 144 mTestController.show(mServiceIntent); in testHide() 164 mTestController.show(mServiceIntent); in testDismissed_onCreateKeyguardSurface_RemoteException() 176 mTestController.show(mServiceIntent); in testDismissed_onCreateKeyguardSurface_timeout()
|
/aosp12/packages/apps/Car/libs/car-media-common/tests/robotests/src/com/android/car/media/common/source/ |
H A D | MediaSourcesProviderTest.java | 70 private Intent mServiceIntent; field in MediaSourcesProviderTest 79 mServiceIntent = new Intent(MediaBrowserService.SERVICE_INTERFACE); in setUp() 183 packageManager.removeResolveInfosForIntent(mServiceIntent, TEST_SERVICE_PACKAGE_1); in setPackageManagerResolveInfos() 184 packageManager.removeResolveInfosForIntent(mServiceIntent, TEST_SERVICE_PACKAGE_2); in setPackageManagerResolveInfos() 185 packageManager.removeResolveInfosForIntent(mServiceIntent, in setPackageManagerResolveInfos() 190 packageManager.addResolveInfoForIntent(mServiceIntent, serviceResolveInfo); in setPackageManagerResolveInfos() 192 Intent intent = new Intent(mServiceIntent); in setPackageManagerResolveInfos()
|
/aosp12/frameworks/base/tests/OneMedia/src/com/android/onemedia/ |
H A D | PlayerController.java | 48 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()
|
/aosp12/frameworks/base/test-runner/src/android/test/ |
H A D | ServiceTestCase.java | 123 private Intent mServiceIntent = null; field in ServiceTestCase 242 mServiceIntent = intent.cloneFilter(); in bindService() 259 mService.onUnbind(mServiceIntent); in shutdownService()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | ServiceTest.java | 73 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()
|
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/suggestions/ |
H A D | SuggestionController.java | 58 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()
|