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/opt/telephony/src/java/com/android/internal/telephony/ims/
DImsResolver.java824 private void updateImsServiceFeatures(ImsServiceInfo newInfo) { in updateImsServiceFeatures() argument
825 if (newInfo == null) { in updateImsServiceFeatures()
828 ImsServiceController controller = getControllerByServiceInfo(mActiveControllers, newInfo); in updateImsServiceFeatures()
832 calculateFeaturesToCreate(newInfo); in updateImsServiceFeatures()
842 bindImsServiceWithFeatures(newInfo, features); in updateImsServiceFeatures()
846 if (isActiveCarrierService(newInfo) in updateImsServiceFeatures()
848 && !TextUtils.equals(newInfo.name.getPackageName(), mDeviceService)) { in updateImsServiceFeatures()
858 unbindImsService(newInfo); in updateImsServiceFeatures()
1039 ImsServiceInfo newInfo = getImsServiceInfoFromCache(newPackageName); in updateBoundCarrierServices() local
1042 if (newInfo == null || newInfo.featureFromMetadata) { in updateBoundCarrierServices()
[all …]
/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.java5890 ApplicationInfo newInfo = new ApplicationInfo(info); in getAppInfoForUser()
5891 newInfo.initForUser(userId); in getAppInfoForUser()
5892 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.java770 NetworkInfo newInfo = new NetworkInfo(networkInfo);
771 newInfo.setDetailedState(NetworkInfo.DetailedState.CONNECTED, "", "");
772 assertThat(ap.update(config, wifiInfo, newInfo)).isTrue();
796 NetworkInfo newInfo = new NetworkInfo(networkInfo); // same values
797 assertThat(ap.update(config, wifiInfo, newInfo)).isFalse();
821 NetworkInfo newInfo = new NetworkInfo(networkInfo); // same values
823 assertThat(ap.update(config, wifiInfo, newInfo)).isTrue();
847 NetworkInfo newInfo = new NetworkInfo(networkInfo); // same values
849 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.java1240 HdmiDeviceInfo newInfo = HdmiUtils.cloneHdmiDeviceInfo(info, newPowerStatus); in updateDevicePowerStatus() local
1242 addDeviceInfo(newInfo); in updateDevicePowerStatus()
1244 invokeDeviceEventListener(newInfo, HdmiControlManager.DEVICE_EVENT_UPDATE_DEVICE); in updateDevicePowerStatus()
DHdmiCecLocalDeviceTv.java1855 HdmiDeviceInfo newInfo = HdmiUtils.cloneHdmiDeviceInfo(info, newPowerStatus); in updateDevicePowerStatus() local
1857 addDeviceInfo(newInfo); in updateDevicePowerStatus()
1859 invokeDeviceEventListener(newInfo, HdmiControlManager.DEVICE_EVENT_UPDATE_DEVICE); in updateDevicePowerStatus()
/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/wallpaper/
DWallpaperManagerService.java2969 File newInfo = new File(getWallpaperDir(0), WALLPAPER_INFO); in migrateFromOld() local
2970 oldInfo.renameTo(newInfo); in migrateFromOld()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java6501 private void updateNetworkInfo(NetworkAgentInfo networkAgent, NetworkInfo newInfo) { in updateNetworkInfo() argument
6502 final NetworkInfo.State state = newInfo.getState(); in updateNetworkInfo()
6507 networkAgent.networkInfo = newInfo; in updateNetworkInfo()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java17648 ApplicationInfo newInfo = new ApplicationInfo(info); in getAppInfoForUser()
17649 newInfo.initForUser(userId); in getAppInfoForUser()
17650 return newInfo; in getAppInfoForUser()