Searched refs:lastSnapshot (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/core/java/com/android/server/vcn/routeselection/ |
D | UnderlyingNetworkEvaluator.java | 82 @NonNull TelephonySubscriptionSnapshot lastSnapshot, in UnderlyingNetworkEvaluator() argument 94 Objects.requireNonNull(lastSnapshot, "Missing lastSnapshot"); in UnderlyingNetworkEvaluator() 104 underlyingNetworkTemplates, subscriptionGroup, lastSnapshot, carrierConfig); in UnderlyingNetworkEvaluator() 125 @NonNull TelephonySubscriptionSnapshot lastSnapshot, in UnderlyingNetworkEvaluator() argument 133 lastSnapshot, in UnderlyingNetworkEvaluator() 175 @NonNull TelephonySubscriptionSnapshot lastSnapshot, in updatePriorityClass() argument 184 lastSnapshot, in updatePriorityClass() 293 @NonNull TelephonySubscriptionSnapshot lastSnapshot, 298 underlyingNetworkTemplates, subscriptionGroup, lastSnapshot, carrierConfig); 312 @NonNull TelephonySubscriptionSnapshot lastSnapshot, [all …]
|
D | UnderlyingNetworkController.java | 760 @NonNull TelephonySubscriptionSnapshot lastSnapshot, in newUnderlyingNetworkEvaluator() argument 768 lastSnapshot, in newUnderlyingNetworkEvaluator()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/ |
D | PowerUI.java | 433 BatteryStateSnapshot lastSnapshot) { in maybeShowHybridWarning() argument 443 final boolean playSound = currentSnapshot.getBucket() != lastSnapshot.getBucket() in maybeShowHybridWarning() 444 || lastSnapshot.getPlugged(); in maybeShowHybridWarning() 511 BatteryStateSnapshot lastSnapshot) { in maybeShowBatteryWarning() argument 512 final boolean playSound = currentSnapshot.getBucket() != lastSnapshot.getBucket() in maybeShowBatteryWarning() 513 || lastSnapshot.getPlugged(); in maybeShowBatteryWarning() 515 if (shouldShowLowBatteryWarning(currentSnapshot, lastSnapshot)) { in maybeShowBatteryWarning() 517 } else if (shouldDismissLowBatteryWarning(currentSnapshot, lastSnapshot)) { in maybeShowBatteryWarning() 527 BatteryStateSnapshot lastSnapshot) { in shouldShowLowBatteryWarning() argument 530 && (((currentSnapshot.getBucket() < lastSnapshot.getBucket() in shouldShowLowBatteryWarning() [all …]
|
/frameworks/base/tests/vcn/java/com/android/server/ |
D | VcnManagementServiceTest.java | 1069 TelephonySubscriptionSnapshot lastSnapshot, in checkGetRestrictedTransportsFromCarrierConfig() argument 1073 .getRestrictedTransportsFromCarrierConfig(subGrp, lastSnapshot); in checkGetRestrictedTransportsFromCarrierConfig() 1090 final TelephonySubscriptionSnapshot lastSnapshot = in testGetRestrictedTransportsFromCarrierConfig() local 1092 doReturn(carrierConfig).when(lastSnapshot).getCarrierConfigForSubGrp(eq(TEST_UUID_2)); in testGetRestrictedTransportsFromCarrierConfig() 1095 TEST_UUID_2, lastSnapshot, restrictedTransports); in testGetRestrictedTransportsFromCarrierConfig() 1104 final TelephonySubscriptionSnapshot lastSnapshot = in testGetRestrictedTransportsFromCarrierConfig_noRestrictPolicyConfigured() local 1106 doReturn(carrierConfig).when(lastSnapshot).getCarrierConfigForSubGrp(eq(TEST_UUID_2)); in testGetRestrictedTransportsFromCarrierConfig_noRestrictPolicyConfigured() 1109 TEST_UUID_2, lastSnapshot, restrictedTransports); in testGetRestrictedTransportsFromCarrierConfig_noRestrictPolicyConfigured() 1116 final TelephonySubscriptionSnapshot lastSnapshot = in testGetRestrictedTransportsFromCarrierConfig_noCarrierConfig() local 1120 TEST_UUID_2, lastSnapshot, restrictedTransports); in testGetRestrictedTransportsFromCarrierConfig_noCarrierConfig() [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | VcnManagementService.java | 384 ParcelUuid subGrp, TelephonySubscriptionSnapshot lastSnapshot) { in getRestrictedTransportsFromCarrierConfig() argument 390 lastSnapshot.getCarrierConfigForSubGrp(subGrp); in getRestrictedTransportsFromCarrierConfig() 413 TelephonySubscriptionSnapshot lastSnapshot, in getRestrictedTransports() argument 421 getRestrictedTransportsFromCarrierConfig(subGrp, lastSnapshot)); in getRestrictedTransports()
|