Home
last modified time | relevance | path

Searched refs:socketInfo (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsSocketProvider.java423 final SocketInfo socketInfo = mNetworkSockets.get(network); in handleLinkPropertiesChanged() local
424 if (socketInfo == null) { in handleLinkPropertiesChanged()
427 updateSocketInfoAddress(network, socketInfo, lp.getLinkAddresses()); in handleLinkPropertiesChanged()
444 @NonNull final SocketInfo socketInfo, in updateSocketInfoAddress() argument
447 socketInfo.mAddresses.clear(); in updateSocketInfoAddress()
448 socketInfo.mAddresses.addAll(addresses); in updateSocketInfoAddress()
450 socketInfo.mSocket.joinGroup(addresses); in updateSocketInfoAddress()
452 notifyAddressesChanged(network, socketInfo, addresses); in updateSocketInfoAddress()
480 final SocketInfo socketInfo = mTetherInterfaceSockets.get(name); in handleTetherInterfacesChanged() local
481 if (socketInfo != null) { in handleTetherInterfacesChanged()
[all …]
/packages/modules/Connectivity/tests/unit/java/android/net/
DQosSocketFilterTest.java107 QosSocketInfo socketInfo = new QosSocketInfo(mNetwork, socket); in testProtocolMatch() local
108 QosSocketFilter socketFilter = new QosSocketFilter(socketInfo); in testProtocolMatch()
125 QosSocketInfo socketInfo = new QosSocketInfo(mNetwork, socket); in testValidate() local
126 QosSocketFilter socketFilter = new QosSocketFilter(socketInfo); in testValidate()
139 QosSocketInfo socketInfo = new QosSocketInfo(mNetwork, socket); in testValidateUnbind() local
140 QosSocketFilter socketFilter = new QosSocketFilter(socketInfo); in testValidateUnbind()
149 QosSocketInfo socketInfo = new QosSocketInfo(mNetwork, socket); in testValidateLocalAddressChanged() local
150 QosSocketFilter socketFilter = new QosSocketFilter(socketInfo); in testValidateLocalAddressChanged()
166 QosSocketInfo socketInfo = new QosSocketInfo(mNetwork, socket); in testValidateRemoteAddressChanged() local
167 QosSocketFilter socketFilter = new QosSocketFilter(socketInfo); in testValidateRemoteAddressChanged()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothAdapter.java3213 IncomingRfcommSocketInfo socketInfo = null; in retrieveConnectedRfcommSocket() local
3218 socketInfo = in retrieveConnectedRfcommSocket()
3228 if (socketInfo == null) { in retrieveConnectedRfcommSocket()
3232 switch (socketInfo.status) { in retrieveConnectedRfcommSocket()
3236 socketInfo.pfd, socketInfo.bluetoothDevice, new ParcelUuid(uuid)); in retrieveConnectedRfcommSocket()
3253 socketInfo.status)); in retrieveConnectedRfcommSocket()
/packages/modules/Connectivity/framework/src/android/net/
DIConnectivityManager.aidl225 void registerQosSocketCallback(in QosSocketInfo socketInfo, in IQosCallback callback); in registerQosSocketCallback() argument
DConnectivityManager.java5828 public void registerQosCallback(@NonNull final QosSocketInfo socketInfo, in registerQosCallback() argument
5831 Objects.requireNonNull(socketInfo, "socketInfo must be non-null"); in registerQosCallback()
5841 mService.registerQosSocketCallback(socketInfo, connection); in registerQosCallback()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DAdapterService.java2057 IncomingRfcommSocketInfo socketInfo = new IncomingRfcommSocketInfo(); in retrievePendingSocketForServiceRecord() local
2062 socketInfo.status = in retrievePendingSocketForServiceRecord()
2065 return socketInfo; in retrievePendingSocketForServiceRecord()
2069 socketInfo.status = BluetoothStatusCodes.RFCOMM_LISTENER_OPERATION_FAILED_DIFFERENT_APP; in retrievePendingSocketForServiceRecord()
2070 return socketInfo; in retrievePendingSocketForServiceRecord()
2076 socketInfo.status = BluetoothStatusCodes.RFCOMM_LISTENER_NO_SOCKET_AVAILABLE; in retrievePendingSocketForServiceRecord()
2077 return socketInfo; in retrievePendingSocketForServiceRecord()
2082 socketInfo.bluetoothDevice = socket.getRemoteDevice(); in retrievePendingSocketForServiceRecord()
2083 socketInfo.pfd = socket.getParcelFileDescriptor(); in retrievePendingSocketForServiceRecord()
2084 socketInfo.status = BluetoothStatusCodes.SUCCESS; in retrievePendingSocketForServiceRecord()
[all …]
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java13042 public void registerQosSocketCallback(@NonNull final QosSocketInfo socketInfo,
13044 final NetworkAgentInfo nai = getNetworkAgentInfoForNetwork(socketInfo.getNetwork());
13053 registerQosCallbackInternal(new QosSocketFilter(socketInfo), callback, nai);