Home
last modified time | relevance | path

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

123456789

/packages/modules/NetworkStack/src/android/net/ip/
DIpClientLinkObserver.java187 final boolean changed; in onInterfaceAddressUpdated()
190 changed = mLinkProperties.addLinkAddress(address); in onInterfaceAddressUpdated()
193 if (changed) { in onInterfaceAddressUpdated()
203 final boolean changed; in onInterfaceAddressRemoved()
206 changed = mLinkProperties.removeLinkAddress(address); in onInterfaceAddressRemoved()
209 if (changed) { in onInterfaceAddressRemoved()
219 final boolean changed; in onRouteUpdated()
222 changed = mLinkProperties.addRoute(route); in onRouteUpdated()
225 if (changed) { in onRouteUpdated()
235 final boolean changed; in onRouteRemoved()
[all …]
/packages/services/Mtp/src/com/android/mtp/
DMapper.java70 final boolean changed = putDocuments( in putDeviceDocument()
78 return changed; in putDeviceDocument()
110 final boolean changed = putDocuments( in putStorageDocuments()
119 return changed; in putStorageDocuments()
246 boolean changed = false; in putDocuments()
266 changed = true; in putDocuments()
270 if (!changed) { in putDocuments()
287 if (!changed) { in putDocuments()
292 changed = true; in putDocuments()
299 return changed; in putDocuments()
[all …]
DRootScanner.java133 boolean changed = false; in run()
141 changed = true; in run()
146 changed = true; in run()
165 changed = true; in run()
168 changed = true; in run()
176 if (changed) { in run()
DMtpDatabase.java451 boolean changed = false; in deleteDocumentsAndRootsRecursively()
465 changed = true; in deleteDocumentsAndRootsRecursively()
472 changed = true; in deleteDocumentsAndRootsRecursively()
475 return changed; in deleteDocumentsAndRootsRecursively()
490 boolean changed = false; in disconnectDocumentsRecursively()
503 changed = true; in disconnectDocumentsRecursively()
508 changed = true; in disconnectDocumentsRecursively()
511 return changed; in disconnectDocumentsRecursively()
/packages/apps/TV/src/com/android/tv/parental/
DParentalControlSettings.java150 boolean changed; in setUnratedBlocked()
152 changed = mRatings.add(TvContentRating.UNRATED); in setUnratedBlocked()
155 changed = mRatings.remove(TvContentRating.UNRATED); in setUnratedBlocked()
158 if (changed) { in setUnratedBlocked()
162 return changed; in setUnratedBlocked()
264 boolean changed; in setRatingBlockedInternal()
266 changed = mRatings.add(tvContentRating); in setRatingBlockedInternal()
269 changed = mRatings.remove(tvContentRating); in setRatingBlockedInternal()
272 if (changed) { in setRatingBlockedInternal()
275 return changed; in setRatingBlockedInternal()
/packages/modules/Permission/service/java/com/android/role/
DRoleUserState.java220 boolean changed = false; in setRoleNames()
232 changed = true; in setRoleNames()
238 changed |= addRoleName(roleNames.get(i)); in setRoleNames()
241 if (changed) { in setRoleNames()
257 boolean changed; in addRoleHolder()
266 changed = roleHolders.add(packageName); in addRoleHolder()
267 if (changed) { in addRoleHolder()
272 if (changed) { in addRoleHolder()
288 boolean changed; in removeRoleHolder()
298 changed = roleHolders.remove(packageName); in removeRoleHolder()
[all …]
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DPreferredServices.java170 boolean changed = false; in computePreferredForegroundService()
180 changed = true; in computePreferredForegroundService()
183 changed = true; in computePreferredForegroundService()
187 if (changed) { in computePreferredForegroundService()
204 boolean changed = false; in onServicesUpdated()
214 changed = true; in onServicesUpdated()
220 if (changed) { in onServicesUpdated()
337 boolean changed = false; in onHostEmulationDeactivated()
350 changed = true; in onHostEmulationDeactivated()
355 if (changed) { in onHostEmulationDeactivated()
DEnabledNfcFServices.java69 boolean changed = false; in computeEnabledForegroundService()
82 changed = true; in computeEnabledForegroundService()
85 changed = true; in computeEnabledForegroundService()
89 if (changed) { in computeEnabledForegroundService()
97 boolean changed = false; in onServicesUpdated()
103 changed = true; in onServicesUpdated()
106 if (changed) { in onServicesUpdated()
/packages/apps/Settings/src/com/android/settings/applications/
DRunningState.java501 boolean changed = false; in updateService()
504 changed = true; in updateService()
530 changed = true; in updateService()
535 changed = true; in updateService()
548 changed = true; in updateService()
554 return changed; in updateService()
575 boolean changed = false; in buildDependencyChain()
579 changed = true; in buildDependencyChain()
584 changed |= proc.buildDependencyChain(context, pm, curSeq); in buildDependencyChain()
588 changed = true; in buildDependencyChain()
[all …]
/packages/apps/Gallery/src/com/android/camera/
DEvenlySpacedLayout.java69 private void layoutHorizontal(boolean changed, int l, int t, int r, int b) { in layoutHorizontal() argument
96 private void layoutVertical(boolean changed, int l, int t, int r, int b) { in layoutVertical() argument
124 protected void onLayout(boolean changed, int l, int t, int r, int b) { in onLayout() argument
126 layoutHorizontal(changed, l, t, r, b); in onLayout()
128 layoutVertical(changed, l, t, r, b); in onLayout()
/packages/modules/StatsD/statsd/src/condition/
DSimpleConditionTracker.cpp187 bool changed = false; in handleConditionEvent() local
201 changed = true; in handleConditionEvent()
208 changed = true; in handleConditionEvent()
219 changed = true; in handleConditionEvent()
242 changed = true; in handleConditionEvent()
259 (*conditionChangedCache) = changed; in handleConditionEvent()
/packages/apps/Contacts/src/com/android/contacts/editor/
DAggregationSuggestionEngine.java314 boolean changed = updateSuggestedContactIds(cursor); in loadAggregationSuggestions()
315 if (!changed) { in loadAggregationSuggestions()
342 boolean changed = count != mSuggestedContactIds.length; in updateSuggestedContactIds()
346 if (!changed && Arrays.binarySearch(mSuggestedContactIds, contactId) < 0) { in updateSuggestedContactIds()
347 changed = true; in updateSuggestedContactIds()
352 if (changed) { in updateSuggestedContactIds()
361 return changed; in updateSuggestedContactIds()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiScoreCard.java773 public boolean changed; field in WifiScoreCard.PerBssid
787 this.changed = false; in PerBssid()
795 changed = true; in updateEventStats()
799 changed = true; in updateEventStats()
807 changed = true; in updateEventStats()
829 changed = true; in setSecurityType()
871 changed = true; in merge()
883 changed = true; in merge()
1053 public boolean changed; field in WifiScoreCard.PerNetwork
1088 this.changed = false; in PerNetwork()
[all …]
/packages/apps/ThemePicker/src/com/android/customization/widget/
DDynamicAdaptiveIconDrawable.java504 final boolean changed = super.setVisible(visible, restart); in setVisible()
514 return changed; in setVisible()
618 boolean changed = false; in onStateChange()
624 changed = true; in onStateChange()
628 if (changed) { in onStateChange()
632 return changed; in onStateChange()
637 boolean changed = false; in onLevelChange()
643 changed = true; in onLevelChange()
647 if (changed) { in onLevelChange()
651 return changed; in onLevelChange()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DRightAlignedHorizontalScrollView.java35 protected void onLayout(boolean changed, int l, int t, int r, int b) { in onLayout() argument
36 super.onLayout(changed, l, t, r, b); in onLayout()
37 if (changed) { in onLayout()
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DCarrierIdProviderTest.java91 private boolean changed = false; field in CarrierIdProviderTest.FakeContentObserver
97 changed = true; in onChange()
177 assertTrue(mContentObserver.changed); in testInsertCarrierInfo()
212 assertFalse(mContentObserver.changed); in testInvalidInsertionCarrierInfo()
237 assertTrue(mContentObserver.changed); in testDeleteCarrierInfo()
273 assertTrue(mContentObserver.changed); in testUpdateCarrierInfo()
418 assertFalse(mContentObserver.changed); in testUpdateCurrentSubscription_WrongURI()
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/darkmode/
DDarkModeScheduleSelectorControllerTest.java89 boolean changed = mController in nightMode_preferenceChange_preferenceChangeTrueWhenChangedOnly()
91 assertTrue(changed); in nightMode_preferenceChange_preferenceChangeTrueWhenChangedOnly()
92 changed = mController in nightMode_preferenceChange_preferenceChangeTrueWhenChangedOnly()
94 assertFalse(changed); in nightMode_preferenceChange_preferenceChangeTrueWhenChangedOnly()
/packages/apps/Camera2/src/com/android/camera/ui/
DProgressOverlay.java45 public void onLayout(boolean changed, int left, int top, int right, int bottom) { in onLayout() argument
46 super.onLayout(changed, left, top, right, bottom); in onLayout()
47 if (changed) { in onLayout()
/packages/modules/adb/daemon/
Dlogging.cpp66 bool changed; in GetLogStatus() local
67 const char* value = property->Get(&changed); in GetLogStatus()
68 if (changed || !*cached_status) { in GetLogStatus()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DComboAlbumSet.java78 boolean changed = false; in reload()
81 if (version > mDataVersion) changed = true; in reload()
83 if (changed) mDataVersion = nextVersionNumber(); in reload()
DComboAlbum.java85 boolean changed = false; in reload()
88 if (version > mDataVersion) changed = true; in reload()
90 if (changed) mDataVersion = nextVersionNumber(); in reload()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DParticipantData.java396 boolean changed = false; in updatePhoneNumberForSelfIfChanged()
403 changed = true; in updatePhoneNumberForSelfIfChanged()
405 return changed; in updatePhoneNumberForSelfIfChanged()
409 boolean changed = false; in updateSubscriptionInfoForSelfIfChanged()
417 changed = true; in updateSubscriptionInfoForSelfIfChanged()
427 changed = true; in updateSubscriptionInfoForSelfIfChanged()
431 return changed; in updateSubscriptionInfoForSelfIfChanged()
/packages/apps/Camera2/src/com/android/camera/tinyplanet/
DTinyPlanetPreview.java103 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { in onLayout() argument
104 super.onLayout(changed, left, top, right, bottom); in onLayout()
105 if (changed && mPreviewSizeListener != null) { in onLayout()
/packages/apps/Gallery2/src/com/android/photos/data/
DSQLiteContentProvider.java245 Set<Uri> changed; in onEndTransaction() local
247 changed = new HashSet<Uri>(mChangedUris); in onEndTransaction()
251 for (Uri uri : changed) { in onEndTransaction()
255 return changed; in onEndTransaction()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/
DMtpImageView.java185 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { in onLayout() argument
186 super.onLayout(changed, left, top, right, bottom); in onLayout()
187 if (changed && getScaleType() == ScaleType.MATRIX) { in onLayout()
190 if (mShowOverlayIcon && changed && mOverlayIcon != null) { in onLayout()

123456789