Home
last modified time | relevance | path

Searched refs:OffloadCapability (Results 1 – 13 of 13) sorted by relevance

/packages/modules/Connectivity/nearby/framework/java/android/nearby/
DOffloadCapability.java32 public final class OffloadCapability implements Parcelable { class
63 public static final Creator<OffloadCapability> CREATOR = new Creator<OffloadCapability>() {
65 public OffloadCapability createFromParcel(Parcel in) {
77 public OffloadCapability[] newArray(int size) {
78 return new OffloadCapability[size];
82 private OffloadCapability(boolean fastPairSupported, boolean nearbyShareSupported, in OffloadCapability() method in OffloadCapability
92 if (!(o instanceof OffloadCapability)) return false; in equals()
93 OffloadCapability that = (OffloadCapability) o; in equals()
158 public OffloadCapability build() { in build()
159 return new OffloadCapability(mFastPairSupported, mNearbyShareSupported, mVersion); in build()
DNearbyManager.java334 @NonNull Consumer<OffloadCapability> callback) { in queryOffloadCapability()
348 volatile @Nullable Consumer<OffloadCapability> mConsumer;
350 OffloadTransport(Executor executor, Consumer<OffloadCapability> consumer) { in OffloadTransport()
358 public void onQueryComplete(OffloadCapability capability) { in onQueryComplete()
DOffloadCapability.aidl24 parcelable OffloadCapability;
/packages/modules/Connectivity/nearby/tests/cts/fastpair/src/android/nearby/cts/
DOffloadCapabilityTest.java21 import android.nearby.OffloadCapability;
38 OffloadCapability offloadCapability = new OffloadCapability.Builder().build(); in testDefault()
47 OffloadCapability offloadCapability = new OffloadCapability.Builder() in testBuilder()
60 OffloadCapability offloadCapability = new OffloadCapability.Builder() in testWriteParcel()
69 OffloadCapability capability = OffloadCapability.CREATOR.createFromParcel(parcel); in testWriteParcel()
DNearbyManagerTest.java38 import android.nearby.OffloadCapability;
291 private static class OffloadCallback implements Consumer<OffloadCapability> {
293 public void accept(OffloadCapability aBoolean) { in accept()
/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/provider/
DChreDiscoveryProviderTest.java34 import android.nearby.OffloadCapability;
82 private OffloadCapability mOffloadCapability;
110 public void onQueryComplete(OffloadCapability capability) throws RemoteException { in test_queryInvalidVersion()
123 OffloadCapability capability = in test_queryInvalidVersion()
124 new OffloadCapability in test_queryInvalidVersion()
139 public void onQueryComplete(OffloadCapability capability) throws RemoteException { in test_queryVersion()
152 OffloadCapability capability = in test_queryVersion()
153 new OffloadCapability in test_queryVersion()
/packages/modules/Connectivity/nearby/framework/java/android/nearby/aidl/
DIOffloadCallback.aidl19 import android.nearby.OffloadCapability;
28 void onQueryComplete(in OffloadCapability capability); in onQueryComplete()
/packages/modules/Connectivity/framework-t/api/
Dsystem-lint-baseline.txt36 UnflaggedApi: android.nearby.OffloadCapability#equals(Object):
37 New API must be flagged with @FlaggedApi: method android.nearby.OffloadCapability.equals(Object)
38 UnflaggedApi: android.nearby.OffloadCapability#hashCode():
39 New API must be flagged with @FlaggedApi: method android.nearby.OffloadCapability.hashCode()
40 UnflaggedApi: android.nearby.OffloadCapability#toString():
41 New API must be flagged with @FlaggedApi: method android.nearby.OffloadCapability.toString()
Dsystem-current.txt63 ….util.concurrent.Executor, @NonNull java.util.function.Consumer<android.nearby.OffloadCapability>);
75 public final class OffloadCapability implements android.os.Parcelable {
81 …onNull public static final android.os.Parcelable.Creator<android.nearby.OffloadCapability> CREATOR;
84 public static final class OffloadCapability.Builder {
85 ctor public OffloadCapability.Builder();
86 method @NonNull public android.nearby.OffloadCapability build();
87 method @NonNull public android.nearby.OffloadCapability.Builder setFastPairSupported(boolean);
88 … method @NonNull public android.nearby.OffloadCapability.Builder setNearbyShareSupported(boolean);
89 method @NonNull public android.nearby.OffloadCapability.Builder setVersion(long);
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/provider/
DChreDiscoveryProvider.java35 import android.nearby.OffloadCapability;
154 OffloadCapability.Builder builder = new OffloadCapability.Builder(); in queryOffloadCapability()
/packages/modules/Connectivity/framework-t/src/android/net/nsd/
DOffloadEngine.java79 @interface OffloadCapability {} annotation
DNsdManager.java460 @OffloadEngine.OffloadCapability long offloadCapability, @NonNull Executor executor, in registerOffloadEngine()
/packages/modules/Connectivity/service-t/src/com/android/server/
DNsdService.java2391 @OffloadEngine.OffloadCapability long offloadCapabilities, in registerOffloadEngine()