Home
last modified time | relevance | path

Searched refs:getFeatures (Results 1 – 25 of 25) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/calldetails/
DCallDetailsEntryViewHolder.java106 boolean isVideoCall = (entry.getFeatures() & Calls.FEATURES_VIDEO) == Calls.FEATURES_VIDEO; in setCallDetails()
108 (entry.getFeatures() & Calls.FEATURES_PULLED_EXTERNALLY) in setCallDetails()
113 && (entry.getFeatures() & Calls.FEATURES_RTT) == Calls.FEATURES_RTT; in setCallDetails()
120 (entry.getFeatures() & Calls.FEATURES_HD_CALL) == Calls.FEATURES_HD_CALL); in setCallDetails()
122 MotorolaUtils.shouldShowWifiIconInCallLog(context, entry.getFeatures())); in setCallDetails()
124 callTypeIcon.setShowRtt((entry.getFeatures() & Calls.FEATURES_RTT) == Calls.FEATURES_RTT); in setCallDetails()
DCallDetailsAdapterCommon.java166 getNumber(), entry.getFeatures(), entry.getIsDuoCall()); in getCallbackAction()
DCallDetailsHeaderViewHolder.java106 if (callDetailsEntry != null && hasAssistedDialingFeature(callDetailsEntry.getFeatures())) { in updateAssistedDialingInfo()
/packages/modules/ExtServices/java/src/android/ext/services/resolver/
DLRResolverRankerService.java83 ArrayMap<String, Float> features = getFeatures(target); in onPredictSharingProbabilities()
99 final ArrayMap<String, Float> positive = getFeatures(targets.get(selectedPosition)); in onTrainRankingModel()
106 final ArrayMap<String, Float> negative = getFeatures(targets.get(i)); in onTrainRankingModel()
150 private ArrayMap<String, Float> getFeatures(ResolverTarget target) { in getFeatures() method in LRResolverRankerService
/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/external/app/
DAppSearchSessionInternalTestBase.java80 assumeTrue(mDb1.getFeatures().isFeatureSupported(Features.JOIN_SPEC_AND_QUALIFIED_ID)); in testGetSchema_joinableValueType()
114 assumeTrue(mDb1.getFeatures().isFeatureSupported(Features.SCHEMA_ADD_PARENT_TYPE)); in testQuery_typeFilterWithPolymorphism()
210 assumeTrue(mDb1.getFeatures().isFeatureSupported(Features.SCHEMA_ADD_PARENT_TYPE)); in testQuery_projectionWithPolymorphism()
314 assumeTrue(mDb1.getFeatures().isFeatureSupported(Features.SCHEMA_ADD_PARENT_TYPE)); in testQuery_projectionWithPolymorphismAndSchemaFilter()
421 assumeTrue(mDb1.getFeatures().isFeatureSupported(Features.SCHEMA_ADD_PARENT_TYPE)); in testQuery_indexBasedOnParentTypePolymorphism()
523 assumeTrue(mDb1.getFeatures().isFeatureSupported(Features.SCHEMA_ADD_PARENT_TYPE)); in testQuery_parentTypeListIsTopologicalOrder()
579 assumeTrue(mDb1.getFeatures().isFeatureSupported(Features.SCHEMA_ADD_PARENT_TYPE)); in testQuery_wildcardProjection_polymorphism()
695 assumeTrue(mDb1.getFeatures().isFeatureSupported(Features.SCHEMA_ADD_PARENT_TYPE)); in testQuery_wildcardFilterSchema_polymorphism()
/packages/modules/AppSearch/testing/coretests/src/android/app/appsearch/
DAppSearchSessionInternalTest.java66 assumeTrue(mDb1.getFeatures().isFeatureSupported(Features.SCHEMA_ADD_PARENT_TYPE)); in testQuery_typeFilterWithPolymorphism()
164 assumeTrue(mDb1.getFeatures().isFeatureSupported(Features.SCHEMA_ADD_PARENT_TYPE)); in testQuery_projectionWithPolymorphism()
270 assumeTrue(mDb1.getFeatures().isFeatureSupported(Features.SCHEMA_ADD_PARENT_TYPE)); in testQuery_indexBasedOnParentTypePolymorphism()
372 assumeTrue(mDb1.getFeatures().isFeatureSupported(Features.SCHEMA_ADD_PARENT_TYPE)); in testQuery_parentTypeListIsTopologicalOrder()
430 assumeTrue(mDb1.getFeatures().isFeatureSupported(Features.SCHEMA_ADD_PARENT_TYPE)); in testQuery_wildcardProjection_polymorphism()
547 assumeTrue(mDb1.getFeatures().isFeatureSupported(Features.SCHEMA_ADD_PARENT_TYPE)); in testQuery_wildcardFilterSchema_polymorphism()
653 assumeTrue(mDb1.getFeatures().isFeatureSupported(Features.SCHEMA_ADD_PARENT_TYPE)); in testQuery_projectionWithPolymorphismAndSchemaFilter()
/packages/apps/Dialer/java/com/android/dialer/calllogutils/
DPhotoInfoBuilder.java40 .setIsVideo((coalescedRow.getFeatures() & Calls.FEATURES_VIDEO) == Calls.FEATURES_VIDEO) in fromCoalescedRow()
43 && (coalescedRow.getFeatures() & Calls.FEATURES_RTT) == Calls.FEATURES_RTT); in fromCoalescedRow()
DCallLogRowActions.java41 .setIsVideoCall((row.getFeatures() & Calls.FEATURES_VIDEO) == Calls.FEATURES_VIDEO) in startCallForRow()
DCallLogEntryText.java252 if ((row.getFeatures() & Calls.FEATURES_VIDEO) == Calls.FEATURES_VIDEO) { in getNumberTypeLabel()
/packages/apps/Dialer/java/com/android/dialer/calllog/ui/
DNewCallLogViewHolder.java199 if ((row.getFeatures() & Calls.FEATURES_HD_CALL) == Calls.FEATURES_HD_CALL) { in setFeatureIcons()
207 if (MotorolaUtils.shouldShowWifiIconInCallLog(activity, row.getFeatures())) { in setFeatureIcons()
215 if ((row.getFeatures() & TelephonyManagerCompat.FEATURES_ASSISTED_DIALING) in setFeatureIcons()
298 if ((row.getFeatures() & Calls.FEATURES_VIDEO) == Calls.FEATURES_VIDEO) { in setCallButon()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothHapClient.java1192 public int getFeatures(@NonNull BluetoothDevice device) { in getFeatures() method in BluetoothHapClient
1199 return service.getFeatures(device, mAttributionSource); in getFeatures()
1223 return getFeatures(device) & FEATURE_HEARING_AID_TYPE_MASK; in getHearingAidType()
1241 return (getFeatures(device) & FEATURE_SYNCHRONIZATED_PRESETS_MASK) in supportsSynchronizedPresets()
1260 return (getFeatures(device) & FEATURE_INDEPENDENT_PRESETS_MASK) in supportsIndependentPresets()
1279 return (getFeatures(device) & FEATURE_DYNAMIC_PRESETS_MASK) == FEATURE_DYNAMIC_PRESETS_MASK; in supportsDynamicPresets()
1297 return (getFeatures(device) & FEATURE_WRITABLE_PRESETS_MASK) in supportsWritablePresets()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/dirlist/
DTestEnvironment.java40 public Features getFeatures() { in getFeatures() method in TestEnvironment
/packages/apps/Dialer/java/com/android/dialer/calllog/database/
DCoalescer.java235 coalescedRowBuilder.getFeatures() | annotatedCallLogRow.getInt(featuresColumn)); in mergeRow()
336 int groupFeatures = coalescedRowBuilder.getFeatures(); in meetsCallFeatureCriteria()
/packages/modules/GeoTZ/data_pipeline/src/main/java/com/android/timezone/location/data_pipeline/steps/
DGeoJsonTzToTzS2Polygons.java165 List<Feature> features = featureCollection.getFeatures(); in execute()
235 System.out.println("Features read: " + featureCollection.getFeatures().size()); in loadFeatures()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDocumentsAdapter.java86 Features getFeatures(); in getFeatures() method
DMessage.java191 assert (mEnv.getFeatures().isRemoteActionsEnabled()); in updateToAuthenticationExceptionHeader()
DDirectoryFragment.java1507 public Features getFeatures() { in getFeatures() method in DirectoryFragment.AdapterEnvironment
/packages/modules/Bluetooth/android/app/aidl/android/bluetooth/
DIBluetoothHapClient.aidl64 int getFeatures(in BluetoothDevice device, in AttributionSource attributionSource); in getFeatures() method
/packages/apps/Dialer/java/com/android/dialer/calllog/ui/menu/
DModules.java108 .setFeatures(row.getFeatures()) in buildModuleInfo()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/logging/
DStatsLogCompatManager.java172 getFeatures(info), in writeSnapshot()
491 int features = mFeatures.orElseGet(() -> getFeatures(atomInfo)); in write()
874 private static int getFeatures(LauncherAtom.ItemInfo info) {
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hap/
DHapClientService.java719 public int getFeatures(BluetoothDevice device) { in getFeatures() method in HapClientService
1490 public int getFeatures(BluetoothDevice device, AttributionSource source) { in getFeatures() method in HapClientService.BluetoothHapClientBinder
1500 return service.getFeatures(device); in getFeatures()
/packages/apps/Dialer/java/com/android/dialer/historyitemactions/
DHistoryItemActionModulesBuilder.java215 if ((moduleInfo.getFeatures() & Calls.FEATURES_VIDEO) == Calls.FEATURES_VIDEO) { in addModuleForVideoCall()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DTextToSpeechFragment.java435 Set<String> features = mTts.getFeatures(mCurrentDefaultLocale); in isNetworkRequiredForSynthesis()
/packages/apps/Settings/src/com/android/settings/tts/
DTextToSpeechSettings.java604 Set<String> features = mTts.getFeatures(mCurrentDefaultLocale); in isNetworkRequiredForSynthesis()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hap/
DHapClientTest.java993 int features = mServiceBinder.getFeatures(mDevice, mAttributionSource); in testServiceBinderGetFeatures()