Searched refs:evt (Results 1 – 11 of 11) sorted by relevance
/system/netd/server/ |
D | NetlinkHandler.cpp | 53 void NetlinkHandler::onEvent(NetlinkEvent *evt) { in onEvent() argument 54 const char *subsys = evt->getSubsystem(); in onEvent() 61 int action = evt->getAction(); in onEvent() 62 const char *iface = evt->findParam("INTERFACE"); in onEvent() 64 if (action == evt->NlActionAdd) { in onEvent() 66 } else if (action == evt->NlActionRemove) { in onEvent() 68 } else if (action == evt->NlActionChange) { in onEvent() 69 evt->dump(); in onEvent() 71 } else if (action == evt->NlActionLinkUp) { in onEvent() 73 } else if (action == evt->NlActionLinkDown) { in onEvent() [all …]
|
D | NetlinkHandler.h | 34 virtual void onEvent(NetlinkEvent *evt);
|
/system/vold/ |
D | DirectVolume.cpp | 132 int DirectVolume::handleBlockEvent(NetlinkEvent *evt) { in handleBlockEvent() argument 133 const char *dp = evt->findParam("DEVPATH"); in handleBlockEvent() 139 int action = evt->getAction(); in handleBlockEvent() 140 const char *devtype = evt->findParam("DEVTYPE"); in handleBlockEvent() 143 int major = atoi(evt->findParam("MAJOR")); in handleBlockEvent() 144 int minor = atoi(evt->findParam("MINOR")); in handleBlockEvent() 155 handleDiskAdded(dp, evt); in handleBlockEvent() 157 handlePartitionAdded(dp, evt); in handleBlockEvent() 171 handleDiskRemoved(dp, evt); in handleBlockEvent() 173 handlePartitionRemoved(dp, evt); in handleBlockEvent() [all …]
|
D | DirectVolume.h | 65 int handleBlockEvent(NetlinkEvent *evt); 79 void handleDiskAdded(const char *devpath, NetlinkEvent *evt); 80 void handleDiskRemoved(const char *devpath, NetlinkEvent *evt); 81 void handleDiskChanged(const char *devpath, NetlinkEvent *evt); 82 void handlePartitionAdded(const char *devpath, NetlinkEvent *evt); 83 void handlePartitionRemoved(const char *devpath, NetlinkEvent *evt); 84 void handlePartitionChanged(const char *devpath, NetlinkEvent *evt);
|
D | NetlinkHandler.cpp | 45 void NetlinkHandler::onEvent(NetlinkEvent *evt) { in onEvent() argument 47 const char *subsys = evt->getSubsystem(); in onEvent() 55 vm->handleBlockEvent(evt); in onEvent()
|
D | NetlinkHandler.h | 32 virtual void onEvent(NetlinkEvent *evt);
|
D | Volume.h | 84 virtual int handleBlockEvent(NetlinkEvent *evt);
|
D | VolumeManager.h | 76 void handleBlockEvent(NetlinkEvent *evt);
|
D | VolumeManager.cpp | 240 void VolumeManager::handleBlockEvent(NetlinkEvent *evt) { in handleBlockEvent() argument 241 const char *devpath = evt->findParam("DEVPATH"); in handleBlockEvent() 247 if (!(*it)->handleBlockEvent(evt)) { in handleBlockEvent()
|
/system/core/libsysutils/src/ |
D | NetlinkListener.cpp | 59 NetlinkEvent *evt = new NetlinkEvent(); in onDataAvailable() local 60 if (evt->decode(mBuffer, count, mFormat)) { in onDataAvailable() 61 onEvent(evt); in onDataAvailable() 68 delete evt; in onDataAvailable()
|
/system/core/include/sysutils/ |
D | NetlinkListener.h | 45 virtual void onEvent(NetlinkEvent *evt) = 0;
|