/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 | 392 boolean changed = false; in setTo() 395 changed = true; in setTo() 399 changed = true; in setTo() 403 changed = true; in setTo() 407 changed = true; in setTo() 411 changed = true; in setTo() 415 changed = true; in setTo() 419 changed = true; in setTo() 423 changed = true; in setTo() 427 changed = true; in setTo() [all …]
|
D | VrController.java | 194 boolean changed = false; in onVrModeChanged() 202 changed = changeVrModeLocked(vrMode, record.app); in onVrModeChanged() 212 return changed; in onVrModeChanged() 310 boolean changed = (oldVrState != mVrState); in changeVrModeLocked() 312 if (changed) { in changeVrModeLocked() 322 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/libs/WindowManager/Shell/src/com/android/wm/shell/legacysplitscreen/ |
D | DividerWindowManager.java | 80 boolean changed = false; in setSlippery() 83 changed = true; in setSlippery() 86 changed = true; in setSlippery() 88 if (changed) { in setSlippery() 97 boolean changed = false; in setTouchable() 100 changed = true; in setTouchable() 103 changed = true; in setTouchable() 105 if (changed) { in setTouchable()
|
/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/native/services/surfaceflinger/tests/unittests/ |
D | LayerMetadataTest.cpp | 88 bool changed = metadata.merge(second); in TEST_F() local 90 ASSERT_TRUE(changed); in TEST_F() 98 changed = metadata.merge(withErase, true /* eraseEmpty */); in TEST_F() 99 ASSERT_TRUE(changed); in TEST_F() 108 changed = metadata.merge(third); in TEST_F() 109 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/core/java/android/content/res/ |
D | Configuration.java | 1473 int changed = 0; in updateFrom() local 1475 changed |= ActivityInfo.CONFIG_FONT_SCALE; in updateFrom() 1479 changed |= ActivityInfo.CONFIG_MCC; in updateFrom() 1483 changed |= ActivityInfo.CONFIG_MNC; in updateFrom() 1489 changed |= ActivityInfo.CONFIG_LOCALE; in updateFrom() 1495 changed |= ActivityInfo.CONFIG_LAYOUT_DIRECTION; in updateFrom() 1505 changed |= ActivityInfo.CONFIG_LAYOUT_DIRECTION; in updateFrom() 1507 … if (delta.userSetLocale && (!userSetLocale || ((changed & ActivityInfo.CONFIG_LOCALE) != 0))) in updateFrom() 1509 changed |= ActivityInfo.CONFIG_LOCALE; in updateFrom() 1514 changed |= ActivityInfo.CONFIG_TOUCHSCREEN; in updateFrom() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | SecureSettingTest.kt | 91 var changed = false in <lambda>() variable 92 callback = { _, _ -> changed = true } in <lambda>() 98 assertThat(changed).isTrue() in <lambda>() 145 var changed = false in <lambda>() variable 146 callback = { _, _ -> changed = true } in <lambda>() 153 assertThat(changed).isTrue() in <lambda>()
|
/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/libs/hwui/jni/ |
D | MovieImpl.cpp | 58 bool changed = false; in setTime() local 62 changed = this->onSetTime(time); in setTime() 63 fNeedBitmap |= changed; in setTime() 65 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/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/media/java/android/media/ |
D | AudioPlaybackConfiguration.java | 415 final boolean changed = !attr.equals(mPlayerAttr); in handleAudioAttributesEvent() 417 return changed; in handleAudioAttributesEvent() 426 final boolean changed = sessionId != mSessionId; in handleSessionIdEvent() 428 return changed; in handleSessionIdEvent() 444 boolean changed = false; in handleStateEvent() 449 changed = (mPlayerState != event); in handleStateEvent() 454 changed = changed || (mDeviceId != deviceId); in handleStateEvent() 458 if (changed && (event == PLAYER_STATE_RELEASED) && (mIPlayerShell != null)) { in handleStateEvent() 463 return changed; in handleStateEvent()
|
/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/packages/SystemUI/src/com/android/systemui/ |
D | ResizingSpace.java | 44 boolean changed = false; in onConfigurationChanged() 49 changed = true; in onConfigurationChanged() 56 changed = true; in onConfigurationChanged() 59 if (changed) { in onConfigurationChanged()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | VolumeDialogControllerImpl.java | 463 boolean changed = false; in checkRoutedToBluetoothW() 470 changed |= updateStreamRoutedToBluetoothW(stream, routedToBluetooth); in checkRoutedToBluetoothW() 472 return changed; in checkRoutedToBluetoothW() 488 boolean changed = false; in onVolumeChangedW() 490 changed |= updateActiveStreamW(stream); in onVolumeChangedW() 493 changed |= updateStreamLevelW(stream, lastAudibleStreamVolume); in onVolumeChangedW() 494 changed |= checkRoutedToBluetoothW(showUI ? AudioManager.STREAM_MUSIC : stream); in onVolumeChangedW() 495 if (changed) { in onVolumeChangedW() 507 if (changed && fromKey) { in onVolumeChangedW() 510 return changed; in onVolumeChangedW() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DataEnabledSettings.java | 236 boolean changed = GlobalSettingsHelper.setInt(mPhone.getContext(), in setUserDataEnabled() 238 if (changed) { in setUserDataEnabled() 295 boolean changed = SubscriptionController.getInstance() in setAlwaysAllowMmsData() 297 if (changed) { in setAlwaysAllowMmsData() 302 return changed; in setAlwaysAllowMmsData() 323 boolean changed = SubscriptionController.getInstance() in setAllowDataDuringVoiceCall() 325 if (changed) { in setAllowDataDuringVoiceCall() 330 return changed; in setAllowDataDuringVoiceCall() 461 boolean changed = GlobalSettingsHelper.setBoolean(mPhone.getContext(), in setDataRoamingEnabled() 464 if (changed) { in setDataRoamingEnabled()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | DeviceIdleJobsController.java | 107 boolean changed = false; 110 changed |= 113 if (changed) { 149 boolean changed = false; in updateIdleMode() 152 changed = true; in updateIdleMode() 168 if (changed) { in updateIdleMode() 177 final boolean changed = (active != mForegroundUids.get(uid)); in setUidActiveLocked() 178 if (!changed) { in setUidActiveLocked()
|
/frameworks/base/core/java/com/android/internal/infra/ |
D | AndroidFuture.java | 136 boolean changed = super.complete(value); in complete() 137 if (changed) { in complete() 140 return changed; in complete() 145 boolean changed = super.completeExceptionally(ex); in completeExceptionally() 146 if (changed) { in completeExceptionally() 149 return changed; in completeExceptionally() 154 boolean changed = super.cancel(mayInterruptIfRunning); in cancel() 155 if (changed) { in cancel() 165 return changed; in cancel() 525 boolean changed; in writeToParcel() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | FlashlightControllerImpl.java | 243 boolean changed; 245 changed = mTorchAvailable != available; 248 if (changed) { 255 boolean changed; 257 changed = mFlashlightEnabled != enabled; 260 if (changed) {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneConnection.java | 554 boolean changed = false; in onDisconnect() 567 changed = mParent.connectionDisconnected(this); in onDisconnect() 583 return changed; in onDisconnect() 924 boolean changed = false; in updateAddressDisplay() 952 changed = true; in updateAddressDisplay() 957 changed = true; in updateAddressDisplay() 961 changed = true; in updateAddressDisplay() 965 changed = true; in updateAddressDisplay() 969 changed = true; in updateAddressDisplay() 973 return changed; in updateAddressDisplay() [all …]
|