Home
last modified time | relevance | path

Searched refs:dataTwo (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Settings/tests/unit/src/com/android/settings/slices/
DSliceDataTest.java233 SliceData dataTwo = builder.build(); in testEquality_identicalObjects() local
235 assertThat(dataOne.hashCode()).isEqualTo(dataTwo.hashCode()); in testEquality_identicalObjects()
236 assertThat(dataOne).isEqualTo(dataTwo); in testEquality_identicalObjects()
261 SliceData dataTwo = builder.build(); in testEquality_matchingKey_EqualObjects() local
263 assertThat(dataOne.hashCode()).isEqualTo(dataTwo.hashCode()); in testEquality_matchingKey_EqualObjects()
264 assertThat(dataOne).isEqualTo(dataTwo); in testEquality_matchingKey_EqualObjects()
282 SliceData dataTwo = builder.build(); in testEquality_differentKey_differentObjects() local
284 assertThat(dataOne.hashCode()).isNotEqualTo(dataTwo.hashCode()); in testEquality_differentKey_differentObjects()
285 assertThat(dataOne).isNotEqualTo(dataTwo); in testEquality_differentKey_differentObjects()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarServiceUtilsTest.java402 CarServiceUtils.EncryptedData dataTwo = CarServiceUtils.encryptData(inputBytes, in testEncryptData_sameDataDifferentIv() local
406 .isNotEqualTo(dataTwo.getEncryptedData()); in testEncryptData_sameDataDifferentIv()
408 .isNotEqualTo(dataTwo.getIv()); in testEncryptData_sameDataDifferentIv()
414 byte[] dataTwo = new byte[]{'1', '2', '3', '4'}; in testEncryptedDataEquals()
419 CarServiceUtils.EncryptedData two = new CarServiceUtils.EncryptedData(dataTwo, ivTwo); in testEncryptedDataEquals()
427 byte[] dataTwo = new byte[]{'5', '6', '7', '8'}; in testEncryptedDataEquals_notEqualData()
432 CarServiceUtils.EncryptedData two = new CarServiceUtils.EncryptedData(dataTwo, ivTwo); in testEncryptedDataEquals_notEqualData()
440 byte[] dataTwo = new byte[]{'1', '2', '3', '4'}; in testEncryptedDataEquals_notEqualIv()
445 CarServiceUtils.EncryptedData two = new CarServiceUtils.EncryptedData(dataTwo, ivTwo); in testEncryptedDataEquals_notEqualIv()
/packages/modules/Bluetooth/system/common/
Dstate_machine_unittest.cc33 static char dataTwo = 2; variable
251 ASSERT_TRUE(sm_.ProcessEvent(kEventTwo, &dataTwo)); in TEST_F()
256 ASSERT_EQ(sm_.state_two_->data_, &dataTwo); in TEST_F()