/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/ |
D | NotificationWakeUpCoordinatorLoggerTest.kt | 87 logger.logUpdateDozeAmount(0f, 0f, null, 0f, StatusBarState.SHADE, changed = false) in updateDozeAmountWillThrottleFractionalInputUpdates() 89 logger.logUpdateDozeAmount(0.1f, 0f, null, 0.1f, StatusBarState.SHADE, changed = true) in updateDozeAmountWillThrottleFractionalInputUpdates() 91 logger.logUpdateDozeAmount(0.2f, 0f, null, 0.2f, StatusBarState.SHADE, changed = true) in updateDozeAmountWillThrottleFractionalInputUpdates() 92 logger.logUpdateDozeAmount(0.3f, 0f, null, 0.3f, StatusBarState.SHADE, changed = true) in updateDozeAmountWillThrottleFractionalInputUpdates() 93 logger.logUpdateDozeAmount(0.4f, 0f, null, 0.4f, StatusBarState.SHADE, changed = true) in updateDozeAmountWillThrottleFractionalInputUpdates() 94 logger.logUpdateDozeAmount(0.5f, 0f, null, 0.5f, StatusBarState.SHADE, changed = true) in updateDozeAmountWillThrottleFractionalInputUpdates() 96 logger.logUpdateDozeAmount(1f, 0f, null, 1f, StatusBarState.SHADE, changed = true) in updateDozeAmountWillThrottleFractionalInputUpdates() 102 logger.logUpdateDozeAmount(0f, 0f, null, 0f, StatusBarState.SHADE, changed = false) in updateDozeAmountWillThrottleFractionalDelayUpdates() 104 logger.logUpdateDozeAmount(0f, 0.1f, null, 0.1f, StatusBarState.SHADE, changed = true) in updateDozeAmountWillThrottleFractionalDelayUpdates() 106 logger.logUpdateDozeAmount(0f, 0.2f, null, 0.2f, StatusBarState.SHADE, changed = true) in updateDozeAmountWillThrottleFractionalDelayUpdates() [all …]
|
/frameworks/base/core/java/com/android/server/net/ |
D | NetlinkTracker.java | 124 boolean changed; in addressUpdated() 126 changed = mLinkProperties.addLinkAddress(address); in addressUpdated() 128 if (changed) { in addressUpdated() 138 boolean changed; in addressRemoved() 140 changed = mLinkProperties.removeLinkAddress(address); in addressRemoved() 142 if (changed) { in addressRemoved() 152 boolean changed; in routeUpdated() 154 changed = mLinkProperties.addRoute(route); in routeUpdated() 156 if (changed) { in routeUpdated() 166 boolean changed; in routeRemoved() [all …]
|
/frameworks/layoutlib/bridge/src/android/content/res/ |
D | Resources_Theme_Delegate.java | 58 boolean changed = setupResources(thisTheme); in obtainStyledAttributes() 62 restoreResources(changed); in obtainStyledAttributes() 71 boolean changed = setupResources(thisTheme); in obtainStyledAttributes() 75 restoreResources(changed); in obtainStyledAttributes() 83 boolean changed = setupResources(thisTheme); in obtainStyledAttributes() 87 restoreResources(changed); in obtainStyledAttributes() 96 boolean changed = setupResources(thisTheme); in resolveAttribute() 99 restoreResources(changed); in resolveAttribute() 119 boolean changed = false; in setupResources() 125 changed = true; in setupResources() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayWindowSettings.java | 480 boolean changed = false; in setTo() 483 changed = true; in setTo() 487 changed = true; in setTo() 491 changed = true; in setTo() 495 changed = true; in setTo() 499 changed = true; in setTo() 503 changed = true; in setTo() 507 changed = true; in setTo() 511 changed = true; in setTo() 516 changed = true; in setTo() [all …]
|
D | VrController.java | 198 boolean changed = false; in onVrModeChanged() 206 changed = changeVrModeLocked(vrMode, record.app); in onVrModeChanged() 216 return changed; in onVrModeChanged() 314 boolean changed = (oldVrState != mVrState); in changeVrModeLocked() 316 if (changed) { in changeVrModeLocked() 326 return changed; in changeVrModeLocked()
|
/frameworks/base/native/ |
D | copy-to-ndk.sh | 21 local changed="" 24 if [ "$changed" == "" -a -e $dst ]; then 28 changed="false" 30 changed="true" 35 if [ "$changed" == "true" -o "$changed" == "" ]; then
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsRestrictionsImpl.java | 74 boolean changed = !restrictedCodes.get(code); in setGlobalRestriction() 76 return changed; in setGlobalRestriction() 82 boolean changed = restrictedCodes.get(code); in setGlobalRestriction() 87 return changed; in setGlobalRestriction() 119 boolean changed = false; in setUserRestriction() 121 changed |= putUserRestriction(clientToken, userIds[i], code, restricted); in setUserRestriction() 122 changed |= putUserRestrictionExclusions(clientToken, userIds[i], in setUserRestriction() 125 return changed; in setUserRestriction() 189 boolean changed = false; in clearUserRestrictions() 191 changed |= mUserRestrictions.remove(clientToken) != null; in clearUserRestrictions() [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | UidPermissionState.java | 186 final boolean changed = mPermissions.remove(name) != null; in removePermissionState() 187 if (changed && mPermissions.isEmpty()) { in removePermissionState() 190 return changed; in removePermissionState() 250 final boolean changed = permissionState.revoke(); in revokePermission() 251 if (changed && permissionState.isDefault()) { in revokePermission() 254 return changed; in revokePermission() 285 final boolean changed = permissionState.updateFlags(flagMask, flagValues); in updatePermissionFlags() 286 if (changed && permissionState.isDefault()) { in updatePermissionFlags() 289 return changed; in updatePermissionFlags() 302 final boolean changed = permissionState.updateFlags(flagMask, flagValues); in updatePermissionFlagsForAllPermissions() [all …]
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/instrumentation/ |
D | SharedPreferenceLoggerTest.java | 67 verify(mMetricsFeature, times(6)).changed(eq(SettingsEnums.PAGE_UNKNOWN), in putInt_shouldNotLogInitialPut() 82 verify(mMetricsFeature).changed(SettingsEnums.PAGE_UNKNOWN, in putBoolean_shouldNotLogInitialPut() 85 verify(mMetricsFeature, times(3)).changed(SettingsEnums.PAGE_UNKNOWN, in putBoolean_shouldNotLogInitialPut() 99 verify(mMetricsFeature, times(4)).changed(eq(SettingsEnums.PAGE_UNKNOWN), in putLong_shouldNotLogInitialPut() 111 verify(mMetricsFeature).changed(SettingsEnums.PAGE_UNKNOWN, in putLong_biggerThanIntMax_shouldLogIntMax() 123 verify(mMetricsFeature).changed(SettingsEnums.PAGE_UNKNOWN, in putLong_smallerThanIntMin_shouldLogIntMin() 136 verify(mMetricsFeature, times(4)).changed(eq(SettingsEnums.PAGE_UNKNOWN), in putFloat_shouldNotLogInitialPut() 158 verify(mMetricsFeature, times(3)).changed(eq(SettingsEnums.PAGE_UNKNOWN), in putString_shouldNotLogInitialPut() 171 verify(mMetricsFeature, times(0)).changed(eq(SettingsEnums.PAGE_UNKNOWN), in putString_shouldNotLogAnyNonIntegers()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationSection.java | 49 boolean changed = mFirstVisibleChild != child; in setFirstVisibleChild() 51 return changed; in setFirstVisibleChild() 55 boolean changed = mLastVisibleChild != child; in setLastVisibleChild() 57 return changed; in setLastVisibleChild()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | LayerMetadataTest.cpp | 90 bool changed = metadata.merge(second); in TEST_F() local 92 ASSERT_TRUE(changed); in TEST_F() 100 changed = metadata.merge(withErase, true /* eraseEmpty */); in TEST_F() 101 ASSERT_TRUE(changed); in TEST_F() 110 changed = metadata.merge(third); in TEST_F() 111 ASSERT_FALSE(changed); in TEST_F()
|
/frameworks/base/core/java/com/android/internal/os/logging/ |
D | MetricsLoggerWrapper.java | 29 …public static void logAppOverlayEnter(int uid, String packageName, boolean changed, int type, bool… in logAppOverlayEnter() argument 30 if (changed) { in logAppOverlayEnter() 41 …public static void logAppOverlayExit(int uid, String packageName, boolean changed, int type, boole… in logAppOverlayExit() argument 42 if (changed) { in logAppOverlayExit()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | RestrictedPreferenceHelper.java | 237 boolean changed = false; in setDisabledByAdmin() 240 changed = true; in setDisabledByAdmin() 244 return changed; in setDisabledByAdmin() 256 boolean changed = false; in setDisabledByEcm() 260 changed = true; in setDisabledByEcm() 264 return changed; in setDisabledByEcm() 303 boolean changed = false; in setDisabledByAppOps() 306 changed = true; in setDisabledByAppOps() 310 return changed; in setDisabledByAppOps()
|
/frameworks/base/libs/hwui/jni/ |
D | MovieImpl.cpp | 59 bool changed = false; in setTime() local 63 changed = this->onSetTime(time); in setTime() 64 fNeedBitmap |= changed; in setTime() 66 return changed; in setTime()
|
D | android_graphics_TextureLayer.cpp | 31 bool changed = false; in TextureLayer_prepare() local 32 changed |= layer->setSize(width, height); in TextureLayer_prepare() 33 changed |= layer->setBlend(!isOpaque); in TextureLayer_prepare() 34 return changed; in TextureLayer_prepare()
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
D | StyledCornersBitmapDrawable.java | 111 final boolean changed = mBorderPaint.getStrokeWidth() != borderWidth; in setBorderWidth() 115 if (changed) { in setBorderWidth() 124 final boolean changed = mBorderPaint.getColor() != color; in setBorderColor() 127 if (changed) { in setBorderColor() 159 boolean changed = mFlapPaint.getColor() != flapColor; in setFlapColor() 162 if (changed) { in setFlapColor() 180 boolean changed = mScrimColor != color; in setScrimColor() 183 if (changed) { in setScrimColor() 194 boolean changed = mIsCompatibilityMode != isCompatibilityMode; in setCompatibilityMode() 197 if (changed) { in setCompatibilityMode() [all …]
|
/frameworks/base/core/java/android/content/res/ |
D | Configuration.java | 1620 int changed = 0; in updateFrom() local 1622 changed |= ActivityInfo.CONFIG_FONT_SCALE; in updateFrom() 1626 changed |= ActivityInfo.CONFIG_MCC; in updateFrom() 1630 changed |= ActivityInfo.CONFIG_MNC; in updateFrom() 1636 changed |= ActivityInfo.CONFIG_LOCALE; in updateFrom() 1642 changed |= ActivityInfo.CONFIG_LAYOUT_DIRECTION; in updateFrom() 1652 changed |= ActivityInfo.CONFIG_LAYOUT_DIRECTION; in updateFrom() 1654 … if (delta.userSetLocale && (!userSetLocale || ((changed & ActivityInfo.CONFIG_LOCALE) != 0))) in updateFrom() 1656 changed |= ActivityInfo.CONFIG_LOCALE; in updateFrom() 1661 changed |= ActivityInfo.CONFIG_TOUCHSCREEN; in updateFrom() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | UserSettingObserverTest.kt | 93 var changed = false in <lambda>() variable 94 callback = { _, _ -> changed = true } in <lambda>() 100 assertThat(changed).isTrue() in <lambda>() 147 var changed = false in <lambda>() variable 148 callback = { _, _ -> changed = true } in <lambda>() 155 assertThat(changed).isTrue() in <lambda>()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsCallInfo.java | 67 boolean changed = mState != state; in update() 71 changed = true; in update() 74 changed = true; in update() 78 return changed; in update()
|
/frameworks/av/media/libeffects/dynamicsproc/dsp/ |
D | DPFrequency.cpp | 193 bool changed = false; in updateParameters() local 194 IS_CHANGED(changed, cb.inputGainDb, pChannel->getInputGain()); in updateParameters() 202 IS_CHANGED(changed, cb.mPreEqEnabled, pPreEq->isEnabled()); in updateParameters() 211 IS_CHANGED(changed, pEqBandParams->enabled, pEqBand->isEnabled()); in updateParameters() 212 IS_CHANGED(changed, pEqBandParams->freqCutoffHz, in updateParameters() 214 IS_CHANGED(changed, pEqBandParams->gainDb, pEqBand->getGain()); in updateParameters() 219 if (changed) { in updateParameters() 251 bool changed = false; in updateParameters() local 258 IS_CHANGED(changed, cb.mPostEqEnabled, pPostEq->isEnabled()); in updateParameters() 267 IS_CHANGED(changed, pEqBandParams->enabled, pEqBand->isEnabled()); in updateParameters() [all …]
|
/frameworks/compile/slang/StripUnkAttr/ |
D | strip_unknown_attributes.cpp | 24 bool changed = false; in stripUnknownAttributes() local 36 changed = true; in stripUnknownAttributes() 40 return changed; in stripUnknownAttributes()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ResizingSpace.java | 45 boolean changed = false; in onConfigurationChanged() 50 changed = true; in onConfigurationChanged() 57 changed = true; in onConfigurationChanged() 60 if (changed) { in onConfigurationChanged()
|
/frameworks/base/core/java/android/widget/ |
D | ScrollBarDrawable.java | 179 boolean changed = super.onStateChange(state); in onStateChange() 181 changed |= mVerticalTrack.setState(state); in onStateChange() 184 changed |= mVerticalThumb.setState(state); in onStateChange() 187 changed |= mHorizontalTrack.setState(state); in onStateChange() 190 changed |= mHorizontalThumb.setState(state); in onStateChange() 192 return changed; in onStateChange() 212 final boolean changed = mRangeChanged || mBoundsChanged; in drawThumb() 216 if (changed) { in drawThumb() 226 if (changed) { in drawThumb()
|
/frameworks/base/media/java/android/media/ |
D | AudioPlaybackConfiguration.java | 616 final boolean changed = !attr.equals(mPlayerAttr); in handleAudioAttributesEvent() 618 return changed; in handleAudioAttributesEvent() 628 final boolean changed = sessionId != mSessionId; in handleSessionIdEvent() 630 return changed; in handleSessionIdEvent() 642 final boolean changed = mMutedState != mutedState; in handleMutedEvent() 644 return changed; in handleMutedEvent() 656 final boolean changed = !mFormatInfo.equals(fi); in handleFormatEvent() 658 return changed; in handleFormatEvent() 675 boolean changed = false; in handleStateEvent() 680 changed = (mPlayerState != event); in handleStateEvent() [all …]
|
/frameworks/native/services/surfaceflinger/ |
D | surfaceflinger_flags.aconfig | 1 # This file is locked and should not be changed. Use surfaceflinger_flags_new.aconfig 30 # This file is locked and should not be changed. Use surfaceflinger_flags_new.aconfig 56 # This file is locked and should not be changed. Use surfaceflinger_flags_new.aconfig 82 # This file is locked and should not be changed. Use surfaceflinger_flags_new.aconfig 109 # This file is locked and should not be changed. Use surfaceflinger_flags_new.aconfig 143 # This file is locked and should not be changed. Use surfaceflinger_flags_new.aconfig 177 # This file is locked and should not be changed. Use surfaceflinger_flags_new.aconfig 201 # This file is locked and should not be changed. Use surfaceflinger_flags_new.aconfig 236 # This file is locked and should not be changed. Use surfaceflinger_flags_new.aconfig
|