Searched refs:OffloadCapability (Results 1 – 13 of 13) sorted by relevance
32 public final class OffloadCapability implements Parcelable { class63 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 OffloadCapability92 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()
334 @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()
24 parcelable OffloadCapability;
21 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()
38 import android.nearby.OffloadCapability;291 private static class OffloadCallback implements Consumer<OffloadCapability> {293 public void accept(OffloadCapability aBoolean) { in accept()
34 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()
19 import android.nearby.OffloadCapability;28 void onQueryComplete(in OffloadCapability capability); in onQueryComplete()
36 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()
63 ….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);
35 import android.nearby.OffloadCapability;154 OffloadCapability.Builder builder = new OffloadCapability.Builder(); in queryOffloadCapability()
79 @interface OffloadCapability {} annotation
460 @OffloadEngine.OffloadCapability long offloadCapability, @NonNull Executor executor, in registerOffloadEngine()
2391 @OffloadEngine.OffloadCapability long offloadCapabilities, in registerOffloadEngine()