summaryrefslogtreecommitdiff
path: root/service-t/src
Commit message (Collapse)AuthorAgeFilesLines
* Sendcallback when setting eth interface upJames Mattis2022-08-011-2/+1
| | | | | | | | | | | | | Fix so callbacks are sent when changing the interface link state for an ethernet interface from down -> up. Bug: 235605892 Test: atest FrameworksNetTests :com.android.server.ethernet.EthernetNetworkFactoryTest Change-Id: If13254d4882aa2f0021f6443f31ef173b3867727 (cherry picked from commit a199735a88ae703c5d24cbad1540a1694811466a) Merged-In: If13254d4882aa2f0021f6443f31ef173b3867727
* Merge "Disable comparison in user release builds" into tm-devRemi NGUYEN VAN2022-06-211-3/+1
|\
| * Disable comparison in user release buildsJunyu Lai2022-06-211-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL disable the comparison mechanism introduced in previous beta releases to stop receiving log.wtf signals from beta users. This CL only affects logging on user release builds. Ignore-AOSP-First: Parent CLs are not in aosp yet Test: 1. NetworkStatsServiceTest 2. manual test with script Bug: 233752318 Change-Id: I7047106b1019c29460d6633b148f501ffa62f139
* | Merge "Increase fallbacks counter when comparison result is different" into ↵Junyu Lai2022-06-211-0/+2
|\ \ | | | | | | | | | tm-dev
| * | Increase fallbacks counter when comparison result is differentJunyu Lai2022-06-211-0/+2
| |/ | | | | | | | | | | | | | | | | | | | | | | | | In current code, the fallbacks counter does not increase when comparison result is different. This will not impact how we print log.wtf but will impact the dry run process for debugging in next every later boots. Ignore-AOSP-First: Parent CLs are not in aosp yet Test: 1. NetworkStatsServiceTest 2. manual test with script Bug: 233752318 Change-Id: Ib152cec2ee0f21d59ccfe4669b31f26b3db71a97
* | Send callback if ip provisioning is interruptedJames Mattis2022-06-171-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A callback is expected to be sent on either success or failure when the EthernetManager#updateConfiguration API is called. Currently, if this API is called for an active interface and marked restricted, after the IP provisioning process is started in EthernetNetworkFactory, the interface will then processe all the onNetworkUneeded requests for the newly restricted network. Assuming no apps have requests for this particular network or restricted networks, the network will be stopped once the outstanding network request count reaches zero. If provisioning hasn't completed yet for the original updateConfiguration call, the original callback will be cleared out on stop and will never notify the original caller of EthernetManager#updateConfiguration whose call was aborted. Bug: 235907515 Test: eth unit and cts tests Change-Id: I91359272c07e090039049370ba9f438546fce3ad (cherry picked from commit 265eba982d1ba0ac9fb3d4c21ad6adc36eab049c) Merged-In: I91359272c07e090039049370ba9f438546fce3ad
* | Add wipeOnError flag to NetworkStatsRecorderAaron Huang2022-06-172-14/+29
|/ | | | | | | | | | | | | | | If reading data happens exception while doing data migration, the file will be deleted by legacy recorders. This would cause legacy persistent data being lost and cannot be retrieved by any method. To avoid the files being deleted, add a wipeOnError flag to recorder which indicates this recorder will wipe on error or not . If the flag is set to true then deletes all files when it throws, otherwise keeps all files. Ignore-AOSP-First: urgent fix and will cherry-pick immediately after. Bug: 233828210 Test: FrameworksNetTests:NetworkStatsRecorderTest Change-Id: Id7a3d8bebf8a00d814f9e84bf4c10d927e6ff749
* Disable fallback when comparison result is differentJunyu Lai2022-06-151-59/+117
| | | | | | | | | | | | | | | | | | | | Follow-up from ag/18452103, where we add fallback code that runs with the importer to make sure they are identical. When the result is different, we'll take the result from fallback code to minimize the rollout risk. However, since the OEMs might change the importer implementation. The fallback code would no longer valid and that makes OEM modified code not working. Hence the fallback code must be disabled before release. This change keeps comparison enabled for all cases to keep getting signals from beta users. And will switch it to read overlay value for OEM to debug their solution. Ignore-AOSP-First: Parent CLs are not in aosp yet Test: 1. NetworkStatsServiceTest 2. Test all datasets with script Bug: 233752318 Change-Id: I869ff05297149bde6e13a204bd8c5a4fece75de0
* ethernet: broadcast state change for server interfacesPatrick Rohr2022-06-031-6/+25
| | | | | | | | | | | | Also update the test to ensure mFactory.hasInterface is mocked to match mFactory.getInterfaceState: previously it would be called by the factory in the mocked getInterfaceState, but the new code calls it directly. Bug: 171872016 Test: atest EthernetManagerTest Change-Id: I9ac959f181c88a7992991923b98a836f2833fa88 (cherry picked from commit f33f276b291d8b24b680a02f64404fd1c94186ad) Merged-In: I9ac959f181c88a7992991923b98a836f2833fa88
* Hold wifi and mobile interfaces since boot in NetworkStatsServiceAaron Huang2022-06-031-15/+56
| | | | | | | | | | | | | | | In current design, the interface will be removed from the list if the network disconnected which will cause getUidStatsForTransport() returns unexpected snapshot to caller since the list is empty. This change also remove interface name from all entries before the method returns the result. Ignore-AOSP-First: non-AOSP CL is included in the same topic Bug: 231514741 Test: FrameworksNetTests manual test Change-Id: Ie60829a65d0d9b5b63ad353695a820c0586e3665
* Merge changes from topic ↵TreeHugger Robot2022-06-021-19/+47
|\ | | | | | | | | | | | | | | "cherrypicker-L15200000954882986:N47600001270136565" into tm-dev * changes: Temporarily disable NsdService unit tests Fix service resolve on tethering downstreams
| * Fix service resolve on tethering downstreamsRemi NGUYEN VAN2022-06-011-19/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tethering downstreams do not have NetworkAgents, and although they have a netid of 99, Networks with netId 99 are not usable by apps for most connectivity APIs. Recent refactoring in NsdService adds the Network of a found service into its NsdServiceInfo, and uses that network to resolve the service. In that case the Network has netId 99 and resolving the service fails. Avoid that problem by: - Keeping the Network field null when a service is found on a tethering downstream; this avoids giving apps a confusing and unusable Network with netId 99 - Using the interface index found during discovery to resolve the service, if the app uses the NsdServiceInfo that was obtained from discovery to resolve. If not, all interfaces will be used to resolve, as per legacy APIs. Bug: 233979892 Test: atest NsdServiceTest Also manual test with 2 devices connected via hotspot Change-Id: Idd176153b67ccbd1d4f1b1fd66dafaa2f3a9e27a (cherry picked from commit 1a8ee102d3cc9829b669b09685b17ea92815b671) Merged-In: Idd176153b67ccbd1d4f1b1fd66dafaa2f3a9e27a
* | Merge changes from topic "increment-crash" into tm-devJunyu Lai2022-06-011-2/+2
|\ \ | |/ |/| | | | | | | * changes: Fix get summary does not include the latest bucket Add unit test for MultipathPolicyTracker
| * Fix get summary does not include the latest bucketJunyu Lai2022-06-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In internalGetSummaryForNetwork, the history object will not include the latest bucket because of the logic in NetworkStatsHistory#recordHistory would only include buckets that atomically occur in the inclusive time range. This makes querySummaryForDevice callers who are also sensitive to the latest bucket fails. This CL revert the behavior back to S, in T this is temporarily changed after aosp/1937268. Also, for test purpose, this CL change System.currentTimeMillis to use mClock when querying. Ignore-AOSP-First: Urgent fix Test: NetworkStatsServiceTest#testGetLatestSummary Bug: 233733267 Change-Id: I55e2a5d953622b68da36a9b8d3e57c88d57543b0
* | Merge changes from topic "historybuildertest" into tm-devJunyu Lai2022-05-271-11/+24
|\ \ | | | | | | | | | | | | | | | | | | * changes: Disable NetworkStatsHistory builder test in tm-dev Return sorted NetworkStatsHistory Use fallback method if the importer throws
| * | Use fallback method if the importer throwsJunyu Lai2022-05-261-11/+24
| |/ | | | | | | | | | | | | | | | | | | This prevent users from seeing empty data usage if the importer throws. Ignore-AOSP-First: in a topic with internal-only changes Test: Manual Bug: 233825704 Change-Id: Iab27e8eb6f2ed406f932507100aaf74abb997c83
* | Move EthernetNetworkFactory to using the NetworkProvider APIPatrick Rohr2022-05-251-106/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL makes EthernetNetworkFactory inherit from NetworkProvider rather than NetworkFactory. The name of the class is purposefully unchanged to make the code review easier (it will be changed to EthernetNetworkProvider in a follow up). As part of the conversion, NetworkInterfaceState now registers a NetworkOffer when the link comes up and unregisters it when the link goes down. It updates the existing offer when capabilities change (by calling registerNetworkOffer with an already registered NetworkOfferCallback). This change should fix existing refCount issues. When a NetworkOffer is first registered, it receives callbacks for all existing requests. This is the main problem with the NetworkFactory implementation where only one NetworkOffer is registered when the factory is first created; so when interfaces come up, they do not receive callbacks for existing requests. Test: atest EthernetNetworkTest Bug: 197548738 Change-Id: I5e8e4673d2ed04bc1a0c8d232a8772edfff65b5d Merged-In: I5e8e4673d2ed04bc1a0c8d232a8772edfff65b5d
* | Add NetworkOfferCallback to NetworkInterfaceStatePatrick Rohr2022-05-251-0/+27
| | | | | | | | | | | | | | | | | | The offer is currently not registered, so this won't do anything yet. Test: atest EthernetServiceTests Bug: 197548738 Change-Id: Ic0923708619019bb339d1343ff9027a6a670d11c Merged-In: Ic0923708619019bb339d1343ff9027a6a670d11c
* | Change NetworkInterfaceState to hold NetworkProvider instancePatrick Rohr2022-05-251-5/+5
|/ | | | | | | | | This is done in preparation of adding a NetworkProvider. Bug: 197548738 Test: atest EthernetServiceTests Change-Id: I143ea184f446435064febe3605bb66a6871aaefc Merged-In: I143ea184f446435064febe3605bb66a6871aaefc
* Merge "Fix crash when decrementing data usage request" into tm-devTreeHugger Robot2022-05-241-1/+1
|\
| * Fix crash when decrementing data usage requestJunyu Lai2022-05-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | When unregistering, if the caller process is dead. The system can unregsiter for the caller. But the request decrement should be counted onto the caller uid instead of system uid. Ignore-AOSP-First: Urgent fix Test: NetworkStatsObserversTest#testUnregister_knownRequest_invalidUid_doesNotUnregister Bug: 233580307 Change-Id: I85aee8f395739929bc7086883ace81ac1ecd0730
* | Address comment at ag/18491259 and ag/18486388Junyu Lai2022-05-251-30/+15
| | | | | | | | | | | | | | Ignore-AOSP-First: in a topic with internal-only changes Test: TH Bug: 230289468 Change-Id: Id91fabb47b542d8526d6aa787b5947238c3934fb
* | Run comparison code if the data migration finished with fallbackJunyu Lai2022-05-231-3/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the data migration process runs finished with fallback, that means we might get some unknown data that cannot be handled by importing code. If that happens, the CL runs the problematic code whenever device boot-up but doesn't do the actual import process. This improves the debuggability since the current log disappears after device reboot, which will show up in every boot-up log after this CL. Ignore-AOSP-First: in a topic with internal-only changes Test: manual Bug: 230289468 Change-Id: I6d117032d47f21c7cb49bbab916668058060f2f8
* | Persisting status int on the device if fallback happenedJunyu Lai2022-05-231-13/+32
|/ | | | | | | | | | This CL also stop from incresing "successes" counter if the importer finishes with fallback. Ignore-AOSP-First: in a topic with internal-only changes Test: manual Bug: 230289468 Change-Id: I88fce1b2d0dea3772a8b31df8f8fa93bf13bffad
* Move ipconfig file inside apex data directoryPatrick Rohr2022-05-201-16/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to support rollbacks, the ethernet ipconfig file needs to be written to the data apex's data directory. We still need to support reading from the legacy location to be backwards compatible. If the apex file path already exists, then read the IP configuration from there directly, otherwise, check if the legacy file path exists, if yes, read the legacy IP configuration and copy it to the new apex file path. Support for default IpConfiguration is also being removed in this CL. The default IpConfiguration (configuration entry for interface "0") was a way to transition from supporting a single interface to supporting multiple interfaces and was introduced in P. Every device that has used such a configuration and has connected to an ethernet network since upgrading to P+ has already removed the "0" config and has assigned it to the first interface (probably "eth0"). There has never been an API to set this, but if someone wanted to install a default IpConfiguration, they could just configure "eth0" instead. Bug: 224919694 Test: atest EthernetConfigStoreTest --iterations Test: manually test - adb push <fake ipconfig.txt> /data/misc/ethernet/ - adb reboot - read the IP config from legacy path and the same config file is created in the apex file path - adb reboot - read the IP config from the apex file path directly Change-Id: Ifb82a5d7fa13d17ea8fd3a42a19cd020cb95e26a (cherry picked from commit 47641d75d991a26e8616a239b717021810dee798) Merged-In: Ifb82a5d7fa13d17ea8fd3a42a19cd020cb95e26a
* Merge changes from topic "stats-migration" into tm-devJunyu Lai2022-05-193-54/+564
|\ | | | | | | | | | | | | | | | | * changes: Skip PersistentIntTest on S- device Don't clobber existing history entries. Ensure NetworkStats migrated snapshot is identical [MS82.1] Support network stats data migration process Add a PersistentInt class.
| * Ensure NetworkStats migrated snapshot is identicalRemi NGUYEN VAN2022-05-181-12/+157
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Read migration snapshot both from the platform API and the legacy method, and Log.wtf if they are different. Use the legacy method data if they are. This ensures that using the migration API is a no-op, and that errors are reported (through Log.wtf) if it would not have been if used as-is. Ignore-AOSP-First: in a topic with internal-only changes Test: NetworkStatsServiceTest Bug: 230289468 Change-Id: I857ad18183d63d1aa16e89f89eb24009648720a2
| * [MS82.1] Support network stats data migration processJunyu Lai2022-05-182-49/+306
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This includes: 1. Provide NetworkStatsRecorder#importCollectionLocked to allow caller to write a NetworkStatsCollection object to a standalone file. 2. Do not clear the collection in NetworkStatsRecorder# CombiningRewriter, this is safe since pending set will still be cleared during forcePersistLocked. 3. Implement the migration process, including recovery and safety measures. Test: NetworkStatsServiceTest NetworkStatsCollectionTest Test: manual test with adb shell device_config put tethering \ netstats_store_files_in_apexdata true adb shell device_config put tethering \ netstats_import_legacy_target_attempts 1 Ignore-AOSP-First: in a topic with internal-only changes Bug: 230289468 Change-Id: Ic2002cbfd5a6b3c2226fa8dab22481f8ce656574
| * Add a PersistentInt class.Lorenzo Colitti2022-05-181-0/+108
| | | | | | | | | | | | | | | | | | | | This implements a simple integer written to disk backed by AtomicFile. Bug: 230289468 Test: new unit test Ignore-AOSP-First: in a topic with internal-only changes Change-Id: I1c73c8ac2429f92153cfba3b006b4374e75e65df
* | move netd maps and progs into /sys/fs/bpf/netd_shared/...Maciej Żenczykowski2022-05-192-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (out of current /sys/fs/bpf/net_shared/...) This will allow genfscon regexp changes in a followup selinux commit. Note that this has a hard dependency on system/bpf change 'bpfloader: add support for netd_shared and net_private subdirs' which also bumps bpfloader to v0.13. This was merged May 12, 2022 (into both aosp/master and tm-dev) and it is in Android T starting with Beta 3 release. This isn't really an issue since amusingly T Beta 2 is already incompatible with current mainline releases due to the snap reverting a previous required bpfloader system/bpf change: move net_shared bpf programs into net_shared subdirectory See: http://b/232050459#comment14 So this doesn't break T Beta1/2, since they already don't work, and Beta3 will work. Bug: 218408035 Test: TreeHugger Signed-off-by: Maciej Żenczykowski <maze@google.com> Change-Id: Id5f14d6e3f11cfe35d9d8a9496548a2bc4d022ec (cherry picked from commit 6d116d0f38196625d205e8c76a17b01b61fff246) Merged-In: Id5f14d6e3f11cfe35d9d8a9496548a2bc4d022ec
* | Fix the ethernet setting API bug.Xiao Ma2022-05-191-4/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | After turning off the ethernet settings via api, the ethernet service can still be started when plugging-in the cable. Improve the api by ignoring the upcoming interface unsolicited event listener callbacks and register new interface observer once the ethernet setting is enabled again. Bug: 231933028 Test: atest testListenEthernetStateChange_unsolicitedEventListener Change-Id: I1b1cb7d157f023fca82d75592168bd360a6fa6e1 (cherry picked from commit 94a00dfc649f5ddb630e6713a81421d0ecd00415) Merged-In: I1b1cb7d157f023fca82d75592168bd360a6fa6e1
* | Merge "Deal with non-ASCII characters on resolution info" into tm-devTreeHugger Robot2022-05-191-1/+30
|\ \
| * | Deal with non-ASCII characters on resolution infopaulhu2022-05-171-1/+30
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | The service name can include non-ASCII characters. So NsdService need to have specific handling for these non-ASCII characters that make resolution working properly. Note: The unescape() method is the same one that was used in S, but was removed by mistake. Bug: 230698801 Test: atest FrameworksNetTests CtsNetTestCases Change-Id: I42fc5618aa2d549ceae25f516ad17c78930ea41d (cherry picked from commit be186602f961768f3f2a237753c0f2cb8b4fdc2e) Merged-In: I42fc5618aa2d549ceae25f516ad17c78930ea41d
* | Merge "Limit data usage request per uid" into tm-devJunyu Lai2022-05-171-1/+11
|\ \ | |/ |/|
| * Limit data usage request per uidJunyu Lai2022-05-131-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | Currently, there is no limtation for an app to request data usage callback, which is dangerous if the app fire hundreds of thousands requests and potientially this might cause OOM if the apps don't free them. Test: atest NetworkStatsObserversTest#testRegister_limit Bug: 229103088 Change-Id: I8299f46fd47a82ec9b25ba2e0d3c95db5512c331 (cherry picked from commit f3c946278c83ab07ec18b5eb258a54865fc0993f) Merged-In: I8299f46fd47a82ec9b25ba2e0d3c95db5512c331
* | [MS81] Support remove history before cutoff timestampJunyu Lai2022-05-161-0/+67
|/ | | | | | | | | | | This is needed to ensure corrupted data can be clean up if the data migration process dones't go well. Test: NetworkStatsCollectionTest Bug: 197717846 Change-Id: Ic76ad6f3e96f03791b48988fb2622c9c647ffc7c (cherry picked from commit 306a00316cac03a0c61f995316c9c5682bec2a19) Merged-In: Ic76ad6f3e96f03791b48988fb2622c9c647ffc7c
* Merge changes from topic ↵TreeHugger Robot2022-05-131-30/+92
|\ | | | | | | | | | | | | | | "cherrypicker-L63700000954424743:N16900001262878041" into tm-dev * changes: Exclude PID for rate-limited Improve count of openSession callers in dumpsys
| * Exclude PID for rate-limitedAaron Huang2022-05-131-26/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rate-limited would include PID in current design, which means that an app can ignore the rate-limits by creating a process (a new PID) every time. Thus, maintain mOpenSessionCallsPerUid for rate-limits and OpenSessionKey for debugging. Also, there's no rate-limit for SYSTEM_UID so if the uid is SYSTEM_UID, the mLastStatsSessionPoll should not be updated. Otherwise, it may cause an app to be rate-limited to do a query after a system user polled. Test: adb shell dumpsys netstats and check the output Bug: 228081549 Change-Id: I69cc1f3990c9960347691256ed4cb500f9bb48b2 (cherry picked from commit 8d5907fc13bd6238a2eaa56c1d80488c42a2d564) Merged-In: I69cc1f3990c9960347691256ed4cb500f9bb48b2
| * Improve count of openSession callers in dumpsysAaron Huang2022-05-131-31/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, it's only uid=count in dumpsys, however, the call may also come from system but there is no such information in dumpsys. If the call came from system, it's hard to know who is the caller. So, this patch makes pid, uid and package as a key to record the count of the caller. The output will look like, Top openSession callers: {pid=1787,uid=1000,package=android}=26 {pid=2931,uid=1000,package=com.android.settings}=4 Test: adb shell dumpsys netstats and check the output Bug: 228081549 Change-Id: Id2dfdd4480aa5b1ece51e46de6efe30a46629811 (cherry picked from commit b87b5e5d0a4f08f58d85ff11d39a64e2c4e4646b) Merged-In: Id2dfdd4480aa5b1ece51e46de6efe30a46629811
* | Register service on the specified networkPaul Hu2022-05-111-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, NsdManager registers services on all interfaces when one network was specified in NsdServiceInfo. It's unexpected behavior. The service should be only advertised on specified network. Thus, correct the behavior on NsdService and add cts test to verify it. Bug: 220070737 Test: atest CtsNetTestCases:android.net.cts.NsdManagerTest Change-Id: Ief3bfa110bfa340c53edec561eb5376f6bd305e6 (cherry picked from commit 360a8e9e1b2c08c2bc598ea892ac671799a74535) Merged-In: Ief3bfa110bfa340c53edec561eb5376f6bd305e6
* | Limit usage requests dump countJunyu Lai2022-05-101-1/+3
| | | | | | | | | | | | | | | | Test: manual Bug: 229103088 Change-Id: Id913b34a3b48b10c66eb399b28ee8702e300f568 (cherry picked from commit b889d4705a8bb2fadb1c5f313f3d023c7af34a1a) Merged-In: Id913b34a3b48b10c66eb399b28ee8702e300f568
* | Improve logging for NetworkStatsObserversJunyu Lai2022-05-102-23/+50
|/ | | | | | | | | | | | | | | | | | | In order to have better logging to gather information about the callers. This change includes: 1. Add pid and package name into RequestInfo for better logging. 2. Print current observers in dumpsys section. 3. Enable register/unregister usage request logging by default. The log added in the dumpsys section looks like: Stats Observers: RequestInfo from pid/uid:2001/1000(android) for DataUsageRequest [...] accessLevel:3 ... Test: NetworkStatsObserversTest Bug: 229103088 Change-Id: Ide68776dc279610e8dee0efd924b59a1fac2b7b6 (cherry picked from commit c259e615e68aacc3bc47b729de03449b5798a1b4) Merged-In: Ide68776dc279610e8dee0efd924b59a1fac2b7b6
* adjust for new T bpfloader net_shared location am: 0736d7bd91 am: 96706b661fMaciej Żenczykowski2022-04-232-7/+6
|\ | | | | | | | | | | | | | | Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/2071008 Change-Id: Iba57cbfe6f3c41fc7c396098f0caa662d68b1e0e Ignore-AOSP-First: this is an automerge Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| * adjust for new T bpfloader net_shared locationMaciej Żenczykowski2022-04-232-7/+6
| | | | | | | | | | | | | | | | | | | | (this is safe because on pre-T none of these maps and programs are mainlined and thus safe to access from mainline code anyway) Test: TreeHugger, manual Bug: 218408035 Signed-off-by: Maciej Żenczykowski <maze@google.com> Change-Id: I23e565d665247f33e084978890a1ee8ffe0fe568
* | Merge "Remove the legacy ethernet config resource check." am: 59e5df01d2 am: ↵Treehugger Robot2022-04-212-61/+8
|\| | | | | | | | | | | | | | | | | 687f093ce2 Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/2062174 Change-Id: Ic78ff152560f1fd788eb0ef9c02eb6bd98a10901 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| * Remove the legacy ethernet config resource check.Xiao Ma2022-04-212-61/+8
| | | | | | | | | | | | | | | | | | | | | | The legacy ethernet config resource check isn't required any more when the legacy resource cleanup in outside callers finishes, just read the resource config from Connectivity module, but the value still can be overlaid with pre-built RRO. Bug: 214348333 Test: atest FrameworksNetTests Change-Id: I86f6229343f9d48f0bd822e8086bdc880b81135f
* | Merge "Remove NativeDaemonConnector relevant files" am: 631c2387a6 am: ↵Paul Hu2022-04-125-1082/+0
|\| | | | | | | | | | | | | | | | | 4eaeac9baa Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/2059332 Change-Id: If12e2a9dff214da5541d4002b33d313898aa2b18 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| * Merge "Remove NativeDaemonConnector relevant files"Paul Hu2022-04-125-1082/+0
| |\
| | * Remove NativeDaemonConnector relevant filespaulhu2022-04-125-1082/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NsdService is using binder call to communicate with mdnsresponder, so there is no one to use NativeDaemonConnector now. Thus, remove NativeDaemonConnector relevant files. Bug: 209894875 Test: atest FrameworksNetTests Change-Id: Ic70d9417dc85c04c537e09d8f8586a762ac9a97b
| * | Merge "Remove InterruptedException from NsdService#create"Paul Hu2022-04-112-7/+3
| |\|