Searched refs:ControlsProviderService (Results 1 – 20 of 20) sorted by relevance
32 import android.service.controls.ControlsProviderService79 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 …]
26 import android.service.controls.ControlsProviderService113 intent.putExtra(ControlsProviderService.EXTRA_CONTROL, control) in setUp()
30 import android.service.controls.ControlsProviderService516 argThat(IntentMatcherAction(ControlsProviderService.SERVICE_CONTROLS)), in testForceReloadQueriesPackageManager()533 argThat(IntentMatcherAction(ControlsProviderService.SERVICE_CONTROLS)), in testForceReloadUpdatesList()619 ControlsProviderService.META_DATA_PANEL_ACTIVITY, in ServiceInfo()
21 import android.service.controls.ControlsProviderService119 putExtra(ControlsProviderService.EXTRA_LOCKSCREEN_ALLOW_TRIVIAL_CONTROLS, setting) in launchActivity()121 ControlsProviderService.EXTRA_CONTROLS_SURFACE, in launchActivity()122 ControlsProviderService.CONTROLS_SURFACE_DREAM in launchActivity()
29 import android.service.controls.ControlsProviderService73 intent.getParcelableExtra(ControlsProviderService.EXTRA_CONTROL, Control::class.java) in onReceive()90 putExtra(ControlsProviderService.EXTRA_CONTROL, control) in onReceive()
25 import android.service.controls.ControlsProviderService in <lambda>()47 setIntentAction(ControlsProviderService.SERVICE_CONTROLS) in <lambda>()200 val intent = Intent(ControlsProviderService.SERVICE_CONTROLS) in getCurrentServices()
28 import android.service.controls.ControlsProviderService95 control = intent.getParcelableExtra(ControlsProviderService.EXTRA_CONTROL) ?: run { in onCreate()
57 public abstract class ControlsProviderService extends Service { class261 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,
28 import android.service.controls.ControlsProviderService29 import android.service.controls.ControlsProviderService.CALLBACK_BUNDLE30 import android.service.controls.ControlsProviderService.CALLBACK_TOKEN91 private val intent = Intent(ControlsProviderService.SERVICE_CONTROLS).apply { in <lambda>()
21 import android.service.controls.ControlsProviderService
20 import android.service.controls.ControlsProviderService.CONTROLS_SURFACE_ACTIVITY_PANEL21 import android.service.controls.ControlsProviderService.CONTROLS_SURFACE_DREAM22 import android.service.controls.ControlsProviderService.EXTRA_CONTROLS_SURFACE
31 import android.service.controls.ControlsProviderService51 ?.getString(ControlsProviderService.META_DATA_PANEL_ACTIVITY) ?: ""
27 import android.service.controls.ControlsProviderService305 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()
112 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 {
25 import android.service.controls.ControlsProviderService;
24 import android.service.controls.ControlsProviderService in <lambda>()71 public class NekoControlsService : ControlsProviderService(), PrefState.PrefsListener {
34 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>()
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
40606 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";