Home
last modified time | relevance | path

Searched refs:baseKey (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Connectivity/remoteauth/service/java/com/android/server/remoteauth/ranging/
DRangingSession.java185 public void resetBaseKey(@NonNull byte[] baseKey) { in resetBaseKey() argument
190 Preconditions.checkNotNull(baseKey); in resetBaseKey()
191 if (baseKey.length != 16 && baseKey.length != 32) { in resetBaseKey()
192 throw new IllegalArgumentException("Invalid baseKey length: " + baseKey.length); in resetBaseKey()
194 mBaseKey = baseKey; in resetBaseKey()
DSessionParameters.java111 byte[] baseKey, in SessionParameters() argument
119 mBaseKey = baseKey; in SessionParameters()
206 public Builder setBaseKey(@NonNull byte[] baseKey) { in setBaseKey() argument
207 Preconditions.checkNotNull(baseKey); in setBaseKey()
208 mBaseKey = baseKey; in setBaseKey()
/packages/modules/Connectivity/remoteauth/tests/unit/src/com/android/server/remoteauth/ranging/
DRangingSessionTest.java119 public byte[] baseKey() { in baseKey() method in RangingSessionTest.RangingSessionWrapper
154 assertNull(mRangingSessionWithoutAD.baseKey()); in testResetBaseKey_autoDeriveDisabled()
156 assertNull(mRangingSessionWithoutAD.baseKey()); in testResetBaseKey_autoDeriveDisabled()
174 assertArrayEquals(mRangingSessionWithAD.baseKey(), TEST_BASE_KEY2); in testResetBaseKey_success()
178 assertArrayEquals(mRangingSessionWithAD.baseKey(), TEST_BASE_KEY); in testResetBaseKey_success()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DAction.java260 protected static String generateUniqueActionKey(final String baseKey) { in generateUniqueActionKey() argument
262 if (!TextUtils.isEmpty(baseKey)) { in generateUniqueActionKey()
263 key.append(baseKey); in generateUniqueActionKey()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
DActionServiceTest.java244 public TestChatActionMonitor(final String baseKey, final Object data, in TestChatActionMonitor() argument
246 super(STATE_CREATED, Action.generateUniqueActionKey(baseKey), data); in TestChatActionMonitor()
DActionServiceSystemTest.java422 public TestChatActionMonitor(final String baseKey, final Object data, in TestChatActionMonitor() argument
424 super(STATE_CREATED, Action.generateUniqueActionKey(baseKey), data); in TestChatActionMonitor()