/packages/modules/Uwb/service/tests/src/com/android/server/uwb/data/ |
D | UwbVendorUciResponseTest.java | 28 UwbVendorUciResponse response1 = new UwbVendorUciResponse( in equalValues() local 39 assertThat(response1).isEqualTo(response2); in equalValues() 44 UwbVendorUciResponse response1 = new UwbVendorUciResponse( in sameInstance() local 49 UwbVendorUciResponse response2 = response1; in sameInstance() 51 assertThat(response1).isEqualTo(response2); in sameInstance() 56 UwbVendorUciResponse response1 = new UwbVendorUciResponse( in notEqualStatus() local 67 assertThat(response1).isNotEqualTo(response2); in notEqualStatus() 72 UwbVendorUciResponse response1 = new UwbVendorUciResponse( in notEqualGid() local 83 assertThat(response1).isNotEqualTo(response2); in notEqualGid() 88 UwbVendorUciResponse response1 = new UwbVendorUciResponse( in notEqualOid() local [all …]
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactDirectoryManagerTest.java | 189 MatrixCursor response1 = provider1.createResponseCursor(); in testScanAllProviders() local 190 addDirectoryRow(response1, "account-name1", "account-type1", "display-name1", 1, in testScanAllProviders() 193 addDirectoryRow(response1, "account-name2", "account-type2", "display-name2", 2, in testScanAllProviders() 285 MatrixCursor response1 = provider1.createResponseCursor(); in testPackageInstalled() local 286 addDirectoryRow(response1, "account-name1", "account-type1", "display-name1", 1, in testPackageInstalled() 339 MatrixCursor response1 = provider1.createResponseCursor(); in testPackageUninstalled() local 340 addDirectoryRow(response1, "account-name1", "account-type1", "display-name1", 1, in testPackageUninstalled() 386 MatrixCursor response1 = provider1.createResponseCursor(); in testPackageReplaced() local 387 addDirectoryRow(response1, "account-name1", "account-type1", "display-name1", 1, in testPackageReplaced() 445 MatrixCursor response1 = provider1.createResponseCursor(); in testPackageRenamed() local [all …]
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/ |
D | MdnsServiceCacheTest.kt | 267 val response1 = createResponse(SERVICE_NAME_1, SERVICE_TYPE_1, 100L /* ttlTime */) in <lambda>() constant 268 MdnsServiceCache.insertResponseAndSortList(responses, response1, TEST_ELAPSED_REALTIME_MS) in <lambda>() 270 assertEquals(response1, responses[0]) in <lambda>() 276 assertEquals(response1, responses[1]) in <lambda>() 283 assertEquals(response1, responses[2]) in <lambda>() 290 assertEquals(response1, responses[2]) in <lambda>()
|
D | MdnsResponseTests.java | 191 final MdnsResponse response1 = new MdnsResponse(/* now= */ 0, TEST_SERVICE_NAME, in getInterfaceIndex() local 193 assertEquals(INTERFACE_INDEX, response1.getInterfaceIndex()); in getInterfaceIndex() 202 final MdnsResponse response1 = new MdnsResponse(/* now= */ 0, TEST_SERVICE_NAME, in testGetNetwork() local 204 assertNull(response1.getNetwork()); in testGetNetwork()
|
D | MdnsResponseDecoderTests.java | 368 MdnsResponse response1 = responses.valueAt(0); in decode_singleHostname_multipleSrvRecords_flagEnabled_multipleCompleteResponses() local 372 assertTrue(response1.isComplete()); in decode_singleHostname_multipleSrvRecords_flagEnabled_multipleCompleteResponses() 376 assertTrue(response1.getInet6AddressRecords().stream().anyMatch( in decode_singleHostname_multipleSrvRecords_flagEnabled_multipleCompleteResponses()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/signals/ |
D | SignalsIntakeE2ETest.java | 469 MockResponse response1 = new MockResponse().setBody(json1); in testComplexJson() local 471 mMockWebServerRule.startMockWebServer(Arrays.asList(response1, response2)); in testComplexJson() 525 MockResponse response1 = new MockResponse().setBody(json1); in testOverwriteAppendWithPut() local 527 mMockWebServerRule.startMockWebServer(Arrays.asList(response1, response2)); in testOverwriteAppendWithPut() 565 MockResponse response1 = new MockResponse().setBody(json1); in testAddToPutWithAppend() local 567 mMockWebServerRule.startMockWebServer(Arrays.asList(response1, response2)); in testAddToPutWithAppend() 674 MockResponse response1 = new MockResponse().setBody(badJson); in testFailure() local 675 mMockWebServerRule.startMockWebServer(Arrays.asList(response1)); in testFailure() 707 MockResponse response1 = new MockResponse().setBody(json); in baseTestNoConsent() local 708 mMockWebServerRule.startMockWebServer(Arrays.asList(response1)); in baseTestNoConsent()
|
/packages/modules/HealthFitness/tests/cts/src/android/healthconnect/cts/ |
D | ReadMedicalResourcesResponseTest.java | 85 ReadMedicalResourcesResponse response1 = 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/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/customaudience/ |
D | FetchCustomAudienceImplTest.java | 1222 JSONObject response1 = getFullSuccessfulJsonResponse(BUYER, false); in testImpl_runNormally_differentResponsesToSameFetchUri() local 1237 return new MockResponse().setBody(response1.toString()); in testImpl_runNormally_differentResponsesToSameFetchUri()
|