Home
last modified time | relevance | path

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

1234

/packages/modules/AdServices/shared/testing-libraries/device-side/java/com/android/adservices/shared/testing/
DAnswerSyncCallback.java37 private AnswerSyncCallback(T answer, Throwable failure, int numberOfExpectedCalls) { in AnswerSyncCallback()
46 private AnswerSyncCallback(T answer, Throwable failure, SyncCallbackSettings settings) { in AnswerSyncCallback()
65 public static <A> AnswerSyncCallback<A> forSingleAnswer(A answer) { in forSingleAnswer()
84 A answer, int numberOfExpectedCalls) { in forMultipleAnswers()
97 public static <A> AnswerSyncCallback<A> forAnswers(A answer, SyncCallbackSettings settings) { in forAnswers()
113 public T answer(InvocationOnMock invocation) throws Throwable { in answer() method in AnswerSyncCallback
/packages/modules/AdServices/adservices/tests/endtoends/src/com/android/adservices/measurement/
DMeasurementCompatibleManagerTest.java114 Answer<Void> answer = in testRegisterSource_callingApp_expectedAttributionSource() local
157 Answer<Void> answer = in testRegisterSource_adIdEnabled_register() local
196 Answer<Void> answer = in testRegisterSource_adIdZeroOut_register() local
234 Answer<Void> answer = in testRegisterSource_adIdDisabled_register() local
273 Answer<Void> answer = in testRegisterSource_adIdTimeOut_register() local
351 Answer<Void> answer = in testRegisterSource_callingSdk_expectedAttributionSource() local
401 Answer<Void> answer = in testRegisterWebSource_callingApp_expectedAttributionSource() local
428 Answer<Void> answer = in testRegisterWebSource_callingSdk_expectedAttributionSource() local
479 Answer<Void> answer = in testRegisterWebSource_adIdEnabled_register() local
517 Answer<Void> answer = in testRegisterWebSource_adIdZeroOut_register() local
[all …]
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/entries/api/
DLoadDataAggregationsUseCaseTest.kt189 val answer = { args: InvocationOnMock -> in <lambda>() constant
199 val answer = { args: InvocationOnMock -> in <lambda>() constant
209 val answer = { args: InvocationOnMock -> in <lambda>() constant
219 val answer = { args: InvocationOnMock -> in <lambda>() constant
DLoadDataEntriesUseCaseTest.kt164 val answer = { args: InvocationOnMock -> in <lambda>() constant
173 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()
317 std::span<uint8_t> answer, /* buffer to put answer */ in res_nquerydomain()
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DFakeDns.java158 public void setAnswer(String hostname, String[] answer, int type) { in setAnswer()
173 private byte[] makeSvcbResponse(String hostname, String[] answer) { in makeSvcbResponse()
185 final List<InetAddress> answer; in getAllByName() local
272 answerFuture.whenComplete((answer, exception) -> { in mockQuery() argument
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/rawfhir/
DRawFhirUseCaseTest.kt141 val answer = { args: InvocationOnMock -> in <lambda>() constant
150 val answer = { args: InvocationOnMock -> in <lambda>() constant
DRawFhirViewModelTest.kt290 val answer = { args: InvocationOnMock -> in <lambda>() constant
299 val answer = { args: InvocationOnMock -> in <lambda>() constant
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DExternalSourcesDetailsTest.java171 doAnswer((answer) -> { in refreshUi_userRestrictionsUnknownSources_disablesSwitchPreference() argument
210 doAnswer((answer) -> { in refreshUi_userRestrictionsUnknownSourcesGlobally_disablesSwitchPreference() argument
251 doAnswer((answer) -> { in refreshUi_bothUnknownSourcesUserRestrictions_disableSwitchPreference() argument
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DHalDeviceManagerTest.java4755 public List<Integer> answer() { in answer() method in HalDeviceManagerTest.GetChipIdsAnswer
4770 public WifiChip answer(int chipId) { in answer() method in HalDeviceManagerTest.GetChipAnswer
4782 public WifiChip.Response<BitSet> answer() { in answer() method in HalDeviceManagerTest.GetCapabilitiesAnswer
4798 public int answer() { in answer() method in HalDeviceManagerTest.GetIdAnswer
4810 public List<WifiChip.ChipMode> answer() { in answer() method in HalDeviceManagerTest.GetAvailableModesAnswer
4822 public WifiChip.Response<Integer> answer() { in answer() method in HalDeviceManagerTest.GetModeAnswer
4837 public boolean answer(int chipMode) { in answer() method in HalDeviceManagerTest.ConfigureChipAnswer
4854 public List<String> answer() { in answer() method in HalDeviceManagerTest.GetXxxIfaceNamesAnswer
4866 public WifiStaIface answer(String name) { in answer() method in HalDeviceManagerTest.GetStaIfaceAnswer
4879 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/
DDeleteAllFitnessDataUseCaseTest.kt69 val answer = { _: InvocationOnMock -> null } in <lambda>() constant
DDeleteMedicalPermissionTypesUseCaseTest.kt85 val answer = { _: InvocationOnMock -> null } in <lambda>() constant
DDeleteEntriesUseCaseTest.kt83 val answer = { _: InvocationOnMock -> null } in <lambda>() constant
DDeleteFitnessPermissionTypesUseCaseTest.kt104 val answer = { _: InvocationOnMock -> null } in <lambda>() constant
DDeleteFitnessPermissionTypesFromAppUseCaseTest.kt100 val answer = { _: InvocationOnMock -> null } in <lambda>() constant
DDeleteMedicalPermissionTypesFromAppUseCaseTest.kt92 val answer = { _: InvocationOnMock -> null } in <lambda>() constant
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/
DFakeDns.kt134 val answer = stringsToInetAddresses(queryAllTypes(mockNetwork, hostname) in <lambda>() constant
152 var answer: Array<String> = arrayOf() in <lambda>() variable
219 answerFuture.whenComplete { answer: Array<String>?, exception: Throwable? -> in <lambda>() method
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/alldata/
DAllDataViewModelTest.kt313 val answer = { args: InvocationOnMock -> in <lambda>() constant
324 val answer = { args: InvocationOnMock -> in <lambda>() constant
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/datasources/api/
DUpdatePriorityListUseCaseTest.kt69 val answer = { _: InvocationOnMock -> null } in <lambda>() constant
DLoadLastDateWithPriorityDataUseCaseTest.kt574 val answer = { args: InvocationOnMock -> in <lambda>() constant
583 val answer = { args: InvocationOnMock -> in <lambda>() constant
593 val answer = { args: InvocationOnMock -> in <lambda>() constant
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissiontypes/api/
DLoadPriorityListUseCaseTest.kt80 val answer = { args: InvocationOnMock -> in <lambda>() 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
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/appdata/
DAppDataViewModelTest.kt462 val answer = { args: InvocationOnMock -> in <lambda>() constant
473 val answer = { args: InvocationOnMock -> in <lambda>() constant

1234