/frameworks/base/location/java/android/location/ |
D | GnssCapabilities.java | 685 mTopFlags = setFlag(mTopFlags, TOP_HAL_CAPABILITY_SCHEDULING, capable); in setHasScheduling() 693 mTopFlags = setFlag(mTopFlags, TOP_HAL_CAPABILITY_MSB, capable); in setHasMsb() 701 mTopFlags = setFlag(mTopFlags, TOP_HAL_CAPABILITY_MSA, capable); in setHasMsa() 709 mTopFlags = setFlag(mTopFlags, TOP_HAL_CAPABILITY_SINGLE_SHOT, capable); in setHasSingleShotFix() 717 mTopFlags = setFlag(mTopFlags, TOP_HAL_CAPABILITY_ON_DEMAND_TIME, capable); in setHasOnDemandTime() 725 mTopFlags = setFlag(mTopFlags, TOP_HAL_CAPABILITY_GEOFENCING, capable); in setHasGeofencing() 733 mTopFlags = setFlag(mTopFlags, TOP_HAL_CAPABILITY_MEASUREMENTS, capable); in setHasMeasurements() 741 mTopFlags = setFlag(mTopFlags, TOP_HAL_CAPABILITY_NAV_MESSAGES, capable); in setHasNavigationMessages() 752 mTopFlags = setFlag(mTopFlags, TOP_HAL_CAPABILITY_LOW_POWER_MODE, capable); in setHasLowPowerMode() 760 mTopFlags = setFlag(mTopFlags, TOP_HAL_CAPABILITY_SATELLITE_BLOCKLIST, capable); in setHasSatelliteBlocklist() [all …]
|
D | GnssClock.java | 131 setFlag(HAS_LEAP_SECOND); in setLeapSecond() 198 setFlag(HAS_TIME_UNCERTAINTY); in setTimeUncertaintyNanos() 245 setFlag(HAS_FULL_BIAS); in setFullBiasNanos() 287 setFlag(HAS_BIAS); in setBiasNanos() 327 setFlag(HAS_BIAS_UNCERTAINTY); in setBiasUncertaintyNanos() 370 setFlag(HAS_DRIFT); in setDriftNanosPerSecond() 409 setFlag(HAS_DRIFT_UNCERTAINTY); in setDriftUncertaintyNanosPerSecond() 446 setFlag(HAS_ELAPSED_REALTIME_NANOS); in setElapsedRealtimeNanos() 490 setFlag(HAS_ELAPSED_REALTIME_UNCERTAINTY_NANOS); in setElapsedRealtimeUncertaintyNanos() 533 setFlag(HAS_REFERENCE_CONSTELLATION_TYPE_FOR_ISB); in setReferenceConstellationTypeForIsb() [all …]
|
D | GpsClock.java | 156 setFlag(HAS_LEAP_SECOND); in setLeapSecond() 217 setFlag(HAS_TIME_UNCERTAINTY); in setTimeUncertaintyInNs() 258 setFlag(HAS_FULL_BIAS); in setFullBiasInNs() 291 setFlag(HAS_BIAS); in setBiasInNs() 323 setFlag(HAS_BIAS_UNCERTAINTY); in setBiasUncertaintyInNs() 357 setFlag(HAS_DRIFT); in setDriftInNsPerSec() 389 setFlag(HAS_DRIFT_UNCERTAINTY); in setDriftUncertaintyInNsPerSec() 497 private void setFlag(short flag) { in setFlag() method in GpsClock
|
D | GpsMeasurement.java | 530 setFlag(HAS_PSEUDORANGE); in setPseudorangeInMeters() 564 setFlag(HAS_PSEUDORANGE_UNCERTAINTY); in setPseudorangeUncertaintyInMeters() 599 setFlag(HAS_CODE_PHASE); in setCodePhaseInChips() 632 setFlag(HAS_CODE_PHASE_UNCERTAINTY); in setCodePhaseUncertaintyInChips() 665 setFlag(HAS_CARRIER_FREQUENCY); in setCarrierFrequencyInHz() 698 setFlag(HAS_CARRIER_CYCLES); in setCarrierCycles() 735 setFlag(HAS_CARRIER_PHASE); in setCarrierPhase() 768 setFlag(HAS_CARRIER_PHASE_UNCERTAINTY); in setCarrierPhaseUncertainty() 831 setFlag(HAS_BIT_NUMBER); in setBitNumber() 864 setFlag(HAS_TIME_FROM_LAST_BIT); in setTimeFromLastBitInMs() [all …]
|
D | GnssMeasurement.java | 952 setFlag(HAS_BASEBAND_CN0); in setBasebandCn0DbHz() 1212 setFlag(HAS_CARRIER_FREQUENCY); in setCarrierFrequencyHz() 1261 setFlag(HAS_CARRIER_CYCLES); in setCarrierCycles() 1320 setFlag(HAS_CARRIER_PHASE); in setCarrierPhase() 1374 setFlag(HAS_CARRIER_PHASE_UNCERTAINTY); in setCarrierPhaseUncertainty() 1449 setFlag(HAS_SNR); in setSnrInDb() 1504 setFlag(HAS_AUTOMATIC_GAIN_CONTROL); in setAutomaticGainControlLevelInDb() 1598 setFlag(HAS_CODE_TYPE); in setCodeType() 1667 setFlag(HAS_FULL_ISB); in setFullInterSignalBiasNanos() 1709 setFlag(HAS_FULL_ISB_UNCERTAINTY); in setFullInterSignalBiasUncertaintyNanos() [all …]
|
D | FusedBatchOptions.java | 79 public void setFlag(int flag) { in setFlag() method in FusedBatchOptions 124 options.setFlag(parcel.readInt());
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
D | DismissibilityCoordinatorTest.kt | 78 .setFlag(mContext, Notification.FLAG_NO_DISMISS, true) in testProviderCleared() 92 .setFlag(mContext, Notification.FLAG_NO_DISMISS, true) in testNonDismissableEntry() 109 .setFlag(mContext, Notification.FLAG_ONGOING_EVENT, true) in testOngoingNotifWhenPhoneIsLocked() 126 .setFlag(mContext, Notification.FLAG_ONGOING_EVENT, true) in testOngoingNotifWhenPhoneIsUnLocked() 143 .setFlag(mContext, Notification.FLAG_ONGOING_EVENT, true) in testOngoingNondismissNotifWhenPhoneIsUnLocked() 144 .setFlag(mContext, Notification.FLAG_NO_DISMISS, true) in testOngoingNondismissNotifWhenPhoneIsUnLocked() 162 .setFlag(mContext, Notification.FLAG_ONGOING_EVENT, true) in testMultipleEntries() 167 .setFlag(mContext, Notification.FLAG_ONGOING_EVENT, true) in testMultipleEntries() 168 .setFlag(mContext, Notification.FLAG_NO_DISMISS, true) in testMultipleEntries() 196 .setFlag(mContext, Notification.FLAG_NO_DISMISS, true) in testNonDismissableEntryInGroup() [all …]
|
D | ColorizedFgsCoordinatorTest.java | 80 .setFlag(mContext, FLAG_FOREGROUND_SERVICE, true) in testIncludeFGSInSection_importanceDefault() 93 .setFlag(mContext, FLAG_FOREGROUND_SERVICE, true) in testDiscludeFGSInSection_importanceMin() 108 .setFlag(mContext, FLAG_FOREGROUND_SERVICE, false) in testDiscludeNonFGSInSection()
|
D | RemoteInputCoordinatorTest.kt | 185 .setFlag(mContext, Notification.FLAG_LIFETIME_EXTENDED_BY_DIRECT_REPLY, true) in testRemoteInputLifetimeExtensionListenerTrigger() 204 .setFlag(mContext, Notification.FLAG_LIFETIME_EXTENDED_BY_DIRECT_REPLY, true) in testSmartReplyLifetimeExtensionListenerTrigger() 223 .setFlag(mContext, Notification.FLAG_LIFETIME_EXTENDED_BY_DIRECT_REPLY, true) in testRepeatedUpdateTriggersRebuild() 241 .setFlag(mContext, Notification.FLAG_LIFETIME_EXTENDED_BY_DIRECT_REPLY, false) in testLifetimeExtensionListenerClearsRemoteInputs()
|
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/util/ |
D | UserIconInfo.java | 77 return op.setFlag(FLAG_WORK, isWork()) in applyBitmapInfoFlags() 78 .setFlag(FLAG_CLONE, isCloned()) in applyBitmapInfoFlags() 79 .setFlag(FLAG_PRIVATE, isPrivate()); in applyBitmapInfoFlags()
|
D | FlagOp.java | 45 default FlagOp setFlag(int flag, boolean enable) { in setFlag() method
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/ |
D | TaskbarDelegate.java | 134 mSysUiState.setFlag(SYSUI_STATE_SCREEN_PINNING, mode == LOCK_TASK_MODE_PINNED) 305 mSysUiState.setFlag(SYSUI_STATE_A11Y_BUTTON_CLICKABLE, clickable) in updateSysuiFlags() 306 .setFlag(SYSUI_STATE_A11Y_BUTTON_LONG_CLICKABLE, longClickable) in updateSysuiFlags() 307 .setFlag(SYSUI_STATE_IME_SHOWING, in updateSysuiFlags() 309 .setFlag(SYSUI_STATE_IME_SWITCHER_SHOWING, in updateSysuiFlags() 311 .setFlag(SYSUI_STATE_OVERVIEW_DISABLED, in updateSysuiFlags() 313 .setFlag(SYSUI_STATE_HOME_DISABLED, in updateSysuiFlags() 315 .setFlag(SYSUI_STATE_BACK_DISABLED, in updateSysuiFlags() 317 .setFlag(SYSUI_STATE_NAV_BAR_HIDDEN, !isWindowVisible()) in updateSysuiFlags() 318 .setFlag(SYSUI_STATE_ALLOW_GESTURE_IGNORING_BAR_VISIBILITY, in updateSysuiFlags()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/model/ |
D | SysUiStateTest.java | 80 mFlagsContainer.setFlag(FLAG_1, false) in addMultipleRemoveOne_setFlag() 100 mFlagsContainer.setFlag(FLAG_2, false) in addMultipleRemoveOne_setFlags() 120 mFlagsContainer.setFlag(flags[i], true); in setFlags()
|
/frameworks/layoutlib/bridge/bridge_client/src/com/android/layoutlib/bridge/intensive/util/ |
D | SessionParamsBuilder.java | 151 public SessionParamsBuilder setFlag(@NonNull SessionParams.Key flag, Object value) { in setFlag() method in SessionParamsBuilder 213 params.setFlag(RenderParamsFlags.FLAG_ENABLE_LAYOUT_VALIDATOR, enableLayoutValidator); in build() 214 params.setFlag( in build() 221 mFlags.forEach(params::setFlag); in build()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationComparatorTest.java | 139 .setFlag(Notification.FLAG_FOREGROUND_SERVICE, true) in setUp() 151 .setFlag(Notification.FLAG_FOREGROUND_SERVICE, true) in setUp() 161 .setFlag(Notification.FLAG_FOREGROUND_SERVICE, true) in setUp() 173 .setFlag(Notification.FLAG_FOREGROUND_SERVICE, true) in setUp() 226 .setFlag(Notification.FLAG_ONGOING_EVENT in setUp() 262 .setFlag(Notification.FLAG_FOREGROUND_SERVICE, true) in setUp() 273 .setFlag(Notification.FLAG_FOREGROUND_SERVICE, true) in setUp() 363 .setFlag(Notification.FLAG_FOREGROUND_SERVICE, true) 372 .setFlag(Notification.FLAG_FOREGROUND_SERVICE, true)
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
D | OverviewProxyService.java | 737 mSysUiState.setFlag(SYSUI_STATE_VOICE_INTERACTION_WINDOW_SHOWING, visible) in onVoiceSessionWindowVisibilityChanged() 786 mSysUiState.setFlag(SYSUI_STATE_STATUS_BAR_KEYGUARD_SHOWING, in onStatusBarStateChanged() 788 .setFlag(SYSUI_STATE_STATUS_BAR_KEYGUARD_SHOWING_OCCLUDED, in onStatusBarStateChanged() 790 .setFlag(SYSUI_STATE_STATUS_BAR_KEYGUARD_GOING_AWAY, in onStatusBarStateChanged() 792 .setFlag(SYSUI_STATE_BOUNCER_SHOWING, bouncerShowing) in onStatusBarStateChanged() 793 .setFlag(SYSUI_STATE_DEVICE_DOZING, isDozing) in onStatusBarStateChanged() 794 .setFlag(SYSUI_STATE_DEVICE_DREAMING, isDreaming) in onStatusBarStateChanged() 1008 .setFlag(SYSUI_STATE_AWAKE, true) 1009 .setFlag(SYSUI_STATE_WAKEFULNESS_TRANSITION, true) 1016 .setFlag(SYSUI_STATE_AWAKE, true) [all …]
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/ |
D | RenderTests.java | 256 params.setFlag(RenderParamsFlags.FLAG_KEY_ROOT_TAG, "menu"); in testActivityActionBar() 938 params.setFlag(RenderParamsFlags.FLAG_KEY_ADAPTIVE_ICON_MASK_PATH, in testAdaptiveIcon() 948 params.setFlag(RenderParamsFlags.FLAG_KEY_ADAPTIVE_ICON_MASK_PATH, in testAdaptiveIcon() 959 params.setFlag(RenderParamsFlags.FLAG_KEY_ADAPTIVE_ICON_MASK_PATH, in testAdaptiveIcon() 970 params.setFlag(RenderParamsFlags.FLAG_KEY_ADAPTIVE_ICON_MASK_PATH, in testAdaptiveIcon() 1530 .setFlag(RenderParamsFlags.FLAG_KEY_RESULT_IMAGE_AUTO_SCALE, true) in testImageResize() 2002 params.setFlag(RenderParamsFlags.FLAG_KEY_ADAPTIVE_ICON_MASK_PATH, in testThemedAdaptiveIcon() 2013 params.setFlag(RenderParamsFlags.FLAG_KEY_ADAPTIVE_ICON_MASK_PATH, in testThemedAdaptiveIcon() 2016 params.setFlag(RenderParamsFlags.FLAG_KEY_WALLPAPER_PATH, in testThemedAdaptiveIcon() 2018 params.setFlag(RenderParamsFlags.FLAG_KEY_USE_THEMED_ICON, true); in testThemedAdaptiveIcon() [all …]
|
/frameworks/base/media/java/android/media/ |
D | FadeManagerConfiguration.java | 843 setFlag(IS_FADEABLE_USAGES_FIELD_SET); in Builder() 845 setFlag(IS_UNFADEABLE_CONTENT_TYPE_FIELD_SET); in Builder() 1119 setFlag(IS_FADEABLE_USAGES_FIELD_SET); in setFadeableUsages() 1137 setFlag(IS_FADEABLE_USAGES_FIELD_SET); in addFadeableUsage() 1155 setFlag(IS_FADEABLE_USAGES_FIELD_SET); in clearFadeableUsages() 1178 setFlag(IS_UNFADEABLE_CONTENT_TYPE_FIELD_SET); in setUnfadeableContentTypes() 1197 setFlag(IS_UNFADEABLE_CONTENT_TYPE_FIELD_SET); in addUnfadeableContentType() 1215 setFlag(IS_UNFADEABLE_CONTENT_TYPE_FIELD_SET); in clearUnfadeableContentTypes() 1361 setFlag(IS_BUILDER_USED_FIELD_SET); in build() 1380 private void setFlag(long flag) { in setFlag() method in FadeManagerConfiguration.Builder
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/model/ |
D | SysUiStateExt.kt | 45 flagValuePairs.forEach { (flag, enabled) -> setFlag(flag, enabled) } in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/wmshell/ |
D | WMShell.java | 281 mSysUiState.setFlag(SYSUI_STATE_DISABLE_GESTURE_SPLIT_INVOCATION, animationRunning) in initSplitScreen() 293 mSysUiState.setFlag(SYSUI_STATE_ONE_HANDED_ACTIVE, in initOneHanded() 301 mSysUiState.setFlag(SYSUI_STATE_ONE_HANDED_ACTIVE, in initOneHanded() 309 mSysUiState.setFlag(SYSUI_STATE_ONE_HANDED_ACTIVE, in initOneHanded() 374 mSysUiState.setFlag(SYSUI_STATE_FREEFORM_ACTIVE_IN_DESKTOP_MODE, in initDesktopMode()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | CachedAppOptimizerTest.java | 754 setFlag(CachedAppOptimizer.KEY_USE_COMPACTION, "true", true); in processWithDeltaRSSTooSmall_notFullCompacted() 755 setFlag(CachedAppOptimizer.KEY_COMPACT_FULL_DELTA_RSS_THROTTLE_KB, "12000", false); in processWithDeltaRSSTooSmall_notFullCompacted() 836 setFlag(CachedAppOptimizer.KEY_USE_COMPACTION, "true", true); in processWithAnonRSSTooSmall_notFullCompacted() 837 setFlag(CachedAppOptimizer.KEY_COMPACT_FULL_RSS_THROTTLE_KB, "8000", false); in processWithAnonRSSTooSmall_notFullCompacted() 890 setFlag(CachedAppOptimizer.KEY_USE_COMPACTION, "true", true); in processWithOomAdjTooSmall_notFullCompacted() 891 setFlag(CachedAppOptimizer.KEY_COMPACT_THROTTLE_MIN_OOM_ADJ, Long.toString(920), true); in processWithOomAdjTooSmall_notFullCompacted() 892 setFlag(CachedAppOptimizer.KEY_COMPACT_THROTTLE_MAX_OOM_ADJ, Long.toString(950), true); in processWithOomAdjTooSmall_notFullCompacted() 924 setFlag(CachedAppOptimizer.KEY_USE_COMPACTION, "true", true); in process_forceCompacted() 925 setFlag(CachedAppOptimizer.KEY_COMPACT_THROTTLE_MIN_OOM_ADJ, Long.toString(920), true); in process_forceCompacted() 926 setFlag(CachedAppOptimizer.KEY_COMPACT_THROTTLE_MAX_OOM_ADJ, Long.toString(950), true); in process_forceCompacted() [all …]
|
/frameworks/base/location/lib/java/com/android/location/provider/ |
D | GmsFusedBatchOptions.java | 61 public void setFlag(int flag) {} in setFlag() method in GmsFusedBatchOptions
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | DifferentialMotionFlingHelperTest.java | 71 mFakeWidgetFeatureFlags.setFlag( in setUp() 150 mFakeWidgetFeatureFlags.setFlag( in flingFeatureFlagDisabled_noFlingCalculation()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/ |
D | SbnBuilder.java | 151 public SbnBuilder setFlag(Context context, int mask, boolean value) { in setFlag() method in SbnBuilder 152 modifyNotification(context).setFlag(mask, value); in setFlag()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/ |
D | TaskbarDelegateTest.kt | 77 `when`(mSysUiState.setFlag(anyLong(), anyBoolean())).thenReturn(mSysUiState) in setup() 106 verify(mSysUiState, times(1)).setFlag( in screenPinningEnabled_updatesSysuiState()
|