/packages/services/Car/car-lib/src/android/car/watchdog/ |
D | IoOveruseConfiguration.java | 47 private @NonNull PerStateBytes mComponentLevelThresholds; 59 private @NonNull Map<String, PerStateBytes> mPackageSpecificThresholds; 72 private @NonNull Map<String, PerStateBytes> mAppCategorySpecificThresholds; 99 @NonNull PerStateBytes componentLevelThresholds, in IoOveruseConfiguration() 100 @NonNull Map<String,PerStateBytes> packageSpecificThresholds, in IoOveruseConfiguration() 101 @NonNull Map<String,PerStateBytes> appCategorySpecificThresholds, in IoOveruseConfiguration() 127 public @NonNull PerStateBytes getComponentLevelThresholds() { in getComponentLevelThresholds() 142 public @NonNull Map<String,PerStateBytes> getPackageSpecificThresholds() { in getPackageSpecificThresholds() 158 public @NonNull Map<String,PerStateBytes> getAppCategorySpecificThresholds() { in getAppCategorySpecificThresholds() 210 …PerStateBytes componentLevelThresholds = (PerStateBytes) in.readTypedObject(PerStateBytes.CREATOR); in IoOveruseConfiguration() [all …]
|
D | PerStateBytes.java | 30 public final class PerStateBytes implements Parcelable { class 73 public PerStateBytes( in PerStateBytes() method in PerStateBytes 140 /* package-private */ PerStateBytes(@android.annotation.NonNull android.os.Parcel in) { in PerStateBytes() method in PerStateBytes 156 public static final @android.annotation.NonNull Parcelable.Creator<PerStateBytes> CREATOR 157 = new Parcelable.Creator<PerStateBytes>() { 159 public PerStateBytes[] newArray(int size) { 160 return new PerStateBytes[size]; 164 public PerStateBytes createFromParcel(@android.annotation.NonNull android.os.Parcel in) { 165 return new PerStateBytes(in);
|
D | IoOveruseStats.java | 74 private @NonNull PerStateBytes mRemainingWriteBytes = new PerStateBytes(0L, 0L, 0L); 100 @NonNull PerStateBytes remainingWriteBytes) { in IoOveruseStats() 174 public @NonNull PerStateBytes getRemainingWriteBytes() { in getRemainingWriteBytes() 231 … PerStateBytes remainingWriteBytes = (PerStateBytes) in.readTypedObject(PerStateBytes.CREATOR); in IoOveruseStats() 274 private @NonNull PerStateBytes mRemainingWriteBytes; 371 public @NonNull Builder setRemainingWriteBytes(@NonNull PerStateBytes value) { in setRemainingWriteBytes() 396 mRemainingWriteBytes = new PerStateBytes(0L, 0L, 0L); in build()
|
/packages/services/Car/service/src/com/android/car/watchdog/ |
D | OveruseConfigurationCache.java | 22 import android.automotive.watchdog.PerStateBytes; 57 static final PerStateBytes DEFAULT_THRESHOLD = 70 private final SparseArray<PerStateBytes> mGenericIoThresholdsByComponent = new SparseArray<>(); 72 private final ArrayMap<String, PerStateBytes> mIoThresholdsBySystemPackages = new ArrayMap<>(); 74 private final ArrayMap<String, PerStateBytes> mIoThresholdsByVendorPackages = new ArrayMap<>(); 76 private final SparseArray<PerStateBytes> mIoThresholdsByAppCategoryType = new SparseArray<>(); 169 PerStateBytes perStateBytes = mGenericIoThresholdsByComponent.valueAt(i); in dumpProto() 170 proto.write(PerformanceDump.PerStateBytes.FOREGROUND_BYTES, in dumpProto() 172 proto.write(PerformanceDump.PerStateBytes.BACKGROUND_BYTES, in dumpProto() 174 proto.write(PerformanceDump.PerStateBytes.GARAGEMODE_BYTES, in dumpProto() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/watchdog/ |
D | InternalPerStateBytesSubject.java | 22 import android.automotive.watchdog.PerStateBytes; 31 PerStateBytes> PER_STATE_BYTES_SUBJECT_FACTORY = 35 private final PerStateBytes mActual; 38 public static InternalPerStateBytesSubject assertThat(@Nullable PerStateBytes perStateBytes) { in assertThat() 43 public static Subject.Factory<InternalPerStateBytesSubject, PerStateBytes> perStateBytes() { in perStateBytes() 48 @Nullable PerStateBytes perStateBytes, String format, Object... args) { in assertWithMessage() 54 @Nullable PerStateBytes subject) { in InternalPerStateBytesSubject() 60 public void isEqualTo(PerStateBytes expected) { in isEqualTo() 69 public static boolean isEquals(PerStateBytes actual, PerStateBytes expected) { in isEquals() 79 StringBuilder builder, PerStateBytes perStateBytes) { in toStringBuilder()
|
D | PerStateBytesSubject.java | 22 import android.car.watchdog.PerStateBytes; 30 PerStateBytes> PER_STATE_BYTES_SUBJECT_FACTORY = 33 private final PerStateBytes mActual; 36 public static PerStateBytesSubject assertThat(@Nullable PerStateBytes perStateBytes) { in assertThat() 41 public static Subject.Factory<PerStateBytesSubject, PerStateBytes> perStateBytes() { in perStateBytes() 46 @Nullable PerStateBytes subject) { in PerStateBytesSubject() 52 public void isEqualTo(PerStateBytes expected) { in isEqualTo() 64 public static boolean isEquals(PerStateBytes actual, PerStateBytes expected) { in isEquals()
|
D | IoOveruseConfigurationSubject.java | 24 import android.car.watchdog.PerStateBytes; 45 private static final Equivalence<PerStateBytes> PER_STATE_BYTES_EQUIVALENCE = 46 new Equivalence<PerStateBytes>() { 48 protected boolean doEquivalent(PerStateBytes actual, PerStateBytes expected) { 53 protected int doHash(PerStateBytes perStateBytes) { 106 private static boolean isPerStateBytesEquals(PerStateBytes actual, PerStateBytes expected) { in isPerStateBytesEquals()
|
/packages/services/Car/cpp/watchdog/aidl/android/automotive/watchdog/internal/ |
D | UidIoUsageStats.aidl | 19 import android.automotive.watchdog.PerStateBytes; 28 PerStateBytes writtenBytes; 33 PerStateBytes readBytes;
|
D | IoUsageStats.aidl | 19 import android.automotive.watchdog.PerStateBytes; 28 PerStateBytes writtenBytes; 33 PerStateBytes forgivenWriteBytes;
|
D | SystemSummaryUsageStats.aidl | 19 import android.automotive.watchdog.PerStateBytes; 63 PerStateBytes totalIoReads; 68 PerStateBytes totalIoWrites;
|
D | PerStateIoOveruseThreshold.aidl | 19 import android.automotive.watchdog.PerStateBytes; 38 PerStateBytes perStateWriteBytes;
|
D | PackageIoOveruseStats.aidl | 20 import android.automotive.watchdog.PerStateBytes; 39 PerStateBytes forgivenWriteBytes;
|
/packages/services/Car/cpp/watchdog/aidl/android/automotive/watchdog/ |
D | IoOveruseStats.aidl | 19 import android.automotive.watchdog.PerStateBytes; 34 PerStateBytes remainingWriteBytes; 49 PerStateBytes writtenBytes;
|
/packages/services/Car/cpp/watchdog/server/src/ |
D | IoOveruseMonitor.cpp | 50 using ::aidl::android::automotive::watchdog::PerStateBytes; 94 PerStateBytes sum(const PerStateBytes& lhs, const PerStateBytes& rhs) { in sum() 98 PerStateBytes result; in sum() 105 PerStateBytes diff(const PerStateBytes& lhs, const PerStateBytes& rhs) { in diff() 109 PerStateBytes result; in diff() 128 int64_t totalPerStateBytes(PerStateBytes perStateBytes) { in totalPerStateBytes() 136 std::tuple<int32_t, PerStateBytes> calculateOveruseAndForgivenBytes(PerStateBytes writtenBytes, in calculateOveruseAndForgivenBytes() 137 PerStateBytes threshold) { in calculateOveruseAndForgivenBytes() 155 PerStateBytes forgivenWriteBytes; in calculateOveruseAndForgivenBytes()
|
/packages/services/Car/cpp/watchdog/server/tests/ |
D | OveruseConfigurationTestUtils.cpp | 23 using ::aidl::android::automotive::watchdog::PerStateBytes; 107 PerStateBytes toPerStateBytes(const int64_t fgBytes, const int64_t bgBytes, in toPerStateBytes() 109 PerStateBytes perStateBytes; in toPerStateBytes() 117 const PerStateBytes& perStateBytes) { in toPerStateIoOveruseThreshold() 132 const PerStateBytes& perStateBytes) { in toPerStateIoOveruseThreshold()
|
/packages/services/Car/service/proto/android/car/watchdog/ |
D | watchdogservice_dump.proto | 95 optional PerStateBytes threshold = 2; 100 optional PerStateBytes threshold = 2; 106 optional PerStateBytes threshold = 2; 117 optional PerStateBytes forgiven_write_bytes = 2; 125 optional PerStateBytes remaining_write_bytes = 2; 128 optional PerStateBytes written_bytes = 5; 132 message PerStateBytes { message
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/3/android/automotive/watchdog/internal/ |
D | UidIoUsageStats.aidl | 36 android.automotive.watchdog.PerStateBytes writtenBytes; 37 android.automotive.watchdog.PerStateBytes readBytes;
|
D | IoUsageStats.aidl | 36 android.automotive.watchdog.PerStateBytes writtenBytes; 37 android.automotive.watchdog.PerStateBytes forgivenWriteBytes;
|
D | SystemSummaryUsageStats.aidl | 43 android.automotive.watchdog.PerStateBytes totalIoReads; 44 android.automotive.watchdog.PerStateBytes totalIoWrites;
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/current/android/automotive/watchdog/internal/ |
D | UidIoUsageStats.aidl | 36 android.automotive.watchdog.PerStateBytes writtenBytes; 37 android.automotive.watchdog.PerStateBytes readBytes;
|
D | IoUsageStats.aidl | 36 android.automotive.watchdog.PerStateBytes writtenBytes; 37 android.automotive.watchdog.PerStateBytes forgivenWriteBytes;
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/2/android/automotive/watchdog/internal/ |
D | IoUsageStats.aidl | 36 android.automotive.watchdog.PerStateBytes writtenBytes; 37 android.automotive.watchdog.PerStateBytes forgivenWriteBytes;
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog.internal/1/android/automotive/watchdog/internal/ |
D | IoUsageStats.aidl | 36 android.automotive.watchdog.PerStateBytes writtenBytes; 37 android.automotive.watchdog.PerStateBytes forgivenWriteBytes;
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog/3/android/automotive/watchdog/ |
D | IoOveruseStats.aidl | 38 android.automotive.watchdog.PerStateBytes remainingWriteBytes; 41 android.automotive.watchdog.PerStateBytes writtenBytes;
|
/packages/services/Car/cpp/watchdog/aidl/aidl_api/android.automotive.watchdog/current/android/automotive/watchdog/ |
D | IoOveruseStats.aidl | 38 android.automotive.watchdog.PerStateBytes remainingWriteBytes; 41 android.automotive.watchdog.PerStateBytes writtenBytes;
|