/device/google/atv/MdnsOffloadCmdService/src/com/android/tv/mdnsoffloadcmd/ |
D | MdnsOffloadCmdService.java | 113 private void registerPassthrough(String qname, String iface) { in registerPassthrough() argument 114 Log.d(TAG, "Registering on iface{" + iface + "} passthrough:" + qname); in registerPassthrough() 120 mMdnsOffloadManagerService.addToPassthroughList(iface, qname, mBinder); in registerPassthrough() 141 private void removePassthrough(String qname, String iface) { in removePassthrough() argument 142 Log.d(TAG, "Removing passthrough:" + qname + " on iface{" + iface + "}"); in removePassthrough() 148 mMdnsOffloadManagerService.removeFromPassthroughList(iface, qname, mBinder); in removePassthrough() 187 String qname = intent.getStringExtra("qname"); in onReceive() local 188 if (iface != null && qname != null) { in onReceive() 189 registerPassthrough(qname, iface); in onReceive() 197 String qname = intent.getStringExtra("qname"); in onReceive() local [all …]
|
/device/google/atv/MdnsOffloadManagerService/src/com/android/tv/mdnsoffloadmanager/ |
D | OffloadWriter.java | 33 private static String convertQNameForVendorService(String qname) { in convertQNameForVendorService() argument 35 if (qname.endsWith(".")) { in convertQNameForVendorService() 36 return qname.substring(0, qname.length() - 1); in convertQNameForVendorService() 38 return qname; in convertQNameForVendorService() 192 for (String qname : qnames) { in deletePassthroughData() 193 if (tryRemoveFromPassthroughList(networkInterface, qname)) { in deletePassthroughData() 194 deleted.add(qname); in deletePassthroughData() 265 private boolean tryRemoveFromPassthroughList(String networkInterface, String qname) { in tryRemoveFromPassthroughList() argument 266 String simpleQName = convertQNameForVendorService(qname); in tryRemoveFromPassthroughList() 271 String msg = "Failed to remove passthrough for qname {" + qname + "}."; in tryRemoveFromPassthroughList()
|
D | PriorityListManager.java | 40 int getPriority(String qname, int defaultPriority) { in getPriority() argument 41 return mPriorityMap.getOrDefault(canonicalQName(qname), defaultPriority); in getPriority() 47 String qname = MdnsPacketParser.extractFullName( in getPriority() 49 return getPriority(qname, recordKey); in getPriority()
|
D | OffloadIntentStore.java | 127 String qname, in registerPassthroughIntent() argument 130 String canonicalQName = mPriorityListManager.canonicalQName(qname); in registerPassthroughIntent() 134 networkInterface, qname, canonicalQName, clientToken, priority, appId); in registerPassthroughIntent() 157 boolean removePassthroughIntent(String qname, IBinder clientToken) { in removePassthroughIntent() argument 158 String canonicalQName = mPriorityListManager.canonicalQName(qname); in removePassthroughIntent()
|
D | MdnsOffloadManagerService.java | 322 @NonNull String qname, 325 Objects.requireNonNull(qname); 331 networkInterface, qname, clientToken, callerUid); 350 @NonNull String qname, 353 Objects.requireNonNull(qname); 356 boolean removed = mOffloadIntentStore.removePassthroughIntent(qname, clientToken);
|
D | InterfaceOffloadManager.java | 125 mCurrentPassthroughQNames.forEach(qname -> writer.println("* %s".formatted(qname))); in dump()
|
/device/google/atv/MdnsOffloadManagerService/tests/src/com/android/tv/mdnsoffloadmanager/ |
D | FakeMdnsOffloadService.java | 120 public boolean addToPassthroughList(String iface, String qname) in addToPassthroughList() argument 124 && qname.length() <= MAX_QNAME_LENGTH) { in addToPassthroughList() 125 offloadData.passthroughQNames.add(qname); in addToPassthroughList() 126 log("Added %s to PT list for iface %s", qname, iface); in addToPassthroughList() 129 log("Failed to add %s to PT list for iface %s", qname, iface); in addToPassthroughList() 134 public void removeFromPassthroughList(String iface, String qname) in removeFromPassthroughList() argument 136 boolean removed = getOffloadData(iface).passthroughQNames.remove(qname); in removeFromPassthroughList() 138 log("Removed %s from PT list for iface %s", qname, iface); in removeFromPassthroughList() 140 log("Failed to remove %s from PT list for iface %s", qname, iface); in removeFromPassthroughList()
|
/device/google/atv/mdns_offload/interface/aidl/device/google/atv/mdns_offload/ |
D | IMdnsOffloadManager.aidl | 62 void addToPassthroughList(String networkInterface, String qname, IBinder clientToken); in addToPassthroughList() argument 70 void removeFromPassthroughList(String networkInterface, String qname, IBinder clientToken); in removeFromPassthroughList() argument
|
D | IMdnsOffload.aidl | 152 boolean addToPassthroughList(String networkInterface, String qname); in addToPassthroughList() argument 158 void removeFromPassthroughList(String networkInterface, String qname); in removeFromPassthroughList() argument
|
/device/google/atv/mdns_offload/interface/aidl/aidl_api/device.google.atv.mdns_offload_manager-aidl/current/device/google/atv/mdns_offload/ |
D | IMdnsOffloadManager.aidl | 39 void addToPassthroughList(String networkInterface, String qname, IBinder clientToken); in addToPassthroughList() argument 40 void removeFromPassthroughList(String networkInterface, String qname, IBinder clientToken); in removeFromPassthroughList() argument
|
/device/google/atv/mdns_offload/interface/aidl/aidl_api/device.google.atv.mdns_offload-aidl/current/device/google/atv/mdns_offload/ |
D | IMdnsOffload.aidl | 28 boolean addToPassthroughList(String networkInterface, String qname); in addToPassthroughList() argument 29 void removeFromPassthroughList(String networkInterface, String qname); in removeFromPassthroughList() argument
|