Home
last modified time | relevance | path

Searched refs:NetlinkEvent (Results 1 – 15 of 15) sorted by relevance

/system/vold/
DDirectVolume.h65 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);
DDirectVolume.cpp132 int DirectVolume::handleBlockEvent(NetlinkEvent *evt) { in handleBlockEvent()
142 if (action == NetlinkEvent::NlActionAdd) { in handleBlockEvent()
169 } else if (action == NetlinkEvent::NlActionRemove) { in handleBlockEvent()
175 } else if (action == NetlinkEvent::NlActionChange) { in handleBlockEvent()
193 NetlinkEvent *evt) { in handleDiskAdded()
222 void DirectVolume::handlePartitionAdded(const char *devpath, NetlinkEvent *evt) { in handlePartitionAdded()
280 NetlinkEvent *evt) { in handleDiskChanged()
311 NetlinkEvent *evt) { in handlePartitionChanged()
318 NetlinkEvent *evt) { in handleDiskRemoved()
337 NetlinkEvent *evt) { in handlePartitionRemoved()
DVolume.h23 class NetlinkEvent; variable
84 virtual int handleBlockEvent(NetlinkEvent *evt);
DNetlinkHandler.h32 virtual void onEvent(NetlinkEvent *evt);
DNetlinkHandler.cpp45 void NetlinkHandler::onEvent(NetlinkEvent *evt) { in onEvent()
DVolumeManager.h76 void handleBlockEvent(NetlinkEvent *evt);
DVolume.cpp150 int Volume::handleBlockEvent(NetlinkEvent * /*evt*/) { in handleBlockEvent() argument
DVolumeManager.cpp240 void VolumeManager::handleBlockEvent(NetlinkEvent *evt) { in handleBlockEvent()
/system/core/libsysutils/src/
DNetlinkEvent.cpp42 const int NetlinkEvent::NlActionUnknown = 0;
43 const int NetlinkEvent::NlActionAdd = 1;
44 const int NetlinkEvent::NlActionRemove = 2;
45 const int NetlinkEvent::NlActionChange = 3;
46 const int NetlinkEvent::NlActionLinkUp = 4;
47 const int NetlinkEvent::NlActionLinkDown = 5;
48 const int NetlinkEvent::NlActionAddressUpdated = 6;
49 const int NetlinkEvent::NlActionAddressRemoved = 7;
50 const int NetlinkEvent::NlActionRdnss = 8;
51 const int NetlinkEvent::NlActionRouteUpdated = 9;
[all …]
DNetlinkListener.cpp59 NetlinkEvent *evt = new NetlinkEvent(); in onDataAvailable()
/system/core/include/sysutils/
DNetlinkEvent.h23 class NetlinkEvent {
43 NetlinkEvent();
44 virtual ~NetlinkEvent();
DNetlinkListener.h21 class NetlinkEvent; variable
45 virtual void onEvent(NetlinkEvent *evt) = 0;
/system/netd/server/
DNetlinkHandler.cpp53 void NetlinkHandler::onEvent(NetlinkEvent *evt) { in onEvent()
177 (action == NetlinkEvent::NlActionAddressUpdated) ? kUpdated : kRemoved, in notifyAddressChanged()
192 (action == NetlinkEvent::NlActionRouteUpdated) ? kUpdated : kRemoved, in notifyRouteChange()
DNetlinkHandler.h34 virtual void onEvent(NetlinkEvent *evt);
/system/core/libsysutils/
DAndroid.mk11 src/NetlinkEvent.cpp \