Francis Tsui
703c0fd2b5
Remove std::filesystem from third_party/nearby.
...
PiperOrigin-RevId: 764953786
2025-05-29 17:42:05 -07:00
Francis Tsui
09cdc14fb6
Fix files.cc.
...
PiperOrigin-RevId: 764926334
2025-05-29 16:17:09 -07:00
Francis Tsui
96a274a58f
Ban use of std::filesystem from nearby/sharing.
...
PiperOrigin-RevId: 762119139
2025-05-22 14:09:49 -07:00
Guogang Li
e822493662
Fixed file issue when user name includes unicode
...
PiperOrigin-RevId: 761710897
2025-05-21 16:22:02 -07:00
hai007
190bb141cc
Implement AWDL in connection layer (part 1)
...
PiperOrigin-RevId: 742925127
2025-04-01 19:11:20 -07:00
Francis Tsui
7a02d2f888
Fix folder transfer.
...
PiperOrigin-RevId: 698044680
2024-11-19 09:26:49 -08:00
Eiden Kim
25d4aca219
Update wstring converter
...
PiperOrigin-RevId: 682112846
2024-10-03 18:32:59 -07:00
Guogang Li
47f2dfec28
Removed platform types dependency from windows platform codes
...
PiperOrigin-RevId: 676447748
2024-09-19 09:37:29 -07:00
Guogang Li
f8669cf16d
Clean up logging implementations
...
PiperOrigin-RevId: 670714192
2024-09-03 14:48:52 -07:00
Francis Tsui
1ee946429b
Fix CreateAtomic* on Windows platform.
...
PiperOrigin-RevId: 658667651
2024-08-01 22:35:36 -07:00
Francis Tsui
f2d591e045
Split test targets that can run on windows.
...
PiperOrigin-RevId: 658619600
2024-08-01 19:13:47 -07:00
hai007
b9a4d98e25
Add WebRtcMedium implementation for Windows.
...
PiperOrigin-RevId: 531631988
2023-05-12 16:29:40 -07:00
Nick Bourdakos
8886b99dde
Refactor the preferences repository to be a Windows implementation detail of the preferences manager
...
PiperOrigin-RevId: 531086202
2023-05-10 21:26:32 -07:00
Nick Bourdakos
182ebad725
Use push and pop to add back the CreateMutex Windows macro to avoid issues in Windows app code.
...
PiperOrigin-RevId: 530668276
2023-05-09 11:36:06 -07:00
Chun Zhang
2e7f7a7d90
Migrate PreferencesManager from location/nearby to third_party/nearby
...
PiperOrigin-RevId: 524900136
2023-04-17 11:23:01 -07:00
Guogang Li
8a66bff097
Made observer list thread safe
...
PiperOrigin-RevId: 520713657
2023-03-30 12:36:11 -07:00
hai007
d2965024ca
Move app data from %PROGRAMDATA% to %LOCALAPPDATA%
...
PiperOrigin-RevId: 513355549
2023-03-01 15:22:23 -08:00
hai007
96327865cd
Move the file settings_file.json location to C:\ProgramData\Google\Nearby\Connections
...
PiperOrigin-RevId: 512198457
2023-02-24 17:11:53 -08:00
Qin Wang
a0692e6306
Migrate device_info from location/nearby to third_party/nearby
...
PiperOrigin-RevId: 504935151
2023-01-26 14:01:11 -08:00
Eiden Kim
26c752dac5
Fix folder transfer with non-English folders.
...
PiperOrigin-RevId: 503235989
2023-01-19 12:33:14 -08:00
Qin Wang
f94aa7548b
Migrate Timer from location/nearby to third_party/nearby
...
PiperOrigin-RevId: 501928835
2023-01-13 13:44:17 -08:00
hai007
d9f113e6e1
Disable WEB_RTC for Windows Platform
...
PiperOrigin-RevId: 501346561
2023-01-11 12:19:53 -08:00
Suet-Fei Li
084f7ebd88
Remove location namespace in third_party/nearby.
...
PiperOrigin-RevId: 500023196
2023-01-06 02:53:57 -08:00
hai007
88e350e5d2
Integrate network related part which both nearby sharing and fastpair are adopted.
...
Details can be seen in the `Integrate reusable internal components into third_party` part of `server access design doc` (go/fast_pair_server_data_access)
PiperOrigin-RevId: 498208011
2022-12-28 10:28:32 -08:00
Guogang Li
9c9439f4b1
Refactor the implementation of scheduled executor on Windows
...
PiperOrigin-RevId: 494261976
2022-12-09 14:20:53 -08:00
Aaron Yu
49af1a96b6
Add SetCustomSavePath API to Nearby Connections
...
PiperOrigin-RevId: 492563503
2022-12-02 14:38:55 -08:00
John Carroll
180b76cf84
Split file path processing off into it's own static class and implement validation.
...
PiperOrigin-RevId: 485890871
2022-11-03 09:18:34 -07:00
Suet-Fei Li
b6b692b0ea
WIFI Direct implementation (1)
...
Part 1: Implement internal common code
Add implementation/g3 skeleton code for testing coverage.
PiperOrigin-RevId: 485067018
2022-10-31 09:14:09 -07:00
Guogang Li
d8f64233f5
Fixed the issue to handle file name in UTF8
...
PiperOrigin-RevId: 482535121
2022-10-20 10:47:04 -07:00
John Carroll
5cc1e369d2
Returns the correct object type for CreateInputFile and CreateOutputFile.
...
PiperOrigin-RevId: 482042035
2022-10-18 15:48:25 -07:00
John Carroll
646c3e5020
Move the increment rename tag (x) from before the first dot to before the last dot.
...
PiperOrigin-RevId: 477849732
2022-09-29 16:26:36 -07:00
Guogang Li
086ad175a8
Fixed the issue to transfer file name in utf8
...
PiperOrigin-RevId: 476959117
2022-09-26 12:17:17 -07:00
John Carroll
55c4714b99
Cleanup the code. Change inputs on ImplementationPlatform::GetDownloadPath from std::string& to absl::string_view.
...
PiperOrigin-RevId: 472770249
2022-09-07 11:22:24 -07:00
jfcarroll
d09223d435
Prevent escaping the users Downloads folder by removing all occurances of /.. from the path passed in.
...
PiperOrigin-RevId: 465450615
2022-08-04 18:13:29 -07:00
jfcarroll
778c77eacd
Persist the original radio name, and restore it on app start if the radio name is our radio name.
...
PiperOrigin-RevId: 464148898
2022-07-29 13:43:35 -07:00
jfcarroll
bd9d01ec29
Fix for outgoing file names being truncated, and renaming input files should not occur, only output files.
...
PiperOrigin-RevId: 457857046
2022-06-28 17:41:29 -07:00
jfcarroll
87c76ea235
The file was overwritten when transferring a file that already existed in the downloads folder. With this change we now add " (x)", where x is an incrementing number, starting at 1, using the next non-existing number, to the file name, just before the first dot, or at the end if no dot. This has been applied to the GetDownloadPath method in the platform api.
...
PiperOrigin-RevId: 457530287
2022-06-27 11:44:15 -07:00
hai007
500f67c85e
Add Wifi Medium to query WIFI interface capability and information
...
PiperOrigin-RevId: 451233512
2022-05-26 13:40:14 -07:00
aaronyujiaze
48a91eec73
Add BLE V1 windows platform implementation
...
This CL implements the BLE V1 Medium and its corresponding unit tests:
- Start/Stop Advertising
- Start/Stop Scanning
- Receive BLE Advertisement callbacks handler
- BLE Advertisement Publisher/Watcher status callbacks handler
PiperOrigin-RevId: 449824666
2022-05-19 13:48:56 -07:00
aaronyujiaze
6b88d326df
Add BLE V2 windows platform implementation (Phase 1)
...
This CL implements the scanning and advertising of Nearby BLE Medium Fast Advertisement with hardcoded advertisement data
PiperOrigin-RevId: 446806137
2022-05-05 13:45:35 -07:00
hai007
93f203dc0b
WIFI Hotspot implementation (3)
...
Part 3: WIFI Hotspot platform code for Windows
PiperOrigin-RevId: 441826092
2022-04-14 12:31:07 -07:00
hai007
43a165e418
WIFI Hotspot implementation (1)
...
Part 1: Internal common code
PiperOrigin-RevId: 440437253
2022-04-08 13:18:47 -07:00
jfcarroll
517d77f5aa
This adds parent path and file name to the Payload constructor. This will affect chrome.
...
PiperOrigin-RevId: 435223740
2022-03-16 19:18:13 -07:00
jfcarroll
9abc9a59b9
Combine InputFile and OutputFile into a single class.
...
PiperOrigin-RevId: 426172033
2022-02-03 09:57:50 -08:00
hais
f5fcd35ced
nearby sdk refactor
...
PiperOrigin-RevId: 425434260
2022-02-02 11:56:39 -08:00