Home
last modified time | relevance | path

Searched refs:UwbActivityEnergyInfo (Results 1 – 10 of 10) sorted by relevance

/packages/modules/Uwb/tests/cts/tests/src/android/uwb/cts/
DUwbActivityEnergyInfoTest.java26 import android.uwb.UwbActivityEnergyInfo;
50 UwbActivityEnergyInfo.Builder builder = new UwbActivityEnergyInfo.Builder(); in testBuilder()
69 UwbActivityEnergyInfo info = tryBuild(builder, true); in testBuilder()
79 private UwbActivityEnergyInfo tryBuild(UwbActivityEnergyInfo.Builder builder, in tryBuild()
81 UwbActivityEnergyInfo info = null; in tryBuild()
97 UwbActivityEnergyInfo.Builder builder = new UwbActivityEnergyInfo.Builder(); in testInvalidParams()
116 UwbActivityEnergyInfo info = UwbTestUtils.getUwbActivityEnergyInfo(); in testParcel()
120 UwbActivityEnergyInfo infoFromParcel = in testParcel()
121 UwbActivityEnergyInfo.CREATOR.createFromParcel(parcel); in testParcel()
127 UwbActivityEnergyInfo info = UwbTestUtils.getUwbActivityEnergyInfo(); in testToStringThrowsNoExceptions()
DUwbTestUtils.java28 import android.uwb.UwbActivityEnergyInfo;
106 public static UwbActivityEnergyInfo getUwbActivityEnergyInfo() { in getUwbActivityEnergyInfo()
107 return new UwbActivityEnergyInfo.Builder() in getUwbActivityEnergyInfo()
DUwbManagerTest.java59 import android.uwb.UwbActivityEnergyInfo;
2040 Consumer<UwbActivityEnergyInfo> {
2042 public UwbActivityEnergyInfo mPowerStats;
2050 public void accept(UwbActivityEnergyInfo info) { in accept()
/packages/modules/Uwb/framework/java/android/uwb/
DUwbActivityEnergyInfo.java37 public final class UwbActivityEnergyInfo implements Parcelable { class
45 private UwbActivityEnergyInfo( in UwbActivityEnergyInfo() method in UwbActivityEnergyInfo
69 if (obj instanceof UwbActivityEnergyInfo) { in equals()
70 UwbActivityEnergyInfo other = (UwbActivityEnergyInfo) obj; in equals()
102 public static final @NonNull Creator<UwbActivityEnergyInfo> CREATOR =
103 new Creator<UwbActivityEnergyInfo>() {
105 public UwbActivityEnergyInfo createFromParcel(Parcel in) {
116 public UwbActivityEnergyInfo[] newArray(int size) {
117 return new UwbActivityEnergyInfo[size];
279 public UwbActivityEnergyInfo build() { in build()
[all …]
DIOnUwbActivityEnergyInfoListener.aidl20 import android.uwb.UwbActivityEnergyInfo;
32 void onUwbActivityEnergyInfo(in UwbActivityEnergyInfo info); in onUwbActivityEnergyInfo()
DUwbManager.java1170 @Nullable @GuardedBy("mLock") private Consumer<UwbActivityEnergyInfo> mListener;
1173 Consumer<UwbActivityEnergyInfo> listener) { in OnUwbActivityEnergyInfoProxy()
1179 public void onUwbActivityEnergyInfo(UwbActivityEnergyInfo info) { in onUwbActivityEnergyInfo()
1181 Consumer<UwbActivityEnergyInfo> listener; in onUwbActivityEnergyInfo()
1208 @NonNull Consumer<UwbActivityEnergyInfo> listener) { in getUwbActivityEnergyInfoAsync()
DUwbActivityEnergyInfo.aidl19 parcelable UwbActivityEnergyInfo;
/packages/modules/Uwb/framework/api/
Dsystem-current.txt175 public final class UwbActivityEnergyInfo implements android.os.Parcelable {
184 …nNull public static final android.os.Parcelable.Creator<android.uwb.UwbActivityEnergyInfo> CREATOR;
187 public static final class UwbActivityEnergyInfo.Builder {
188 ctor public UwbActivityEnergyInfo.Builder();
189 method @NonNull public android.uwb.UwbActivityEnergyInfo build();
190 …method @NonNull public android.uwb.UwbActivityEnergyInfo.Builder setControllerIdleDurationMillis(@…
191 …method @NonNull public android.uwb.UwbActivityEnergyInfo.Builder setControllerRxDurationMillis(@In…
192 …method @NonNull public android.uwb.UwbActivityEnergyInfo.Builder setControllerTxDurationMillis(@In…
193 …method @NonNull public android.uwb.UwbActivityEnergyInfo.Builder setControllerWakeCount(@IntRange(…
194 method @NonNull public android.uwb.UwbActivityEnergyInfo.Builder setStackState(int);
[all …]
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbServiceCore.java49 import android.uwb.UwbActivityEnergyInfo;
1393 private UwbActivityEnergyInfo getUwbActivityEnergyInfo() { in getUwbActivityEnergyInfo()
1412 return new UwbActivityEnergyInfo.Builder() in getUwbActivityEnergyInfo()
/packages/modules/Uwb/framework/tests/src/android/uwb/
DUwbManagerTest.java276 Consumer<UwbActivityEnergyInfo> listener = mock(Consumer.class); in testGetUwbActivityEnergyInfoAsync()