Home
last modified time | relevance | path

Searched refs:handlers (Results 1 – 11 of 11) sorted by relevance

/system/nfc/src/rust/hal/
Dhal.rs78 handlers: Arc<Mutex<HashMap<HalEvent, oneshot::Sender<HalEventStatus>>>>, field
85 self.handlers.lock().await.insert(event, sender).is_none(), in register()
93 self.handlers.lock().await.remove(&event) in unregister()
118 let handlers = Arc::new(Mutex::new(HashMap::new())); in new() localVariable
119 let hal_events = HalEventRegistry { handlers }; in new()
/system/chre/host/common/
Dhost_protocol_host.cc50 IChreMessageHandlers &handlers) { in decodeMessageFromChre() argument
59 handlers.handleNanoappMessage(*msg.AsNanoappMessage()); in decodeMessageFromChre()
63 handlers.handleHubInfoResponse(*msg.AsHubInfoResponse()); in decodeMessageFromChre()
67 handlers.handleNanoappListResponse(*msg.AsNanoappListResponse()); in decodeMessageFromChre()
71 handlers.handleLoadNanoappResponse(*msg.AsLoadNanoappResponse()); in decodeMessageFromChre()
75 handlers.handleUnloadNanoappResponse(*msg.AsUnloadNanoappResponse()); in decodeMessageFromChre()
79 handlers.handleDebugDumpData(*msg.AsDebugDumpData()); in decodeMessageFromChre()
83 handlers.handleDebugDumpResponse(*msg.AsDebugDumpResponse()); in decodeMessageFromChre()
87 handlers.handleSelfTestResponse(*msg.AsSelfTestResponse()); in decodeMessageFromChre()
/system/nfc/src/rust/nci/
Dnci.rs53 let notifications = EventRegistry { handlers: Arc::new(Mutex::new(HashMap::new())) }; in init()
297 handlers: Arc<Mutex<HashMap<Opcode, oneshot::Sender<Notification>>>>, field
304 self.handlers.lock().unwrap().insert(code, sender).is_none(), in register()
312 self.handlers.lock().unwrap().remove(&code) in unregister()
/system/core/fastboot/device/
Dcommands.cpp91 const VariableHandlers& handlers) { in GetAllVars() argument
92 if (!handlers.get_all_args) { in GetAllVars()
94 if (!handlers.get(device, std::vector<std::string>(), &message)) { in GetAllVars()
101 auto all_args = handlers.get_all_args(device); in GetAllVars()
104 if (!handlers.get(device, args, &message)) { in GetAllVars()
155 for (const auto& [name, handlers] : kVariableMap) { in GetVarAll()
156 GetAllVars(device, name, handlers); in GetVarAll()
/system/chre/host/common/include/chre_host/
Dhost_protocol_host.h99 IChreMessageHandlers &handlers);
/system/chre/test/
DREADME.md19 macro, and implements CHRE specific event handlers for Pigweed's UT Framework.
/system/extras/simpleperf/scripts/test/
Dtest_utils.py60 logging.getLogger().handlers.clear()
/system/chre/doc/
Dframework_testing.md53 macro, and implements CHRE specific event handlers for Pigweed's UT Framework.
Dvendor_extensions.md79 not need to worry about race conditions in its callbacks/handlers. However, it
/system/libprocinfo/testdata/
Dmaps1134 70e8d95000-70e8d96000 r--p 00000000 00:00 0 [anon:atexit handlers]
1171 70e8f61000-70e8f62000 r--p 00000000 00:00 0 [anon:atexit handlers]
1743 70eb8a4000-70eb8a5000 r--p 00000000 00:00 0 [anon:atexit handlers]
1991 70ebd5f000-70ebd62000 r--p 00000000 00:00 0 [anon:atexit handlers]
2005 70ebdbd000-70ebdbe000 r--p 00000000 00:00 0 [anon:atexit handlers]
2028 70ebf64000-70ebf65000 r--p 00000000 00:00 0 [anon:atexit handlers]
/system/memory/libmeminfo/testdata1/
Dsmaps39664 7007f7ef8000-7007f7ef9000 r--p 00000000 00:00 0 [anon:atexit handlers]
39665 Name: [anon:atexit handlers]
52646 7007faca1000-7007faca2000 r--p 00000000 00:00 0 [anon:atexit handlers]
52647 Name: [anon:atexit handlers]
54617 7007fb07b000-7007fb07c000 r--p 00000000 00:00 0 [anon:atexit handlers]
54618 Name: [anon:atexit handlers]
55479 7007fb16c000-7007fb170000 r--p 00000000 00:00 0 [anon:atexit handlers]
55480 Name: [anon:atexit handlers]
55911 7007fb212000-7007fb213000 r--p 00000000 00:00 0 [anon:atexit handlers]
55912 Name: [anon:atexit handlers]