Home
last modified time | relevance | path

Searched refs:DataNotificationConfig (Results 1 – 17 of 17) sorted by relevance

/packages/modules/Uwb/ranging/service/java/com/android/server/ranging/util/
DDataNotificationManager.java19 import static android.ranging.DataNotificationConfig.NOTIFICATION_CONFIG_DISABLE;
20 import static android.ranging.DataNotificationConfig.NOTIFICATION_CONFIG_ENABLE;
21 import static android.ranging.DataNotificationConfig.NOTIFICATION_CONFIG_PROXIMITY_EDGE;
22 import static android.ranging.DataNotificationConfig.NOTIFICATION_CONFIG_PROXIMITY_LEVEL;
24 import android.ranging.DataNotificationConfig;
28 private final DataNotificationConfig mInitialConfig;
30 private DataNotificationConfig mCurrentConfig;
34 public DataNotificationManager(DataNotificationConfig initialConfig, in DataNotificationManager()
35 DataNotificationConfig currentConfig) { in DataNotificationManager()
40 public DataNotificationConfig getInitialConfig() { in getInitialConfig()
[all …]
/packages/modules/Uwb/ranging/framework/java/android/ranging/
DDataNotificationConfig.java39 public final class DataNotificationConfig implements Parcelable { class
45 private DataNotificationConfig(Parcel in) { in DataNotificationConfig() method in DataNotificationConfig
52 public static final Creator<DataNotificationConfig> CREATOR = new Creator<>() {
54 public DataNotificationConfig createFromParcel(Parcel in) {
55 return new DataNotificationConfig(in);
59 public DataNotificationConfig[] newArray(int size) {
60 return new DataNotificationConfig[size];
100 private DataNotificationConfig(Builder builder) { in DataNotificationConfig() method in DataNotificationConfig
194 public DataNotificationConfig build() { in build()
195 return new DataNotificationConfig(this); in build()
[all …]
DSessionConfig.java38 private final DataNotificationConfig mDataNotificationConfig;
52 mDataNotificationConfig = in.readParcelable(DataNotificationConfig.class.getClassLoader(), in SessionConfig()
53 DataNotificationConfig.class); in SessionConfig()
101 public DataNotificationConfig getDataNotificationConfig() { in getDataNotificationConfig()
124 private DataNotificationConfig mDataNotificationConfig =
125 new DataNotificationConfig.Builder().build();
153 @NonNull DataNotificationConfig config) { in setDataNotificationConfig()
/packages/modules/Uwb/ranging/service/java/com/android/server/ranging/rtt/
DRttConfig.java19 import android.ranging.DataNotificationConfig;
86 DataNotificationConfig ntfConfig = mSessionConfig.getDataNotificationConfig(); in asBackendParameters()
88 case DataNotificationConfig.NOTIFICATION_CONFIG_ENABLE, in asBackendParameters()
90 DataNotificationConfig.NOTIFICATION_CONFIG_PROXIMITY_EDGE -> builder in asBackendParameters()
93 case DataNotificationConfig.NOTIFICATION_CONFIG_DISABLE -> in asBackendParameters()
95 case DataNotificationConfig.NOTIFICATION_CONFIG_PROXIMITY_LEVEL -> in asBackendParameters()
DRttAdapter.java25 import android.ranging.DataNotificationConfig;
115 new DataNotificationConfig.Builder().build(), in RttAdapter()
116 new DataNotificationConfig.Builder().build() in RttAdapter()
/packages/modules/Uwb/ranging/service/tests/unittests/src/com/android/ranging/tests/rtt/
DRttAdapterTest.java19 import static android.ranging.DataNotificationConfig.NOTIFICATION_CONFIG_DISABLE;
20 import static android.ranging.DataNotificationConfig.NOTIFICATION_CONFIG_ENABLE;
39 import android.ranging.DataNotificationConfig;
105 private final DataNotificationConfig mDataNotificationConfig =
106 new DataNotificationConfig.Builder().build();
/packages/modules/Uwb/ranging/service/tests/unittests/src/com/android/ranging/tests/blerssi/
DBleRssiAdapterTest.java20 import static android.ranging.DataNotificationConfig.NOTIFICATION_CONFIG_DISABLE;
21 import static android.ranging.DataNotificationConfig.NOTIFICATION_CONFIG_ENABLE;
45 import android.ranging.DataNotificationConfig;
106 private final DataNotificationConfig mDataNotificationConfig =
107 new DataNotificationConfig.Builder().build();
/packages/modules/Uwb/ranging/tests/multidevices/snippet/uwb/
DRangingPreferenceConverter.java23 import android.ranging.DataNotificationConfig;
236 private DataNotificationConfig getDataNotificationConfig(boolean enableRangeDataNotifications) { in getDataNotificationConfig()
237 return new DataNotificationConfig.Builder() in getDataNotificationConfig()
240 ? DataNotificationConfig.NOTIFICATION_CONFIG_ENABLE in getDataNotificationConfig()
241 : DataNotificationConfig.NOTIFICATION_CONFIG_DISABLE in getDataNotificationConfig()
/packages/modules/Uwb/ranging/service/tests/unittests/src/com/android/ranging/tests/cs/
DCsAdapterTest.java19 import static android.ranging.DataNotificationConfig.NOTIFICATION_CONFIG_DISABLE;
20 import static android.ranging.DataNotificationConfig.NOTIFICATION_CONFIG_ENABLE;
44 import android.ranging.DataNotificationConfig;
107 private final DataNotificationConfig mDataNotificationConfig =
108 new DataNotificationConfig.Builder().build();
/packages/modules/Uwb/ranging/service/java/com/android/server/ranging/uwb/
DUwbConfig.java21 import android.ranging.DataNotificationConfig;
107 public RangingParameters asBackendParameters(DataNotificationConfig dataNotificationConfig) { in asBackendParameters()
135 @NonNull DataNotificationConfig rangeDataNtfConfig in toBackend()
DUwbAdapter.java25 import android.ranging.DataNotificationConfig;
123 new DataNotificationConfig.Builder().build(), in UwbAdapter()
124 new DataNotificationConfig.Builder().build() in UwbAdapter()
/packages/modules/Uwb/ranging/service/java/com/android/server/ranging/blerssi/
DBleRssiAdapter.java38 import android.ranging.DataNotificationConfig;
94 new DataNotificationConfig.Builder().build(), in BleRssiAdapter()
95 new DataNotificationConfig.Builder().build() in BleRssiAdapter()
/packages/modules/Uwb/ranging/service/java/com/android/server/ranging/cs/
DCsAdapter.java40 import android.ranging.DataNotificationConfig;
103 new DataNotificationConfig.Builder().build(), in CsAdapter()
104 new DataNotificationConfig.Builder().build() in CsAdapter()
/packages/modules/Uwb/ranging/framework/api/
Dcurrent.txt4 …android.ranging.flags.ranging_stack_enabled") public final class DataNotificationConfig implements…
10 … public static final android.os.Parcelable.Creator<android.ranging.DataNotificationConfig> CREATOR;
17 public static final class DataNotificationConfig.Builder {
18 ctor public DataNotificationConfig.Builder();
19 method @NonNull public android.ranging.DataNotificationConfig build();
20 …method @NonNull public android.ranging.DataNotificationConfig.Builder setNotificationConfigType(in…
21 …method @NonNull public android.ranging.DataNotificationConfig.Builder setProximityFarCm(@IntRange(…
22 …method @NonNull public android.ranging.DataNotificationConfig.Builder setProximityNearCm(@IntRange…
154 method @NonNull public android.ranging.DataNotificationConfig getDataNotificationConfig();
166 …g.SessionConfig.Builder setDataNotificationConfig(@NonNull android.ranging.DataNotificationConfig);
/packages/modules/Uwb/ranging/framework/tests/src/android/ranging/
DRangingFrameworkTest.java19 import static android.ranging.DataNotificationConfig.NOTIFICATION_CONFIG_ENABLE;
130 .setDataNotificationConfig(new DataNotificationConfig.Builder() in getGenericInitiatorRangingPreference()
206 DataNotificationConfig ntfConfig = sessionConfig.getDataNotificationConfig(); in testRawRangingInitiatorSession()
/packages/modules/Uwb/ranging/framework/java/android/ranging/uwb/
DUwbRangingCapabilities.java23 import android.ranging.DataNotificationConfig.NotificationConfigType;
/packages/modules/Uwb/ranging/tests/cts/tests/src/android/ranging/cts/
DRangingManagerTest.java19 import static android.ranging.DataNotificationConfig.NOTIFICATION_CONFIG_PROXIMITY_LEVEL;
64 import android.ranging.DataNotificationConfig;
352 .setDataNotificationConfig(new DataNotificationConfig.Builder() in testUwbRangingSessionInternal()