Commit Graph
1293 Commits
Author SHA1 Message Date
Francis Tsui fbf66ad7e3 Switch OutputStream::Write to use string_view.
PiperOrigin-RevId: 854225267
2026-01-09 09:37:00 -08:00
hai007 be3db49015 Wi-Fi Direct Service Implementation(9.2)
PiperOrigin-RevId: 853845305
2026-01-08 12:36:20 -08:00
Francis Tsui d5c1a540b7 Internal changes
PiperOrigin-RevId: 853414816
2026-01-07 14:32:42 -08:00
Francis Tsui ad6267d236 Remove unused code
PiperOrigin-RevId: 853316103
2026-01-07 10:20:46 -08:00
Francis Tsui bf6ed702db Add reg key to disable mDNS advertising.
PiperOrigin-RevId: 852976950
2026-01-06 16:18:04 -08:00
Francis Tsui d302e8459d Move registry accessor code to nearby platform.
PiperOrigin-RevId: 852969284
2026-01-06 15:58:19 -08:00
Francis Tsui 74c921f911 Cleanup compile options.
PiperOrigin-RevId: 852872897
2026-01-06 11:47:37 -08:00
Francis Tsui 1b557236f7 Log interface count and IPv6 only interface count during wifi upgrade.
PiperOrigin-RevId: 852845375
2026-01-06 10:45:13 -08:00
kidfromjupiter 2d98bab2f1 updated build 2026-01-06 05:25:00 +00:00
kidfromjupiter 0d7922dc89 Enabled wifi lan medium. fixed bug with returned service id in avahi onItemNew 2026-01-06 05:24:48 +00:00
kidfromjupiter 0432c47542 Added wifi hotspot medium. Fixed mutex deadlock when bandwidth upgrade with bt classic socket 2026-01-05 14:17:26 +00:00
kidfromjupiter e2256ca83d endpoints advertised on bluetooth are immediately detected now. bluetooth socket underlying fd type auto detection added. Fixed segfault with download paths 2026-01-04 17:14:27 +00:00
kidfromjupiter 08e8b50aee fixed crash on bt socket close 2026-01-03 16:45:45 +00:00
kidfromjupiter 43c6c38a55 Fixed race conditions with simultaneous connections 2026-01-03 14:40:02 +00:00
kidfromjupiter ac5a22eb55 Fixed race conditions with simultaneous connections 2026-01-03 14:39:50 +00:00
kidfromjupiter dd21d80dc8 bugfixes and fixes to race conditions. bluetooth advertising only / discovery only works now. linux -> android conn. initiation works. android -> linux doesnt work. android doesn't seem to recognise linux. linux <-> linux works. but each devices have to be in discover/advert modes. can't be both 2026-01-02 12:29:54 +00:00
Francis Tsui 931624a621 Prevent logging connection failure when mDNS client connects to test the connection.
PiperOrigin-RevId: 850545490
2025-12-30 16:54:14 -08:00
hai007 c86f9f573f Automated Code Change
PiperOrigin-RevId: 850400587
2025-12-30 06:58:58 -08:00
Francis Tsui ffa760663b Change NetworkInfo to use SocketAddress.
PiperOrigin-RevId: 850164819
2025-12-29 14:44:35 -08:00
kidfromjupiter 8f6086345d updated device_info to latest API 2025-12-29 16:35:50 +00:00
kidfromjupiter 6c41d26a86 Doesn't build yet. But did more work to align the older fork with newer APIs. 2025-12-29 13:35:08 +00:00
kidfromjupiter 5f93c46954 ported over BUILD file 2025-12-29 04:41:32 +00:00
kidfromjupiter 1f3da14906 fixed logging bugs 2025-12-29 04:39:40 +00:00
kidfromjupiter 1bebcdd49a merged abandoned linux port 2025-12-29 04:27:15 +00:00
kidfromjupiter 578f253121 Remove existing linux implementation folder before importing subtree 2025-12-28 16:52:21 +00:00
kidfromjupiter 12bc97ae1f added generated files for bluz device and bluez itself. created system_clock and crypto files. 2025-12-28 13:43:42 +00:00
kidfromjupiter 284a78af0f added tests for bluetooth adapter and multithread executor 2025-12-27 05:29:14 +00:00
Francis Tsui da41bcd194 Fix tests to actually check session durations and delays.
PiperOrigin-RevId: 849273112
2025-12-26 14:45:48 -08:00
kidfromjupiter 88f8133d90 missed a few files 2025-12-26 15:50:41 +00:00
kidfromjupiter 333688074a Added minimal implementation of platform.cc using shared posix implementations. 2025-12-26 15:49:38 +00:00
hai007 7290b70fc1 Automated Code Change
PiperOrigin-RevId: 847148315
2025-12-20 10:18:26 -08:00
hai007 b1e1d7970b Wi-Fi Direct Service Implementation(9.1)
PiperOrigin-RevId: 846899549
2025-12-19 16:09:22 -08:00
hai007 46ad9a75ef Fix out-of-bounds string access in GNCIPv4AddressTest found by LibC++ hardening
LibC++ hardening detected an out-of-bounds write in `testInitFromDataWithLeadingEmptyBytes`. The `std::string` initialized with "\0\0\0\0" was empty, making the access `addressString[3]` invalid.

