Home
last modified time | relevance | path

Searched refs:newComponent (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Car/Launcher/docklib/tests/src/com/android/car/docklib/
DDockViewModelTest.kt143 val newComponent = createNewComponent(pkg = "newpkg", clazz = "newclass") in <lambda>() constant
146 model.addDynamicItem(newComponent) in <lambda>()
148 assertThat(items[0].component).isEqualTo(newComponent) in <lambda>()
153 val newComponent = createNewComponent(pkg = "newpkg", clazz = "newclass") in <lambda>() constant
161 model.addDynamicItem(newComponent) in <lambda>()
164 assertThat(items[0].component).isEqualTo(newComponent) in <lambda>()
186 val newComponent = createNewComponent(pkg = "newpkg", clazz = "newclass") in <lambda>() constant
195 model.addDynamicItem(newComponent) in <lambda>()
198 assertThat(items[1].component).isEqualTo(newComponent) in <lambda>()
237 val newComponent = createNewComponent(pkg = "newpkg", clazz = "newclass") in <lambda>() constant
[all …]
/packages/apps/Car/VoiceControl/src/com/android/car/voicecontrol/actuators/
DMediaActuator.java311 private void onMediaSourceChanged(@Nullable ComponentName newComponent) { in onMediaSourceChanged() argument
312 Log.d(TAG, "onMediaSourceChanged: " + newComponent); in onMediaSourceChanged()
313 mCurrentSource = newComponent != null ? MediaSource.create(mContext, newComponent) : null; in onMediaSourceChanged()
315 if (newComponent == null in onMediaSourceChanged()
316 || newComponent.equals(RadioActuator.getRadioComponentName(mPackageManager))) { in onMediaSourceChanged()