Searched refs:baseKey (Results 1 – 6 of 6) sorted by relevance
/packages/modules/Connectivity/remoteauth/service/java/com/android/server/remoteauth/ranging/ |
D | RangingSession.java | 185 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()
|
D | SessionParameters.java | 111 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/ |
D | RangingSessionTest.java | 119 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/ |
D | Action.java | 260 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/ |
D | ActionServiceTest.java | 244 public TestChatActionMonitor(final String baseKey, final Object data, in TestChatActionMonitor() argument 246 super(STATE_CREATED, Action.generateUniqueActionKey(baseKey), data); in TestChatActionMonitor()
|
D | ActionServiceSystemTest.java | 422 public TestChatActionMonitor(final String baseKey, final Object data, in TestChatActionMonitor() argument 424 super(STATE_CREATED, Action.generateUniqueActionKey(baseKey), data); in TestChatActionMonitor()
|