/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/testing/ |
D | AnswerSyncCallback.java | 41 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/ |
D | MeasurementCompatibleManagerTest.java | 130 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/ |
D | LoadDataAggregationsUseCaseTest.kt | 174 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
|
D | LoadDataEntriesUseCaseTest.kt | 132 val answer = { args: InvocationOnMock -> in <lambda>() constant 141 val answer = { args: InvocationOnMock -> in <lambda>() constant
|
/packages/modules/Uwb/framework/tests/src/android/uwb/ |
D | RangingSessionTest.java | 833 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/ |
D | SyncAnswer.java | 48 private SyncAnswer(T answer, Throwable exception) { in SyncAnswer() 77 public T answer(InvocationOnMock invocation) throws Throwable { in answer() method in SyncAnswer
|
/packages/modules/DnsResolver/ |
D | res_query.cpp | 104 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/ |
D | ExternalSourcesDetailsTest.java | 131 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/ |
D | LoadContributingAppsUseCaseTest.kt | 99 val answer = { args: InvocationOnMock -> in <lambda>() constant 109 val answer = { _: InvocationOnMock -> null } in <lambda>() constant
|
D | UpdatePriorityListUseCaseTest.kt | 73 val answer = { _: InvocationOnMock -> null } in <lambda>() constant
|
D | LoadPriorityListUseCaseTest.kt | 73 val answer = { args: InvocationOnMock -> in <lambda>() constant
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | HalDeviceManagerTest.java | 4337 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/ |
D | DeleteAllDataUseCaseTest.kt | 69 val answer = { _: InvocationOnMock -> null } in <lambda>() constant
|
D | DeleteEntriesUseCaseTest.kt | 75 val answer = { _: InvocationOnMock -> null } in <lambda>() constant
|
D | DeleteAppDataUseCaseTest.kt | 75 val answer = { _: InvocationOnMock -> null } in <lambda>() constant
|
D | DeletePermissionTypesFromAppUseCaseTest.kt | 102 val answer = { _: InvocationOnMock -> null } in <lambda>() constant
|
D | DeletePermissionTypesUseCaseTest.kt | 98 val answer = { _: InvocationOnMock -> null } in <lambda>() constant
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/deletion/api/ |
D | DeleteEntryUseCaseTest.kt | 74 val answer = { _: InvocationOnMock -> null } in <lambda>() constant
|
D | DeleteAllDataUseCaseTest.kt | 79 val answer = { _: InvocationOnMock -> null } in <lambda>() constant
|
D | DeletePermissionTypeUseCaseTest.kt | 90 val answer = { _: InvocationOnMock -> null } in <lambda>() constant
|
D | DeleteAppDataUseCaseTest.kt | 87 val answer = { _: InvocationOnMock -> null } in <lambda>() constant
|
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/datasources/api/ |
D | LoadLastDateWithPriorityDataUseCaseTest.kt | 521 val answer = { args: InvocationOnMock -> in <lambda>() constant 530 val answer = { args: InvocationOnMock -> in <lambda>() constant 540 val answer = { args: InvocationOnMock -> in <lambda>() constant
|
D | UpdatePriorityListUseCaseTest.kt | 69 val answer = { _: InvocationOnMock -> null } in <lambda>() constant
|
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/ |
D | FakeDns.kt | 82 val answer = getAnswer(hostname, type) in mockAnswer() constant
|
/packages/modules/RemoteKeyProvisioning/system-server/tests/unit/src/android/security/rkp/service/test/ |
D | RegistrationProxyTests.java | 207 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
|