681570acb684559c6a7f090b31ecb9430457d02a |
|
05-Apr-2017 |
Hugo Benichi <hugobenichi@google.com> |
NsdService: minor cleanups Minor cleanups in switches of processMessage and handleNativeEvent. Test: no functional changes Bug: 33074219 (cherry picked from commit 23dba85fff01a9f51beea8ce811fc98b582f8e71) Merged-In: I9ad4ce812c0d2c02a671a7a871ad427e4ce29b4a Change-Id: Ic029cc9fa007d8c485f64f4afcbd4dc10da1ae29
/frameworks/base/services/core/java/com/android/server/NsdService.java
|
fb320cbdbbd10554cf6c926ee29f22f4a96010cb |
|
05-Apr-2017 |
Hugo Benichi <hugobenichi@google.com> |
Nsdmanager/NsdService: add logging This patch adds basic logging to NsdManager and NsdService, and improves the facilities for pretty printing the event ids defined in NsdManager. It also includes a few minor cleanups: - adding 'final' on effectively final instance variables of NsdManager and NsdService. - similarly, adding 'static' on effectively static class fields. - regrouping instance variables together. Test: no functional changes Bug: 33074219 (cherry picked from commit 2183ba9b5f8eb54c74cd198a7506b21319794e99) Merged-In: I360d539e73cc8e4b45d4e0d20b2e345455fdb10c Change-Id: Id917f3a2085d17f277850af36a2cf859e3614a0f
/frameworks/base/services/core/java/com/android/server/NsdService.java
|
fe9a53bc45fd0124a876dc0a49680aaf86641d3e |
|
31-Mar-2017 |
Jeff Sharkey <jsharkey@android.com> |
Consistent dump() permission checking. This change introduces new methods on DumpUtils that can check if the caller has DUMP and/or PACKAGE_USAGE_STATS access. It then moves all existing dump() methods to use these checks so that we emit consistent error messages. Test: cts-tradefed run commandAndExit cts-dev -m CtsSecurityTestCases -t android.security.cts.ServicePermissionsTest Bug: 32806790 Change-Id: Iaff6b9506818ee082b1e169c89ebe1001b3bfeca
/frameworks/base/services/core/java/com/android/server/NsdService.java
|
312c61edabaa5d84eb10617cb1272417cf2f7344 |
|
16-Mar-2016 |
Philip P. Moltmann <moltmann@google.com> |
Parse and validate txt records. Bug: 27696905 Change-Id: I9affcf02a51c92a2be1c2bfc5efbd09065e100bc
/frameworks/base/services/core/java/com/android/server/NsdService.java
|
12acbd7836e989150d73b04452d8ee300d54bcf6 |
|
02-Feb-2016 |
Joe Onorato <joeo@google.com> |
Turn down the logging a little bit. Change-Id: Ib6e0e6f3577afac3b9bfe9a9b1cce70fb16d9d04
/frameworks/base/services/core/java/com/android/server/NsdService.java
|
08c7116ab9cd04ad6dd3c04aa1017237e7f409ac |
|
28-Feb-2015 |
John Spurlock <jspurlock@google.com> |
Remove unused imports in frameworks/base. Change-Id: I031443de83f93eb57a98863001826671b18f3b17
/frameworks/base/services/core/java/com/android/server/NsdService.java
|
0f35cdd862fba23e9bcc5344403426ae74fec55c |
|
13-Sep-2014 |
Christopher Lane <lanechr@google.com> |
Handle null values in registerService Bug: 17491971 Change-Id: I0443a9accd86ab70510d16456a03912845718ca9
/frameworks/base/services/core/java/com/android/server/NsdService.java
|
ef12884da7c8844f8dd27cbc9c9980f685b73a2c |
|
04-Sep-2014 |
Sreeram Ramachandran <sreeram@google.com> |
Unescape strings properly in NsdService. NativeDaemonEvent.unescapeArgs() was improperly skipping the terminating quote in cases like "\\", where the char preceding the quote is a backslash, but the backslash itself is escaped, so the quote is indeed an unescaped terminator. unescapeArgs() doesn't unescape "\xxx" decimal escapes used by mDNS, so fix NsdService to do that sort of unescaping explicitly (which is only applicable when it receives a "fullname", in SERVICE_RESOLVED). Bug: 16983542 Bug: 16986203 Change-Id: Idfa79749336c68424d961bc414f984c525b7e5e6
/frameworks/base/services/core/java/com/android/server/NsdService.java
|
03666c705ddabe0e7c5869ab69c2ca8b964164e9 |
|
20-Jul-2014 |
Sreeram Ramachandran <sreeram@google.com> |
Cleanup: Delete dead code. Bug: 15413389 Change-Id: I315468832ef18ffc84174e54774ab63b86d284dc
/frameworks/base/services/core/java/com/android/server/NsdService.java
|
5a577903d366ff07b3c4ec6359e4757154f49790 |
|
26-Apr-2014 |
Christopher Lane <lanechr@google.com> |
Fix incorrect "listener no longer active" errors Was incorrectly using .indexOfValue to search for Integer objects in the client map. Change-Id: I54e2e1725e0fff0a7d35a22376714cc8266a9eee
/frameworks/base/services/core/java/com/android/server/NsdService.java
|
771cd657acc37b50bafe18bf5f649d3c1d85b3d8 |
|
15-Apr-2014 |
Christopher Lane <lanechr@google.com> |
Fix build Change-Id: I20168fb1c29ba6eb695f0d24c6ca512420b2b319
/frameworks/base/services/core/java/com/android/server/NsdService.java
|
111db01a2668b7a1ec256a4166c322db061d1ddd |
|
15-Apr-2014 |
Christopher Lane <lanechr@google.com> |
resolved conflicts for merge of 381ac080 to master Change-Id: I779c49c48980ba7737ee4e7b04a9e4c3e02fca21
|
b72d8b4091ab31948c91b0382a9b46afdc7ef7da |
|
18-Mar-2014 |
Christopher Lane <lanechr@google.com> |
Add support for custom TXT records in NSD Change-Id: I8e6dc9852ad4d273c71ad6a63a7fbd28a206806d
/frameworks/base/services/core/java/com/android/server/NsdService.java
|
8e5df442cd8059e56195e23edffdfd6102a944e3 |
|
14-Mar-2014 |
Dave Platt <dplatt@google.com> |
Merge "NsdService does not clean up after exiting clients"
/frameworks/base/services/core/java/com/android/server/NsdService.java
|
6b2b14028ddec40b70c346f5a1e4d266720fadcd |
|
14-Mar-2014 |
Dave Platt <dplatt@google.com> |
am cb1254f1: am e4e6b3cc: am 21384faa: am f3a2895a: Merge "NsdService does not clean up after exiting clients" * commit 'cb1254f1abc44b82e2a9da0d9a73230eb46e129e': NsdService does not clean up after exiting clients
|
e4e6b3cc1908c60bd0e45063116cf935b7aad56a |
|
14-Mar-2014 |
Dave Platt <dplatt@google.com> |
am 21384faa: am f3a2895a: Merge "NsdService does not clean up after exiting clients" * commit '21384faa2b3da619a54b35f15936c00593b30694': NsdService does not clean up after exiting clients
|
77b987f1a1bb6028a871de01065b94c4cfff0b5c |
|
27-Feb-2014 |
Dianne Hackborn <hackbod@google.com> |
Hold a wake lock while dispatching network activity events. Also add new API for determining whether the current data network is active, and thus better scheduling network operations. This API is designed to not be tied to a mobile network -- regardless of the network, apps can use it to determine whether they should initiate activity or wait. On non-mobile networks, it simply always reports as the network being active. This changed involved reworking how the idle timers are done so that we only register an idle timer with the current default network. This way, we can know whether we currently expect to get callbacks about the network being active, or should just always report that it is active. (Ultimately we need to be getting this radio active data from the radio itself.) Change-Id: Iaf6cc91a960d7542a70b72f87a7db26d12c4ea8e
/frameworks/base/services/core/java/com/android/server/NsdService.java
|
49782e46c0eb85a25ae2abcf80880c48dbab5aea |
|
20-Dec-2013 |
Amith Yamasani <yamasani@google.com> |
am 9158825f: Move some system services to separate directories * commit '9158825f9c41869689d6b1786d7c7aa8bdd524ce': Move some system services to separate directories
|
9158825f9c41869689d6b1786d7c7aa8bdd524ce |
|
22-Nov-2013 |
Amith Yamasani <yamasani@google.com> |
Move some system services to separate directories Refactored the directory structure so that services can be optionally excluded. This is step 1. Will be followed by another change that makes it possible to remove services from the build. Change-Id: Ideacedfd34b5e213217ad3ff4ebb21c4a8e73f85
/frameworks/base/services/core/java/com/android/server/NsdService.java
|