/system/vold/ |
H A D | IdleMaint.h | 25 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 D | Benchmark.h | 28 const android::sp<android::os::IVoldTaskListener>& listener);
|
H A D | MoveStorage.cpp | 51 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 D | MoveStorage.h | 27 const android::sp<android::os::IVoldTaskListener>& listener);
|
H A D | Benchmark.cpp | 90 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 D | IdleMaint.cpp | 143 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 D | VoldNativeService.h | 34 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 D | VolumeManager.h | 56 void setListener(android::sp<android::os::IVoldListener> listener) { mListener = listener; } argument
|
/system/core/adb/ |
H A D | adb_listeners.cpp | 35 // 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 D | test_adb.py | 168 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 D | VolumeBase.cpp | 47 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 D | Disk.cpp | 159 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 D | PrivateVolume.cpp | 58 auto listener = getListener(); local 59 if (listener) listener->onVolumeMetadataChanged(getId(), mFsType, mFsUuid, mFsLabel);
|
/system/core/debuggerd/tombstoned/ |
H A D | intercept_manager.h | 24 #include <event2/listener.h> 50 evconnlistener* listener = nullptr; member in struct:InterceptManager
|
H A D | intercept_manager.cpp | 25 #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 D | IVold.aidl | 24 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 D | HidlService.cpp | 44 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 D | HidlService.h | 48 void addListener(const sp<IServiceNotification> &listener); 49 bool removeListener(const wp<IBase> &listener);
|
/system/security/keystore/ |
H A D | confirmation_manager.cpp | 54 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 D | confirmation_manager.h | 52 Status presentConfirmationPrompt(const android::sp<android::IBinder>& listener, 63 Status cancelConfirmationPrompt(const android::sp<android::IBinder>& listener,
|
/system/bt/profile/avrcp/tests/ |
H A D | avrcp_test_helper.h | 119 ::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 D | NFLogListener.cpp | 146 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 D | DnsProxyListener.h | 64 const android::sp<android::net::metrics::INetdEventListener>& listener); 96 const android::sp<android::net::metrics::INetdEventListener>& listener);
|
H A D | NFLogListener.h | 66 NFLogListener(std::shared_ptr<NetlinkListenerInterface> listener); 84 // listener is ready to use with a running service thread.
|
H A D | WakeupController.h | 61 // Subscribe this controller to a NFLOG events arriving at |listener|. 62 netdutils::Status init(NFLogListenerInterface* listener);
|