Home
last modified time | relevance | path

Searched refs:answer (Results 1 – 25 of 95) sorted by relevance

1234

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSupplicantStaNetworkHalTest.java347 public void answer(ISupplicantStaNetwork.getSsidCallback cb) throws RemoteException { in testSsidLoadFailure()
366 public SupplicantStatus answer(ArrayList<Byte> ssid) throws RemoteException { in testSsidSaveFailure()
516 public SupplicantStatus answer( in testSendNetworkEapSimGsmAuthResponseWith2KcSresPair()
551 public SupplicantStatus answer( in testSendNetworkEapSimGsmAuthResponseWith3KcSresPair()
584 public SupplicantStatus answer( in testSendInvalidKcSresLenNetworkEapSimGsmAuthResponse()
606 public SupplicantStatus answer( in testSendInvalidKcSresPairNumNetworkEapSimGsmAuthResponse()
631 public SupplicantStatus answer( in testSendNetworkEapSimUmtsAuthResponse()
664 public SupplicantStatus answer( in testSendInvalidNetworkEapSimUmtsAuthResponse()
685 public SupplicantStatus answer(byte[] params) in testSendNetworkEapSimUmtsAutsResponse()
704 public SupplicantStatus answer(byte[] params) in testSendInvalidNetworkEapSimUmtsAutsResponse()
[all …]
DWifiNetworkSelectorTestUtil.java201 public WifiConfiguration answer(int netId) { in prepareConfigStore()
212 public WifiConfiguration answer(String configKey) { in prepareConfigStore()
223 public List<WifiConfiguration> answer() { in prepareConfigStore()
233 public boolean answer(int netId) { in prepareConfigStore()
249 public boolean answer(int netId, ScanResult scanResult, int score) { in prepareConfigStore()
263 public boolean answer(int netId) { in prepareConfigStore()
278 public boolean answer(int netId, String configKey, long timestamp) { in prepareConfigStore()
395 public WifiConfiguration answer(int netId) { in setupEphemeralNetwork()
402 public boolean answer(int netId, ScanResult scanResult, int score) { in setupEphemeralNetwork()
413 public boolean answer(int netId, int status) { in setupEphemeralNetwork()
DMockKeyStore.java43 public Boolean answer(InvocationOnMock invocation) throws Throwable { in createMock()
54 public Boolean answer(InvocationOnMock invocation) throws Throwable { in createMock()
64 public Boolean answer(InvocationOnMock invocation) throws Throwable { in createMock()
73 public Boolean answer(InvocationOnMock invocation) throws Throwable { in createMock()
DSupplicantStaIfaceHalTest.java434 public void answer(ISupplicantStaIface.listNetworksCallback cb) { in testLoadNetworks()
440 public void answer(final int networkId, ISupplicantStaIface.getNetworkCallback cb) { in testLoadNetworks()
443 public boolean answer( in testLoadNetworks()
487 public void answer(ISupplicantStaIface.listNetworksCallback cb) { in testLoadNetworksRemovesDuplicates()
493 public SupplicantStatus answer(int id) { in testLoadNetworksRemovesDuplicates()
498 public void answer(final int networkId, ISupplicantStaIface.getNetworkCallback cb) { in testLoadNetworksRemovesDuplicates()
501 public boolean answer( in testLoadNetworksRemovesDuplicates()
558 public void answer(ISupplicantStaIface.listNetworksCallback cb) { in testLoadNetworksFailedDueToListNetworks()
576 public void answer(ISupplicantStaIface.listNetworksCallback cb) { in testLoadNetworksFailedDueToGetNetwork()
582 public void answer(final int networkId, ISupplicantStaIface.getNetworkCallback cb) { in testLoadNetworksFailedDueToGetNetwork()
[all …]
DWifiConnectivityHelperTest.java72 public boolean answer(String ifaceName, WifiNative.RoamingCapabilities roamCap) in setupWifiNative()
149 public boolean answer(String ifaceName, WifiNative.RoamingCapabilities roamCap) in verifyFirmwareRoamingCapabilityWithFailureNativeCall()
169 public boolean answer(String ifaceName, WifiNative.RoamingCapabilities roamCap) in verifyFirmwareRoamingCapabilityWithInvalidMaxBssidBlacklistSize()
191 public boolean answer(String ifaceName, WifiNative.RoamingCapabilities roamCap) in verifyFirmwareRoamingCapabilityWithInvalidMaxSsidWhitelistSize()
DHalDeviceManagerTest.java2817 public void answer(IWifi.getChipIdsCallback cb) { in answer() method in HalDeviceManagerTest.GetChipIdsAnswer
2831 public void answer(int chipId, IWifi.getChipCallback cb) { in answer() method in HalDeviceManagerTest.GetChipAnswer
2843 public void answer(IWifiChip.getIdCallback cb) { in answer() method in HalDeviceManagerTest.GetIdAnswer
2855 public void answer(IWifiChip.getAvailableModesCallback cb) { in answer() method in HalDeviceManagerTest.GetAvailableModesAnswer
2867 public void answer(IWifiChip.getModeCallback cb) { in answer() method in HalDeviceManagerTest.GetModeAnswer
2880 public WifiStatus answer(int chipMode) { in answer() method in HalDeviceManagerTest.ConfigureChipAnswer
2894 public void answer(IWifiChip.getStaIfaceNamesCallback cb) { in answer() method in HalDeviceManagerTest.GetXxxIfaceNamesAnswer
2898 public void answer(IWifiChip.getApIfaceNamesCallback cb) { in answer() method in HalDeviceManagerTest.GetXxxIfaceNamesAnswer
2902 public void answer(IWifiChip.getP2pIfaceNamesCallback cb) { in answer() method in HalDeviceManagerTest.GetXxxIfaceNamesAnswer
2906 public void answer(IWifiChip.getNanIfaceNamesCallback cb) { in answer() method in HalDeviceManagerTest.GetXxxIfaceNamesAnswer
[all …]
/frameworks/base/core/tests/benchmarks/src/android/text/format/
DAndroidTimeVsOthersBenchmark.java35 long answer = 0; in toMillis_androidTime() local
40 answer = time.toMillis(false); in toMillis_androidTime()
47 long answer = 0; in toMillis_javaTime() local
52 answer = time.toInstant(offset).toEpochMilli(); in toMillis_javaTime()
59 long answer = 0; in toMillis_javaUtil() local
66 answer = calendar.getTimeInMillis(); in toMillis_javaUtil()
73 long answer = 0; in toMillis_androidIucUtil() local
81 answer = calendar.getTimeInMillis(); in toMillis_androidIucUtil()
/frameworks/libs/net/common/devicetests/com/android/testutils/
DFakeDns.kt45 fun setAnswer(hostname: String, answer: Array<String>, type: Int) = synchronized(answers) { in <lambda>()
46 val ans = DnsEntry(hostname, type, generateAnswer(answer)) in <lambda>()
54 private fun generateAnswer(answer: Array<String>) = in generateAnswer()
55 answer.filterNotNull().map { InetAddresses.parseNumericAddress(it) } in generateAnswer()
82 val answer = getAnswer(hostname, type) in mockAnswer() constant
84 if (!answer?.addresses.isNullOrEmpty()) { in mockAnswer()
86 callback.onAnswer(answer?.addresses, 0); }) }) in mockAnswer()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccCarrierPrivilegeRulesTest.java66 public Void answer(InvocationOnMock invocation) throws Throwable { in testHelper()
77 public Void answer(InvocationOnMock invocation) throws Throwable { in testHelper()
90 public Void answer(InvocationOnMock invocation) throws Throwable { in testHelper()
304 public Void answer(InvocationOnMock invocation) throws Throwable { in testAID_OnlyARAM()
323 public Void answer(InvocationOnMock invocation) throws Throwable { in testAID_OnlyARAM()
336 public Void answer(InvocationOnMock invocation) throws Throwable { in testAID_OnlyARAM()
364 public Void answer(InvocationOnMock invocation) throws Throwable { in testAID_OnlyARAD()
384 public Void answer(InvocationOnMock invocation) throws Throwable { in testAID_OnlyARAD()
397 public Void answer(InvocationOnMock invocation) throws Throwable { in testAID_OnlyARAD()
424 public Void answer(InvocationOnMock invocation) throws Throwable { in testAID_BothARAMandARAD()
[all …]
DIccPhoneBookInterfaceManagerTest.java76 public Void answer(InvocationOnMock invocation) throws Throwable { in setUp()
104 public Void answer(InvocationOnMock invocation) throws Throwable { in testAdnEFLoadWithFailure()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalTest.java330 public void answer(ISupplicantIface.getNameCallback cb) throws RemoteException { in testGetName_success()
349 public void answer(ISupplicantIface.getNameCallback cb) throws RemoteException { in testGetName_failure()
366 public void answer(ISupplicantIface.getNameCallback cb) throws RemoteException { in testGetName_exception()
661 public void answer(byte[] peer, int method, String pin, boolean joinExisting, in testConnect_success()
717 public void answer(byte[] peer, int method, String pin, boolean joinExisting, in testConnect_invalidArguments()
761 public void answer(byte[] peer, int method, String pin, boolean joinExisting, in testConnect_failure()
1043 public void answer(ISupplicantP2pIface.getDeviceAddressCallback cb) { in testGetDeviceAddress_success()
1067 public void answer(ISupplicantP2pIface.getDeviceAddressCallback cb) { in testGetDeviceAddress_invalidResult()
1089 public void answer(ISupplicantP2pIface.getDeviceAddressCallback cb) { in testGetDeviceAddress_failure()
1122 public void answer(byte[] address, ISupplicantP2pIface.getSsidCallback cb) { in testGetSsid_success()
[all …]
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipAudioCall.java424 String answer = createAnswer(sessionDescription).encode(); in createListener() local
425 mSipSession.answerCall(answer, SESSION_TIMEOUT); in createListener()
553 String answer = createAnswer(sessionDescription).encode(); in createListener() local
554 newSession.answerCall(answer, SESSION_TIMEOUT); in createListener()
759 SimpleSessionDescription answer =
775 Media reply = answer.newMedia(
791 answer.setAttribute("sendonly", "");
793 answer.setAttribute("recvonly", "");
795 answer.setAttribute("sendonly", "");
797 answer.setAttribute("recvonly", "");
[all …]
/frameworks/base/tests/testables/src/android/testing/
DTestableResources.java46 .defaultAnswer(this::answer)); in TestableResources()
83 private Object answer(InvocationOnMock invocationOnMock) throws Throwable { in answer() method in TestableResources
/frameworks/base/native/android/
Dnet.c97 int android_res_nresult(int fd, int *rcode, uint8_t *answer, size_t anslen) { in android_res_nresult() argument
98 return resNetworkResult(fd, rcode, answer, anslen); in android_res_nresult()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/deviceidle/
DBluetoothConstraintTest.java64 @Mock(answer = Answers.RETURNS_DEEP_STUBS)
67 @Mock(answer = Answers.RETURNS_DEEP_STUBS)
70 @Mock(answer = Answers.RETURNS_DEEP_STUBS)
/frameworks/base/core/jni/
Dandroid_net_NetUtils.cpp193 jbyteArray answer = env->NewByteArray(res); in android_net_utils_resNetworkResult() local
194 if (answer == nullptr) { in android_net_utils_resNetworkResult()
198 env->SetByteArrayRegion(answer, 0, res, in android_net_utils_resNetworkResult()
205 return env->NewObject(class_DnsResponse, ctor, answer, rcode); in android_net_utils_resNetworkResult()
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/shadows/
DShadowCar.java56 public Void answer(InvocationOnMock invocation) { in createCar()
64 public Void answer(InvocationOnMock invocation) { in createCar()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DBaseLockSettingsServiceTests.java169 public Boolean answer(InvocationOnMock invocation) throws Throwable { in setUp_baseServices()
208 public Void answer(InvocationOnMock invocation) throws Throwable { in setUpStorageManagerMock()
220 public Void answer(InvocationOnMock invocation) throws Throwable { in setUpStorageManagerMock()
233 public Void answer(InvocationOnMock invocation) throws Throwable { in setUpStorageManagerMock()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DResolverListControllerTest.java101 Answer<Void> answer = new Answer<Void>() { in reportChooserSelection() local
103 public Void answer(InvocationOnMock invocation) throws Throwable { in reportChooserSelection()
108 doAnswer(answer).when(mMockService).reportChooserSelection( in reportChooserSelection()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/
DEuiccControllerTest.java1205 public Void answer(InvocationOnMock invocation) throws Exception { in callGetEid()
1223 public Void answer(InvocationOnMock invocation) throws Exception { in callGetOtaStatus()
1240 public Void answer(InvocationOnMock invocation) throws Exception { in callStartOtaUpdatingIfNecessary()
1258 public Void answer(InvocationOnMock invocation) throws Exception { in callGetEuiccInfo()
1276 public Void answer(InvocationOnMock invocation) throws Exception { in prepareGetDownloadableSubscriptionMetadataCall()
1302 public Void answer(InvocationOnMock invocation) throws Exception { in callGetDefaultDownloadableSubscriptionList()
1324 public Void answer(InvocationOnMock invocation) throws Exception { in callDownloadSubscription()
1351 public Void answer(InvocationOnMock invocation) throws Exception { in callDeleteSubscription()
1370 public Void answer(InvocationOnMock invocation) throws Exception { in callSwitchToSubscription()
1389 public Void answer(InvocationOnMock invocation) throws Exception { in callUpdateSubscriptionNickname()
[all …]
/frameworks/base/cmds/incident_helper/testdata/
Devent-log-tags.txt1 42 answer (to life the universe etc|3)
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSCarrierGroupTest.java63 public Integer answer(InvocationOnMock invocationOnMock) throws Throwable { in testUpdateCarrierText_sameLengths()
111 public Integer answer(InvocationOnMock invocationOnMock) throws Throwable { in testUpdateCarrierText_differentLength()
/frameworks/base/tests/utils/testutils/java/android/app/test/
DTestAlarmManager.java139 public void answer(int type, long triggerAtMillis, String tag, in answer() method in TestAlarmManager.SetListenerAnswer
147 public void answer(AlarmManager.OnAlarmListener listener) { in answer() method in TestAlarmManager.CancelListenerAnswer
/frameworks/base/native/android/include/android/
Dmultinetwork.h180 int *rcode, uint8_t *answer, size_t anslen) __INTRODUCED_IN(29);
/frameworks/native/include/android/
Dmultinetwork.h180 int *rcode, uint8_t *answer, size_t anslen) __INTRODUCED_IN(29);

1234