Home
last modified time | relevance | path

Searched refs:ControlsProviderService (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/
DControlsRequestReceiverTest.kt32 import android.service.controls.ControlsProviderService
79 intent = Intent(ControlsProviderService.ACTION_ADD_CONTROL).apply { in setUp()
81 putExtra(ControlsProviderService.EXTRA_CONTROL, control) in setUp()
146 assertEquals(control, it.getParcelableExtra(ControlsProviderService.EXTRA_CONTROL)) in testOnReceive_OK()
162 val badIntent = Intent(ControlsProviderService.ACTION_ADD_CONTROL).apply { in testClassCastExceptionComponentName_noCrash()
164 putExtra(ControlsProviderService.EXTRA_CONTROL, control) in testClassCastExceptionComponentName_noCrash()
173 val badIntent = Intent(ControlsProviderService.ACTION_ADD_CONTROL).apply { in testClassCastExceptionControl_noCrash()
175 putExtra(ControlsProviderService.EXTRA_CONTROL, Intent()) in testClassCastExceptionControl_noCrash()
186 putParcelable(ControlsProviderService.EXTRA_CONTROL, control) in testClassNotFoundExceptionComponent_noCrash()
193 val badIntent = Intent(ControlsProviderService.ACTION_ADD_CONTROL).apply { in testClassNotFoundExceptionComponent_noCrash()
[all …]
DControlsRequestDialogTest.kt26 import android.service.controls.ControlsProviderService
113 intent.putExtra(ControlsProviderService.EXTRA_CONTROL, control) in setUp()
DControlsListingControllerImplTest.kt30 import android.service.controls.ControlsProviderService
516 argThat(IntentMatcherAction(ControlsProviderService.SERVICE_CONTROLS)), in testForceReloadQueriesPackageManager()
533 argThat(IntentMatcherAction(ControlsProviderService.SERVICE_CONTROLS)), in testForceReloadUpdatesList()
619 ControlsProviderService.META_DATA_PANEL_ACTIVITY, in ServiceInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/homecontrols/
DHomeControlsDreamService.kt21 import android.service.controls.ControlsProviderService
119 putExtra(ControlsProviderService.EXTRA_LOCKSCREEN_ALLOW_TRIVIAL_CONTROLS, setting) in launchActivity()
121 ControlsProviderService.EXTRA_CONTROLS_SURFACE, in launchActivity()
122 ControlsProviderService.CONTROLS_SURFACE_DREAM in launchActivity()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
DControlsRequestReceiver.kt29 import android.service.controls.ControlsProviderService
73 intent.getParcelableExtra(ControlsProviderService.EXTRA_CONTROL, Control::class.java) in onReceive()
90 putExtra(ControlsProviderService.EXTRA_CONTROL, control) in onReceive()
DControlsListingControllerImpl.kt25 import android.service.controls.ControlsProviderService in <lambda>()
47 setIntentAction(ControlsProviderService.SERVICE_CONTROLS) in <lambda>()
200 val intent = Intent(ControlsProviderService.SERVICE_CONTROLS) in getCurrentServices()
DControlsRequestDialog.kt28 import android.service.controls.ControlsProviderService
95 control = intent.getParcelableExtra(ControlsProviderService.EXTRA_CONTROL) ?: run { in onCreate()
/frameworks/base/core/java/android/service/controls/
DControlsProviderService.java57 public abstract class ControlsProviderService extends Service { class
261 ControlsProviderService.this.createPublisherForAllAvailable().subscribe(proxy);
270 ControlsProviderService.this.createPublisherForSuggested();
283 ControlsProviderService.this, false, mToken, sMsg.mSubscriber);
285 ControlsProviderService.this.createPublisherFor(sMsg.mControlIds)
292 ControlsProviderService.this.performControlAction(aMsg.mControlId,
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/controller/
DControlsProviderLifecycleManager.kt28 import android.service.controls.ControlsProviderService
29 import android.service.controls.ControlsProviderService.CALLBACK_BUNDLE
30 import android.service.controls.ControlsProviderService.CALLBACK_TOKEN
91 private val intent = Intent(ControlsProviderService.SERVICE_CONTROLS).apply { in <lambda>()
DControlsBindingController.kt21 import android.service.controls.ControlsProviderService
DControlsController.kt21 import android.service.controls.ControlsProviderService
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/dreams/homecontrols/
DHomeControlsDreamServiceTest.kt20 import android.service.controls.ControlsProviderService.CONTROLS_SURFACE_ACTIVITY_PANEL
21 import android.service.controls.ControlsProviderService.CONTROLS_SURFACE_DREAM
22 import android.service.controls.ControlsProviderService.EXTRA_CONTROLS_SURFACE
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/
DControlsServiceInfo.kt31 import android.service.controls.ControlsProviderService
51 ?.getString(ControlsProviderService.META_DATA_PANEL_ACTIVITY) ?: ""
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/ui/
DControlsUiControllerImplTest.kt27 import android.service.controls.ControlsProviderService
305 ControlsProviderService.EXTRA_LOCKSCREEN_ALLOW_TRIVIAL_CONTROLS, in testPanelControllerStartActivityWithCorrectArguments()
311 assertThat(intent.getIntExtra(ControlsProviderService.EXTRA_CONTROLS_SURFACE, -10)) in testPanelControllerStartActivityWithCorrectArguments()
343 ControlsProviderService.EXTRA_LOCKSCREEN_ALLOW_TRIVIAL_CONTROLS, in testPanelControllerStartActivityWithHomePanelDreamEnabled()
349 assertThat(intent.getIntExtra(ControlsProviderService.EXTRA_CONTROLS_SURFACE, -10)) in testPanelControllerStartActivityWithHomePanelDreamEnabled()
350 .isEqualTo(ControlsProviderService.CONTROLS_SURFACE_ACTIVITY_PANEL) in testPanelControllerStartActivityWithHomePanelDreamEnabled()
376 ControlsProviderService.EXTRA_LOCKSCREEN_ALLOW_TRIVIAL_CONTROLS, in testPendingIntentExtrasAreModified()
395 ControlsProviderService.EXTRA_LOCKSCREEN_ALLOW_TRIVIAL_CONTROLS, in testPendingIntentExtrasAreModified()
/frameworks/base/core/tests/coretests/src/android/service/controls/
DControlProviderServiceTest.java112 b.putBinder(ControlsProviderService.CALLBACK_TOKEN, mToken); in setUp()
114 intent.putExtra(ControlsProviderService.CALLBACK_BUNDLE, b); in setUp()
301 ControlsProviderService.requestAddControl(mContext, TEST_COMPONENT, control); in testRequestAdd()
306 assertEquals(ControlsProviderService.ACTION_ADD_CONTROL, intent.getAction()); in testRequestAdd()
310 intent.getParcelableExtra(ControlsProviderService.EXTRA_CONTROL))); in testRequestAdd()
369 static class FakeControlsProviderService extends ControlsProviderService {
/frameworks/base/core/java/android/service/controls/actions/
DControlAction.java25 import android.service.controls.ControlsProviderService;
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DNekoControlsService.kt24 import android.service.controls.ControlsProviderService in <lambda>()
71 public class NekoControlsService : ControlsProviderService(), PrefState.PrefsListener {
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DControlsUiControllerImpl.kt34 import android.service.controls.ControlsProviderService in <lambda>()
478 ControlsProviderService.EXTRA_LOCKSCREEN_ALLOW_TRIVIAL_CONTROLS, in <lambda>()
482 putExtra(ControlsProviderService.EXTRA_CONTROLS_SURFACE, in <lambda>()
483 ControlsProviderService.CONTROLS_SURFACE_ACTIVITY_PANEL) in <lambda>()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt40606 public abstract class ControlsProviderService extends android.app.Service {
40607 ctor public ControlsProviderService();
40620 …d public static final String SERVICE_CONTROLS = "android.service.controls.ControlsProviderService";
40621 field @NonNull public static final String TAG = "ControlsProviderService";