Home
last modified time | relevance | path

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

123456789

/packages/modules/NetworkStack/src/android/net/ip/
DIpClientLinkObserver.java181 final boolean changed; in onInterfaceAddressUpdated()
184 changed = mLinkProperties.addLinkAddress(address); in onInterfaceAddressUpdated()
187 if (changed) { in onInterfaceAddressUpdated()
197 final boolean changed; in onInterfaceAddressRemoved()
200 changed = mLinkProperties.removeLinkAddress(address); in onInterfaceAddressRemoved()
203 if (changed) { in onInterfaceAddressRemoved()
213 final boolean changed; in onRouteUpdated()
216 changed = mLinkProperties.addRoute(route); in onRouteUpdated()
219 if (changed) { in onRouteUpdated()
229 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/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.java495 boolean changed = false; in updateService()
498 changed = true; in updateService()
524 changed = true; in updateService()
529 changed = true; in updateService()
542 changed = true; in updateService()
548 return changed; in updateService()
569 boolean changed = false; in buildDependencyChain()
573 changed = true; in buildDependencyChain()
578 changed |= proc.buildDependencyChain(context, pm, curSeq); in buildDependencyChain()
582 changed = true; in buildDependencyChain()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DRunningState.java495 boolean changed = false; in updateService()
498 changed = true; in updateService()
524 changed = true; in updateService()
529 changed = true; in updateService()
542 changed = true; in updateService()
548 return changed; in updateService()
569 boolean changed = false; in buildDependencyChain()
573 changed = true; in buildDependencyChain()
578 changed |= proc.buildDependencyChain(context, pm, curSeq); in buildDependencyChain()
582 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/apps/PermissionController/src/com/android/permissioncontroller/role/ui/handheld/
DAppIconPreference.java103 boolean changed = false; in onBindViewHolder()
106 changed = true; in onBindViewHolder()
110 changed = true; in onBindViewHolder()
112 if (changed) { in onBindViewHolder()
/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/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/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/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/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/Messaging/src/com/android/messaging/datamodel/data/
DParticipantData.java362 boolean changed = false; in updatePhoneNumberForSelfIfChanged()
369 changed = true; in updatePhoneNumberForSelfIfChanged()
371 return changed; in updatePhoneNumberForSelfIfChanged()
375 boolean changed = false; in updateSubscriptionInfoForSelfIfChanged()
383 changed = true; in updateSubscriptionInfoForSelfIfChanged()
393 changed = true; in updateSubscriptionInfoForSelfIfChanged()
397 return changed; in updateSubscriptionInfoForSelfIfChanged()
/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/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/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/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/Launcher3/quickstep/src/com/android/quickstep/
DSystemUiProxy.java156 boolean changed = Float.compare(alpha, mLastBackButtonAlpha) != 0 in setBackButtonAlpha()
158 if (mSystemUiProxy != null && changed) { in setBackButtonAlpha()
275 boolean changed = visible != mLastShelfVisible || shelfHeight != mLastShelfHeight; in setShelfHeight()
276 if (mSystemUiProxy != null && changed) { in setShelfHeight()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictEncoderUtils.java322 boolean changed = false; in computeActualPtNodeArraySize()
327 changed = true; in computeActualPtNodeArraySize()
350 changed = true; in computeActualPtNodeArraySize()
352 return changed; in computeActualPtNodeArraySize()
426 final boolean changed = computeActualPtNodeArraySize(ptNodeArray, dict, in computeAddresses()
433 changesDone |= changed; in computeAddresses()
/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