OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mServerSocket
(Results
1 - 11
of
11
) sorted by null
/packages/apps/Nfc/src/com/android/nfc/handover/
HandoverServer.java
73
LlcpServerSocket
mServerSocket
;
85
mServerSocket
= NfcService.getInstance().createLlcpServerSocket(mSap,
88
if (
mServerSocket
== null) {
100
serverSocket =
mServerSocket
;
125
if (
mServerSocket
!= null) {
128
mServerSocket
.close();
132
mServerSocket
= null;
146
if (
mServerSocket
!= null) {
148
mServerSocket
.close();
152
mServerSocket
= null
[
all
...]
/packages/apps/Nfc/src/com/android/nfc/ndefpush/
NdefPushServer.java
122
LlcpServerSocket
mServerSocket
;
134
mServerSocket
= mService.createLlcpServerSocket(mSap, SERVICE_NAME,
137
if (
mServerSocket
== null) {
149
serverSocket =
mServerSocket
;
171
if (
mServerSocket
!= null) {
174
mServerSocket
.close();
178
mServerSocket
= null;
192
if (
mServerSocket
!= null) {
194
mServerSocket
.close();
198
mServerSocket
= null
[
all
...]
/frameworks/base/services/tests/servicestests/src/com/android/server/
NetworkManagementServiceTest.java
45
private LocalServerSocket
mServerSocket
;
57
mServerSocket
= new LocalServerSocket(SOCKET_NAME);
61
mSocket =
mServerSocket
.accept();
68
if (
mServerSocket
!= null)
mServerSocket
.close();
/packages/apps/Nfc/src/com/android/nfc/snep/
SnepServer.java
175
LlcpServerSocket
mServerSocket
;
188
mServerSocket
= NfcService.getInstance().createLlcpServerSocket(mServiceSap,
191
if (
mServerSocket
== null) {
203
serverSocket =
mServerSocket
;
231
if (
mServerSocket
!= null) {
234
mServerSocket
.close();
238
mServerSocket
= null;
252
if (
mServerSocket
!= null) {
254
mServerSocket
.close();
258
mServerSocket
= null
[
all
...]
/packages/experimental/RpcPerformance/src/com/android/rpc_performance/
MiscService.java
37
private LocalServerSocket
mServerSocket
= null;
42
mServerSocket
= new LocalServerSocket(SOCKET_NAME);
54
socket =
mServerSocket
.accept();
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/lib/
Connection.java
80
private LocalServerSocket
mServerSocket
= null;
135
socket =
mServerSocket
;
136
mServerSocket
= null;
268
mServerSocket
= new LocalServerSocket(SDK_CONTROLLER_PORT);
269
LocalServerSocket socket =
mServerSocket
;
272
if (
mServerSocket
!= null) {
277
socket =
mServerSocket
;
/development/samples/training/NsdChat/src/com/example/android/nsdchat/
ChatConnection.java
118
ServerSocket
mServerSocket
= null;
129
mServerSocket
.close();
143
mServerSocket
= new ServerSocket(0);
144
setLocalPort(
mServerSocket
.getLocalPort());
148
setSocket(
mServerSocket
.accept());
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
BluetoothMapService.java
124
private BluetoothServerSocket
mServerSocket
= null;
174
mServerSocket
= mAdapter.listenUsingEncryptedRfcommWithServiceRecord
217
if (
mServerSocket
!= null) {
219
// this will cause
mServerSocket
.accept() return early with IOException
220
mServerSocket
.close();
221
mServerSocket
= null;
355
if (
mServerSocket
== null) {
364
serverSocket =
mServerSocket
;
366
Log.w(TAG, "
mServerSocket
is null");
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
BluetoothPbapService.java
155
private BluetoothServerSocket
mServerSocket
= null;
340
mServerSocket
= mAdapter.listenUsingEncryptedRfcommWithServiceRecord
385
if (
mServerSocket
!= null) {
387
// this will cause
mServerSocket
.accept() return early with IOException
388
mServerSocket
.close();
389
mServerSocket
= null;
534
if (
mServerSocket
== null) {
543
serverSocket =
mServerSocket
;
545
Log.w(TAG, "
mServerSocket
is null");
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
TestActivity.java
386
ServerSocket
mServerSocket
;
394
mServerSocket
= new ServerSocket(6500, 1);
401
mServerSocket
.setSoTimeout(ACCEPT_WAIT_TIMEOUT);
402
Socket clientSocket =
mServerSocket
.accept();
/prebuilts/misc/common/tradefed/
tradefed-prebuilt.jar
Completed in 340 milliseconds