Home
last modified time | relevance | path

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

12

/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsAdvertiser.java253 @NonNull NsdServiceInfo newInfo, in hasAnyServiceConflict() argument
259 && adv.hasServiceConflict(newInfo, originalRegistration)); in hasAnyServiceConflict()
264 @NonNull NsdServiceInfo newInfo, in hasAnyHostConflict() argument
271 && adv.hasHostConflict(newInfo, clientUid))) { in hasAnyHostConflict()
275 return MdnsUtils.equalsIgnoreDnsCase(newInfo.getHostname(), mDeviceHostName[0]); in hasAnyHostConflict()
281 NsdServiceInfo newInfo = registration.getServiceInfo(); in updateRegistrationUntilNoConflict() local
284 while (hasAnyServiceConflict(applicableAdvertiserFilter, newInfo, registration)) { in updateRegistrationUntilNoConflict()
286 newInfo = registration.makeNewServiceInfoForServiceConflict(renameServiceCount); in updateRegistrationUntilNoConflict()
288 registration.updateForServiceConflict(newInfo, renameServiceCount); in updateRegistrationUntilNoConflict()
293 applicableAdvertiserFilter, newInfo, registration.mClientUid)) { in updateRegistrationUntilNoConflict()
[all …]
DMdnsProber.java143 public void restartForConflict(@NonNull ProbingInfo newInfo) { in restartForConflict() argument
144 stop(newInfo.getServiceId()); in restartForConflict()
151 startProbing(newInfo, CONFLICT_RETRY_DELAY_MS); in restartForConflict()
DMdnsInterfaceAdvertiser.java387 public void renameServiceForConflict(int serviceId, NsdServiceInfo newInfo) { in renameServiceForConflict() argument
389 serviceId, newInfo); in renameServiceForConflict()
DMdnsRecordRepository.java1400 public MdnsProber.ProbingInfo renameServiceForConflict(int serviceId, NsdServiceInfo newInfo) { in renameServiceForConflict() argument
1404 final ServiceRegistration newService = new ServiceRegistration(mDeviceHostname, newInfo, in renameServiceForConflict()
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/viewcapture_analysis/
DPositionJumpDetector.java97 String detectAnomalies(AnalysisNode oldInfo, AnalysisNode newInfo, int frameN, in detectAnomalies() argument
101 if (newInfo == null) return null; in detectAnomalies()
106 final NodeData newNodeData = getNodeData(newInfo); in detectAnomalies()
110 newInfo.left - oldInfo.left, in detectAnomalies()
111 newInfo.top - oldInfo.top, in detectAnomalies()
112 newInfo.right - oldInfo.right, in detectAnomalies()
113 newInfo.bottom - oldInfo.bottom in detectAnomalies()
DFlashDetector.java116 String detectAnomalies(AnalysisNode oldInfo, AnalysisNode newInfo, int frameN, in detectAnomalies() argument
131 final AnalysisNode latestInfo = newInfo != null ? newInfo : oldInfo; in detectAnomalies()
139 newInfo == null in detectAnomalies()
160 newInfo != null && newInfo.alpha >= 1 in detectAnomalies()
DAlphaJumpDetector.java162 String detectAnomalies(AnalysisNode oldInfo, AnalysisNode newInfo, int frameN, long timestamp, in detectAnomalies() argument
168 final AnalysisNode latestInfo = newInfo != null ? newInfo : oldInfo; in detectAnomalies()
173 final float newAlpha = newInfo != null ? newInfo.alpha : 0; in detectAnomalies()
DAnomalyDetector.java83 @Nullable ViewCaptureAnalyzer.AnalysisNode newInfo, int frameN, in detectAnomalies() argument
/packages/apps/Launcher3/src/com/android/launcher3/util/
DDisplayController.java304 Info newInfo = new Info(displayInfoContext, wmProxy, oldInfo.mPerDisplayBounds); in handleInfoChange() local
306 if (newInfo.densityDpi != oldInfo.densityDpi || newInfo.fontScale != oldInfo.fontScale in handleInfoChange()
307 || newInfo.getNavigationMode() != oldInfo.getNavigationMode()) { in handleInfoChange()
309 newInfo = new Info(displayInfoContext, wmProxy, in handleInfoChange()
314 if (!newInfo.normalizedDisplayInfo.equals(oldInfo.normalizedDisplayInfo)) { in handleInfoChange()
317 if (newInfo.rotation != oldInfo.rotation) { in handleInfoChange()
320 if (newInfo.densityDpi != oldInfo.densityDpi || newInfo.fontScale != oldInfo.fontScale) { in handleInfoChange()
323 if (newInfo.getNavigationMode() != oldInfo.getNavigationMode()) { in handleInfoChange()
326 if (!newInfo.supportedBounds.equals(oldInfo.supportedBounds) in handleInfoChange()
327 || !newInfo.mPerDisplayBounds.equals(oldInfo.mPerDisplayBounds)) { in handleInfoChange()
[all …]
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DQnsTelephonyListener.java497 QnsTelephonyInfo newInfo = new QnsTelephonyInfo(mLastQnsTelephonyInfo); in onServiceStateChanged() local
532 newInfo.setVoiceNetworkType(newWwanCsNrs.getAccessNetworkTechnology()); in onServiceStateChanged()
537 newInfo.setDataNetworkType(newWwanNrs.getAccessNetworkTechnology()); in onServiceStateChanged()
538 newInfo.setDataRegState( in onServiceStateChanged()
548 newInfo.setRegisteredPlmn(newWwanNrs.getRegisteredPlmn()); in onServiceStateChanged()
549 newInfo.setCoverage(mCoverage == QnsConstants.COVERAGE_ROAM); in onServiceStateChanged()
551 newInfo.setRegisteredPlmn(null); in onServiceStateChanged()
560 newInfo.setCellularAvailable(true); in onServiceStateChanged()
564 newInfo.setCellularAvailable(false); in onServiceStateChanged()
574 if (!newInfo.equals(mLastQnsTelephonyInfo)) { in onServiceStateChanged()
[all …]
DIwlanNetworkStatusTracker.java291 IwlanAvailabilityInfo newInfo = makeIwlanAvailabilityInfo(slotId); in registerIwlanNetworksChanged() local
292 if (lastInfo == null || !lastInfo.equals(newInfo)) { in registerIwlanNetworksChanged()
/packages/apps/Settings/src/com/android/settings/localepicker/
DNotificationController.java77 NotificationInfo newInfo = new NotificationInfo(currentInfo.getUidCollection(), in incrementDismissCount() local
82 mDataManager.putNotificationInfo(locale, newInfo); in incrementDismissCount()
135 NotificationInfo newInfo = in updateLocaleNotificationInfo() local
137 mDataManager.putNotificationInfo(locale, newInfo); in updateLocaleNotificationInfo()
138 return newInfo.getNotificationCount() > info.getNotificationCount(); in updateLocaleNotificationInfo()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DResolverListController.java150 final ResolveInfo newInfo = from.get(i); in addResolveListDedupe() local
151 if (newInfo.userHandle == null) { in addResolveListDedupe()
152 Log.w(TAG, "Skipping ResolveInfo with no userHandle: " + newInfo); in addResolveListDedupe()
159 if (isSameResolvedComponent(newInfo, rci)) { in addResolveListDedupe()
161 rci.add(intent, newInfo); in addResolveListDedupe()
167 newInfo.activityInfo.packageName, newInfo.activityInfo.name); in addResolveListDedupe()
168 final ResolvedComponentInfo rci = new ResolvedComponentInfo(name, intent, newInfo); in addResolveListDedupe()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DUpdateHandler.java759 final WordListMetadata newInfo = null == metadataInfo in compareMetadataForUpgrade() local
764 if (null == currentInfo && null == newInfo) { in compareMetadataForUpgrade()
779 actions.add(new ActionBatch.MakeAvailableAction(clientId, newInfo)); in compareMetadataForUpgrade()
780 } else if (null == newInfo) { in compareMetadataForUpgrade()
790 if (newInfo.mVersion == currentInfo.mVersion) { in compareMetadataForUpgrade()
791 if (TextUtils.equals(newInfo.mRemoteFilename, currentInfo.mRemoteFilename)) { in compareMetadataForUpgrade()
793 newInfo.mRetryCount = currentInfo.mRetryCount; in compareMetadataForUpgrade()
797 actions.add(new ActionBatch.UpdateDataAction(clientId, newInfo)); in compareMetadataForUpgrade()
798 } else if (newInfo.mVersion > currentInfo.mVersion) { in compareMetadataForUpgrade()
804 actions.add(new ActionBatch.MakeAvailableAction(clientId, newInfo)); in compareMetadataForUpgrade()
[all …]
/packages/modules/NetworkStack/src/com/android/networkstack/netlink/
DTcpSocketTracker.java280 for (final SocketInfo newInfo : newSocketInfoList) { in pollSocketsInfo()
281 final TcpStat diff = calculateLatestPacketsStat(newInfo, in pollSocketsInfo()
282 mSocketInfos.get(newInfo.cookie)); in pollSocketsInfo()
283 mSocketInfos.put(newInfo.cookie, newInfo); in pollSocketsInfo()
293 if (newInfo.dstPort == DNS_OVER_TLS_PORT && mInOpportunisticMode && in pollSocketsInfo()
305 final boolean uidBlocked = mCm.isUidNetworkingBlocked(newInfo.uid, metered); in pollSocketsInfo()
307 skippedBlockedUids.add(newInfo.uid); in pollSocketsInfo()
313 mLatestReportedUids.add(newInfo.uid); in pollSocketsInfo()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DDebugEstimatesLoader.java77 BatteryInfo newInfo = in loadInBackground() local
88 infos.add(newInfo); in loadInBackground()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/viewmodel/
DStaticWallpaperPreviewViewModel.kt165 val newInfo = in <lambda>() constant
173 this.cropHintsInfo.value = newInfo in <lambda>()
174 fullPreviewCropModels.putAll(newInfo) in <lambda>()
/packages/services/Telephony/src/com/android/phone/settings/
DCallForwardInfoUtil.java60 public static boolean isUpdateRequired(CallForwardInfo oldInfo, CallForwardInfo newInfo) { in isUpdateRequired() argument
65 if (newInfo.status == CALL_FORWARD_INFO_INACTIVE_STATUS in isUpdateRequired()
/packages/apps/Launcher3/src/com/android/launcher3/widget/custom/
DCustomWidgetManager.java103 CustomAppWidgetProviderInfo info = newInfo(plugin, parcel); in onPluginConnected()
150 private CustomAppWidgetProviderInfo newInfo(CustomWidgetPlugin plugin, Parcel parcel) { in newInfo() method in CustomWidgetManager
/packages/services/Mtp/tests/src/com/android/mtp/
DTestMtpManager.java162 final MtpObjectInfo newInfo = new MtpObjectInfo.Builder(objectInfo). in createDocument() local
164 mObjectInfos.put(key, newInfo); in createDocument()
/packages/apps/Settings/src/com/android/settings/notification/history/
DNotificationStation.java257 HistoricalNotificationInfo newInfo = createFromSbn(sbn, true); in addOrUpdateNotification() local
263 && !newInfo.alerted && !newInfo.visuallyInterruptive) { in addOrUpdateNotification()
264 info.updateFrom(newInfo); in addOrUpdateNotification()
273 mNotificationInfos.addFirst(newInfo); in addOrUpdateNotification()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/
DBluetoothOppTransferTest.java323 BluetoothOppShareInfo newInfo = in eventHandler_handleMessage_MSG_CONNECT_TIMEOUT() local
340 mBluetoothOppBatch.addShare(newInfo); in eventHandler_handleMessage_MSG_CONNECT_TIMEOUT()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DKeepaliveTracker.java578 final KeepaliveInfo newInfo = ki.withPacketData(NattKeepalivePacketData.nattKeepalivePacket( in handleUpdateKeepaliveForClat() local
580 Log.d(TAG, "Src is clat v4 address. Convert from " + ki + " to " + newInfo); in handleUpdateKeepaliveForClat()
581 return newInfo; in handleUpdateKeepaliveForClat()
/packages/apps/Launcher3/src/com/android/launcher3/
DBubbleTextView.java369 public boolean shouldAnimateIconChange(WorkspaceItemInfo newInfo) { in shouldAnimateIconChange() argument
374 && newInfo.getTargetComponent() != null in shouldAnimateIconChange()
375 && !oldInfo.getTargetComponent().equals(newInfo.getTargetComponent()); in shouldAnimateIconChange()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DSoftApManager.java2138 SoftApInfo newInfo = new SoftApInfo(info); in processMessageImpl() local
2139 newInfo.setAutoShutdownTimeoutMillis(mTimeoutEnabled in processMessageImpl()
2141 updateSoftApInfo(newInfo, false); in processMessageImpl()

12