Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/
DTileUtilsTest.java118 info.add(newInfo(true, testCategory)); in getTilesForIntent_shouldParseCategory()
137 ResolveInfo resolveInfo = newInfo(true, null /* category */, keyHint); in getTilesForIntent_shouldParseKeyHintForSystemApp()
158 info.add(newInfo(false, testCategory)); in getTilesForIntent_shouldSkipNonSystemApp()
176 ResolveInfo resolveInfo = newInfo(true, null /* category */, null, URI_GET_ICON, in getTilesForIntent_shouldSkipFilteredApps()
205 info.add(newInfo(true, testCategory)); in getCategories_shouldHandleExtraIntentAction()
249 ResolveInfo resolveInfo = newInfo(true, null /* category */, null, URI_GET_ICON, in getTilesForIntent_shouldReadMetadataTitleAsString()
270 ResolveInfo resolveInfo = newInfo(true, null /* category */, null, URI_GET_ICON, in getTilesForIntent_shouldReadMetadataTitleFromResource()
298 ResolveInfo resolveInfo = newInfo(true, null /* category */, null, URI_GET_ICON, in getTilesForIntent_shouldNotTintIconIfInSettingsPackage()
321 ResolveInfo resolveInfo = newInfo(true, null /* category */, null, URI_GET_ICON, in getTilesForIntent_shouldMarkIconTintableIfMetadataSet()
345 ResolveInfo resolveInfo = newInfo(true, null /* category */, null, null, URI_GET_SUMMARY); in getTilesForIntent_shouldNotProcessInvalidUriContentSystemApp()
[all …]
/frameworks/base/core/java/com/android/internal/app/
DResolverListController.java136 final ResolveInfo newInfo = from.get(i); in addResolveListDedupe() local
141 if (isSameResolvedComponent(newInfo, rci)) { in addResolveListDedupe()
143 rci.add(intent, newInfo); in addResolveListDedupe()
149 newInfo.activityInfo.packageName, newInfo.activityInfo.name); in addResolveListDedupe()
151 new ResolverActivity.ResolvedComponentInfo(name, intent, newInfo); in addResolveListDedupe()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/suggestions/
DSuggestionParserTest.java88 ResolveInfo info1 = TileUtilsTest.newInfo(true, null); in setUp()
90 ResolveInfo infoDupe1 = TileUtilsTest.newInfo(true, null); in setUp()
93 ResolveInfo info2 = TileUtilsTest.newInfo(true, null); in setUp()
95 ResolveInfo info3 = TileUtilsTest.newInfo(true, null); in setUp()
97 ResolveInfo info4 = TileUtilsTest.newInfo(true, null); in setUp()
/frameworks/base/services/core/java/com/android/server/am/
DActivityMetricsLogger.java230 final StackTransitionInfo newInfo = new StackTransitionInfo(); in notifyActivityLaunched() local
231 newInfo.launchedActivity = launchedActivity; in notifyActivityLaunched()
232 newInfo.currentTransitionProcessRunning = processRunning; in notifyActivityLaunched()
233 newInfo.startResult = resultCode; in notifyActivityLaunched()
234 mStackTransitionInfo.put(stackId, newInfo); in notifyActivityLaunched()
235 mLastStackTransitionInfo.put(stackId, newInfo); in notifyActivityLaunched()
DActivityManagerService.java23790 ApplicationInfo newInfo = new ApplicationInfo(info);
23791 newInfo.initForUser(userId);
23792 return newInfo;
/frameworks/av/media/libmedia/omx/1.0/
DWOmx.cpp49 auto newInfo = list->insert( in listNodes() local
51 convertTo(&*newInfo, nodeList[i]); in listNodes()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DImsResolver.java474 private void updateImsServiceFeatures(ImsServiceInfo newInfo) { in updateImsServiceFeatures() argument
475 if (newInfo == null) { in updateImsServiceFeatures()
479 newInfo); in updateImsServiceFeatures()
482 HashSet<Pair<Integer, Integer>> features = calculateFeaturesToCreate(newInfo); in updateImsServiceFeatures()
490 if (isActiveCarrierService(newInfo) in updateImsServiceFeatures()
492 && !TextUtils.equals(newInfo.name.getPackageName(), mDeviceService)) { in updateImsServiceFeatures()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DAccessPointTest.java725 NetworkInfo newInfo = new NetworkInfo(networkInfo);
726 newInfo.setDetailedState(NetworkInfo.DetailedState.CONNECTED, "", "");
727 assertThat(ap.update(config, wifiInfo, newInfo)).isTrue();
751 NetworkInfo newInfo = new NetworkInfo(networkInfo); // same values
752 assertThat(ap.update(config, wifiInfo, newInfo)).isFalse();
776 NetworkInfo newInfo = new NetworkInfo(networkInfo); // same values
778 assertThat(ap.update(config, wifiInfo, newInfo)).isTrue();
802 NetworkInfo newInfo = new NetworkInfo(networkInfo); // same values
804 assertThat(ap.update(config, wifiInfo, newInfo)).isFalse();
/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/core/java/android/view/
DDisplay.java1034 DisplayInfo newInfo = mGlobal.getDisplayInfo(mDisplayId); in updateDisplayInfoLocked() local
1035 if (newInfo == null) { in updateDisplayInfoLocked()
1045 mDisplayInfo = newInfo; in updateDisplayInfoLocked()
/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/libs/hwui/hwui/
DBitmap.cpp163 void Bitmap::reconfigure(const SkImageInfo& newInfo, size_t rowBytes) { in reconfigure() argument
164 mInfo = validateAlpha(newInfo); in reconfigure()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DOwners.java484 boolean saveSystemUpdateInfo(@Nullable SystemUpdateInfo newInfo) { in saveSystemUpdateInfo() argument
487 if (Objects.equals(newInfo, mSystemUpdateInfo)) { in saveSystemUpdateInfo()
491 mSystemUpdateInfo = newInfo; in saveSystemUpdateInfo()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDeviceTv.java1862 HdmiDeviceInfo newInfo = HdmiUtils.cloneHdmiDeviceInfo(info, newPowerStatus); in updateDevicePowerStatus() local
1864 addDeviceInfo(newInfo); in updateDevicePowerStatus()
1866 invokeDeviceEventListener(newInfo, HdmiControlManager.DEVICE_EVENT_UPDATE_DEVICE); in updateDevicePowerStatus()
/frameworks/base/services/core/java/com/android/server/content/
DSyncStorageEngine.java1661 EndPoint newInfo = in maybeMigrateSettingsForRenamedAuthorities() local
1665 if (getAuthorityLocked(newInfo, "cleanup") != null) { in maybeMigrateSettingsForRenamedAuthorities()
1670 getOrCreateAuthorityLocked(newInfo, -1 /* ident */, false /* doWrite */); in maybeMigrateSettingsForRenamedAuthorities()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java5222 private void updateNetworkInfo(NetworkAgentInfo networkAgent, NetworkInfo newInfo) { in updateNetworkInfo() argument
5223 final NetworkInfo.State state = newInfo.getState(); in updateNetworkInfo()
5228 networkAgent.networkInfo = newInfo; in updateNetworkInfo()
5233 if (oldInfo.isRoaming() != newInfo.isRoaming()) { in updateNetworkInfo()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java2401 File newInfo = new File(getWallpaperDir(0), WALLPAPER_INFO); in migrateFromOld() local
2402 oldInfo.renameTo(newInfo); in migrateFromOld()