Home
last modified time | relevance | path

Searched refs:mLastSnapshot (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/vcn/
DUnderlyingNetworkTracker.java138 @NonNull private TelephonySubscriptionSnapshot mLastSnapshot; field in UnderlyingNetworkTracker
166 mLastSnapshot = Objects.requireNonNull(snapshot, "Missing snapshot"); in UnderlyingNetworkTracker()
179 for (int subId : mLastSnapshot.getAllSubIdsInGroup(mSubscriptionGroup)) { in UnderlyingNetworkTracker()
192 if (!isOpportunistic(mLastSnapshot, Collections.singleton(subId))) { in UnderlyingNetworkTracker()
232 for (final int subId : mLastSnapshot.getAllSubIdsInGroup(mSubscriptionGroup)) { in registerOrUpdateNetworkRequests()
279 return getTestNetworkRequest(mLastSnapshot.getAllSubIdsInGroup(mSubscriptionGroup)); in getRouteSelectionRequest()
285 .setSubscriptionIds(mLastSnapshot.getAllSubIdsInGroup(mSubscriptionGroup)) in getRouteSelectionRequest()
301 .setSubscriptionIds(mLastSnapshot.getAllSubIdsInGroup(mSubscriptionGroup)) in getWifiNetworkRequest()
315 .setSubscriptionIds(mLastSnapshot.getAllSubIdsInGroup(mSubscriptionGroup)) in getWifiEntryRssiThresholdNetworkRequest()
331 .setSubscriptionIds(mLastSnapshot.getAllSubIdsInGroup(mSubscriptionGroup)) in getWifiExitRssiThresholdNetworkRequest()
[all …]
DVcn.java174 @NonNull private TelephonySubscriptionSnapshot mLastSnapshot; field in Vcn
219 mLastSnapshot = Objects.requireNonNull(snapshot, "Missing snapshot"); in Vcn()
414 mLastSnapshot, in handleNetworkRequested()
451 mLastSnapshot = snapshot; in handleSubscriptionsChanged()
454 gatewayConnection.updateSubscriptionSnapshot(mLastSnapshot); in handleSubscriptionsChanged()
499 for (int subId : mLastSnapshot.getAllSubIdsInGroup(mSubscriptionGroup)) { in getMobileDataStatus()
DVcnGatewayConnection.java520 @NonNull private TelephonySubscriptionSnapshot mLastSnapshot; field in VcnGatewayConnection
674 mLastSnapshot = Objects.requireNonNull(snapshot, "Missing snapshot"); in VcnGatewayConnection()
685 mLastSnapshot, in VcnGatewayConnection()
765 mLastSnapshot = snapshot; in updateSubscriptionSnapshot()
766 mUnderlyingNetworkTracker.updateSubscriptionSnapshot(mLastSnapshot); in updateSubscriptionSnapshot()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsRecorder.java83 private NetworkStats mLastSnapshot; field in NetworkStatsRecorder
138 mLastSnapshot = null; in resetLocked()
213 if (mLastSnapshot == null) { in recordSnapshotLocked()
214 mLastSnapshot = snapshot; in recordSnapshotLocked()
221 snapshot, mLastSnapshot, mObserver, mCookie); in recordSnapshotLocked()
269 mLastSnapshot = snapshot; in recordSnapshotLocked()
338 if (mLastSnapshot != null) { in removeUidsLocked()
339 mLastSnapshot.removeUids(uids); in removeUidsLocked()
/frameworks/base/services/core/java/com/android/server/
DVcnManagementService.java195 private TelephonySubscriptionSnapshot mLastSnapshot = field in VcnManagementService
283 mTelephonySubscriptionTrackerCb.onNewSnapshot(mLastSnapshot); in VcnManagementService()
459 final TelephonySubscriptionSnapshot oldSnapshot = mLastSnapshot; in onNewSnapshot()
460 mLastSnapshot = snapshot; in onNewSnapshot()
461 logDbg("new snapshot: " + mLastSnapshot); in onNewSnapshot()
526 entry.getValue().updateSubscriptionSnapshot(mLastSnapshot); in onNewSnapshot()
533 getSubGroupToSubIdMappings(mLastSnapshot); in onNewSnapshot()
603 mDeps.newVcn(vcnContext, subscriptionGroup, config, mLastSnapshot, vcnCallback); in startVcnLocked()
624 if (isActiveSubGroup(subscriptionGroup, mLastSnapshot)) { in startOrUpdateVcnLocked()
716 if (mLastSnapshot.packageHasPermissionsForSubscriptionGroup(subGrp, opPkgName)) { in getConfiguredSubscriptionGroups()
[all …]
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetdEventListenerService.java87 private long mLastSnapshot = 0; field in NetdEventListenerService
192 if (Math.abs(timeMs - mLastSnapshot) <= METRICS_SNAPSHOT_SPAN_MS) { in collectPendingMetricsSnapshot()
195 mLastSnapshot = projectSnapshotTime(timeMs); in collectPendingMetricsSnapshot()
197 NetworkMetricsSnapshot.collect(mLastSnapshot, mNetworkMetrics); in collectPendingMetricsSnapshot()