/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/smartspace/data/repository/ |
D | FakeSmartspaceRepository.kt | 3 import android.app.smartspace.SmartspaceTarget 13 private val _communalSmartspaceTargets: MutableStateFlow<List<SmartspaceTarget>> = 15 override val communalSmartspaceTargets: Flow<List<SmartspaceTarget>> = 18 fun setCommunalSmartspaceTargets(targets: List<SmartspaceTarget>) { in setCommunalSmartspaceTargets()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/smartspace/data/repository/ |
D | SmartspaceRepository.kt | 19 import android.app.smartspace.SmartspaceTarget in <lambda>() 38 val communalSmartspaceTargets: Flow<List<SmartspaceTarget>> in <lambda>() 52 private val _communalSmartspaceTargets: MutableStateFlow<List<SmartspaceTarget>> = 54 override val communalSmartspaceTargets: Flow<List<SmartspaceTarget>> = 73 _communalSmartspaceTargets.value = targets.filterIsInstance<SmartspaceTarget>() in onSmartspaceTargetsUpdated()
|
/frameworks/base/core/java/android/app/smartspace/ |
D | SmartspaceTargetEvent.java | 82 private final SmartspaceTarget mSmartspaceTarget; 90 private SmartspaceTargetEvent(@Nullable SmartspaceTarget smartspaceTarget, in SmartspaceTargetEvent() 99 … mSmartspaceTarget = parcel.readParcelable(null, android.app.smartspace.SmartspaceTarget.class); in SmartspaceTargetEvent() 108 public SmartspaceTarget getSmartspaceTarget() { in getSmartspaceTarget() 176 private SmartspaceTarget mSmartspaceTarget; 191 public Builder setSmartspaceTarget(@NonNull SmartspaceTarget smartspaceTarget) { in setSmartspaceTarget()
|
D | SmartspaceTarget.java | 55 public final class SmartspaceTarget implements Parcelable { class 279 private SmartspaceTarget(Parcel in) { in SmartspaceTarget() method in SmartspaceTarget 301 private SmartspaceTarget(String smartspaceTargetId, in SmartspaceTarget() method in SmartspaceTarget 485 public static final Creator<SmartspaceTarget> CREATOR = new Creator<SmartspaceTarget>() { 487 public SmartspaceTarget createFromParcel(Parcel source) { 488 return new SmartspaceTarget(source); 492 public SmartspaceTarget[] newArray(int size) { 493 return new SmartspaceTarget[size]; 554 SmartspaceTarget that = (SmartspaceTarget) o; in equals() 801 public SmartspaceTarget build() { in build() [all …]
|
D | SmartspaceSession.java | 258 void onTargetsAvailable(@NonNull List<SmartspaceTarget> targets); in onTargetsAvailable() 263 private final Consumer<List<SmartspaceTarget>> mCallback; 267 @NonNull Consumer<List<SmartspaceTarget>> callback) { in CallbackWrapper()
|
D | SmartspaceTarget.aidl | 19 parcelable SmartspaceTarget;
|
D | flags.aconfig | 8 description: "Flag to enable the FlaggedApi to include RemoteViews in SmartspaceTarget"
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/smartspace/ |
D | SmartspaceTargetFilter.kt | 18 import android.app.smartspace.SmartspaceTarget 48 fun filterSmartspaceTarget(t: SmartspaceTarget): Boolean
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
D | SmartspaceDedupingCoordinatorTest.kt | 19 import android.app.smartspace.SmartspaceTarget 74 private lateinit var target1: SmartspaceTarget 75 private lateinit var target2: SmartspaceTarget 76 private lateinit var target4: SmartspaceTarget 349 private fun buildTargetFor(entry: NotificationEntry): SmartspaceTarget { in buildTargetFor() 350 return SmartspaceTarget in buildTargetFor() 377 private fun sendTargets(vararg targets: SmartspaceTarget) { in sendTargets()
|
/frameworks/base/core/java/android/app/smartspace/uitemplatedata/ |
D | CombinedCardsTemplateData.java | 22 import android.app.smartspace.SmartspaceTarget; 53 private CombinedCardsTemplateData(@SmartspaceTarget.UiTemplateType int templateType, in CombinedCardsTemplateData() 136 super(SmartspaceTarget.UI_TEMPLATE_COMBINED_CARDS); in Builder()
|
D | SubImageTemplateData.java | 22 import android.app.smartspace.SmartspaceTarget; 62 private SubImageTemplateData(@SmartspaceTarget.UiTemplateType int templateType, in SubImageTemplateData() 173 super(SmartspaceTarget.UI_TEMPLATE_SUB_IMAGE); in Builder()
|
D | SubListTemplateData.java | 22 import android.app.smartspace.SmartspaceTarget; 61 private SubListTemplateData(@SmartspaceTarget.UiTemplateType int templateType, in SubListTemplateData() 168 super(SmartspaceTarget.UI_TEMPLATE_SUB_LIST); in Builder()
|
D | HeadToHeadTemplateData.java | 22 import android.app.smartspace.SmartspaceTarget; 68 private HeadToHeadTemplateData(@SmartspaceTarget.UiTemplateType int templateType, in HeadToHeadTemplateData() 218 super(SmartspaceTarget.UI_TEMPLATE_HEAD_TO_HEAD); in Builder()
|
D | SubCardTemplateData.java | 22 import android.app.smartspace.SmartspaceTarget; 168 super(SmartspaceTarget.UI_TEMPLATE_SUB_CARD); in Builder()
|
D | CarouselTemplateData.java | 22 import android.app.smartspace.SmartspaceTarget; 58 private CarouselTemplateData(@SmartspaceTarget.UiTemplateType int templateType, in CarouselTemplateData() 154 super(SmartspaceTarget.UI_TEMPLATE_CAROUSEL); in Builder()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/shared/model/ |
D | SmartspaceMediaDataProvider.kt | 19 import android.app.smartspace.SmartspaceTarget 42 override fun onTargetsAvailable(targets: List<SmartspaceTarget>) { in onTargetsAvailable()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/smartspace/ |
D | CommunalSmartspaceControllerTest.kt | 20 import android.app.smartspace.SmartspaceTarget 99 override fun setMediaTarget(target: SmartspaceTarget?) {} in setMediaTarget() 142 var target = Mockito.mock(SmartspaceTarget::class.java) in testConnectOnListen() 146 withArgCaptor<List<SmartspaceTarget>> { verify(plugin).onTargetsAvailable(capture()) } in testConnectOnListen()
|
D | DreamSmartspaceControllerTest.kt | 20 import android.app.smartspace.SmartspaceTarget 132 override fun setMediaTarget(target: SmartspaceTarget?) {} in setMediaTarget() 171 var target = Mockito.mock(SmartspaceTarget::class.java) in testConnectOnListen() 174 var targets = withArgCaptor<List<SmartspaceTarget>> { in testConnectOnListen()
|
/frameworks/base/packages/SystemUI/plugin/bcsmartspace/src/com/android/systemui/plugins/ |
D | BcSmartspaceDataPlugin.java | 21 import android.app.smartspace.SmartspaceTarget; 95 default void onTargetsAvailable(List<SmartspaceTarget> targets) { in onTargetsAvailable() 185 default void setMediaTarget(@Nullable SmartspaceTarget target) { in setMediaTarget()
|
/frameworks/base/core/java/android/service/smartspace/ |
D | SmartspaceService.java | 29 import android.app.smartspace.SmartspaceTarget; 263 @NonNull List<SmartspaceTarget> targets) { in updateSmartspaceTargets() 281 private static final class CallbackWrapper implements Consumer<List<SmartspaceTarget>>, 309 public void accept(List<SmartspaceTarget> smartspaceTargets) { in accept()
|
D | ISmartspaceService.aidl | 19 import android.app.smartspace.SmartspaceTarget;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/smartspace/filters/ |
D | LockscreenTargetFilter.kt | 18 import android.app.smartspace.SmartspaceTarget 103 override fun filterSmartspaceTarget(t: SmartspaceTarget): Boolean { in filterSmartspaceTarget()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/lockscreen/ |
D | LockscreenSmartspaceControllerTest.kt | 23 import android.app.smartspace.SmartspaceTarget in <lambda>() 463 makeTarget(4, userHandlePrimary, featureType = SmartspaceTarget.FEATURE_WEATHER) in <lambda>() 508 makeTarget(4, userHandlePrimary, featureType = SmartspaceTarget.FEATURE_WEATHER) in <lambda>() 528 makeTarget(2, userHandlePrimary, featureType = SmartspaceTarget.FEATURE_WEATHER) in <lambda>() 921 ): SmartspaceTarget { in <lambda>() 922 return SmartspaceTarget.Builder( in <lambda>() 938 ): SmartspaceTarget { in <lambda>() 951 return SmartspaceTarget.Builder( in <lambda>() 956 .setFeatureType(SmartspaceTarget.FEATURE_WEATHER) in <lambda>() 1073 override fun setMediaTarget(target: SmartspaceTarget?) { in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/complication/ |
D | SmartSpaceComplicationTest.java | 26 import android.app.smartspace.SmartspaceTarget; 148 final SmartspaceTarget target = Mockito.mock(SmartspaceTarget.class); in testOverlayActive_targetsNonEmpty_addsComplication()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/lockscreen/ |
D | LockscreenSmartspaceController.kt | 24 import android.app.smartspace.SmartspaceTarget in <lambda>() 132 private val recentSmartspaceData: Deque<List<SmartspaceTarget>> = LinkedList() in <lambda>() 202 t.featureType == SmartspaceTarget.FEATURE_WEATHER && in <lambda>() 577 private fun filterSmartspaceTarget(t: SmartspaceTarget): Boolean { in <lambda>() 578 if (isDateWeatherDecoupled() && t.featureType == SmartspaceTarget.FEATURE_WEATHER) { in <lambda>() 582 return t.featureType == SmartspaceTarget.FEATURE_WEATHER in <lambda>()
|