Home
last modified time | relevance | path

Searched refs:mResponses (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Calendar/src/com/android/calendar/alerts/
DQuickResponseActivity.kt37 private var mResponses: Array<String?>? = null variable in com.android.calendar.alerts.QuickResponseActivity
60 mResponses = arrayOfNulls(responses.size + 1) in onCreate()
64 mResponses!![i] = responses[i] in onCreate()
67 mResponses!![i] = getResources().getString(R.string.quick_response_custom_msg) in onCreate()
69 mResponses as Array<String?>)) in onCreate()
76 if (mResponses != null && position < mResponses!!.size - 1) { in onItemClick()
77 body = mResponses!![position] in onItemClick()
/packages/apps/Nfc/testutils/src/com/android/nfc/reader/
DSimpleReaderActivity.java47 private String[] mResponses; field in SimpleReaderActivity
66 mResponses = intent.getStringArrayExtra(EXTRA_RESPONSES); in onResume()
110 boolean wildCard = "*".equals(mResponses[count]); in onTagDiscovered()
111 byte[] expectedResponse = HceUtils.hexStringToBytes(mResponses[count]); in onTagDiscovered()
115 + " expected: " + mResponses[count]); in onTagDiscovered()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/entitlement/http/
DFakeURLStreamHandler.java48 private Map<String, FakeResponse> mResponses = ImmutableMap.of(); field in FakeURLStreamHandler
59 new FakeHttpsURLConnection(u, mResponses.get(u.toString())); in openConnection()
74 mResponses = response; in stubResponse()
/packages/modules/DnsResolver/tests/
Dresolv_tls_unit_test.cpp221 mResponses.push_back(make_echo(id, query)); in query()
223 LOG(DEBUG) << "Up to " << mResponses.size() << " out of " << sDelay << " queries"; in query()
224 if (mResponses.size() == sDelay) { in query()
235 std::reverse(std::begin(mResponses), std::end(mResponses)); in sendResponses()
237 for (auto& response : mResponses) { in sendResponses()
241 mResponses.clear(); in sendResponses()
247 std::vector<bytevec> mResponses GUARDED_BY(mLock);
/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/
DCaptivePortalLoginActivityTest.java757 private final HashMap<String, MockResponse> mResponses = new HashMap<>(); field in CaptivePortalLoginActivityTest.HttpServer
804 mResponses.put(query, new MockResponse(body, mimetype, headers)); in setResponse()
809 final MockResponse mockResponse = mResponses.get(session.getQueryParameterString()); in serve()