webrtc/sdk/android/native_unittests
Taylor Brandstetter 239ac8a4e2 Reland "Pass NetworkMonitorFactory through PeerConnectionFactory."
This is a reland of 003c9be817

Found some downstream code that relies on
NetworkMonitorFactory::SetFactory, so I'm adding those methods back
temporarily. BasicNetworkManager will fall back to the static factory
if the one passed into PeerConnectionFactory is null.

Original change's description:
> Pass NetworkMonitorFactory through PeerConnectionFactory.
>
> Previously the instance was set through a static method, which was
> really only done because it was difficult to add new
> PeerConnectionFactory construction arguments at the time.
>
> Now that we have PeerConnectionFactoryDependencies it's easy to clean
> this up.
>
> I'm doing this because I plan to add a NetworkMonitor implementation
> for iOS, and don't want to inherit this ugliness.
>
> Bug: webrtc:9883
> Change-Id: Id94dc061ab1c7186b81af8547393a6e336ff04c2
> Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/180241
> Reviewed-by: Harald Alvestrand <hta@webrtc.org>
> Reviewed-by: Sami Kalliomäki <sakal@webrtc.org>
> Commit-Queue: Taylor <deadbeef@webrtc.org>
> Cr-Commit-Position: refs/heads/master@{#31815}

TBR=hta@webrtc.org, sakal@webrtc.org

Bug: webrtc:9883
Change-Id: I2e817c423f21936f87532a9694eb9a0a1b70c212
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/180722
Reviewed-by: Taylor <deadbeef@webrtc.org>
Commit-Queue: Taylor <deadbeef@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#31824}
2020-08-01 00:36:27 +00:00
..
audio_device Migrate rtc_tools/, sdk/, and system_wrappers/ to webrtc::Mutex. 2020-07-10 08:02:05 +00:00
codecs Rename ..BitrateThresholds to ..BitrateLimits. 2019-07-03 14:50:46 +00:00
org/webrtc Fix errorprone issues preventing Chromium Roll. 2019-11-27 12:52:48 +00:00
peerconnection Reland "Pass NetworkMonitorFactory through PeerConnectionFactory." 2020-08-01 00:36:27 +00:00
stacktrace Migrate rtc_tools/, sdk/, and system_wrappers/ to webrtc::Mutex. 2020-07-10 08:02:05 +00:00
video Mass refactoring: Change JNI #includes to use full paths (webrtc/). 2019-06-26 08:23:14 +00:00
android_network_monitor_unittest.cc Add a field trial to use only the higher 64 bits to find network handle from an ipv6 address. 2019-11-05 20:27:50 +00:00
application_context_provider.cc Mass refactoring: Change JNI #includes to use full paths (webrtc/). 2019-06-26 08:23:14 +00:00
application_context_provider.h Use JavaAudioDeviceModule as default 2019-03-04 13:44:33 +00:00
DEPS Add unit tests for Android audio device module 2018-04-12 09:27:45 +00:00
java_types_unittest.cc Mass refactoring: Change JNI #includes to use full paths (webrtc/). 2019-06-26 08:23:14 +00:00
test_jni_onload.cc Implements JavaToNativeStringMap and adds tests for native API. 2018-02-09 10:34:44 +00:00