Home
last modified time | relevance | path

Searched refs:expectedResults (Results 1 – 9 of 9) sorted by relevance

/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissions/request/
DPermissionsActivityTest.kt210 val expectedResults = intArrayOf(PERMISSION_DENIED, PERMISSION_DENIED) in <lambda>() constant
212 .isEqualTo(expectedResults) in <lambda>()
240 val expectedResults = in <lambda>() constant
243 .isEqualTo(expectedResults) in <lambda>()
272 val expectedResults = intArrayOf(PERMISSION_DENIED, PERMISSION_DENIED, PERMISSION_DENIED) in <lambda>() constant
274 .isEqualTo(expectedResults) in <lambda>()
428 val expectedResults = in <lambda>() constant
431 .isEqualTo(expectedResults) in <lambda>()
461 val expectedResults = intArrayOf(PERMISSION_GRANTED, PERMISSION_GRANTED) in <lambda>() constant
463 .isEqualTo(expectedResults) in <lambda>()
[all …]
/packages/services/AlternativeNetworkAccess/tests/src/com/android/ons/
DONSNetworkScanCtlrTest.java90 List<CellInfo> expectedResults = new ArrayList<CellInfo>(); in testStartFastNetworkScan() local
94 expectedResults.add((CellInfo)cellInfoLte); in testStartFastNetworkScan()
100 mONSNetworkScanCtlr.mNetworkScanCallback.onResults(expectedResults); in testStartFastNetworkScan()
102 assertEquals(expectedResults, mResults); in testStartFastNetworkScan()
107 List<CellInfo> expectedResults = new ArrayList<CellInfo>(); in testStartFastNetworkScanFail() local
111 expectedResults.add((CellInfo)cellInfoLte); in testStartFastNetworkScanFail()
131 List<CellInfo> expectedResults = new ArrayList<CellInfo>(); in testStartFastNetworkScanWithMultipleNetworks() local
135 expectedResults.add((CellInfo)cellInfoLte); in testStartFastNetworkScanWithMultipleNetworks()
148 mONSNetworkScanCtlr.mNetworkScanCallback.onResults(expectedResults); in testStartFastNetworkScanWithMultipleNetworks()
150 assertEquals(expectedResults, mResults); in testStartFastNetworkScanWithMultipleNetworks()
[all …]
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/testing/concurrency/
DIResultSyncCallbackTestCase.java212 protected final void assertGetResultMethods(CB callback, String when, R... expectedResults) { in assertGetResultMethods() argument
215 .isSameInstanceAs(expectedResults[0]); in assertGetResultMethods()
218 .containsExactly(expectedResults) in assertGetResultMethods()
DFailableResultSyncCallbackTestCase.java264 CB callback, String when, @Nullable R... expectedResults) { in assertGetResultMethodsWhenInjectFailureWasCalledFirst() argument
268 .containsExactly(expectedResults) in assertGetResultMethodsWhenInjectFailureWasCalledFirst()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DExternalPnoScanRequestManagerTest.java205 List<ScanResult> expectedResults = new ArrayList<>(); in testRemoveRequest_afterDelivery() local
206 expectedResults.add(scanResult2); in testRemoveRequest_afterDelivery()
207 expectedResults.add(scanResult3); in testRemoveRequest_afterDelivery()
211 inOrder.verify(mCallback).onScanResultsAvailable(expectedResults); in testRemoveRequest_afterDelivery()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DLegacyContactsProviderTest.java415 ContentValues expectedResults[] = new ContentValues[1]; in testPhonesInsert() local
417 expectedResults[0] = new ContentValues(values); in testPhonesInsert()
418 expectedResults[0].put(Phones.NUMBER_KEY, "11446640081"); in testPhonesInsert()
421 putContactValues(expectedResults[0]); in testPhonesInsert()
422 expectedResults[0] = noStats(expectedResults[0]); in testPhonesInsert()
423 assertStoredValues(uri, expectedResults); in testPhonesInsert()
429 assertStoredValues(twigUri, expectedResults); in testPhonesInsert()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/scanner/
DWifiScanningServiceTest.java604 ScanResults expectedResults = resultsForImpl0; in doSuccessfulSingleScanOnImpls() local
606 expectedResults = ScanResults.merge( in doSuccessfulSingleScanOnImpls()
612 client.verifyScanResultsReceived(expectedResults.getScanData()); in doSuccessfulSingleScanOnImpls()
618 "results=" + expectedResults.getScanData().getResults().length); in doSuccessfulSingleScanOnImpls()
1923 ScanResults expectedResults = in retrieveSingleScanResults() local
1927 expectedResults); in retrieveSingleScanResults()
1933 assertEquals(results.size(), expectedResults.getRawScanResults().length); in retrieveSingleScanResults()
1983 ScanResults expectedResults = ScanResults.create(0, scanBand, 2412, 5160, 5175); in retrieveMostRecentFullSingleScanResults() local
1986 expectedResults); in retrieveMostRecentFullSingleScanResults()
1994 assertEquals(results.size(), expectedResults.getRawScanResults().length); in retrieveMostRecentFullSingleScanResults()
[all …]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DInputLogicTests.java239 private void verifyDoubleSpace(String[] stringsToType, String[] expectedResults) { in verifyDoubleSpace() argument
245 assertEquals("double space processing", expectedResults[i], in verifyDoubleSpace()
/packages/modules/DnsResolver/tests/
Ddnsresolver_binder_test.cpp288 static const std::vector<TestOnDnsEvent::TestResult> expectedResults = { in TEST_F() local
316 ndk::SharedRefBase::make<TestOnDnsEvent>(expectedResults); in TEST_F()