Home
last modified time | relevance | path

Searched refs:ApexUpdateListener (Results 1 – 4 of 4) sorted by relevance

/hardware/google/camera/common/apex_update_listener/
Dapex_update_listener.cc26 ApexUpdateListener::ApexUpdateListener( in ApexUpdateListener() function in ApexUpdateListener
27 ApexUpdateListener::Sigil, const std::string& apex_name, in ApexUpdateListener()
36 thread_(&ApexUpdateListener::ThreadFunction, this) { in ApexUpdateListener()
39 ApexUpdateListener::~ApexUpdateListener() { in ~ApexUpdateListener()
51 std::unique_ptr<ApexUpdateListener> ApexUpdateListener::Make( in Make()
84 return std::make_unique<ApexUpdateListener>( in Make()
89 std::optional<std::set<ApexUpdateListener::Info>>
90 ApexUpdateListener::TrySlurpInfo(const std::string& apex_name, in TrySlurpInfo()
104 std::set<ApexUpdateListener::Info> ret; in TrySlurpInfo()
146 void ApexUpdateListener::ThreadFunction() { in ThreadFunction()
Dapex_update_listener.h9 class ApexUpdateListener {
33 bool operator==(const ApexUpdateListener::Info& other) const {
36 bool operator!=(const ApexUpdateListener::Info& other) const {
40 friend auto& operator<<(T& stream, const ApexUpdateListener::Info& i) {
51 const std::set<ApexUpdateListener::Info>& s) {
66 ApexUpdateListener(Sigil, const std::string& apex_name,
71 static std::unique_ptr<ApexUpdateListener> Make(
77 ~ApexUpdateListener();
Dapex_update_listener_test.cc17 using InfoSet = std::set<ApexUpdateListener::Info>;
43 TEST(ApexUpdateListener, InstallUpdate) { in TEST() argument
46 StrictMock<MockFunction<ApexUpdateListener::CallbackFunction>> callback; in TEST()
78 std::unique_ptr<ApexUpdateListener> ptr = ApexUpdateListener::Make( in TEST()
86 TEST(ApexUpdateListener, InvokeWithInitialVersion) { in TEST() argument
89 StrictMock<MockFunction<ApexUpdateListener::CallbackFunction>> callback; in TEST()
109 std::unique_ptr<ApexUpdateListener> ptr = ApexUpdateListener::Make( in TEST()
/hardware/google/camera/common/hal/hidl_service/
Dservice.cc61 ApexUpdateListener::Make("com.google.pixel.camera.hal", [](auto, auto) { in main()