Home
last modified time | relevance | path

Searched refs:SocketTagger (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Connectivity/framework-t/src/android/net/
DTrafficStats.java237 dalvik.system.SocketTagger.set(new SocketTagger()); in attachSocketTagger()
240 private static class SocketTagger extends dalvik.system.SocketTagger { class in TrafficStats
245 SocketTagger() { in SocketTagger() method in TrafficStats.SocketTagger
473 SocketTagger.get().tag(socket); in tagSocket()
488 SocketTagger.get().untag(socket); in untagSocket()
501 SocketTagger.get().tag(socket); in tagDatagramSocket()
508 SocketTagger.get().untag(socket); in untagDatagramSocket()
521 SocketTagger.get().tag(fd); in tagFileDescriptor()
529 SocketTagger.get().untag(fd); in untagFileDescriptor()
/packages/modules/DnsResolver/doh/network/
Ddriver.rs31 use super::{Query, ServerInfo, SocketTagger, ValidationReporter};
40 tag_socket: SocketTagger,
77 tag_socket: &SocketTagger, in build_connection() argument
93 tag_socket: SocketTagger, in new() argument
Dmod.rs40 pub type SocketTagger = Arc<dyn Fn(&std::net::UdpSocket) -> BoxFuture<()> + Send + Sync>; typedef
80 tagger: SocketTagger, in new() argument
/packages/modules/DnsResolver/doh/dispatcher/
Ddriver.rs26 use crate::network::{Network, ServerInfo, SocketTagger, ValidationReporter};
33 tagger: SocketTagger,
47 tagger: SocketTagger, in new() argument
Dmod.rs24 pub use crate::network::{ServerInfo, SocketTagger, ValidationReporter};
81 pub fn new(validation: ValidationReporter, tagger: SocketTagger) -> Result<Dispatcher> { in new()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DIpSecServiceTest.java60 import dalvik.system.SocketTagger;
575 SocketTagger actualSocketTagger = SocketTagger.get();
581 SocketTagger mockSocketTagger = mock(SocketTagger.class);
582 SocketTagger.set(mockSocketTagger);
587 SocketTagger.set(actualSocketTagger);
/packages/modules/DnsResolver/doh/connection/
Dmod.rs22 use crate::network::SocketTagger;
87 tag_socket: &SocketTagger, in build_socket() argument
136 tag_socket: &SocketTagger, in new() argument
/packages/modules/DnsResolver/doh/
Dffi.rs21 use crate::network::{SocketTagger, ValidationReporter};
80 fn wrap_tag_socket_callback(tag_socket_fn: TagSocketCallback) -> SocketTagger { in wrap_tag_socket_callback() argument