/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/ |
D | DhcpServerTest.java | 134 private MyDhcpServer mServer; field in DhcpServerTest 189 mServer.start(mAssertSuccessCallback); in startServer() 190 HandlerUtilsKt.waitForIdle(mServer.getHandler(), TEST_TIMEOUT_MS); in startServer() 206 mServer = new MyDhcpServer(mContext, TEST_IFACE, makeServingParams(), in setUp() 213 mServer.stop(mAssertSuccessCallback); in tearDown() 214 mServer.waitForShutdown(); in tearDown() 227 mServer.start(mAssertSuccessCallback, mEventCallbacks); in testStartWithCallbacks() 228 HandlerUtilsKt.waitForIdle(mServer.getHandler(), TEST_TIMEOUT_MS); in testStartWithCallbacks() 244 mServer.sendMessage(CMD_RECEIVE_PACKET, discover); in testDiscover() 245 HandlerUtilsKt.waitForIdle(mServer.getHandler(), TEST_TIMEOUT_MS); in testDiscover() [all …]
|
/packages/modules/DnsResolver/ |
D | DnsTlsSocket.cpp | 74 switch (mServer.protocol) { in tcpConnect() 82 mSslFd.reset(socket(mServer.ss.ss_family, type, mServer.protocol)); in tcpConnect() 105 if (connect(mSslFd.get(), reinterpret_cast<const struct sockaddr *>(&mServer.ss), in tcpConnect() 106 sizeof(mServer.ss)) != 0 && in tcpConnect() 118 BIO_new_mem_buf(mServer.certificate.data(), mServer.certificate.size())); in setTestCaCertificate() 150 if (!mServer.certificate.empty()) { in initialize() 210 if (!mServer.name.empty()) { in sslConnect() 211 LOG(VERBOSE) << "Checking DNS over TLS hostname = " << mServer.name.c_str(); in sslConnect() 212 if (SSL_set_tlsext_host_name(ssl.get(), mServer.name.c_str()) != 1) { in sslConnect() 213 LOG(ERROR) << "Failed to set SNI to " << mServer.name; in sslConnect() [all …]
|
D | DnsTlsTransport.h | 46 : mMark(mark), mServer(server), mFactory(factory) {} in DnsTlsTransport() 73 const DnsTlsServer mServer; variable
|
D | DnsTlsSocket.h | 51 : mMark(mark), mServer(server), mObserver(observer), mCache(cache) {} in DnsTlsSocket() 131 const DnsTlsServer mServer; variable
|
D | DnsTlsTransport.cpp | 72 mSocket = mFactory->createDnsTlsSocket(mServer, mMark, this, &mCache); in doConnect()
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
D | AbstractDownloadProviderFunctionalTest.java | 72 protected MockWebServer mServer; field in AbstractDownloadProviderFunctionalTest 214 mServer = new MockWebServer(); in setUp() 215 mServer.play(); in setUp() 221 mServer.shutdown(); in tearDown() 271 mServer.enqueue(resp); in enqueueResponse() 294 RecordedRequest request = mServer.takeRequest(); in takeRequest() 300 return mServer.getUrl(path).toString(); in getServerUri()
|
D | PublicApiFunctionalTest.java | 427 .setHeader("Location", mServer.getUrl("/" + i).toString())); in testRunawayRedirect() 769 .setHeader("Location", mServer.getUrl(REDIRECTED_PATH).toString())); in runRedirectionTest()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | TestActivity.java | 89 TestTcpServer mServer; field in TestActivity 331 mServer = new TestTcpServer(); 332 Thread serverThread = new Thread(mServer); 343 synchronized (mServer) { 344 mServer.a = true; 345 mServer.notify(); 595 ServerSocket mServer = null; field in TestTcpSessionNotifier 602 mServer = new ServerSocket(port); in TestTcpSessionNotifier() 608 mConn = mServer.accept(); in acceptAndOpen()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/vpn2/ |
D | ConfigDialog.java | 66 private TextView mServer; field in ConfigDialog 107 mServer = (TextView) mView.findViewById(R.id.server); in onCreate() 131 mServer.setText(mProfile.server); in onCreate() 166 mServer.addTextChangedListener(this); in onCreate() 393 if (mName.getText().length() == 0 || mServer.getText().length() == 0 || in validate() 486 profile.server = mServer.getText().toString().trim(); in getProfile()
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
D | ConfigDialog.java | 72 private TextView mServer; field in ConfigDialog 113 mServer = (TextView) mView.findViewById(R.id.server); in onCreate() 138 mServer.setText(mProfile.server); in onCreate() 173 mServer.addTextChangedListener(this); in onCreate() 429 if (mName.getText().length() == 0 || mServer.getText().length() == 0) { in validate() 569 profile.server = mServer.getText().toString().trim(); in getProfile()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/ |
D | ApnEditor.java | 96 EditTextPreference mServer; field in ApnEditor 216 mServer = (EditTextPreference) findPreference("apn_server"); in onCreate() 410 return mServer; in getPreferenceFromFieldName() 467 mServer.setEnabled(false); in disableAllFields() 498 mServer.setText(mApnData.getString(SERVER_INDEX)); in fillUI() 570 mServer.setSummary(checkNull(mServer.getText())); in fillUI() 928 checkNotSet(mServer.getText()), in validateAndSaveApnData()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | ApnEditor.java | 95 EditTextPreference mServer; field in ApnEditor 273 mServer = (EditTextPreference) findPreference("apn_server"); in onCreate() 474 return mServer; in getPreferenceFromFieldName() 531 mServer.setEnabled(false); in disableAllFields() 562 mServer.setText(mApnData.getString(SERVER_INDEX)); in fillUI() 636 mServer.setSummary(checkNull(mServer.getText())); in fillUI() 1014 checkNotSet(mServer.getText()), in validateAndSaveApnData()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
D | ApnEditorTest.java | 528 mApnEditorUT.mServer = new EditTextPreference(context); in setMockPreference()
|