Home
last modified time | relevance | path

Searched refs:oldInfo (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/content/pm/
DModuleInfoTest.java49 ModuleInfo oldInfo = new ModuleInfo(); in testDefaultCopy() local
50 ModuleInfo newInfo = new ModuleInfo(oldInfo); in testDefaultCopy()
51 assertThat(newInfo).isEqualTo(oldInfo); in testDefaultCopy()
/frameworks/base/core/java/android/widget/
DActionMenuPresenter.java322 ItemAnimationInfo oldInfo = mRunningItemAnimations.get(j); in runItemAnimations() local
323 if (oldInfo.id == id && oldInfo.animType == ItemAnimationInfo.MOVE) { in runItemAnimations()
324 oldInfo.animator.cancel(); in runItemAnimations()
360 ItemAnimationInfo oldInfo = mRunningItemAnimations.get(j); in runItemAnimations() local
361 if (oldInfo.id == id && oldInfo.animType == ItemAnimationInfo.FADE_IN) { in runItemAnimations()
362 oldAlpha = oldInfo.menuItemLayoutInfo.view.getAlpha(); in runItemAnimations()
363 oldInfo.animator.cancel(); in runItemAnimations()
397 ItemAnimationInfo oldInfo = mRunningItemAnimations.get(j); in runItemAnimations() local
398 if (oldInfo.id == id && oldInfo.animType == ItemAnimationInfo.FADE_OUT) { in runItemAnimations()
399 oldAlpha = oldInfo.menuItemLayoutInfo.view.getAlpha(); in runItemAnimations()
[all …]
/frameworks/base/services/core/java/com/android/server/location/contexthub/
DContextHubServiceUtil.java362 for (android.hardware.contexthub.V1_0.HubAppInfo oldInfo : oldInfoList) { in toHubAppInfo_1_2()
364 newInfo.info_1_0.appId = oldInfo.appId; in toHubAppInfo_1_2()
365 newInfo.info_1_0.version = oldInfo.version; in toHubAppInfo_1_2()
366 newInfo.info_1_0.memUsage = oldInfo.memUsage; in toHubAppInfo_1_2()
367 newInfo.info_1_0.enabled = oldInfo.enabled; in toHubAppInfo_1_2()
/frameworks/base/core/java/android/hardware/devicestate/
DDeviceStateManagerGlobal.java313 DeviceStateInfo oldInfo; in handleDeviceStateInfoChanged() local
315 oldInfo = mLastReceivedInfo; in handleDeviceStateInfoChanged()
320 final int diff = oldInfo == null ? ~0 : info.diff(oldInfo); in handleDeviceStateInfoChanged()
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
DProgramInfoCache.java256 RadioManager.ProgramInfo oldInfo = null; in shouldIncludeInModified() local
259 oldInfo = mProgramInfoMap.get(primaryId).get(uniqueId); in shouldIncludeInModified()
261 if (oldInfo == null) { in shouldIncludeInModified()
267 return !oldInfo.equals(newInfo); in shouldIncludeInModified()
/frameworks/base/services/core/java/com/android/server/broadcastradio/aidl/
DProgramInfoCache.java289 RadioManager.ProgramInfo oldInfo = null; in shouldIncludeInModified() local
292 oldInfo = mProgramInfoMap.get(primaryId).get(uniqueId); in shouldIncludeInModified()
294 if (oldInfo == null) { in shouldIncludeInModified()
300 return !oldInfo.equals(newInfo); in shouldIncludeInModified()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/wear/
DPackageInstallerImpl.java65 PackageInstaller.SessionInfo oldInfo = mSessionInfoMap.put(packageName, sessionInfo); in PackageInstallerImpl() local
68 if (oldInfo != null) { in PackageInstallerImpl()
69 Log.w(TAG, "Multiple sessions for " + packageName + " found. Removing " + oldInfo in PackageInstallerImpl()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityCache.java495 AccessibilityNodeInfo oldInfo = nodes.get(sourceId); in add() local
496 if (oldInfo != null) { in add()
503 final int oldChildCount = oldInfo.getChildCount(); in add()
505 final long oldChildId = oldInfo.getChildId(i); in add()
522 final long oldParentId = oldInfo.getParentNodeId(); in add()
/frameworks/base/core/java/android/transition/
DTransition.java1754 AnimationInfo oldInfo = runningAnimators.get(anim); in playTransition() local
1755 if (oldInfo != null && oldInfo.view != null && oldInfo.windowId == windowId) { in playTransition()
1756 TransitionValues oldValues = oldInfo.values; in playTransition()
1757 View oldView = oldInfo.view; in playTransition()
1764 oldInfo.transition.isTransitionRequired(oldValues, endValues); in playTransition()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperDataParser.java293 File oldInfo = new File(WallpaperBackupHelper.WALLPAPER_INFO_KEY); in migrateFromOld() local
294 if (oldInfo.exists()) { in migrateFromOld()
296 oldInfo.renameTo(newInfo); in migrateFromOld()
/frameworks/base/media/java/android/media/
DMediaRouter2.java1134 RoutingSessionInfo oldInfo = mSystemController.getRoutingSessionInfo(); in syncRoutesOnHandler() local
1137 if (!oldInfo.equals(currentSystemSessionInfo)) { in syncRoutesOnHandler()
1366 RoutingSessionInfo oldInfo = controller.getRoutingSessionInfo(); in getMatchingController() local
1367 if (!TextUtils.equals(oldInfo.getProviderId(), sessionInfo.getProviderId())) { in getMatchingController()
1372 + oldInfo.getProviderId() in getMatchingController()
/frameworks/base/services/core/java/com/android/server/media/
DMediaRouter2ServiceImpl.java2558 MediaRoute2ProviderInfo oldInfo = in onProviderStateChangedOnHandler() local
2561 if (oldInfo == newInfo) { in onProviderStateChangedOnHandler()
2580 mLastProviderInfos.remove(oldInfo); in onProviderStateChangedOnHandler()
2610 oldInfo == null ? Collections.emptyList() : oldInfo.getRoutes(); in onProviderStateChangedOnHandler()
2635 oldInfo.getUniqueId(), in onProviderStateChangedOnHandler()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAbstractAccessibilityServiceConnection.java526 AccessibilityServiceInfo oldInfo = mAccessibilityServiceInfo; in setServiceInfo() local
527 if (oldInfo != null) { in setServiceInfo()
528 oldInfo.updateDynamicallyConfigurableProperties(mIPlatformCompat, info); in setServiceInfo()
529 setDynamicallyConfigurableProperties(oldInfo); in setServiceInfo()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java7597 AbsoluteVolumeDeviceInfo oldInfo = mAbsoluteVolumeDeviceInfoMap.get(deviceOut); in registerDeviceVolumeDispatcherForAbsoluteVolume() local
7598 boolean volumeBehaviorChanged = (oldInfo == null) in registerDeviceVolumeDispatcherForAbsoluteVolume()
7599 || (oldInfo.mDeviceVolumeBehavior != deviceVolumeBehavior); in registerDeviceVolumeDispatcherForAbsoluteVolume()