Home
last modified time | relevance | path

Searched refs:StatsDimensionsValue (Results 1 – 7 of 7) sorted by relevance

/packages/modules/StatsD/framework/test/src/android/os/
DStatsDimensionsValueTest.java42 sdvp.valueType = StatsDimensionsValue.TUPLE_VALUE_TYPE; in testConversionFromStructuredParcel()
50 sdvp.tupleValue[0].valueType = StatsDimensionsValue.STRING_VALUE_TYPE; in testConversionFromStructuredParcel()
51 sdvp.tupleValue[1].valueType = StatsDimensionsValue.INT_VALUE_TYPE; in testConversionFromStructuredParcel()
52 sdvp.tupleValue[2].valueType = StatsDimensionsValue.LONG_VALUE_TYPE; in testConversionFromStructuredParcel()
53 sdvp.tupleValue[3].valueType = StatsDimensionsValue.FLOAT_VALUE_TYPE; in testConversionFromStructuredParcel()
54 sdvp.tupleValue[4].valueType = StatsDimensionsValue.BOOLEAN_VALUE_TYPE; in testConversionFromStructuredParcel()
63 StatsDimensionsValue sdv = new StatsDimensionsValue(sdvp); in testConversionFromStructuredParcel()
66 assertThat(sdv.getValueType()).isEqualTo(StatsDimensionsValue.TUPLE_VALUE_TYPE); in testConversionFromStructuredParcel()
67 List<StatsDimensionsValue> sdvChildren = sdv.getTupleValueList(); in testConversionFromStructuredParcel()
75 .isEqualTo(StatsDimensionsValue.STRING_VALUE_TYPE); in testConversionFromStructuredParcel()
[all …]
/packages/modules/StatsD/framework/java/android/os/
DStatsDimensionsValue.java57 public final class StatsDimensionsValue implements Parcelable { class
82 public StatsDimensionsValue(Parcel in) { in StatsDimensionsValue() method in StatsDimensionsValue
91 public StatsDimensionsValue(StatsDimensionsValueParcel parcel) { in StatsDimensionsValue() method in StatsDimensionsValue
184 public List<StatsDimensionsValue> getTupleValueList() { in getTupleValueList()
187 List<StatsDimensionsValue> tupleValues = new ArrayList<>(length); in getTupleValueList()
189 tupleValues.add(new StatsDimensionsValue(mInner.tupleValue[i])); in getTupleValueList()
258 StatsDimensionsValue child = new StatsDimensionsValue(mInner.tupleValue[i]); in toString()
275 Parcelable.Creator<StatsDimensionsValue> CREATOR = new
276 Parcelable.Creator<StatsDimensionsValue>() {
277 public StatsDimensionsValue createFromParcel(Parcel in) {
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/
DAnomalyDetectionJobServiceTest.java19 import static android.os.StatsDimensionsValue.FLOAT_VALUE_TYPE;
20 import static android.os.StatsDimensionsValue.INT_VALUE_TYPE;
21 import static android.os.StatsDimensionsValue.TUPLE_VALUE_TYPE;
53 import android.os.StatsDimensionsValue;
98 private StatsDimensionsValue mStatsDimensionsValue;
269 final StatsDimensionsValue intValue = mock(StatsDimensionsValue.class); in extractUidFromStatsDimensionsValue_extractCorrectUid()
275 final StatsDimensionsValue tupleValue = mock(StatsDimensionsValue.class); in extractUidFromStatsDimensionsValue_extractCorrectUid()
277 final List<StatsDimensionsValue> statsDimensionsValues = new ArrayList<>(); in extractUidFromStatsDimensionsValue_extractCorrectUid()
288 final StatsDimensionsValue floatValue = mock(StatsDimensionsValue.class); in extractUidFromStatsDimensionsValue_wrongFormat_returnNull()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DAnomalyDetectionJobService.java19 import static android.os.StatsDimensionsValue.INT_VALUE_TYPE;
20 import static android.os.StatsDimensionsValue.TUPLE_VALUE_TYPE;
35 import android.os.StatsDimensionsValue;
134 final StatsDimensionsValue intentDimsValue = in saveAnomalyToDatabase()
194 int extractUidFromStatsDimensionsValue(StatsDimensionsValue statsDimensionsValue) { in extractUidFromStatsDimensionsValue()
204 final List<StatsDimensionsValue> values = statsDimensionsValue.getTupleValueList(); in extractUidFromStatsDimensionsValue()
/packages/modules/StatsD/service/java/com/android/server/stats/
DStatsCompanion.java26 import android.os.StatsDimensionsValue;
156 StatsDimensionsValue dimensionsValue = new StatsDimensionsValue(dimensionsValueParcel); in sendSubscriberBroadcast()
/packages/modules/StatsD/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt15 …dSubscriberBroadcast(Landroid/os/IBinder;JJJJ[Ljava/lang/String;Landroid/os/StatsDimensionsValue;)V
40 …dSubscriberBroadcast(Landroid/os/IBinder;JJJJ[Ljava/lang/String;Landroid/os/StatsDimensionsValue;)V
46 Landroid/os/StatsDimensionsValue;-><init>(Landroid/os/Parcel;)V
47 Landroid/os/StatsDimensionsValue;->mField:I
48 Landroid/os/StatsDimensionsValue;->mValue:Ljava/lang/Object;
49 Landroid/os/StatsDimensionsValue;->mValueType:I
50 Landroid/os/StatsDimensionsValue;->readValueFromParcel(ILandroid/os/Parcel;)Ljava/lang/Object;
51 Landroid/os/StatsDimensionsValue;->TAG:Ljava/lang/String;
52 Landroid/os/StatsDimensionsValue;->writeValueToParcel(ILjava/lang/Object;Landroid/os/Parcel;I)Z
/packages/modules/StatsD/framework/api/
Dsystem-current.txt60 public final class StatsDimensionsValue implements android.os.Parcelable {
68 method public java.util.List<android.os.StatsDimensionsValue> getTupleValueList();
73 …NonNull public static final android.os.Parcelable.Creator<android.os.StatsDimensionsValue> CREATOR;