From ee379fd75aedb11a5eecaa3e7df6d2bc4f24997f Mon Sep 17 00:00:00 2001 From: Chun Zhang Date: Wed, 9 Mar 2022 11:18:20 -0800 Subject: [PATCH] Address API feedback: rename to AntispoofKey [Antispoofkey and AntiSpoofkey should be AntispoofKey] Bug: 218682005 Test: Unit Test Ignore-AOSP-First: nearby_not_in_aosp_yet Change-Id: I5124094005d446293cc6cf980a60628e93080631 --- framework-t/api/system-current.txt | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/framework-t/api/system-current.txt b/framework-t/api/system-current.txt index 7378cf3cc5..e1bfdb2bb4 100644 --- a/framework-t/api/system-current.txt +++ b/framework-t/api/system-current.txt @@ -69,21 +69,21 @@ package android.nearby { method @NonNull public android.nearby.FastPairAccountKeyDeviceMetadata.Builder setSha256AccountKeyPublicAddress(@Nullable byte[]); } - public class FastPairAntispoofkeyDeviceMetadata { + public class FastPairAntispoofKeyDeviceMetadata { } - public static final class FastPairAntispoofkeyDeviceMetadata.Builder { - ctor public FastPairAntispoofkeyDeviceMetadata.Builder(); - method @NonNull public android.nearby.FastPairAntispoofkeyDeviceMetadata build(); - method @NonNull public android.nearby.FastPairAntispoofkeyDeviceMetadata.Builder setAntiSpoofPublicKey(@Nullable byte[]); - method @NonNull public android.nearby.FastPairAntispoofkeyDeviceMetadata.Builder setFastPairDeviceMetadata(@Nullable android.nearby.FastPairDeviceMetadata); + public static final class FastPairAntispoofKeyDeviceMetadata.Builder { + ctor public FastPairAntispoofKeyDeviceMetadata.Builder(); + method @NonNull public android.nearby.FastPairAntispoofKeyDeviceMetadata build(); + method @NonNull public android.nearby.FastPairAntispoofKeyDeviceMetadata.Builder setAntiSpoofPublicKey(@Nullable byte[]); + method @NonNull public android.nearby.FastPairAntispoofKeyDeviceMetadata.Builder setFastPairDeviceMetadata(@Nullable android.nearby.FastPairDeviceMetadata); } public abstract class FastPairDataProviderBase { ctor public FastPairDataProviderBase(@NonNull String); method @Nullable public final android.os.IBinder getBinder(); method public abstract void onLoadFastPairAccountDevicesMetadata(@NonNull android.nearby.FastPairDataProviderBase.FastPairAccountDevicesMetadataRequest, @NonNull android.nearby.FastPairDataProviderBase.FastPairAccountDevicesMetadataCallback); - method public abstract void onLoadFastPairAntispoofkeyDeviceMetadata(@NonNull android.nearby.FastPairDataProviderBase.FastPairAntispoofkeyDeviceMetadataRequest, @NonNull android.nearby.FastPairDataProviderBase.FastPairAntispoofkeyDeviceMetadataCallback); + method public abstract void onLoadFastPairAntispoofKeyDeviceMetadata(@NonNull android.nearby.FastPairDataProviderBase.FastPairAntispoofKeyDeviceMetadataRequest, @NonNull android.nearby.FastPairDataProviderBase.FastPairAntispoofKeyDeviceMetadataCallback); method public abstract void onLoadFastPairEligibleAccounts(@NonNull android.nearby.FastPairDataProviderBase.FastPairEligibleAccountsRequest, @NonNull android.nearby.FastPairDataProviderBase.FastPairEligibleAccountsCallback); method public abstract void onManageFastPairAccount(@NonNull android.nearby.FastPairDataProviderBase.FastPairManageAccountRequest, @NonNull android.nearby.FastPairDataProviderBase.FastPairManageActionCallback); method public abstract void onManageFastPairAccountDevice(@NonNull android.nearby.FastPairDataProviderBase.FastPairManageAccountDeviceRequest, @NonNull android.nearby.FastPairDataProviderBase.FastPairManageActionCallback); @@ -104,12 +104,12 @@ package android.nearby { method @NonNull public java.util.Collection getAccountKeys(); } - public static interface FastPairDataProviderBase.FastPairAntispoofkeyDeviceMetadataCallback { + public static interface FastPairDataProviderBase.FastPairAntispoofKeyDeviceMetadataCallback { method public void onError(int, @Nullable String); - method public void onFastPairAntispoofkeyDeviceMetadataReceived(@NonNull android.nearby.FastPairAntispoofkeyDeviceMetadata); + method public void onFastPairAntispoofKeyDeviceMetadataReceived(@NonNull android.nearby.FastPairAntispoofKeyDeviceMetadata); } - public static class FastPairDataProviderBase.FastPairAntispoofkeyDeviceMetadataRequest { + public static class FastPairDataProviderBase.FastPairAntispoofKeyDeviceMetadataRequest { method @NonNull public byte[] getModelId(); }