Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/temporarydisplay/chipbar/
DChipbarCoordinator.kt129 override fun updateView(newInfo: ChipbarInfo, currentView: ViewGroup) { in <lambda>()
133 newInfo.windowTitle, in <lambda>()
134 newInfo.text.loadText(context), in <lambda>()
135 when (newInfo.endItem) { in <lambda>()
143 currentView.setTag(INFO_TAG, newInfo) in <lambda>()
157 TintedIconViewBinder.bind(newInfo.startIcon, iconView) in <lambda>()
161 TextViewBinder.bind(textView, newInfo.text) in <lambda>()
168 val isLoading = newInfo.endItem == ChipbarEndItem.Loading in <lambda>()
187 (newInfo.endItem == ChipbarEndItem.Error).visibleIfTrue() in <lambda>()
191 val hasButton = newInfo.endItem is ChipbarEndItem.Button in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/temporarydisplay/
DTemporaryViewDisplayController.kt144 fun displayView(newInfo: T) { in <lambda>()
146 newInfo.timeoutMs, in <lambda>()
156 if (currentDisplayInfo != null && currentDisplayInfo.info.id == newInfo.id) { in <lambda>()
160 logger.logViewUpdate(newInfo) in <lambda>()
161 currentDisplayInfo.info = newInfo in <lambda>()
164 updateView(newInfo, view) in <lambda>()
169 info = newInfo, in <lambda>()
187 if (currentDisplayInfo.info.priority > newInfo.priority) { in <lambda>()
188 logger.logViewAdditionDelayed(newInfo) in <lambda>()
191 removeFromActivesIfNeeded(newInfo.id) in <lambda>()
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/
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()
275 final ResolveInfo resolveInfo = newInfo(true, null /* category */, null, URI_GET_ICON, in getTilesForIntent_tileAlreadyInCache_shouldUpdateMetaData()
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()
350 ResolveInfo resolveInfo = newInfo(true, null /* category */, null, URI_GET_ICON, in loadTilesForAction_isPrimaryProfileOnly_shouldSkipNonPrimaryUserTiles()
[all …]
/frameworks/base/core/tests/coretests/src/android/content/pm/
DModuleInfoTest.java50 ModuleInfo newInfo = new ModuleInfo(oldInfo); in testDefaultCopy() local
51 assertThat(newInfo).isEqualTo(oldInfo); in testDefaultCopy()
64 ModuleInfo newInfo = new ModuleInfo(info); in testCopy() local
65 assertThat(newInfo).isEqualTo(info); in testCopy()
/frameworks/base/services/core/java/com/android/server/location/contexthub/
DContextHubServiceUtil.java363 HubAppInfo newInfo = new HubAppInfo(); in toHubAppInfo_1_2() local
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()
368 newInfo.permissions = new ArrayList<String>(); in toHubAppInfo_1_2()
369 newAppInfo.add(newInfo); in toHubAppInfo_1_2()
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
DProgramInfoCache.java157 RadioManager.ProgramInfo newInfo = entries.valueAt(entryIndex); in filterAndUpdateFromInternal() local
158 if (!shouldIncludeInModified(newInfo)) { in filterAndUpdateFromInternal()
161 putInfo(newInfo); in filterAndUpdateFromInternal()
162 modified.add(newInfo); in filterAndUpdateFromInternal()
254 private boolean shouldIncludeInModified(RadioManager.ProgramInfo newInfo) { in shouldIncludeInModified() argument
255 Identifier primaryId = newInfo.getSelector().getPrimaryId(); in shouldIncludeInModified()
258 UniqueProgramIdentifier uniqueId = new UniqueProgramIdentifier(newInfo.getSelector()); in shouldIncludeInModified()
267 return !oldInfo.equals(newInfo); in shouldIncludeInModified()
/frameworks/base/services/core/java/com/android/server/broadcastradio/aidl/
DProgramInfoCache.java183 RadioManager.ProgramInfo newInfo = entries.valueAt(entryIndex); in filterAndUpdateFromInternal() local
184 if (!shouldIncludeInModified(newInfo)) { in filterAndUpdateFromInternal()
187 putInfo(newInfo); in filterAndUpdateFromInternal()
188 modified.add(newInfo); in filterAndUpdateFromInternal()
287 private boolean shouldIncludeInModified(RadioManager.ProgramInfo newInfo) { in shouldIncludeInModified() argument
288 Identifier primaryId = newInfo.getSelector().getPrimaryId(); in shouldIncludeInModified()
291 UniqueProgramIdentifier uniqueId = new UniqueProgramIdentifier(newInfo.getSelector()); in shouldIncludeInModified()
300 return !oldInfo.equals(newInfo); in shouldIncludeInModified()
/frameworks/base/core/java/com/android/internal/app/
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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/taptotransfer/receiver/
DMediaTttChipControllerReceiver.kt203 override fun updateView(newInfo: ChipReceiverInfo, currentView: ViewGroup) { in <lambda>()
204 val packageName: String? = newInfo.routeInfo.clientPackageName in <lambda>()
213 if (newInfo.appNameOverride != null) { in <lambda>()
215 contentDescription = ContentDescription.Loaded(newInfo.appNameOverride.toString()) in <lambda>()
219 if (newInfo.appIconDrawableOverride != null) { in <lambda>()
221 icon = MediaTttIcon.Loaded(newInfo.appIconDrawableOverride), in <lambda>()
/frameworks/av/media/libmedia/omx/1.0/
DWOmx.cpp48 auto newInfo = list->insert( in listNodes() local
50 convertTo(&*newInfo, nodeList[i]); in listNodes()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeEventLogger.java115 public final void maybeLogZenChange(ZenModeInfo prevInfo, ZenModeInfo newInfo, int callingUid, in maybeLogZenChange() argument
117 mChangeState.init(prevInfo, newInfo, callingUid, origin); in maybeLogZenChange()
240 private void init(ZenModeInfo prevInfo, ZenModeInfo newInfo, int callingUid, in init() argument
244 mNewZenMode = newInfo.mZenMode; in init()
246 mNewConfig = newInfo.mConfig; in init()
248 mNewPolicy = newInfo.mPolicy; in init()
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/
DProcessErrorsTest.java321 public ProcessError(ProcessErrorStateInfo newInfo) { in ProcessError() argument
322 info = newInfo; in ProcessError()
/frameworks/base/telecomm/java/android/telecom/Logging/
DSession.java87 String newInfo = ownerInfo != null && s.getOwnerInfo() != null in getExternalInfo() local
97 !Log.DEBUG && s.isSessionExternal()), newInfo); in getExternalInfo()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityMetricsLogger.java748 final TransitionInfo newInfo = TransitionInfo.create(launchedActivity, launchingState, in notifyActivityLaunched() local
751 if (newInfo == null) { in notifyActivityLaunched()
758 updateSplitPairLaunches(newInfo); in notifyActivityLaunched()
762 mTransitionInfoList.add(newInfo); in notifyActivityLaunched()
763 mLastTransitionInfo.put(launchedActivity, newInfo); in notifyActivityLaunched()
764 startLaunchTrace(newInfo); in notifyActivityLaunched()
765 if (newInfo.isInterestingToLoggerAndObserver()) { in notifyActivityLaunched()
766 launchObserverNotifyActivityLaunched(newInfo); in notifyActivityLaunched()
769 launchObserverNotifyIntentFailed(newInfo.mLaunchingState.mStartUptimeNs); in notifyActivityLaunched()
DDisplayPolicy.java2122 final DecorInsets.Info newInfo = mDecorInsets.mTmpInfo;
2123 final InsetsState newInsetsState = newInfo.update(mDisplayContent, rotation, dw, dh);
2125 if (newInfo.mConfigFrame.equals(currentInfo.mConfigFrame)
2126 && newInfo.mOverrideConfigFrame.equals(currentInfo.mOverrideConfigFrame)) {
2140 mDecorInsets.mInfoForRotation[rotation].set(newInfo);
2148 mDecorInsets.mInfoForRotation[rotation].set(newInfo);
DTaskOrganizerController.java306 final RunningTaskInfo newInfo = mTmpTaskInfo; in dispatchTaskInfoChanged() local
320 mOrganizerState.mOrganizer.onTaskInfoChanged(task, newInfo); in dispatchTaskInfoChanged()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
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()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
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();
/frameworks/base/libs/hwui/hwui/
DBitmap.cpp253 void Bitmap::reconfigure(const SkImageInfo& newInfo, size_t rowBytes) { in reconfigure() argument
254 mInfo = validateAlpha(newInfo); in reconfigure()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityThreadTest.java849 final ActivityWindowInfo newInfo = new ActivityWindowInfo(); in testActivityWindowInfoChanged_activityRelaunch() local
850 newInfo.set(true /* isEmbedded */, new Rect(0, 0, 1000, 2000), in testActivityWindowInfoChanged_activityRelaunch()
855 false /* preserveWindow */, newInfo); in testActivityWindowInfoChanged_activityRelaunch()
863 verify(mActivityWindowInfoListener).accept(activityClientRecord.token, newInfo); in testActivityWindowInfoChanged_activityRelaunch()
/frameworks/base/core/java/android/view/
DDisplay.java1959 DisplayInfo newInfo = mGlobal.getDisplayInfo(mDisplayId); in updateDisplayInfoLocked() local
1960 if (newInfo == null) { in updateDisplayInfoLocked()
1970 mDisplayInfo = newInfo; in updateDisplayInfoLocked()
/frameworks/base/services/core/java/com/android/server/am/
DAppStartInfoTracker.java320 ApplicationStartInfo newInfo = addStartInfoLocked(info); in onActivityLaunched() local
321 if (newInfo == null) { in onActivityLaunched()
326 mInProgressRecords.setValueAt(index, newInfo); in onActivityLaunched()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperDataParser.java295 File newInfo = new File(getWallpaperDir(0), WALLPAPER_INFO); in migrateFromOld() local
296 oldInfo.renameTo(newInfo); in migrateFromOld()
/frameworks/base/services/core/java/com/android/server/media/
DMediaRouter2ServiceImpl.java2555 MediaRoute2ProviderInfo newInfo = provider.getProviderInfo(); in onProviderStateChangedOnHandler() local
2561 if (oldInfo == newInfo) { in onProviderStateChangedOnHandler()
2568 if (newInfo != null) { in onProviderStateChangedOnHandler()
2570 newRoutes = newInfo.getRoutes(); in onProviderStateChangedOnHandler()
2574 mLastProviderInfos.set(providerInfoIndex, newInfo); in onProviderStateChangedOnHandler()
2576 mLastProviderInfos.add(newInfo); in onProviderStateChangedOnHandler()
2627 newInfo.getUniqueId(), in onProviderStateChangedOnHandler()
/frameworks/base/services/core/java/com/android/server/adb/
DAdbDebuggingManager.java1132 AdbConnectionInfo newInfo = getCurrentWifiApInfo(); in handleMessage() local
1133 if (newInfo == null || !bssid.equals(newInfo.getBSSID())) { in handleMessage()
1137 setAdbConnectionInfo(newInfo); in handleMessage()

12