/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/ |
H A D | UtilsTest.java | 125 final String percentage = Utils.formatPercentage(TEST_PERCENTAGES[i], true); in testFormatPercentage_RoundTrue_RoundUpIfPossible() local 137 final String percentage = Utils.formatPercentage(TEST_PERCENTAGES[i], false); in testFormatPercentage_RoundFalse_NoRound() local
|
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
H A D | Utils.java | 185 public static String formatPercentage(double percentage, boolean round) { in formatPercentage() 196 public static String formatPercentage(int percentage) { in formatPercentage() 201 public static String formatPercentage(double percentage) { in formatPercentage()
|
/aosp14/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
H A D | AbUpdateInstaller.java | 270 public void onStatusUpdate(int statusCode, float percentage) { in onStatusUpdate()
|
/aosp14/system/core/fs_mgr/libsnapshot/snapuserd/user-space-merge/ |
H A D | snapuserd_server.cpp | 272 double percentage = GetMergePercentage(&lock); in Receivemsg() local 595 double percentage = 0.0; in GetMergePercentage() local
|
H A D | snapuserd_test.cpp | 655 double percentage = client_->GetMergePercent(); in CheckMergeCompletion() local
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/power/ |
H A D | PowerNotificationWarnings.java | 296 final String percentage = NumberFormat.getPercentInstance() in showWarningNotification() local 379 private String getHybridContentString(String percentage) { in getHybridContentString()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | KeyguardIndicationController.java | 964 String percentage = NumberFormat.getPercentInstance().format(mBatteryLevel / 100f); in computePowerIndication() local 968 String percentage = NumberFormat.getPercentInstance().format(mBatteryLevel / 100f); in computePowerIndication() local 1007 String percentage = NumberFormat.getPercentInstance().format(mBatteryLevel / 100f); in computePowerIndication() local
|
/aosp14/frameworks/base/services/core/java/com/android/server/am/ |
H A D | AppBatteryTracker.java | 1013 BatteryUsage setPercentage(@NonNull double[] percentage) { in setPercentage() 1095 static String formatBatteryUsagePercentage(double[] percentage) { in formatBatteryUsagePercentage() 1162 BatteryUsage setPercentage(@NonNull double[] percentage) { in setPercentage() 1785 double[] calcPercentage(final int uid, final double[] usage, double[] percentage) { in calcPercentage() 1794 private double sumPercentageOfTypes(double[] percentage, int types) { in sumPercentageOfTypes()
|
/aosp14/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | UiObject.java | 930 float percentage = percent / 100f; in pinchOut() local 968 float percentage = percent / 100f; in pinchIn() local
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/charging/ |
H A D | WirelessChargingLayout.java | 89 final TextView percentage = findViewById(R.id.wireless_charging_percentage); in init() local
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/ |
H A D | MediaOutputBaseAdapter.java | 329 int percentage = in initSeekbar() local
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
H A D | KeyguardIndicationControllerTest.java | 883 String percentage = NumberFormat.getPercentInstance().format(90 / 100f); in onRefreshBatteryInfo_dozing_dischargingWithLongLife_presentBatteryPercentage() local
|
/aosp14/system/core/fs_mgr/ |
H A D | fs_mgr_fstab.cpp | 79 off64_t CalculateZramSize(int percentage) { in CalculateZramSize()
|
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/tare/ |
H A D | Agent.java | 598 void reclaimUnusedAssetsLocked(double percentage, long minUnusedTimeMs, in reclaimUnusedAssetsLocked()
|
/aosp14/frameworks/base/core/java/com/android/internal/app/procstats/ |
H A D | ProcessState.java | 1141 final double percentage = (double) totals.totalTime / (double) totalTime * 100; in dumpProcessSummaryDetails() local
|