/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | SoftApStoreDataTest.java | 453 byte[] actualData = serializeData(); in serializeSoftAp() 455 assertEquals(TEST_CONFIG_STRING_WITH_ALL_CONFIG_IN_B, new String(actualData)); in serializeSoftAp() 457 assertEquals(TEST_CONFIG_STRING_WITH_ALL_CONFIG_IN_T, new String(actualData)); in serializeSoftAp() 459 assertEquals(TEST_CONFIG_STRING_WITH_ALL_CONFIG_IN_S, new String(actualData)); in serializeSoftAp() 461 assertEquals(TEST_CONFIG_STRING_WITH_ALL_CONFIG_IN_R, new String(actualData)); in serializeSoftAp() 508 byte[] actualData = serializeData(); in serializeSoftApNonUtf8() 510 assertEquals(TEST_CONFIG_STRING_WITH_ALL_CONFIG_IN_B, new String(actualData)); in serializeSoftApNonUtf8() 512 assertEquals(TEST_CONFIG_STRING_WITH_ALL_CONFIG_IN_T, new String(actualData)); in serializeSoftApNonUtf8() 514 assertEquals(TEST_CONFIG_STRING_WITH_ALL_CONFIG_IN_S, new String(actualData)); in serializeSoftApNonUtf8() 516 assertEquals(TEST_CONFIG_STRING_WITH_ALL_CONFIG_IN_R, new String(actualData)); in serializeSoftApNonUtf8() [all …]
|
D | SsidSetStoreDataTest.java | 152 byte[] actualData = serializeData(); in serializeSsidSet() 153 assertTrue(Arrays.equals(TEST_SSID_SET_XML_BYTES, actualData)); in serializeSsidSet()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/bluetooth/ |
D | FastPairAdvertiserTest.java | 339 byte[] actualData = actualServiceData.get(SERVICE_UUID); in testAdvertiseAccountKeyFilterWithKeys_advertisingSucceeds() 341 int actualSize = actualData.length; in testAdvertiseAccountKeyFilterWithKeys_advertisingSucceeds() 342 assertThat(actualData).isNotNull(); in testAdvertiseAccountKeyFilterWithKeys_advertisingSucceeds() 344 assertThat(actualData[0]).isEqualTo(TEST_ACCOUNT_KEY_FILTER_ADVERTISEMENT_RESERVED_BYTE); in testAdvertiseAccountKeyFilterWithKeys_advertisingSucceeds() 345 assertThat(actualData[1]) in testAdvertiseAccountKeyFilterWithKeys_advertisingSucceeds() 347 assertThat(actualData[actualSize - 2]) in testAdvertiseAccountKeyFilterWithKeys_advertisingSucceeds() 349 byte salt = actualData[actualSize - 1]; in testAdvertiseAccountKeyFilterWithKeys_advertisingSucceeds() 351 assertThat(Arrays.copyOfRange(actualData, 2, 7)).isEqualTo(filter); in testAdvertiseAccountKeyFilterWithKeys_advertisingSucceeds()
|
/packages/modules/OnDevicePersonalization/tests/manualtests/src/com/android/ondevicepersonalization/services/download/ |
D | OnDevicePersonalizationDataProcessingAsyncCallableManualTests.java | 124 private void compareDataContent(VendorData expectedData, VendorData actualData) { in compareDataContent() argument 125 assertEquals(expectedData.getKey(), actualData.getKey()); in compareDataContent() 126 assertArrayEquals(expectedData.getData(), actualData.getData()); in compareDataContent()
|
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/download/ |
D | OnDevicePersonalizationDataProcessingAsyncCallableTests.java | 277 private void compareDataContent(VendorData expectedData, VendorData actualData, in compareDataContent() argument 279 assertEquals(expectedData.getKey(), actualData.getKey()); in compareDataContent() 282 actualData.getData()); in compareDataContent() 284 assertArrayEquals(expectedData.getData(), actualData.getData()); in compareDataContent()
|
/packages/services/Car/tests/CarServiceTest/src/com/android/car/ |
D | CarVendorExtensionManagerTest.java | 183 byte[] actualData = mManager.getGlobalProperty( in testByteArrayProperty() 187 assertEquals(Arrays.toString(expectedData), Arrays.toString(actualData)); in testByteArrayProperty() 205 byte[] actualData = mManager.getGlobalProperty( in testLargeByteArrayProperty() 209 Assert.assertArrayEquals(expectedData, actualData); in testLargeByteArrayProperty()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/protectedaudience/src/com/android/adservices/data/adselection/ |
D | AdSelectionEntryDaoTest.java | 2009 DBReportingData actualData = in test_persistReportingData_success() local 2011 assertEquals(DataHandlersFixture.getDBReportingDataWithId(AD_SELECTION_ID_1), actualData); in test_persistReportingData_success() local 2026 DBReportingData actualData = in test_persistReportingData_withoutComponentSellerUri_success() local 2029 .that(actualData.getAdSelectionId()) in test_persistReportingData_withoutComponentSellerUri_success() 2032 .that(actualData.getBuyerReportingUri()) in test_persistReportingData_withoutComponentSellerUri_success() 2035 .that(actualData.getComponentSellerReportingUri()) in test_persistReportingData_withoutComponentSellerUri_success() 2038 .that(actualData.getSellerReportingUri()) in test_persistReportingData_withoutComponentSellerUri_success() 2054 DBReportingData actualData = in test_persistReportingData_withComponentSellerUri_success() local 2057 .that(actualData.getAdSelectionId()) in test_persistReportingData_withComponentSellerUri_success() 2060 .that(actualData.getBuyerReportingUri()) in test_persistReportingData_withComponentSellerUri_success() [all …]
|
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/permission/ui/model/ |
D | PermissionUsageDetailsViewModelTest.kt | 427 val actualData = in <lambda>() constant 438 discretePackageOps.emit(actualData) in <lambda>()
|
/packages/modules/StatsD/statsd/tests/shell/ |
D | ShellSubscriber_test.cpp | 199 vector<ShellData> actualData; in runShellTest() local 201 actualData.push_back(readData(fds_datas[i][0])); in runShellTest() 204 EXPECT_THAT(expectedData, UnorderedPointwise(EqShellData(), actualData)); in runShellTest()
|
/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/consent/ |
D | ConsentManagerTest.java | 4946 EnrollmentData actualData = EnrollmentData.deserialize(dataStringArg[0]); in testMigrateEnrollmentData() local 4950 actualData.getUserChoice(Module.TOPICS)); in testMigrateEnrollmentData() 4954 actualData.getUserChoice(MEASUREMENT)); in testMigrateEnrollmentData() 4958 actualData.getUserChoice(PROTECTED_AUDIENCE)); in testMigrateEnrollmentData() 4962 actualData.getUserChoice(Module.PROTECTED_APP_SIGNALS)); in testMigrateEnrollmentData() 4966 actualData.getUserChoice(Module.ON_DEVICE_PERSONALIZATION)); in testMigrateEnrollmentData() 4970 actualData.getUserChoice(Module.ADID)); in testMigrateEnrollmentData() 4974 actualData.getModuleState(Module.TOPICS)); in testMigrateEnrollmentData() 4978 actualData.getModuleState(MEASUREMENT)); in testMigrateEnrollmentData() 4982 actualData.getModuleState(PROTECTED_AUDIENCE)); in testMigrateEnrollmentData() [all …]
|
/packages/modules/Permission/tests/functional/safetycenter/singleuser/src/android/safetycenter/functional/ |
D | SafetyCenterManagerTest.kt | 3952 val actualData = safetyCenterManager.getSafetySourceDataWithPermission(DYNAMIC_HIDDEN_ID) in <lambda>() constant 3953 assertThat(actualData).isEqualTo(expectedData) in <lambda>()
|