Home
last modified time | relevance | path

Searched refs:newInfo (Results 1 – 25 of 31) sorted by relevance

12

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/temporarydisplay/chipbar/
H A DChipbarCoordinator.kt134 newInfo.windowTitle,
135 newInfo.text.loadText(context),
136 when (newInfo.endItem) {
144 currentView.setTag(INFO_TAG, newInfo)
158 TintedIconViewBinder.bind(newInfo.startIcon, iconView)
162 TextViewBinder.bind(textView, newInfo.text)
192 val hasButton = newInfo.endItem is ChipbarEndItem.Button
224 if (newInfo.endItem is ChipbarEndItem.Loading) {
234 maybeGetAccessibilityFocus(newInfo, currentView)
240 newInfo.vibrationEffect?.let {
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/temporarydisplay/
H A DTemporaryViewDisplayController.kt144 fun displayView(newInfo: T) {
146 newInfo.timeoutMs,
160 logger.logViewUpdate(newInfo)
161 currentDisplayInfo.info = newInfo
164 updateView(newInfo, view)
169 info = newInfo,
188 logger.logViewAdditionDelayed(newInfo)
191 removeFromActivesIfNeeded(newInfo.id)
261 val newInfo = displayInfo.info regex
272 updateView(newInfo, newView)
[all …]
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/
H A DTileUtilsTest.java125 info.add(newInfo(true, testCategory)); in getTilesForIntent_shouldParseCategory()
145 ResolveInfo resolveInfo = newInfo(true, null /* category */, keyHint); in getTilesForIntent_shouldParseKeyHintForSystemApp()
167 info.add(newInfo(false, testCategory)); in getTilesForIntent_shouldSkipNonSystemApp()
206 ResolveInfo resolveInfo = newInfo(true, null /* category */, null, URI_GET_ICON, in getTilesForIntent_shouldReadMetadataTitleAsString()
228 ResolveInfo resolveInfo = newInfo(true, null /* category */, null, URI_GET_ICON, in getTilesForIntent_shouldReadMetadataTitleFromResource()
252 ResolveInfo resolveInfo = newInfo(true, null /* category */, null, URI_GET_ICON, in getTilesForIntent_shouldNotTintIconIfInSettingsPackage()
307 ResolveInfo resolveInfo = newInfo(true, null /* category */, null, URI_GET_ICON, in getTilesForIntent_shouldMarkIconTintableIfMetadataSet()
330 ResolveInfo resolveInfo = newInfo(true, null /* category */, null, URI_GET_ICON, in getTilesForIntent_shouldProcessUriContentForSystemApp()
436 public static ResolveInfo newInfo(boolean systemApp, String category) { in newInfo() method in TileUtilsTest
437 return newInfo(systemApp, category, null); in newInfo()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/location/contexthub/
H A DContextHubServiceUtil.java360 HubAppInfo newInfo = new HubAppInfo(); in toHubAppInfo_1_2() local
361 newInfo.info_1_0.appId = oldInfo.appId; in toHubAppInfo_1_2()
362 newInfo.info_1_0.version = oldInfo.version; in toHubAppInfo_1_2()
363 newInfo.info_1_0.memUsage = oldInfo.memUsage; in toHubAppInfo_1_2()
364 newInfo.info_1_0.enabled = oldInfo.enabled; in toHubAppInfo_1_2()
365 newInfo.permissions = new ArrayList<String>(); in toHubAppInfo_1_2()
366 newAppInfo.add(newInfo); in toHubAppInfo_1_2()
/aosp14/frameworks/base/services/core/java/com/android/server/broadcastradio/aidl/
H A DProgramInfoCache.java168 RadioManager.ProgramInfo newInfo = entry.getValue(); in filterAndUpdateFromInternal() local
169 if (!shouldIncludeInModified(newInfo)) { in filterAndUpdateFromInternal()
172 mProgramInfoMap.put(id, newInfo); in filterAndUpdateFromInternal()
173 modified.add(newInfo); in filterAndUpdateFromInternal()
236 private boolean shouldIncludeInModified(RadioManager.ProgramInfo newInfo) { in shouldIncludeInModified() argument
238 newInfo.getSelector().getPrimaryId()); in shouldIncludeInModified()
245 return !oldInfo.equals(newInfo); in shouldIncludeInModified()
/aosp14/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
H A DProgramInfoCache.java149 RadioManager.ProgramInfo newInfo = entry.getValue(); in filterAndUpdateFromInternal() local
150 if (!shouldIncludeInModified(newInfo)) { in filterAndUpdateFromInternal()
153 mProgramInfoMap.put(id, newInfo); in filterAndUpdateFromInternal()
154 modified.add(newInfo); in filterAndUpdateFromInternal()
218 private boolean shouldIncludeInModified(RadioManager.ProgramInfo newInfo) { in shouldIncludeInModified() argument
220 newInfo.getSelector().getPrimaryId()); in shouldIncludeInModified()
227 return !oldInfo.equals(newInfo); in shouldIncludeInModified()
/aosp14/frameworks/base/core/java/com/android/internal/app/
H A DResolverListController.java184 final ResolveInfo newInfo = from.get(i); in addResolveListDedupe() local
185 if (newInfo.userHandle == null) { in addResolveListDedupe()
186 Log.w(TAG, "Skipping ResolveInfo with no userHandle: " + newInfo); in addResolveListDedupe()
193 if (isSameResolvedComponent(newInfo, rci)) { in addResolveListDedupe()
195 rci.add(intent, newInfo); in addResolveListDedupe()
201 newInfo.activityInfo.packageName, newInfo.activityInfo.name); in addResolveListDedupe()
203 new ResolverActivity.ResolvedComponentInfo(name, intent, newInfo); in addResolveListDedupe()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/media/taptotransfer/receiver/
H A DMediaTttChipControllerReceiver.kt203 override fun updateView(newInfo: ChipReceiverInfo, currentView: ViewGroup) {
204 val packageName: String? = newInfo.routeInfo.clientPackageName
213 if (newInfo.appNameOverride != null) {
215 contentDescription = ContentDescription.Loaded(newInfo.appNameOverride.toString())
219 if (newInfo.appIconDrawableOverride != null) {
221 icon = MediaTttIcon.Loaded(newInfo.appIconDrawableOverride),
/aosp14/frameworks/base/services/core/java/com/android/server/notification/
H A DZenModeEventLogger.java101 public final void maybeLogZenChange(ZenModeInfo prevInfo, ZenModeInfo newInfo, int callingUid, in maybeLogZenChange() argument
103 mChangeState.init(prevInfo, newInfo, callingUid, fromSystemOrSystemUi); in maybeLogZenChange()
225 private void init(ZenModeInfo prevInfo, ZenModeInfo newInfo, int callingUid, in init() argument
229 mNewZenMode = newInfo.mZenMode; in init()
231 mNewConfig = newInfo.mConfig; in init()
233 mNewPolicy = newInfo.mPolicy; in init()
/aosp14/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/
H A DProcessErrorsTest.java321 public ProcessError(ProcessErrorStateInfo newInfo) { in ProcessError() argument
322 info = newInfo; in ProcessError()
/aosp14/frameworks/base/telecomm/java/android/telecom/Logging/
H A DSession.java87 String newInfo = ownerInfo != null && s.getOwnerInfo() != null in getExternalInfo() local
97 !Log.DEBUG && s.isSessionExternal()), newInfo); in getExternalInfo()
/aosp14/frameworks/base/core/java/android/hardware/display/
H A DDisplayManagerGlobal.java1160 DisplayInfo newInfo = (DisplayInfo) msg.obj; in handleMessage() local
1161 if (newInfo != null && !newInfo.equals(mDisplayInfo)) { in handleMessage()
1162 mDisplayInfo.copyFrom(newInfo); in handleMessage()
/aosp14/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DOwners.java586 boolean saveSystemUpdateInfo(@Nullable SystemUpdateInfo newInfo) { in saveSystemUpdateInfo() argument
589 if (Objects.equals(newInfo, mData.mSystemUpdateInfo)) { in saveSystemUpdateInfo()
593 mData.mSystemUpdateInfo = newInfo; in saveSystemUpdateInfo()
/aosp14/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
H A DAccessPointTest.java728 NetworkInfo newInfo = copyNetworkInfo(networkInfo);
729 newInfo.setDetailedState(NetworkInfo.DetailedState.CONNECTED, "", "");
730 assertThat(ap.update(config, wifiInfo, newInfo)).isTrue();
754 NetworkInfo newInfo = copyNetworkInfo(networkInfo); // same values
755 assertThat(ap.update(config, wifiInfo, newInfo)).isFalse();
779 NetworkInfo newInfo = copyNetworkInfo(networkInfo); // same values
781 assertThat(ap.update(config, wifiInfo, newInfo)).isTrue();
805 NetworkInfo newInfo = copyNetworkInfo(networkInfo); // same values
807 assertThat(ap.update(config, wifiInfo, newInfo)).isFalse();
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DActivityMetricsLogger.java736 final TransitionInfo newInfo = TransitionInfo.create(launchedActivity, launchingState, in notifyActivityLaunched() local
739 if (newInfo == null) { in notifyActivityLaunched()
746 mTransitionInfoList.add(newInfo); in notifyActivityLaunched()
747 mLastTransitionInfo.put(launchedActivity, newInfo); in notifyActivityLaunched()
748 startLaunchTrace(newInfo); in notifyActivityLaunched()
749 if (newInfo.isInterestingToLoggerAndObserver()) { in notifyActivityLaunched()
750 launchObserverNotifyActivityLaunched(newInfo); in notifyActivityLaunched()
753 launchObserverNotifyIntentFailed(newInfo.mLaunchingState.mStartUptimeNs); in notifyActivityLaunched()
H A DDisplayPolicy.java2001 final DecorInsets.Info newInfo = mDecorInsets.mTmpInfo;
2002 newInfo.update(mDisplayContent, rotation, dw, dh);
2004 if (newInfo.mConfigFrame.equals(currentInfo.mConfigFrame)) {
2007 if (newInfo.mLastInsetsSourceCount != currentInfo.mLastInsetsSourceCount) {
2016 mDecorInsets.mInfoForRotation[rotation].set(newInfo);
2025 mDecorInsets.mInfoForRotation[rotation].set(newInfo);
H A DTaskOrganizerController.java309 final RunningTaskInfo newInfo = mTmpTaskInfo; in dispatchTaskInfoChanged() local
323 mOrganizerState.mOrganizer.onTaskInfoChanged(task, newInfo); in dispatchTaskInfoChanged()
/aosp14/frameworks/base/libs/hwui/hwui/
H A DBitmap.cpp254 void Bitmap::reconfigure(const SkImageInfo& newInfo, size_t rowBytes) { in reconfigure() argument
255 mInfo = validateAlpha(newInfo); in reconfigure()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
H A DDisplayLayout.java423 final DisplayCutout.CutoutPathParserInfo newInfo = new DisplayCutout.CutoutPathParserInfo( in calculateDisplayCutoutForRotation() local
428 DisplayCutout.constructDisplayCutout(newBounds, waterfallInsets, newInfo), in calculateDisplayCutoutForRotation()
/aosp14/frameworks/base/services/core/java/com/android/server/wallpaper/
H A DWallpaperDataParser.java311 File newInfo = new File(getWallpaperDir(0), WALLPAPER_INFO); in migrateFromOld() local
312 oldInfo.renameTo(newInfo); in migrateFromOld()
/aosp14/frameworks/base/services/core/java/com/android/server/media/
H A DMediaRouter2ServiceImpl.java1951 MediaRoute2ProviderInfo newInfo = provider.getProviderInfo(); in onProviderStateChangedOnHandler() local
1958 if (oldInfo == newInfo) { in onProviderStateChangedOnHandler()
1965 if (newInfo != null) { in onProviderStateChangedOnHandler()
1967 newRoutes = newInfo.getRoutes(); in onProviderStateChangedOnHandler()
1971 mLastProviderInfos.set(providerInfoIndex, newInfo); in onProviderStateChangedOnHandler()
1973 mLastProviderInfos.add(newInfo); in onProviderStateChangedOnHandler()
2024 newInfo.getUniqueId(), in onProviderStateChangedOnHandler()
/aosp14/frameworks/base/core/java/android/view/
H A DDisplay.java1859 DisplayInfo newInfo = mGlobal.getDisplayInfo(mDisplayId); in updateDisplayInfoLocked() local
1860 if (newInfo == null) { in updateDisplayInfoLocked()
1870 mDisplayInfo = newInfo; in updateDisplayInfoLocked()
H A DDisplayCutout.java1186 final CutoutPathParserInfo newInfo = new CutoutPathParserInfo( in getRotated() local
1194 DisplayCutout.constructDisplayCutout(newBounds, waterfallInsets, newInfo); in getRotated()
/aosp14/frameworks/base/services/core/java/com/android/server/adb/
H A DAdbDebuggingManager.java1117 AdbConnectionInfo newInfo = getCurrentWifiApInfo(); in handleMessage() local
1118 if (newInfo == null || !bssid.equals(newInfo.getBSSID())) { in handleMessage()
1122 setAdbConnectionInfo(newInfo); in handleMessage()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/temporarydisplay/
H A DTemporaryViewDisplayControllerTest.kt1169 override fun updateView(newInfo: ViewInfo, currentView: ViewGroup) {
1170 mostRecentViewInfo = newInfo

12