Commit Graph
3493 Commits
Author SHA1 Message Date
Francis Tsui 7145975cd4 Add NetworkInfo class to maintain network interface details.
PiperOrigin-RevId: 817210384
2025-10-09 09:06:56 -07:00
Francis Tsui 382f607d3d Split Lan and Internet connected callbacks.
PiperOrigin-RevId: 816845853
2025-10-08 13:51:51 -07:00
Francis Tsui 2143967802 Remove need to request precise location permission to get original wifi network profile name.
PiperOrigin-RevId: 816807149
2025-10-08 12:09:58 -07:00
Guogang Li 6383b6e7d1 Remove unused files
PiperOrigin-RevId: 816483171
2025-10-07 19:24:12 -07:00
Francis Tsui ed4e00cbfb Refactor hotspot to keep profile name in hotspot_native.
PiperOrigin-RevId: 816404349
2025-10-07 15:30:15 -07:00
Francis Tsui f915b01b75 Remove unused hotspot ssid file.
PiperOrigin-RevId: 816396622
2025-10-07 15:11:11 -07:00
Francis Tsui 417e1ba714 Use well-known wifi profile name for hotspot peer profile.
PiperOrigin-RevId: 816379652
2025-10-07 14:28:10 -07:00
Anay Wadhera 01cf03b6e0 Add apple defs to root nc lib
PiperOrigin-RevId: 816275442
2025-10-07 10:33:17 -07:00
Francis Tsui faecdcc205 Remove EnableIpAddressesNative flag.
PiperOrigin-RevId: 815783697
2025-10-06 10:25:00 -07:00
Guogang Li cce45b745e Internal refactor
PiperOrigin-RevId: 815749899
2025-10-06 09:03:08 -07:00
hai007 a065584164 Fix potential security bug
PiperOrigin-RevId: 814833848
2025-10-03 14:34:39 -07:00
Francis Tsui d225c0dcbc Fix infinite loop when AllTargetsLost called with connected sessions.
PiperOrigin-RevId: 814725810
2025-10-03 09:41:29 -07:00
Guogang Li c65dc1abbb Change the method to check Wi-Fi access.
PiperOrigin-RevId: 814337357
2025-10-02 12:23:47 -07:00
Edwin Wu a211c5b527 [NC Apple coverage] Add tests for CBPeripheralManager category methods.
PiperOrigin-RevId: 814030295
2025-10-01 19:53:53 -07:00
Edwin Wu bbd6bbb9b9 [NC Apple coverage] Add tests for CBPeripheral category methods and update GNCFakePeripheral.
PiperOrigin-RevId: 814026340
2025-10-01 19:37:12 -07:00
Francis Tsui 2c7f4de3e6 Make TimerImpl thread-safe.
PiperOrigin-RevId: 813938502
2025-10-01 15:25:21 -07:00
Francis Tsui 05ab63f71a Remove ShareTargets from outgoing_share_target_map.
PiperOrigin-RevId: 813914013
2025-10-01 14:27:57 -07:00
hai007 2e0e6e13d5 ...text exposed to open source public git repo
PiperOrigin-RevId: 813775838
2025-10-01 09:04:01 -07:00
hai007 a80e4be352 Automated Code Change
PiperOrigin-RevId: 813575740
2025-09-30 21:59:13 -07:00
Francis Tsui a9997d0dc9 Make ShareTarget.device_id required.
PiperOrigin-RevId: 813508135
2025-09-30 18:05:55 -07:00
Guogang Li c2b1ceb192 Check Wi-Fi access before enumerating interfaces.
PiperOrigin-RevId: 813470707
2025-09-30 16:17:33 -07:00
Anay Wadhera c957099ca0 Latest sync into repo with fixes
PiperOrigin-RevId: 813321071
2025-09-30 10:17:58 -07:00
Guogang Li 04f9204855 Update medium log.
PiperOrigin-RevId: 813305935
2025-09-30 09:41:22 -07:00
hai007 4fc7c4f93c Automated Code Change
PiperOrigin-RevId: 813120005
2025-09-30 00:09:32 -07:00
Francis Tsui 0f207eee97 Mark all targets lost when all foreground send surfaces are unregistered.
PiperOrigin-RevId: 812966823
2025-09-29 15:30:48 -07:00
Francis Tsui 361f45f5df More cleanup of OutgoingTargetsManager.
PiperOrigin-RevId: 812032769
2025-09-26 18:35:38 -07:00
Francis Tsui 6922eea95f Cleanup OutgoingTargetsManager.
PiperOrigin-RevId: 811928178
2025-09-26 13:09:08 -07:00
hai007 482d7f773d ...text exposed to open source public git repo
PiperOrigin-RevId: 811556503
2025-09-25 17:04:33 -07:00
hai007 fd30f45530 Remove the prefix for the generalization.
PiperOrigin-RevId: 811432704
2025-09-25 11:32:44 -07:00
Guogang Li 799027bdc9 Improve Hotspot connection retry logic.
PiperOrigin-RevId: 811370302
2025-09-25 09:01:43 -07:00
Guogang Li 5fbef9e11e Remove BLE V1 codes
PiperOrigin-RevId: 811369802
2025-09-25 08:56:51 -07:00
Francis Tsui 72088b7fe2 Remove Timer::FireNow.
PiperOrigin-RevId: 811123106
2025-09-24 18:44:41 -07:00
Francis Tsui eb3ae063f5 Move OutgoingTargetsManager to separate files.
PiperOrigin-RevId: 811122178
2025-09-24 18:40:14 -07:00
Francis Tsui 3786a3784f Refactor outgoing share targets management into separate class.
PiperOrigin-RevId: 811071669
2025-09-24 16:00:32 -07:00
hai007 88a0bf0385 ...text exposed to open source public git repo
PiperOrigin-RevId: 811057024
2025-09-24 15:22:26 -07:00
Edwin Wu d429a8e42d [NC Apple coverage] Add unit tests for GNCMBleConnection.
PiperOrigin-RevId: 810761287
2025-09-24 00:53:29 -07:00
Edwin Wu 19dc77a78f Fix threading issues in GNCTimerTest.
PiperOrigin-RevId: 810693891
2025-09-23 20:57:23 -07:00
Edwin Wu 56148e3b86 [NC Apple coverage] Add tests for GNCMConnectionHandlers.
PiperOrigin-RevId: 810655020
2025-09-23 18:24:47 -07:00
Francis Tsui 5911d53352 Reset endpointUD after login and logout.
PiperOrigin-RevId: 810648551
2025-09-23 18:00:51 -07:00
Francis Tsui 6d9122c4eb Reuse the same wifi lan listening port number if endpoint ID stays the same.
PiperOrigin-RevId: 810534040
2025-09-23 12:16:23 -07:00
Francis Tsui 6f92e238b0 Refactor P2pCLusterPcpHandler and WifiLan.
PiperOrigin-RevId: 810525937
2025-09-23 11:56:05 -07:00
Guogang Li f98241826a Allow to pass event logger in C wrapper
PiperOrigin-RevId: 810518555
2025-09-23 11:40:27 -07:00
Francis Tsui a43adfb93c Stop setting IPAddress field in NsdServiceInfo on advertising.
PiperOrigin-RevId: 810516970
2025-09-23 11:35:20 -07:00
Francis Tsui d4c86c83c1 Start scheduled task to call GetAccountInfo.
PiperOrigin-RevId: 809234366
2025-09-19 16:33:27 -07:00
Francis Tsui 47a84ca925 Removing logging of __func__ in lamdas.
PiperOrigin-RevId: 809173259
2025-09-19 13:53:13 -07:00
Francis Tsui 358557342c Do not start CertificateManager scheduled tasks if user not logged in.
PiperOrigin-RevId: 808831574
2025-09-18 19:17:07 -07:00
Francis Tsui e3e3822610 Log advanced protection state in SendAttachement log message.
PiperOrigin-RevId: 808750701
2025-09-18 15:02:45 -07:00
Nick Bourdakos d6da1706c9 Update flags
PiperOrigin-RevId: 808693428
2025-09-18 12:39:34 -07:00
Francis Tsui ff1b50f1fe Add fields to SendAttachmentsStart to track whether advanced protection is enabled for the transfer.
PiperOrigin-RevId: 808671647
2025-09-18 11:44:47 -07:00
Francis Tsui d4503955fe Add preference value to track is advanced protection is enabled.
PiperOrigin-RevId: 808651443
2025-09-18 10:57:39 -07:00