Home
last modified time | relevance | path

Searched refs:sbuf (Results 1 – 25 of 27) sorted by relevance

12

/packages/modules/Wifi/framework/java/android/net/wifi/
DSecurityParams.java430 StringBuilder sbuf = new StringBuilder(); in toString() local
431 sbuf.append("Security Parameters:\n"); in toString()
432 sbuf.append(" Type: ").append(mSecurityType).append("\n"); in toString()
433 sbuf.append(" Enabled: ").append(mEnabled).append("\n"); in toString()
434 sbuf.append(" KeyMgmt:"); in toString()
437 sbuf.append(" "); in toString()
439 sbuf.append(KeyMgmt.strings[k]); in toString()
441 sbuf.append("??"); in toString()
445 sbuf.append('\n'); in toString()
446 sbuf.append(" Protocols:"); in toString()
[all …]
DWifiConfiguration.java2941 StringBuilder sbuf = new StringBuilder(); in toString() local
2943 sbuf.append("* "); in toString()
2945 sbuf.append("- DSBLE "); in toString()
2947 sbuf.append("ID: ").append(this.networkId).append(" SSID: ").append(this.SSID). in toString()
2959 sbuf.append(" NetworkSelectionStatus ") in toString()
2963 sbuf.append(" mNetworkSelectionDisableReason ") in toString()
2970 sbuf.append( in toString()
2979 sbuf.append(" connect choice: ").append(mNetworkSelectionStatus.getConnectChoice()); in toString()
2980 sbuf.append(" connect choice rssi: ") in toString()
2983 sbuf.append(" hasEverConnected: ") in toString()
[all …]
DWpsInfo.java56 StringBuffer sbuf = new StringBuffer(); in toString() local
57 sbuf.append(" setup: ").append(setup); in toString()
58 sbuf.append('\n'); in toString()
59 sbuf.append(" BSSID: ").append(BSSID); in toString()
60 sbuf.append('\n'); in toString()
61 sbuf.append(" pin: ").append(pin); in toString()
62 sbuf.append('\n'); in toString()
63 return sbuf.toString(); in toString()
DSoftApInfo.java352 StringBuilder sbuf = new StringBuilder(); in toString() local
353 sbuf.append("SoftApInfo{"); in toString()
354 sbuf.append("bandwidth= ").append(mBandwidth); in toString()
355 sbuf.append(", frequency= ").append(mFrequency); in toString()
356 if (mBssid != null) sbuf.append(",bssid=").append(mBssid.toString()); in toString()
357 sbuf.append(", wifiStandard= ").append(mWifiStandard); in toString()
358 sbuf.append(", mApInstanceIdentifier= ").append(mApInstanceIdentifier); in toString()
359 sbuf.append(", mIdleShutdownTimeoutMillis= ").append(mIdleShutdownTimeoutMillis); in toString()
360 sbuf.append("}"); in toString()
361 return sbuf.toString(); in toString()
DSoftApConfiguration.java393 StringBuilder sbuf = new StringBuilder(); in toString() local
394 sbuf.append("ssid = ").append(mSsid); in toString()
395 if (mBssid != null) sbuf.append(" \n bssid = ").append(mBssid.toString()); in toString()
396 sbuf.append(" \n Passphrase = ").append( in toString()
398 sbuf.append(" \n HiddenSsid = ").append(mHiddenSsid); in toString()
399 sbuf.append(" \n Channels = ").append(mChannels); in toString()
400 sbuf.append(" \n SecurityType = ").append(getSecurityType()); in toString()
401 sbuf.append(" \n MaxClient = ").append(mMaxNumberOfClients); in toString()
402 sbuf.append(" \n AutoShutdownEnabled = ").append(mAutoShutdownEnabled); in toString()
403 sbuf.append(" \n ShutdownTimeoutMillis = ").append(mShutdownTimeoutMillis); in toString()
[all …]
DSoftApCapability.java317 StringBuilder sbuf = new StringBuilder(); in toString() local
318 sbuf.append("SupportedFeatures=").append(mSupportedFeatures); in toString()
319 sbuf.append("MaximumSupportedClientNumber=").append(mMaximumSupportedClientNumber); in toString()
320 sbuf.append("SupportedChannelListIn24g") in toString()
322 sbuf.append("SupportedChannelListIn5g").append(Arrays.toString(mSupportedChannelListIn5g)); in toString()
323 sbuf.append("SupportedChannelListIn6g").append(Arrays.toString(mSupportedChannelListIn6g)); in toString()
324 sbuf.append("SupportedChannelListIn60g") in toString()
326 return sbuf.toString(); in toString()
DWifiNetworkConnectionStatistics.java47 StringBuilder sbuf = new StringBuilder(); in toString() local
48 sbuf.append("c=").append(numConnection); in toString()
49 sbuf.append(" u=").append(numUsage); in toString()
50 return sbuf.toString(); in toString()
DWifiAvailableChannel.java185 StringBuilder sbuf = new StringBuilder(); in toString() local
186 sbuf.append("mFrequency = ") in toString()
190 return sbuf.toString(); in toString()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiLinkLayerStats.java334 StringBuilder sbuf = new StringBuilder(); in toString() local
335 sbuf.append(" WifiLinkLayerStats: ").append('\n'); in toString()
337 sbuf.append(" version of StaLinkLayerStats: ").append(version).append('\n'); in toString()
338 sbuf.append(" my bss beacon rx: ").append(Integer.toString(this.beacon_rx)).append('\n'); in toString()
339 sbuf.append(" RSSI mgmt: ").append(Integer.toString(this.rssi_mgmt)).append('\n'); in toString()
340 sbuf.append(" BE : ").append(" rx=").append(Long.toString(this.rxmpdu_be)) in toString()
352 sbuf.append(" BK : ").append(" rx=").append(Long.toString(this.rxmpdu_bk)) in toString()
364 sbuf.append(" VI : ").append(" rx=").append(Long.toString(this.rxmpdu_vi)) in toString()
376 sbuf.append(" VO : ").append(" rx=").append(Long.toString(this.rxmpdu_vo)) in toString()
388 sbuf.append(" numRadios=" + numRadios) in toString()
[all …]
DScanDetailCache.java189 StringBuilder sbuf = new StringBuilder(); in toString() local
190 sbuf.append("Scan Cache: ").append('\n'); in toString()
210 sbuf.append("{").append(result.BSSID).append(",").append(result.frequency); in toString()
211 sbuf.append(",").append(String.format("%3d", result.level)); in toString()
213 sbuf.append(String.format(",%4d.%02d.%02d.%02d.%03dms", ageDay, in toString()
218 sbuf.append(",Ant=").append(networkDetail.getAnt()).append(",Internet=") in toString()
221 sbuf.append("} "); in toString()
223 sbuf.append('\n'); in toString()
226 return sbuf.toString(); in toString()
DScanResultMatchInfo.java238 StringBuffer sbuf = new StringBuffer(); in toString() local
239 sbuf.append("ScanResultMatchInfo: SSID: ").append(networkSsid); in toString()
240 sbuf.append(", from scan result: ").append(mFromScanResult); in toString()
241 sbuf.append(", SecurityParams List:"); in toString()
243 .forEach(params -> sbuf.append(params.toString())); in toString()
244 return sbuf.toString(); in toString()
/packages/modules/Wifi/framework/java/android/net/wifi/p2p/nsd/
DWifiP2pDnsSdServiceResponse.java129 StringBuffer sbuf = new StringBuffer(); in toString() local
130 sbuf.append("serviceType:DnsSd(").append(mServiceType).append(")"); in toString()
131 sbuf.append(" status:").append(Status.toString(mStatus)); in toString()
132 sbuf.append(" srcAddr:").append(mDevice.deviceAddress); in toString()
133 sbuf.append(" version:").append(String.format("%02x", mVersion)); in toString()
134 sbuf.append(" dnsName:").append(mDnsQueryName); in toString()
135 sbuf.append(" TxtRecord:"); in toString()
137 sbuf.append(" key:").append(key).append(" value:").append(mTxtRecord.get(key)); in toString()
140 sbuf.append(" InsName:").append(mInstanceName); in toString()
142 return sbuf.toString(); in toString()
DWifiP2pUpnpServiceResponse.java121 StringBuffer sbuf = new StringBuffer(); in toString() local
122 sbuf.append("serviceType:UPnP(").append(mServiceType).append(")"); in toString()
123 sbuf.append(" status:").append(Status.toString(mStatus)); in toString()
124 sbuf.append(" srcAddr:").append(mDevice.deviceAddress); in toString()
125 sbuf.append(" version:").append(String.format("%02x", mVersion)); in toString()
128 sbuf.append(" usn:").append(name); in toString()
131 return sbuf.toString(); in toString()
DWifiP2pServiceResponse.java287 StringBuffer sbuf = new StringBuffer(); in toString() local
288 sbuf.append("serviceType:").append(mServiceType); in toString()
289 sbuf.append(" status:").append(Status.toString(mStatus)); in toString()
290 sbuf.append(" srcAddr:").append(mDevice.deviceAddress); in toString()
291 sbuf.append(" data:").append(Arrays.toString(mData)); in toString()
292 return sbuf.toString(); in toString()
/packages/modules/Connectivity/framework/src/android/net/
DIpConfiguration.java152 StringBuilder sbuf = new StringBuilder(); in toString() local
153 sbuf.append("IP assignment: " + ipAssignment.toString()); in toString()
154 sbuf.append("\n"); in toString()
156 sbuf.append("Static configuration: " + staticIpConfiguration.toString()); in toString()
157 sbuf.append("\n"); in toString()
159 sbuf.append("Proxy settings: " + proxySettings.toString()); in toString()
160 sbuf.append("\n"); in toString()
162 sbuf.append("HTTP proxy: " + httpProxy.toString()); in toString()
163 sbuf.append("\n"); in toString()
166 return sbuf.toString(); in toString()
/packages/modules/Wifi/framework/java/android/net/wifi/p2p/
DWifiP2pDevice.java349 StringBuffer sbuf = new StringBuffer(); in toString() local
350 sbuf.append("Device: ").append(deviceName); in toString()
351 sbuf.append("\n deviceAddress: ").append(deviceAddress); in toString()
352 sbuf.append("\n primary type: ").append(primaryDeviceType); in toString()
353 sbuf.append("\n secondary type: ").append(secondaryDeviceType); in toString()
354 sbuf.append("\n wps: ").append(wpsConfigMethodsSupported); in toString()
355 sbuf.append("\n grpcapab: ").append(groupCapability); in toString()
356 sbuf.append("\n devcapab: ").append(deviceCapability); in toString()
357 sbuf.append("\n status: ").append(status); in toString()
358 sbuf.append("\n wfdInfo: ").append(wfdInfo); in toString()
[all …]
DWifiP2pGroup.java301 StringBuffer sbuf = new StringBuffer(); in toString() local
302 sbuf.append("network: ").append(mNetworkName); in toString()
303 sbuf.append("\n isGO: ").append(mIsGroupOwner); in toString()
304 sbuf.append("\n GO: ").append(mOwner); in toString()
306 sbuf.append("\n Client: ").append(client); in toString()
308 sbuf.append("\n interface: ").append(mInterface); in toString()
309 sbuf.append("\n networkId: ").append(mNetId); in toString()
310 sbuf.append("\n frequency: ").append(mFrequency); in toString()
311 return sbuf.toString(); in toString()
DWifiP2pConfig.java207 StringBuffer sbuf = new StringBuffer(); in toString() local
208 sbuf.append("\n address: ").append(deviceAddress); in toString()
209 sbuf.append("\n wps: ").append(wps); in toString()
210 sbuf.append("\n groupOwnerIntent: ").append(groupOwnerIntent); in toString()
211 sbuf.append("\n persist: ").append(netId); in toString()
212 sbuf.append("\n networkName: ").append(networkName); in toString()
213 sbuf.append("\n passphrase: ").append( in toString()
215 sbuf.append("\n groupOwnerBand: ").append(groupOwnerBand); in toString()
216 return sbuf.toString(); in toString()
DWifiP2pProvDiscEvent.java86 StringBuffer sbuf = new StringBuffer(); in toString() local
87 sbuf.append(device); in toString()
88 sbuf.append("\n event: ").append(event); in toString()
89 sbuf.append("\n pin: ").append(pin); in toString()
90 return sbuf.toString(); in toString()
DWifiP2pWfdInfo.java447 StringBuffer sbuf = new StringBuffer(); in toString() local
448 sbuf.append("WFD enabled: ").append(mEnabled); in toString()
449 sbuf.append("WFD DeviceInfo: ").append(mDeviceInfo); in toString()
450 sbuf.append("\n WFD CtrlPort: ").append(mCtrlPort); in toString()
451 sbuf.append("\n WFD MaxThroughput: ").append(mMaxThroughput); in toString()
452 sbuf.append("\n WFD R2 DeviceInfo: ").append(mR2DeviceInfo); in toString()
453 return sbuf.toString(); in toString()
DWifiP2pInfo.java45 StringBuffer sbuf = new StringBuffer(); in toString() local
46 sbuf.append("groupFormed: ").append(groupFormed) in toString()
49 return sbuf.toString(); in toString()
DWifiP2pGroupList.java215 StringBuffer sbuf = new StringBuffer(); in toString() local
219 sbuf.append(grp).append("\n"); in toString()
221 return sbuf.toString(); in toString()
DWifiP2pDeviceList.java182 StringBuffer sbuf = new StringBuffer(); in toString() local
184 sbuf.append("\n").append(device); in toString()
186 return sbuf.toString(); in toString()
/packages/modules/DnsResolver/
Dres_send.cpp1155 char sbuf[NI_MAXSERV]; in dump_error() local
1161 if (getnameinfo(address, (socklen_t)alen, hbuf, sizeof(hbuf), sbuf, sizeof(sbuf), niflags)) { in dump_error()
1164 strncpy(sbuf, "?", sizeof(sbuf) - 1); in dump_error()
1165 sbuf[sizeof(sbuf) - 1] = '\0'; in dump_error()
1168 PLOG(DEBUG) << __func__ << ": " << str << " ([" << hbuf << "]." << sbuf << "): "; in dump_error()
/packages/modules/adb/client/
Dfile_sync_client.cpp643 syncsendbuf sbuf; in SendLargeFile() local
644 sbuf.id = ID_DATA; in SendLargeFile()
698 sbuf.size = output.size(); in SendLargeFile()
699 memcpy(sbuf.data, output.data(), output.size()); in SendLargeFile()
700 WriteOrDie(lpath, rpath, &sbuf, sizeof(SyncRequest) + output.size()); in SendLargeFile()
745 syncsendbuf sbuf; in SendLargeFileLegacy() local
746 sbuf.id = ID_DATA; in SendLargeFileLegacy()
749 int bytes_read = adb_read(lfd, sbuf.data, max); in SendLargeFileLegacy()
757 sbuf.size = bytes_read; in SendLargeFileLegacy()
758 WriteOrDie(lpath, rpath, &sbuf, sizeof(SyncRequest) + bytes_read); in SendLargeFileLegacy()

12