[CTS] Fix CTS failure in mainline train 2/2
- Use reasonable key value in DataElementTest Test: -m CtsNearbyFastPairTestCases Bug: 244133414 Change-Id: Ice0307205bba5a0220ac68bb0ec8bb756f531b5f
This commit is contained in:
@@ -54,7 +54,7 @@ public class PresenceBroadcastRequestTest {
|
||||
private static final byte[] SECRETE_ID = new byte[]{1, 2, 3, 4};
|
||||
private static final byte[] AUTHENTICITY_KEY = new byte[]{0, 1, 1, 1};
|
||||
private static final byte[] METADATA_ENCRYPTION_KEY = new byte[]{1, 1, 3, 4, 5};
|
||||
private static final int KEY = 1234;
|
||||
private static final int KEY = 3;
|
||||
private static final byte[] VALUE = new byte[]{1, 1, 1, 1};
|
||||
private static final String DEVICE_NAME = "test_device";
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ public class PresenceDeviceTest {
|
||||
private static final int RSSI = -40;
|
||||
private static final int MEDIUM = NearbyDevice.Medium.BLE;
|
||||
private static final String DEVICE_NAME = "testDevice";
|
||||
private static final int KEY = 1234;
|
||||
private static final int KEY = 3;
|
||||
private static final byte[] VALUE = new byte[]{1, 1, 1, 1};
|
||||
private static final byte[] SALT = new byte[]{2, 3};
|
||||
private static final byte[] SECRET_ID = new byte[]{11, 13};
|
||||
|
||||
@@ -48,7 +48,7 @@ public class PresenceScanFilterTest {
|
||||
private static final byte[] PUBLIC_KEY = new byte[]{1, 1, 2, 2};
|
||||
private static final byte[] ENCRYPTED_METADATA = new byte[]{1, 2, 3, 4, 5};
|
||||
private static final byte[] METADATA_ENCRYPTION_KEY_TAG = new byte[]{1, 1, 3, 4, 5};
|
||||
private static final int KEY = 1234;
|
||||
private static final int KEY = 3;
|
||||
private static final byte[] VALUE = new byte[]{1, 1, 1, 1};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user