/packages/modules/Uwb/service/tests/src/com/android/server/uwb/data/ |
D | UwbVendorUciResponseTest.java | 33 UwbVendorUciResponse response2 = new UwbVendorUciResponse( in equalValues() local 39 assertThat(response1).isEqualTo(response2); in equalValues() 49 UwbVendorUciResponse response2 = response1; in sameInstance() local 51 assertThat(response1).isEqualTo(response2); in sameInstance() 61 UwbVendorUciResponse response2 = new UwbVendorUciResponse( in notEqualStatus() local 67 assertThat(response1).isNotEqualTo(response2); in notEqualStatus() 77 UwbVendorUciResponse response2 = new UwbVendorUciResponse( in notEqualGid() local 83 assertThat(response1).isNotEqualTo(response2); in notEqualGid() 93 UwbVendorUciResponse response2 = new UwbVendorUciResponse( in notEqualOid() local 99 assertThat(response1).isNotEqualTo(response2); in notEqualOid() [all …]
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactDirectoryManagerTest.java | 200 MatrixCursor response2 = provider2.createResponseCursor(); in testScanAllProviders() local 201 addDirectoryRow(response2, "account-name3", "account-type3", "display-name3", 3, in testScanAllProviders() 302 MatrixCursor response2 = provider2.createResponseCursor(); in testPackageInstalled() local 303 addDirectoryRow(response2, "account-name3", "account-type3", "display-name3", 3, in testPackageInstalled() 347 MatrixCursor response2 = provider2.createResponseCursor(); in testPackageUninstalled() local 348 addDirectoryRow(response2, "account-name3", "account-type3", "display-name3", 3, in testPackageUninstalled() 394 MatrixCursor response2 = provider2.createResponseCursor(); in testPackageReplaced() local 395 addDirectoryRow(response2, "account-name3", "account-type3", "display-name3", 3, in testPackageReplaced() 453 MatrixCursor response2 = provider2.createResponseCursor(); in testPackageRenamed() local 454 addDirectoryRow(response2, "account-name2", "account-type2", "display-name2", 2, in testPackageRenamed() [all …]
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ |
D | ReadMedicalResourcesResponseTest.java | 86 ReadMedicalResourcesResponse response2 = new ReadMedicalResourcesResponse(medicalResources); in testReadMedicalResourcesResponse_equals() local 88 assertThat(response1.equals(response2)).isTrue(); in testReadMedicalResourcesResponse_equals() 89 assertThat(response1.hashCode()).isEqualTo(response2.hashCode()); in testReadMedicalResourcesResponse_equals()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/ |
D | MdnsServiceCacheTest.kt | 272 val response2 = createResponse(SERVICE_NAME_2, SERVICE_TYPE_1, 50L /* ttlTime */) in <lambda>() constant 273 MdnsServiceCache.insertResponseAndSortList(responses, response2, TEST_ELAPSED_REALTIME_MS) in <lambda>() 275 assertEquals(response2, responses[0]) in <lambda>() 281 assertEquals(response2, responses[0]) in <lambda>() 288 assertEquals(response2, responses[0]) in <lambda>()
|
D | MdnsResponseTests.java | 195 final MdnsResponse response2 = new MdnsResponse(/* now= */ 0, TEST_SERVICE_NAME, in getInterfaceIndex() local 197 assertEquals(1234, response2.getInterfaceIndex()); in getInterfaceIndex() 206 final MdnsResponse response2 = new MdnsResponse(/* now= */ 0, TEST_SERVICE_NAME, in testGetNetwork() local 208 assertEquals(mNetwork, response2.getNetwork()); in testGetNetwork()
|
D | MdnsResponseDecoderTests.java | 369 MdnsResponse response2 = responses.valueAt(0); in decode_singleHostname_multipleSrvRecords_flagEnabled_multipleCompleteResponses() local 373 assertTrue(response2.isComplete()); in decode_singleHostname_multipleSrvRecords_flagEnabled_multipleCompleteResponses() 379 assertTrue(response2.getInet6AddressRecords().stream().anyMatch( in decode_singleHostname_multipleSrvRecords_flagEnabled_multipleCompleteResponses()
|
/packages/modules/AdServices/adservices/tests/jetpack/src/com/android/adservices/topics/ |
D | TopicsManagerJetpackTest.java | 134 GetTopicsResponse response2 = in testTopicsManager_runClassifier() local 139 assertThat(response2.getTopics()).isEmpty(); in testTopicsManager_runClassifier()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/signals/ |
D | SignalsIntakeE2ETest.java | 470 MockResponse response2 = new MockResponse().setBody(json2); in testComplexJson() local 471 mMockWebServerRule.startMockWebServer(Arrays.asList(response1, response2)); in testComplexJson() 526 MockResponse response2 = new MockResponse().setBody(json2); in testOverwriteAppendWithPut() local 527 mMockWebServerRule.startMockWebServer(Arrays.asList(response1, response2)); in testOverwriteAppendWithPut() 566 MockResponse response2 = new MockResponse().setBody(json2); in testAddToPutWithAppend() local 567 mMockWebServerRule.startMockWebServer(Arrays.asList(response1, response2)); in testAddToPutWithAppend()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/datatypes/ |
D | WeightRecordTest.java | 638 AggregateRecordsGroupedByDurationResponse<Mass> response2 = result.get(2); in testAggregateDuration_differentTimeZones_correctBucketTimes() local 639 assertThat(response2.getStartTime()).isEqualTo(t2); in testAggregateDuration_differentTimeZones_correctBucketTimes() 640 assertThat(response2.getEndTime()).isEqualTo(t3); in testAggregateDuration_differentTimeZones_correctBucketTimes() 641 assertThat(response2.getZoneOffset(WEIGHT_AVG)).isEqualTo(zonePlusSix); in testAggregateDuration_differentTimeZones_correctBucketTimes()
|
D | StepsRecordTest.java | 1493 AggregateRecordsGroupedByDurationResponse<Long> response2 = result.get(2); in testAggregateDuration_differentTimeZones_correctBucketTimes() local 1494 assertThat(response2.getStartTime()).isEqualTo(t2); in testAggregateDuration_differentTimeZones_correctBucketTimes() 1495 assertThat(response2.getEndTime()).isEqualTo(t3); in testAggregateDuration_differentTimeZones_correctBucketTimes() 1496 assertThat(response2.getZoneOffset(STEPS_COUNT_TOTAL)).isEqualTo(zonePlusSix); in testAggregateDuration_differentTimeZones_correctBucketTimes()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/ |
D | FetchCustomAudienceImplTest.java | 1224 JSONObject response2 = in testImpl_runNormally_differentResponsesToSameFetchUri() local 1240 return new MockResponse().setBody(response2.toString()); in testImpl_runNormally_differentResponsesToSameFetchUri()
|