Updated the `std::string` constructor to specify the size, so it correctly includes the null bytes, preventing the crash.

PiperOrigin-RevId: 846853226
2025-12-19 13:48:53 -08:00
Francis Tsui e8d639028f Deprecate enable_mdns_ipv6 flag.
PiperOrigin-RevId: 846835528
2025-12-19 12:55:17 -08:00
Francis Tsui a590b2a3e2 Update platform to remove file size from CreateInputFile API.
PiperOrigin-RevId: 846311268
2025-12-18 09:52:50 -08:00
Francis Tsui b88fbc6636 Stop passing file size into InputFile c'tor.
PiperOrigin-RevId: 845989622
2025-12-17 18:01:07 -08:00
hai007 ee108c58ff Wi-Fi Direct Service Implementation(9)
PiperOrigin-RevId: 845358747
2025-12-16 11:16:56 -08:00
Francis Tsui d53613f38e Update SocketAddress
PiperOrigin-RevId: 845291189
2025-12-16 08:42:23 -08:00
Francis Tsui 45633898d2 Deprecate enable_hotspot_dhcp_renew flag.
PiperOrigin-RevId: 844937321
2025-12-15 15:12:34 -08:00
Francis Tsui b8d9389673 Deprecate enable_ipv6_dual_stack flag.
PiperOrigin-RevId: 844925341
2025-12-15 14:40:21 -08:00
hai007 9cf53e968b Wi-Fi Direct Service Implementation(8.3)
PiperOrigin-RevId: 843969255
2025-12-12 22:46:16 -08:00
Francis Tsui 1ac3538d15 Add retry to wifi hotspot connection.
PiperOrigin-RevId: 843792159
2025-12-12 12:33:20 -08:00
Francis Tsui d262f64219 Fix issue with Wifi lan upgarde when EnableWifiLanAddressCandidates flag is not enabled.
PiperOrigin-RevId: 843349061
2025-12-11 13:23:21 -08:00
Francis Tsui 03ae6b1be1 Switch various WifiLanMedium connect methods to use ServiceAddress.
PiperOrigin-RevId: 843241925
2025-12-11 08:52:53 -08:00
Francis Tsui cffc8b2c57 Fix include files.
PiperOrigin-RevId: 842876174
2025-12-10 14:15:58 -08:00
Francis Tsui 63f943aaed Improve usabilty of ServiceAddress.
PiperOrigin-RevId: 842439675
2025-12-09 16:22:25 -08:00
Francis Tsui 4652aef48c WifiLan::Change GetUpgradeAddressCandidates to use ServiceAddress.
PiperOrigin-RevId: 842257461
2025-12-09 08:48:31 -08:00
hai007 8e597c9df0 Wi-Fi Direct Service Implementation(8.2)
PiperOrigin-RevId: 842093008
2025-12-08 23:59:05 -08:00
hai007 91b9713eb2 Wi-Fi Direct Service Implementation(8.1)
PiperOrigin-RevId: 839804624
2025-12-03 10:11:36 -08:00
Nick Bourdakos 9adcbb5941 Wi-Fi Direct Service Implementation(8)
PiperOrigin-RevId: 839323466
2025-12-02 10:18:00 -08:00