Home
last modified time | relevance | path

Searched refs:featureType (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/telephony/java/android/telephony/ims/compat/
DImsService.java109 public void removeImsFeature(int slotId, int featureType) {
110 ImsService.this.removeImsFeature(slotId, featureType);
114 public void addFeatureStatusCallback(int slotId, int featureType,
116 addImsFeatureStatusCallback(slotId, featureType, c);
120 public void removeFeatureStatusCallback(int slotId, int featureType,
122 removeImsFeatureStatusCallback(slotId, featureType, c);
180 private void setupFeature(ImsFeature f, int slotId, int featureType) { in setupFeature() argument
183 addImsFeature(slotId, featureType, f); in setupFeature()
187 private void addImsFeature(int slotId, int featureType, ImsFeature f) { in addImsFeature() argument
196 features.put(featureType, f); in addImsFeature()
[all …]
/frameworks/base/telephony/java/android/telephony/ims/stub/
DImsFeatureConfiguration.java50 public final @ImsFeature.FeatureType int featureType; field in ImsFeatureConfiguration.FeatureSlotPair
59 public FeatureSlotPair(int slotId, @ImsFeature.FeatureType int featureType) { in FeatureSlotPair() argument
61 this.featureType = featureType; in FeatureSlotPair()
72 return featureType == that.featureType; in equals()
78 result = 31 * result + featureType; in hashCode()
85 return "{s=" + slotId + ", f=" + ImsFeature.FEATURE_LOG_MAP.get(featureType) + "}"; in toString()
111 public Builder addFeature(int slotId, @ImsFeature.FeatureType int featureType) { in addFeature() argument
112 mConfig.addFeature(slotId, featureType); in addFeature()
197 dest.writeInt(featureSlotPair.featureType); in writeToParcel()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DImsServiceController.java322 ImsFeatureStatusCallback(int slotId, int featureType) { in ImsFeatureStatusCallback() argument
324 mFeatureType = featureType; in ImsFeatureStatusCallback()
464 .filter(feature -> feature.featureType == ImsFeature.FEATURE_EMERGENCY_MMTEL) in sanitizeFeatureConfig()
585 mRepo.notifyFeatureCapabilitiesChanged(p.slotId, p.featureType, caps); in changeImsServiceFeatures()
799 if (featurePair.featureType != ImsFeature.FEATURE_EMERGENCY_MMTEL) { in addImsServiceFeature()
801 featurePair.slotId, subId, featurePair.featureType, capabilities); in addImsServiceFeature()
802 addImsFeatureBinder(featurePair.slotId, subId, featurePair.featureType, in addImsServiceFeature()
804 addImsFeatureStatusCallback(featurePair.slotId, featurePair.featureType); in addImsServiceFeature()
810 mCallbacks.imsServiceFeatureCreated(featurePair.slotId, featurePair.featureType, this); in addImsServiceFeature()
821 mCallbacks.imsServiceFeatureRemoved(featurePair.slotId, featurePair.featureType, this); in removeImsServiceFeature()
[all …]
DImsResolver.java849 private String getDeviceConfiguration(@ImsFeature.FeatureType int featureType) { in getDeviceConfiguration() argument
851 return mDeviceServices.getOrDefault(featureType, ""); in getDeviceConfiguration()
855 private void setDeviceConfiguration(String name, @ImsFeature.FeatureType int featureType) { in setDeviceConfiguration() argument
857 mDeviceServices.put(featureType, name); in setDeviceConfiguration()
863 @ImsFeature.FeatureType int featureType) { in setCarrierConfiguredPackageName() argument
864 getCarrierConfiguredPackageNames(slotId).put(featureType, packageName); in setCarrierConfiguredPackageName()
869 @ImsFeature.FeatureType int featureType) { in getCarrierConfiguredPackageName() argument
870 return getCarrierConfiguredPackageNames(slotId).getOrDefault(featureType, ""); in getCarrierConfiguredPackageName()
892 @ImsFeature.FeatureType int featureType) { in setOverridePackageName() argument
893 getOverridePackageName(slotId).put(featureType, packageName); in setOverridePackageName()
[all …]
DImsServiceControllerCompat.java181 protected final IInterface createImsFeature(int slotId, int subId, int featureType, in createImsFeature() argument
183 switch (featureType) { in createImsFeature()
197 protected void registerImsFeatureStatusCallback(int slotId, int featureType, in registerImsFeatureStatusCallback() argument
199 mServiceController.addFeatureStatusCallback(slotId, featureType, c); in registerImsFeatureStatusCallback()
203 protected void unregisterImsFeatureStatusCallback(int slotId, int featureType, in unregisterImsFeatureStatusCallback() argument
206 mServiceController.removeFeatureStatusCallback(slotId, featureType, c); in unregisterImsFeatureStatusCallback()
213 protected final void removeImsFeature(int slotId, int featureType, boolean changeSubId) in removeImsFeature() argument
215 if (featureType == ImsFeature.MMTEL) { in removeImsFeature()
225 mServiceController.removeImsFeature(slotId, featureType); in removeImsFeature()
/frameworks/base/telephony/java/android/telephony/ims/
DImsService.java328 public void addFeatureStatusCallback(int slotId, int featureType,
331 slotId, featureType, c), "addFeatureStatusCallback");
335 public void removeFeatureStatusCallback(int slotId, int featureType,
338 slotId, featureType, c), "removeFeatureStatusCallback");
342 public void removeImsFeature(int slotId, int featureType, boolean changeSubId) {
343 if (changeSubId && isImsFeatureCreatedForSlot(slotId, featureType)) {
347 executeMethodAsync(() -> ImsService.this.removeImsFeature(slotId, featureType),
349 setImsFeatureCreatedForSlot(slotId, featureType, false);
504 private void setupFeature(ImsFeature f, int slotId, int featureType) { in setupFeature() argument
506 addImsFeature(slotId, featureType, f); in setupFeature()
[all …]
/frameworks/base/telephony/java/com/android/ims/internal/
DIImsServiceController.aidl31 void removeImsFeature(int slotId, int featureType); in removeImsFeature() argument
32 void addFeatureStatusCallback(int slotId, int featureType, in IImsFeatureStatusCallback c); in addFeatureStatusCallback() argument
33 void removeFeatureStatusCallback(int slotId, int featureType, in IImsFeatureStatusCallback c); in removeFeatureStatusCallback() argument
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/common/
DCommonFoldingFeature.java166 String featureType = featureMatcher.group(1); in parseFromString() local
167 featureType = featureType == null ? "" : featureType; in parseFromString()
169 switch (featureType) { in parseFromString()
177 throw new IllegalArgumentException("Malformed feature type: " + featureType); in parseFromString()
/frameworks/base/telephony/java/android/telephony/ims/aidl/
DIImsServiceController.aidl40 void addFeatureStatusCallback(int slotId, int featureType, in IImsFeatureStatusCallback c); in addFeatureStatusCallback() argument
41 void removeFeatureStatusCallback(int slotId, int featureType, in IImsFeatureStatusCallback c); in removeFeatureStatusCallback() argument
44 void removeImsFeature(int slotId, int featureType, boolean changeSubId); in removeImsFeature() argument
/frameworks/base/core/java/android/app/smartspace/uitemplatedata/
DBaseTemplateData.java594 private SubItemLoggingInfo(int instanceId, @FeatureType int featureType, in SubItemLoggingInfo() argument
597 mFeatureType = featureType; in SubItemLoggingInfo()
685 public Builder(int instanceId, @FeatureType int featureType) { in Builder() argument
687 mFeatureType = featureType; in Builder()
/frameworks/base/core/java/android/app/smartspace/
DSmartspaceTarget.java305 List<SmartspaceAction> iconGrid, int featureType, boolean sensitive, in SmartspaceTarget() argument
318 mFeatureType = featureType; in SmartspaceTarget()
695 public Builder setFeatureType(int featureType) { in setFeatureType() argument
696 this.mFeatureType = featureType; in setFeatureType()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/lockscreen/
DLockscreenSmartspaceControllerTest.kt463 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>()
920 featureType: Int = 0 in <lambda>()
927 .setFeatureType(featureType) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/lockscreen/
DLockscreenSmartspaceController.kt202 t.featureType == SmartspaceTarget.FEATURE_WEATHER && in <lambda>()
578 if (isDateWeatherDecoupled() && t.featureType == SmartspaceTarget.FEATURE_WEATHER) { in <lambda>()
582 return t.featureType == SmartspaceTarget.FEATURE_WEATHER in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/view/viewmodel/
DCommunalViewModelTest.kt219 whenever(target.featureType).thenReturn(SmartspaceTarget.FEATURE_TIMER) in <lambda>()
669 whenever(target.featureType).thenReturn(SmartspaceTarget.FEATURE_TIMER) in <lambda>()
728 whenever(target.featureType).thenReturn(SmartspaceTarget.FEATURE_TIMER) in <lambda>()
DCommunalEditModeViewModelTest.kt150 whenever(target.featureType).thenReturn(SmartspaceTarget.FEATURE_TIMER) in communalContent_onlyWidgetsAndCtaTileAreShownInEditMode()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/domain/interactor/
DCommunalInteractorTest.kt280 whenever(target1.featureType).thenReturn(SmartspaceTarget.FEATURE_WEATHER) in <lambda>()
287 whenever(target2.featureType).thenReturn(SmartspaceTarget.FEATURE_TIMER) in <lambda>()
294 whenever(target3.featureType).thenReturn(SmartspaceTarget.FEATURE_TIMER) in <lambda>()
1184 whenever(timer.featureType).thenReturn(SmartspaceTarget.FEATURE_TIMER) in <lambda>()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DImsServiceControllerTest.java1440 private void validateFeatureContainerExistsWithSipDelegate(int featureType, int slotId) { in validateFeatureContainerExistsWithSipDelegate() argument
1442 mRepo.getIfExists(slotId, featureType).orElse(null); in validateFeatureContainerExistsWithSipDelegate()
1447 private void validateFeatureContainerDoesNotHaveSipDelegate(int featureType, int slotId) { in validateFeatureContainerDoesNotHaveSipDelegate() argument
1449 mRepo.getIfExists(slotId, featureType).orElse(null); in validateFeatureContainerDoesNotHaveSipDelegate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/domain/interactor/
DCommunalInteractor.kt456 target.featureType == SmartspaceTarget.FEATURE_TIMER && in <lambda>()
/frameworks/base/telephony/java/com/android/internal/telephony/
DITelephony.aidl898 String getBoundImsServicePackage(int slotIndex, boolean isCarrierImsService, int featureType); in getBoundImsServicePackage() argument
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/pipeline/
DLegacyMediaDataManagerImplTest.kt277 whenever(mediaSmartspaceTarget.featureType).thenReturn(SmartspaceTarget.FEATURE_MEDIA) in setup()
DMediaDataProcessorTest.kt314 whenever(mediaSmartspaceTarget.featureType).thenReturn(SmartspaceTarget.FEATURE_MEDIA) in setup()
/frameworks/base/core/api/
Dsystem-current.txt17518 field public final int featureType;