Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/
DTileUtilsTest.java104 info.add(newInfo(true, testCategory)); in getTilesForIntent_shouldParseCategory()
121 ResolveInfo resolveInfo = newInfo(true, null /* category */, keyHint); in getTilesForIntent_shouldParseKeyHintForSystemApp()
140 info.add(newInfo(false, testCategory)); in getTilesForIntent_shouldSkipNonSystemApp()
175 ResolveInfo resolveInfo = newInfo(true, null /* category */, null, URI_GET_ICON, in getTilesForIntent_shouldReadMetadataTitleAsString()
194 ResolveInfo resolveInfo = newInfo(true, null /* category */, null, URI_GET_ICON, in getTilesForIntent_shouldReadMetadataTitleFromResource()
215 ResolveInfo resolveInfo = newInfo(true, null /* category */, null, URI_GET_ICON, in getTilesForIntent_shouldNotTintIconIfInSettingsPackage()
235 final ResolveInfo resolveInfo = newInfo(true, null /* category */, null, URI_GET_ICON, in getTilesForIntent_tileAlreadyInCache_shouldUpdateMetaData()
268 ResolveInfo resolveInfo = newInfo(true, null /* category */, null, URI_GET_ICON, in getTilesForIntent_shouldMarkIconTintableIfMetadataSet()
288 ResolveInfo resolveInfo = newInfo(true, null /* category */, null, URI_GET_ICON, in getTilesForIntent_shouldProcessUriContentForSystemApp()
301 public static ResolveInfo newInfo(boolean systemApp, String category) { in newInfo() method in TileUtilsTest
[all …]
/frameworks/base/core/java/com/android/internal/app/
DResolverListController.java143 final ResolveInfo newInfo = from.get(i); in addResolveListDedupe() local
148 if (isSameResolvedComponent(newInfo, rci)) { in addResolveListDedupe()
150 rci.add(intent, newInfo); in addResolveListDedupe()
156 newInfo.activityInfo.packageName, newInfo.activityInfo.name); in addResolveListDedupe()
158 new ResolverActivity.ResolvedComponentInfo(name, intent, newInfo); in addResolveListDedupe()
/frameworks/av/media/libmedia/omx/1.0/
DWOmx.cpp49 auto newInfo = list->insert( in listNodes() local
51 convertTo(&*newInfo, nodeList[i]); in listNodes()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityMetricsLogger.java421 final WindowingModeTransitionInfo newInfo = new WindowingModeTransitionInfo(); in notifyActivityLaunched() local
422 newInfo.launchedActivity = launchedActivity; in notifyActivityLaunched()
423 newInfo.currentTransitionProcessRunning = processRunning; in notifyActivityLaunched()
424 newInfo.startResult = resultCode; in notifyActivityLaunched()
425 mWindowingModeTransitionInfo.put(windowingMode, newInfo); in notifyActivityLaunched()
426 mLastWindowingModeTransitionInfo.put(windowingMode, newInfo); in notifyActivityLaunched()
428 startTraces(newInfo); in notifyActivityLaunched()
429 launchObserverNotifyActivityLaunched(newInfo); in notifyActivityLaunched()
DActivityTaskManagerService.java5937 ApplicationInfo newInfo = new ApplicationInfo(info); in getAppInfoForUser()
5938 newInfo.initForUser(userId); in getAppInfoForUser()
5939 return newInfo; in getAppInfoForUser()
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
DTestMtpManager.java162 final MtpObjectInfo newInfo = new MtpObjectInfo.Builder(objectInfo). in createDocument() local
164 mObjectInfos.put(key, newInfo); in createDocument()
/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/core/java/android/view/
DDisplay.java1126 DisplayInfo newInfo = mGlobal.getDisplayInfo(mDisplayId); in updateDisplayInfoLocked() local
1127 if (newInfo == null) { in updateDisplayInfoLocked()
1137 mDisplayInfo = newInfo; in updateDisplayInfoLocked()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DAccessPointTest.java771 NetworkInfo newInfo = new NetworkInfo(networkInfo);
772 newInfo.setDetailedState(NetworkInfo.DetailedState.CONNECTED, "", "");
773 assertThat(ap.update(config, wifiInfo, newInfo)).isTrue();
797 NetworkInfo newInfo = new NetworkInfo(networkInfo); // same values
798 assertThat(ap.update(config, wifiInfo, newInfo)).isFalse();
822 NetworkInfo newInfo = new NetworkInfo(networkInfo); // same values
824 assertThat(ap.update(config, wifiInfo, newInfo)).isTrue();
848 NetworkInfo newInfo = new NetworkInfo(networkInfo); // same values
850 assertThat(ap.update(config, wifiInfo, newInfo)).isFalse();
/frameworks/base/libs/hwui/hwui/
DBitmap.cpp182 void Bitmap::reconfigure(const SkImageInfo& newInfo, size_t rowBytes) { in reconfigure() argument
183 mInfo = validateAlpha(newInfo); in reconfigure()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DOwners.java631 boolean saveSystemUpdateInfo(@Nullable SystemUpdateInfo newInfo) { in saveSystemUpdateInfo() argument
634 if (Objects.equals(newInfo, mSystemUpdateInfo)) { in saveSystemUpdateInfo()
638 mSystemUpdateInfo = newInfo; in saveSystemUpdateInfo()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDeviceAudioSystem.java1238 HdmiDeviceInfo newInfo = HdmiUtils.cloneHdmiDeviceInfo(info, newPowerStatus); in updateDevicePowerStatus() local
1240 addDeviceInfo(newInfo); in updateDevicePowerStatus()
1242 invokeDeviceEventListener(newInfo, HdmiControlManager.DEVICE_EVENT_UPDATE_DEVICE); in updateDevicePowerStatus()
DHdmiCecLocalDeviceTv.java1866 HdmiDeviceInfo newInfo = HdmiUtils.cloneHdmiDeviceInfo(info, newPowerStatus); in updateDevicePowerStatus() local
1868 addDeviceInfo(newInfo); in updateDevicePowerStatus()
1870 invokeDeviceEventListener(newInfo, HdmiControlManager.DEVICE_EVENT_UPDATE_DEVICE); in updateDevicePowerStatus()
/frameworks/base/services/core/java/com/android/server/adb/
DAdbDebuggingManager.java1065 AdbConnectionInfo newInfo = getCurrentWifiApInfo(); in handleMessage() local
1066 if (newInfo == null || !bssid.equals(newInfo.getBSSID())) { in handleMessage()
1070 setAdbConnectionInfo(newInfo); in handleMessage()
/frameworks/base/services/core/java/com/android/server/content/
DSyncStorageEngine.java1760 EndPoint newInfo = in maybeMigrateSettingsForRenamedAuthorities() local
1764 if (getAuthorityLocked(newInfo, "cleanup") != null) { in maybeMigrateSettingsForRenamedAuthorities()
1769 getOrCreateAuthorityLocked(newInfo, -1 /* ident */, false /* doWrite */); in maybeMigrateSettingsForRenamedAuthorities()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java7107 final NetworkInfo newInfo = new NetworkInfo(info); in mixInInfo() local
7118 newInfo.setDetailedState(NetworkInfo.DetailedState.SUSPENDED, info.getReason(), in mixInInfo()
7124 newInfo.setDetailedState(nai.everConnected in mixInInfo()
7130 newInfo.setRoaming(!nai.networkCapabilities.hasCapability(NET_CAPABILITY_NOT_ROAMING)); in mixInInfo()
7131 return newInfo; in mixInInfo()
7135 final NetworkInfo newInfo = mixInInfo(networkAgent, info); in updateNetworkInfo() local
7137 final NetworkInfo.State state = newInfo.getState(); in updateNetworkInfo()
7141 networkAgent.networkInfo = newInfo; in updateNetworkInfo()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java2990 File newInfo = new File(getWallpaperDir(0), WALLPAPER_INFO); in migrateFromOld() local
2991 oldInfo.renameTo(newInfo); in migrateFromOld()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java17758 ApplicationInfo newInfo = new ApplicationInfo(info); in getAppInfoForUser()
17759 newInfo.initForUser(userId); in getAppInfoForUser()
17760 return newInfo; in getAppInfoForUser()