Searched refs:listener (Results 1 - 25 of 43) sorted by relevance

12

/system/vold/
H A DIdleMaint.h25 void Trim(const android::sp<android::os::IVoldTaskListener>& listener);
26 int RunIdleMaint(const android::sp<android::os::IVoldTaskListener>& listener);
27 int AbortIdleMaint(const android::sp<android::os::IVoldTaskListener>& listener);
H A DBenchmark.h28 const android::sp<android::os::IVoldTaskListener>& listener);
H A DMoveStorage.cpp51 const android::sp<android::os::IVoldTaskListener>& listener) {
52 if (listener) {
54 listener->onStatus(progress, extras);
82 const android::sp<android::os::IVoldTaskListener>& listener) {
83 notifyProgress(startProgress, listener);
118 ((deltaFreeBytes * stepProgress) / expectedBytes), 0, stepProgress), listener);
124 int stepProgress, const android::sp<android::os::IVoldTaskListener>& listener) {
125 notifyProgress(startProgress, listener);
169 ((deltaFreeBytes * stepProgress) / expectedBytes), 0, stepProgress), listener);
190 const android::sp<android::os::IVoldTaskListener>& listener) {
50 notifyProgress(int progress, const android::sp<android::os::IVoldTaskListener>& listener) argument
81 execRm(const std::string& path, int startProgress, int stepProgress, const android::sp<android::os::IVoldTaskListener>& listener) argument
123 execCp(const std::string& fromPath, const std::string& toPath, int startProgress, int stepProgress, const android::sp<android::os::IVoldTaskListener>& listener) argument
188 moveStorageInternal(const std::shared_ptr<VolumeBase>& from, const std::shared_ptr<VolumeBase>& to, const android::sp<android::os::IVoldTaskListener>& listener) argument
251 MoveStorage(const std::shared_ptr<VolumeBase>& from, const std::shared_ptr<VolumeBase>& to, const android::sp<android::os::IVoldTaskListener>& listener) argument
[all...]
H A DMoveStorage.h27 const android::sp<android::os::IVoldTaskListener>& listener);
H A DBenchmark.cpp90 const android::sp<android::os::IVoldTaskListener>& listener,
128 if (listener) {
129 listener->onStatus(progress, *extras);
155 if (listener) {
156 listener->onStatus(progress, *extras);
182 const android::sp<android::os::IVoldTaskListener>& listener) {
189 status_t res = benchmarkInternal(path, listener, &extras);
190 if (listener) {
191 listener->onFinished(res, extras);
89 benchmarkInternal(const std::string& rootPath, const android::sp<android::os::IVoldTaskListener>& listener, android::os::PersistableBundle* extras) argument
181 Benchmark(const std::string& path, const android::sp<android::os::IVoldTaskListener>& listener) argument
H A DIdleMaint.cpp143 void Trim(const android::sp<android::os::IVoldTaskListener>& listener) { argument
160 if (listener) {
161 listener->onStatus(-1, extras);
173 if (listener) {
174 listener->onStatus(-1, extras);
182 if (listener) {
183 listener->onStatus(0, extras);
189 if (listener) {
191 listener->onFinished(0, extras);
310 int RunIdleMaint(const android::sp<android::os::IVoldTaskListener>& listener) { argument
360 AbortIdleMaint(const android::sp<android::os::IVoldTaskListener>& listener) argument
[all...]
H A DVoldNativeService.h34 binder::Status setListener(const android::sp<android::os::IVoldListener>& listener);
54 const android::sp<android::os::IVoldTaskListener>& listener);
58 const android::sp<android::os::IVoldTaskListener>& listener);
69 const android::sp<android::os::IVoldTaskListener>& listener);
71 const android::sp<android::os::IVoldTaskListener>& listener);
73 const android::sp<android::os::IVoldTaskListener>& listener);
H A DVolumeManager.h56 void setListener(android::sp<android::os::IVoldListener> listener) { mListener = listener; } argument
/system/core/adb/
H A Dadb_listeners.cpp35 // A listener is an entity which binds to a local port and, upon receiving a connection on that
96 alistener* listener = reinterpret_cast<alistener*>(_l); local
107 s->transport = listener->transport;
108 connect_to_remote(s, listener->connect_to.c_str());
173 auto pred = [](const std::unique_ptr<alistener>& listener) {
174 return listener->local_name == "*smartsocket*";
191 // Can't repurpose a listener if 'no_rebind' is true.
207 auto listener = std::make_unique<alistener>(local_name, connect_to); local
210 listener->fd = socket_spec_listen(listener
[all...]
H A Dtest_adb.py168 socket.socket(socket.AF_INET, socket.SOCK_STREAM)) as listener:
171 listener.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
172 listener.bind(('127.0.0.1', port))
173 listener.listen(4)
181 accepted_connection, addr = listener.accept()
/system/vold/model/
H A DVolumeBase.cpp47 auto listener = getListener(); local
48 if (listener) listener->onVolumeStateChanged(getId(), static_cast<int32_t>(mState));
119 auto listener = getListener(); local
120 if (listener) listener->onVolumePathChanged(getId(), mPath);
133 auto listener = getListener(); local
134 if (listener) listener->onVolumeInternalPathChanged(getId(), mInternalPath);
170 auto listener local
193 auto listener = getListener(); local
[all...]
H A DDisk.cpp159 auto listener = VolumeManager::Instance()->getListener(); local
160 if (listener) listener->onDiskCreated(getId(), mFlags);
172 auto listener = VolumeManager::Instance()->getListener(); local
173 if (listener) listener->onDiskDestroyed(getId());
300 auto listener = VolumeManager::Instance()->getListener(); local
301 if (listener) listener->onDiskMetadataChanged(getId(),
327 auto listener local
407 auto listener = VolumeManager::Instance()->getListener(); local
[all...]
H A DPrivateVolume.cpp58 auto listener = getListener(); local
59 if (listener) listener->onVolumeMetadataChanged(getId(), mFsType, mFsUuid, mFsLabel);
/system/core/debuggerd/tombstoned/
H A Dintercept_manager.h24 #include <event2/listener.h>
50 evconnlistener* listener = nullptr; member in struct:InterceptManager
H A Dintercept_manager.cpp25 #include <event2/listener.h>
173 static void intercept_accept_cb(evconnlistener* listener, evutil_socket_t sockfd, sockaddr*, int, argument
180 event_base* base = evconnlistener_get_base(listener);
188 this->listener = evconnlistener_new(base, intercept_accept_cb, this, LEV_OPT_CLOSE_ON_FREE,
/system/vold/binder/android/os/
H A DIVold.aidl24 void setListener(IVoldListener listener);
43 void benchmark(@utf8InCpp String volId, IVoldTaskListener listener);
47 IVoldTaskListener listener);
57 void fstrim(int fstrimFlags, IVoldTaskListener listener);
58 void runIdleMaint(IVoldTaskListener listener);
59 void abortIdleMaint(IVoldTaskListener listener);
/system/hwservicemanager/
H A DHidlService.cpp44 void HidlService::addListener(const sp<IServiceNotification> &listener) { argument
46 auto ret = listener->onRegistration(
49 LOG(ERROR) << "Not adding listener for " << mInterfaceName << "/"
55 mListeners.push_back(listener);
58 bool HidlService::removeListener(const wp<IBase>& listener) { argument
64 if (interfacesEqual(*it, listener.promote())) {
H A DHidlService.h48 void addListener(const sp<IServiceNotification> &listener);
49 bool removeListener(const wp<IBase> &listener);
/system/security/keystore/
H A Dconfirmation_manager.cpp54 Status ConfirmationManager::presentConfirmationPrompt(const sp<IBinder>& listener, argument
97 listener->linkToDeath(mDeathRecipient);
99 mCurrentListener = listener;
107 Status ConfirmationManager::cancelConfirmationPrompt(const sp<IBinder>& listener, argument
110 if (mCurrentListener != listener) {
148 sp<IBinder> listener = mCurrentListener; local
166 if (listener != nullptr) {
167 sp<BpConfirmationPromptCallback> obj = new BpConfirmationPromptCallback(listener);
H A Dconfirmation_manager.h52 Status presentConfirmationPrompt(const android::sp<android::IBinder>& listener,
63 Status cancelConfirmationPrompt(const android::sp<android::IBinder>& listener,
/system/bt/profile/avrcp/tests/
H A Davrcp_test_helper.h119 ::testing::MatchResultListener* listener) const override {
127 *listener << "\nPacket to compare to: \n";
128 *listener << packet2->ToString();
129 *listener << "\nActual packet: \n";
130 *listener << packet1->ToString();
/system/netd/server/
H A DNFLogListener.cpp146 NFLogListener::NFLogListener(std::shared_ptr<NetlinkListenerInterface> listener) argument
147 : mListener(std::move(listener)) {
218 std::shared_ptr<NetlinkListenerInterface> listener = local
220 const auto sendFn = [&listener](const Slice msg) { return listener->send(msg); };
222 return std::unique_ptr<NFLogListener>(new NFLogListener(std::move(listener)));
H A DDnsProxyListener.h64 const android::sp<android::net::metrics::INetdEventListener>& listener);
96 const android::sp<android::net::metrics::INetdEventListener>& listener);
H A DNFLogListener.h66 NFLogListener(std::shared_ptr<NetlinkListenerInterface> listener);
84 // listener is ready to use with a running service thread.
H A DWakeupController.h61 // Subscribe this controller to a NFLOG events arriving at |listener|.
62 netdutils::Status init(NFLogListenerInterface* listener);

Completed in 6995 milliseconds

12