Home
last modified time | relevance | path

Searched defs:answer (Results 1 – 25 of 81) sorted by relevance

1234

/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/testing/
DAnswerSyncCallback.java41 private AnswerSyncCallback(T answer, Throwable failure, int numberOfExpectedCalls) { in AnswerSyncCallback()
50 private AnswerSyncCallback(T answer, Throwable failure, SyncCallbackSettings settings) { in AnswerSyncCallback()
69 public static <A> AnswerSyncCallback<A> forSingleAnswer(A answer) { in forSingleAnswer()
88 A answer, int numberOfExpectedCalls) { in forMultipleAnswers()
101 public static <A> AnswerSyncCallback<A> forAnswers(A answer, SyncCallbackSettings settings) { in forAnswers()
117 public T answer(InvocationOnMock invocation) throws Throwable { in answer() method in AnswerSyncCallback
/packages/modules/AdServices/adservices/tests/endtoends/src/com/android/adservices/measurement/
DMeasurementCompatibleManagerTest.java130 Answer<Void> answer = in testRegisterSource_callingApp_expectedAttributionSource() local
173 Answer<Void> answer = in testRegisterSource_adIdEnabled_register() local
212 Answer<Void> answer = in testRegisterSource_adIdZeroOut_register() local
250 Answer<Void> answer = in testRegisterSource_adIdDisabled_register() local
289 Answer<Void> answer = in testRegisterSource_adIdTimeOut_register() local
367 Answer<Void> answer = in testRegisterSource_callingSdk_expectedAttributionSource() local
433 Answer<Void> answer = in testRegisterWebSource_callingApp_expectedAttributionSource() local
460 Answer<Void> answer = in testRegisterWebSource_callingSdk_expectedAttributionSource() local
511 Answer<Void> answer = in testRegisterWebSource_adIdEnabled_register() local
549 Answer<Void> answer = in testRegisterWebSource_adIdZeroOut_register() local
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/entries/api/
DLoadDataAggregationsUseCaseTest.kt174 val answer = { args: InvocationOnMock -> in <lambda>() constant
184 val answer = { args: InvocationOnMock -> in <lambda>() constant
194 val answer = { args: InvocationOnMock -> in <lambda>() constant
204 val answer = { args: InvocationOnMock -> in <lambda>() constant
DLoadDataEntriesUseCaseTest.kt132 val answer = { args: InvocationOnMock -> in <lambda>() constant
141 val answer = { args: InvocationOnMock -> in <lambda>() constant
/packages/modules/Uwb/framework/tests/src/android/uwb/
DRangingSessionTest.java833 public Object answer(InvocationOnMock invocation) { in answer() method in RangingSessionTest.OpenAnswer
850 public Object answer(InvocationOnMock invocation) { in answer() method in RangingSessionTest.StartAnswer
867 public Object answer(InvocationOnMock invocation) { in answer() method in RangingSessionTest.ReconfigureAnswer
884 public Object answer(InvocationOnMock invocation) { in answer() method in RangingSessionTest.PauseAnswer
901 public Object answer(InvocationOnMock invocation) { in answer() method in RangingSessionTest.ResumeAnswer
918 public Object answer(InvocationOnMock invocation) { in answer() method in RangingSessionTest.ControleeAddAnswer
935 public Object answer(InvocationOnMock invocation) { in answer() method in RangingSessionTest.ControleeRemoveAnswer
952 public Object answer(InvocationOnMock invocation) { in answer() method in RangingSessionTest.DataSendAnswer
969 public Object answer(InvocationOnMock invocation) { in answer() method in RangingSessionTest.StopAnswer
981 public Object answer(InvocationOnMock invocation) { in answer() method in RangingSessionTest.CloseAnswer
[all …]
/packages/services/Car/libs/car-test-lib/src/android/car/test/mocks/
DSyncAnswer.java48 private SyncAnswer(T answer, Throwable exception) { in SyncAnswer()
77 public T answer(InvocationOnMock invocation) throws Throwable { in answer() method in SyncAnswer
/packages/modules/DnsResolver/
Dres_query.cpp104 std::span<uint8_t> answer, // buffer to put answer in res_nquery()
203 std::span<uint8_t> answer, /* buffer to put answer */ in res_nsearch()
320 std::span<uint8_t> answer, /* buffer to put answer */ in res_nquerydomain()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DExternalSourcesDetailsTest.java131 doAnswer((answer) -> { in refreshUi_userRestrictionsUnknownSources_disablesSwitchPreference() argument
170 doAnswer((answer) -> { in refreshUi_userRestrictionsUnknownSourcesGlobally_disablesSwitchPreference() argument
211 doAnswer((answer) -> { in refreshUi_bothUnknownSourcesUserRestrictions_disableSwitchPreference() argument
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissiontypes/api/
DLoadContributingAppsUseCaseTest.kt99 val answer = { args: InvocationOnMock -> in <lambda>() constant
109 val answer = { _: InvocationOnMock -> null } in <lambda>() constant
DUpdatePriorityListUseCaseTest.kt73 val answer = { _: InvocationOnMock -> null } in <lambda>() constant
DLoadPriorityListUseCaseTest.kt73 val answer = { args: InvocationOnMock -> in <lambda>() constant
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DHalDeviceManagerTest.java4337 public List<Integer> answer() { in answer() method in HalDeviceManagerTest.GetChipIdsAnswer
4352 public WifiChip answer(int chipId) { in answer() method in HalDeviceManagerTest.GetChipAnswer
4364 public WifiChip.Response<Long> answer() { in answer() method in HalDeviceManagerTest.GetCapabilitiesAnswer
4380 public int answer() { in answer() method in HalDeviceManagerTest.GetIdAnswer
4392 public List<WifiChip.ChipMode> answer() { in answer() method in HalDeviceManagerTest.GetAvailableModesAnswer
4404 public WifiChip.Response<Integer> answer() { in answer() method in HalDeviceManagerTest.GetModeAnswer
4419 public boolean answer(int chipMode) { in answer() method in HalDeviceManagerTest.ConfigureChipAnswer
4436 public List<String> answer() { in answer() method in HalDeviceManagerTest.GetXxxIfaceNamesAnswer
4448 public WifiStaIface answer(String name) { in answer() method in HalDeviceManagerTest.GetStaIfaceAnswer
4461 public WifiApIface answer(String name) { in answer() method in HalDeviceManagerTest.GetApIfaceAnswer
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/selectabledeletion/api/
DDeleteAllDataUseCaseTest.kt69 val answer = { _: InvocationOnMock -> null } in <lambda>() constant
DDeleteEntriesUseCaseTest.kt75 val answer = { _: InvocationOnMock -> null } in <lambda>() constant
DDeleteAppDataUseCaseTest.kt75 val answer = { _: InvocationOnMock -> null } in <lambda>() constant
DDeletePermissionTypesFromAppUseCaseTest.kt102 val answer = { _: InvocationOnMock -> null } in <lambda>() constant
DDeletePermissionTypesUseCaseTest.kt98 val answer = { _: InvocationOnMock -> null } in <lambda>() constant
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/deletion/api/
DDeleteEntryUseCaseTest.kt74 val answer = { _: InvocationOnMock -> null } in <lambda>() constant
DDeleteAllDataUseCaseTest.kt79 val answer = { _: InvocationOnMock -> null } in <lambda>() constant
DDeletePermissionTypeUseCaseTest.kt90 val answer = { _: InvocationOnMock -> null } in <lambda>() constant
DDeleteAppDataUseCaseTest.kt87 val answer = { _: InvocationOnMock -> null } in <lambda>() constant
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/datasources/api/
DLoadLastDateWithPriorityDataUseCaseTest.kt521 val answer = { args: InvocationOnMock -> in <lambda>() constant
530 val answer = { args: InvocationOnMock -> in <lambda>() constant
540 val answer = { args: InvocationOnMock -> in <lambda>() constant
DUpdatePriorityListUseCaseTest.kt69 val answer = { _: InvocationOnMock -> null } in <lambda>() constant
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/
DFakeDns.kt82 val answer = getAnswer(hostname, type) in mockAnswer() constant
/packages/modules/RemoteKeyProvisioning/system-server/tests/unit/src/android/security/rkp/service/test/
DRegistrationProxyTests.java207 doAnswer(answer((intent, connection, flags, user) -> { in boundRegistrationServiceIsNull() method
227 doAnswer(answer((intent, connection, flags, user) -> { in boundRegistrationServiceDisconnected() method
251 doAnswer(answer((intent, connection, flags, user) -> { in boundRegistrationServiceBindingDied() method
551 doAnswer(answer((intent, connection, flags, user) -> { in addBoundSystemServiceToContext() method

1234