-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
P2p merge #59
Merged
P2p merge #59
Changes from 64 commits
Commits
Show all changes
100 commits
Select commit
Hold shift + click to select a range
52374b3
Handle device search error
Rkareko 33c2a65
Handle device connecting error
Rkareko a8f4d47
Close wifi direct connection when exiting P2P screen
Rkareko b7cd326
Show error when receiving basic device details fails
Rkareko d53b27e
Fix pairing issue after location permission request
ekigamba 347a0a4
Disconnect from wifi-direct appropriately
ekigamba c3d9f8d
Initiate sending of device details when pairing is successful
Rkareko ecb9640
Update unit tests
Rkareko cc352d6
Add bottom sheet screen tests
Rkareko 0805dc2
Handle retrieval of current device details
Rkareko 324311e
Fix P2P stuck after pairing
ekigamba 98cbfda
Restart the P2P view after an exception during sending
ekigamba e5512f1
Code cleanup
ekigamba a0ada1d
Remove: Allow importing p2p into fhircore
ekigamba 032ca6a
Merge remote-tracking branch 'origin/30-handle-WifiDirectDataSharingS…
ekigamba 3a2783e
Refactor logic for retrieving current device info
Rkareko 9c5f7e0
Handle socket connection errors when connection breaks
Rkareko d96b5ac
Fix failling test
Rkareko 0152167
Merge remote-tracking branch 'origin/30-handle-WifiDirectDataSharingS…
ekigamba c715ceb
handle exception thrown when writing data
Rkareko ce506b9
Return to default P2P screen when bottom sheet dialog is closed
Rkareko 769fefe
Fix merge issue
ekigamba 3c65546
Merge remote-tracking branch 'origin/30-handle-WifiDirectDataSharingS…
ekigamba 3025d23
Handle socket exceptions and restart the activity
ekigamba d199779
Code cleanup and add logging for records sent
ekigamba 9d88338
Close server socket when closeconnections is called
Rkareko 4e8f3e0
Improve dao to use offsets, limit and >= to avoid skipping records
ekigamba 01ab5b0
Fix received record count message
ekigamba 5b787cb
Ellipsize long device names
Rkareko 0e02a87
Update sample app dao method signatures
ekigamba f77c432
Handle of socket exception correctly when p2p is cancelled
ekigamba 1a07d93
Handle null group owner address
ekigamba c362afd
Handle socket connection exceptions where send or receive is called
Rkareko 5f0841d
Update your to handle instances where data is upto date
Rkareko 1c9ff45
Update bottom sheet header for receiver
Rkareko f044934
Disconect wifi-p2p when there are errors during transfer
Rkareko 71451d9
Merge branch 'p2p-merge' of github.com:opensrp/p2p into 1960-sync-com…
Rkareko fefcd4b
Updat your to show error when connection is broken
Rkareko c38811c
Merge pull request #60 from opensrp/1960-sync-complete-ui-updates
Rkareko 4e74296
Don't display device list when devices fail to pair
Rkareko fc0427c
Set p2p pairing timeout and callback when p2p pairing is successful
ekigamba ec8c704
Merge branch 'issue/fhircore/1960/p2p-bug-fixes/kigamba' into p2p-merge
ekigamba b6b4ca8
Updated pairing text depending on state
Rkareko 7661a9a
Handle instances where received history is null
Rkareko 40927a0
Close existing wifi p2p connections before scanning starts
Rkareko a467268
Fix socket address in use
ekigamba efc7209
Merge changes from p2p-merge
Rkareko 1c1d6c6
Handle diconnection of wifi direct
Rkareko 0c7f424
Fix sender device not sending
ekigamba f3e1fc2
Init channels and peer discovery after confirming successfull disconn…
Rkareko dcd39a8
Merge branch '1960-close-existing-wifi-p2p-connections' of github.com…
Rkareko 63ec865
Bump up version
Rkareko fc0c38e
Merge branch 'p2p-merge' of github.com:opensrp/p2p into 1960-close-ex…
Rkareko 451e035
Merge pull request #61 from opensrp/1960-close-existing-wifi-p2p-conn…
Rkareko 355ae30
Allow cleaning of activity context P2PLibrary#clean
ekigamba 6e1cc2d
Clean up P2PViewModel logging
Rkareko 2c3d406
Close wifi direct connection and stop searching when bottom sheet is …
Rkareko 55ee5cb
Close socket and streams when disconnect fails
Rkareko f51ed5e
Fix build errors in tests
Rkareko e77e266
Merge branch 'p2p-merge' into 1960-disconnect-wifi-on-closing-bottom-…
Rkareko 265c8fa
Merge pull request #62 from opensrp/1960-disconnect-wifi-on-closing-b…
Rkareko eb6e4bc
Fix failing tests
Rkareko be06216
Run spotlessApply
Rkareko aa1adf6
Update WifiDirectDataSharingStrategy tests
Rkareko 66fd871
Update unit tests
Rkareko b9c24a0
Merge changes from p2p-merge
Rkareko 5e2901d
Run spotlessApply
Rkareko 055291c
Bump up version
Rkareko 5e1be48
Merge pull request #64 from opensrp/1960-spotless-apply
Rkareko b5a8096
Null check for current device before dsconnecting
Rkareko 5a50129
Add comments
Rkareko e548e9d
Merge pull request #65 from opensrp/1960-location-permission-bug
Rkareko 5189640
Bump up version
Rkareko d89bd08
Merge branch 'main' of github.com:opensrp/p2p into p2p-merge
Rkareko 2aff836
Run spotlessApply
Rkareko 0a4d8e8
Code cleanup
ekigamba 5760e87
Fix crash when sending is disrupted
ekigamba bf25844
Run spotlessApply
Rkareko a4762d1
Update calculation of batch offset
Rkareko 763d34c
Merge branch 'p2p-merge' of github.com:opensrp/p2p into p2p-merge
Rkareko 6d088d5
Bump up version
Rkareko 4159cad
Do not show list of devices when handling wifi_p2p_connection_action
Rkareko f4805ac
Bump up version
Rkareko 0eeb9cc
Update unit tests
Rkareko 77b569e
Update unit tests
Rkareko 3b51acf
Remove call for jacocoTestReport task
Rkareko f3af38e
Update deprecated methords
Rkareko 9b0a549
Add step to upload test artifacts
Rkareko 303fe3b
Revert set up JDK checkout to v2
Rkareko f0298ee
Remove unneeded hyphen
Rkareko df80bb2
Run only compose tests
Rkareko b7d38bc
Explicitly call jacocoTestReport
Rkareko c17fa44
Explicitly call connectedDebugAndroidTest task
Rkareko 192bb2e
Disable androidx test orchestrator
Rkareko 793a996
Enable running of unit tests
Rkareko a0926ad
Remove build script used to run p2p-lib module directly inside FHIR Core
Rkareko 021b3c0
Code clean up
Rkareko f93e1c0
Code clean up
Rkareko 2e1c552
Update unit tests
Rkareko 2c3b4af
Remove already handled TODOs
Rkareko File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this. This is only required when using the p2p-lib module directly inside FHIR Core