Home
last modified time | relevance | path

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

/system/chre/platform/slpi/smgr/
Dplatform_sensor.cc115 bool otherClientPresent; member
707 void onOtherClientPresenceChange(uint8_t sensorId, bool otherClientPresent) { in onOtherClientPresenceChange() argument
708 bool makeAllRequests = otherClientPresent; in onOtherClientPresenceChange()
712 bool removeAllRequests = (sensorModeIsPassive(mode) && !otherClientPresent); in onOtherClientPresenceChange()
723 makeAllRequests ? "+" : "-", sensorId, otherClientPresent, in onOtherClientPresenceChange()
774 bool otherClientPresent = resp.other_client_present; in onClientRequestInfoResponse() local
775 if (gSensorMonitors[index].otherClientPresent != otherClientPresent) { in onClientRequestInfoResponse()
776 onOtherClientPresenceChange(sensorId, otherClientPresent); in onClientRequestInfoResponse()
777 gSensorMonitors[index].otherClientPresent = otherClientPresent; in onClientRequestInfoResponse()
1029 monitor.otherClientPresent = false; in addSensorMonitor()
[all …]