/hardware/libhardware_legacy/uevent/ |
Android.mk | 3 LOCAL_SRC_FILES += uevent/uevent.c
|
/system/core/init/ |
devices.c | 44 #include <cutils/uevent.h> 62 struct uevent { struct 388 static void parse_event(const char *msg, struct uevent *uevent) 390 uevent->action = ""; 391 uevent->path = ""; 392 uevent->subsystem = ""; 393 uevent->firmware = ""; 394 uevent->major = -1; 395 uevent->minor = -1 957 struct uevent uevent; local [all...] |
/frameworks/base/core/java/android/os/ |
UEventObserver.java | 25 * UEventObserver is an abstract class that receives UEvent's from the kernel.<p> 27 * Subclass UEventObserver, implementing onUEvent(UEvent event), then call 28 * startObserving() with a match string. The UEvent thread will then call your 29 * onUEvent() method when a UEvent occurs that contains your match string.<p> 31 * Call stopObserving() to stop receiving UEvent's.<p> 33 * There is only one UEvent thread per process, even if that process has 34 * multiple UEventObserver subclass instances. The UEvent thread starts when 36 * started the UEvent thread will not stop (although it can stop notifying 81 * Begin observation of UEvent's.<p> 82 * This method will cause the UEvent thread to start if this is the firs [all...] |
/device/asus/flo/sepolicy/ |
bridge.te | 8 # Uevent for usb connection
|
mpdecision.te | 12 # CPU hotplug uevent to manage cores
|
thermald.te | 14 # CPU hotplug uevent
|
/device/lge/hammerhead/sepolicy/ |
bridge.te | 8 # Uevent for usb connection
|
mpdecision.te | 12 # CPU hotplug uevent to manage cores
|
thermald.te | 10 # CPU hotplug uevent
|
/device/lge/mako/sepolicy/ |
bridge.te | 8 # Uevent for usb connection
|
mpdecision.te | 12 # CPU hotplug uevent to manage cores
|
thermald.te | 14 # CPU hotplug uevent
|
/device/moto/shamu/sepolicy/ |
bridge.te | 8 # Uevent for usb connection
|
/system/vold/ |
NetlinkManager.cpp | 62 SLOGE("Unable to create uevent socket: %s", strerror(errno)); 67 SLOGE("Unable to set uevent socket SO_RCVBUFFORCE option: %s", strerror(errno)); 72 SLOGE("Unable to set uevent socket SO_PASSCRED option: %s", strerror(errno)); 77 SLOGE("Unable to bind uevent socket: %s", strerror(errno));
|
/hardware/intel/img/hwcomposer/common/observers/ |
UeventObserver.cpp | 53 ELOGTRACE("failed to create uevent observer thread"); 57 // init uevent socket 70 DEINIT_AND_RETURN_FALSE("failed to create uevent socket"); 137 ELOGTRACE("listener for uevent %s exists", event); 143 ELOGTRACE("failed to create Uevent Listener"); 155 ELOGTRACE("invalid uEvent file descriptor"); 199 DLOGTRACE("received Uevent: %s", msg); 204 ELOGTRACE("no listener for uevent %s", msg);
|
/cts/tests/tests/security/src/android/security/cts/ |
HwRngTest.java | 86 // We achieve this by inspecting /sys/class/misc/hw_random/dev and uevent. 93 Map<String, String> ueventVars = parseUeventFile(new File(SYSFS_HW_RANDOM, "uevent")); 94 assertEquals("uevent MAJOR", String.valueOf(HWRNG_DRIVER_MAJOR), ueventVars.get("MAJOR")); 95 assertEquals("uevent MINOR", String.valueOf(HWRNG_DRIVER_MINOR), ueventVars.get("MINOR")); 96 assertEquals("uevent DEVNAME", HWRNG_DRIVER_NAME, ueventVars.get("DEVNAME"));
|
/frameworks/base/core/jni/ |
android_os_UEventObserver.cpp | 22 #include "hardware_legacy/uevent.h" 55 ALOGV("Matched uevent message with pattern: %s", match.string()); 74 ALOGV("Received uevent message: %s", buffer);
|
/system/netd/server/ |
NetlinkManager.cpp | 71 ALOGE("Unable to set uevent socket SO_RCVBUFFORCE option: %s", strerror(errno)); 77 SLOGE("Unable to set uevent socket SO_PASSCRED option: %s", strerror(errno)); 127 ALOGE("Unable to stop uevent NetlinkHandler: %s", strerror(errno));
|
/hardware/intel/common/utils/ituxd/src/com/intel/thermal/ |
RawThermalZone.java | 28 * and comparing this temperature against zone thresholds. For uevent based 70 // for uevent based monitoring only first sensor used
|
VirtualThermalZone.java | 50 // overridden to start UEvent observer only for Virtual zone 114 // for uevent based monitoring only first sensor used 136 public void onUEvent(UEventObserver.UEvent event) { 175 // In UEvent mode, the obtained temperature is the zone temperature
|
ThermalZone.java | 346 // In Uevent mode, if any threshold specified for a particular 418 // if uevent just check the first sensor 463 // override in VirtualThermalZone to stop UEvent observers 495 * used when a zone supports UEvent notifications from kernel. When a 496 * sensor sends an UEvent, it also sends its current temperature as a 497 * parameter of the UEvent. 553 Log.i(TAG, "for zone:" + getZoneName() + " in uevent mode only first sensor used!"); 572 public void onUEvent(UEventObserver.UEvent event) { 578 // Name of the sensor and current temperature are mandatory parameters of an UEvent 587 Log.i(TAG, "UEvent received for sensor:" + sensorName + " temp:" + sensorTemp) [all...] |
/hardware/qcom/display/msm8084/libhwcomposer/ |
hwc_uevents.cpp | 22 #include <hardware_legacy/uevent.h> 60 /* Parse uevent data for devices which we are interested */ 88 /* Parse uevent data for action requested for the display */ 146 "%s: Teardown signalled. Completed waiting in uevent thread", 167 ALOGE_IF(UEVENT_DEBUG,"%s: uevent received: %s switch state: %d", 282 * always guaranteed from WFD stack that CONNECT uevent for 321 ALOGE("%s: failed to init uevent ",__FUNCTION__); 338 ALOGI("Initializing UEVENT Thread");
|
/hardware/qcom/display/msm8226/libhwcomposer/ |
hwc_uevents.cpp | 22 #include <hardware_legacy/uevent.h> 60 /* Parse uevent data for devices which we are interested */ 88 /* Parse uevent data for action requested for the display */ 147 "%s: Teardown signalled. Completed waiting in uevent thread", 176 ALOGE_IF(UEVENT_DEBUG,"%s: uevent received: %s switch state: %d", 289 * always guaranteed from WFD stack that CONNECT uevent for 328 ALOGE("%s: failed to init uevent ",__FUNCTION__); 345 ALOGI("Initializing UEVENT Thread");
|
/hardware/libhardware_legacy/ |
Android.mk | 4 legacy_modules := power uevent vibrator wifi qemu qemu_tracing
|
/system/extras/tests/uevents/ |
uevents.c | 17 #include <cutils/uevent.h>
|