OSDN Git Service

Synchronous resource recover mechanism for ISensorEventConnection
authorPeng Xu <pengxu@google.com>
Mon, 10 Jul 2017 23:41:08 +0000 (16:41 -0700)
committerPeng Xu <pengxu@google.com>
Tue, 11 Jul 2017 00:47:59 +0000 (17:47 -0700)
commit8cbefd7af4801686c27d5802cfd087b2812110b6
tree0634958513a01b80a8a84db4cb2ebd3595641c1d
parenta36bf92663256f1c8d2956902daf0f1045961953
Synchronous resource recover  mechanism for ISensorEventConnection

Add synchronous destroy() function to recover resource used by
remote ISensorEventConnection object.

Bug: 63542033
Test: SensorDirectReportTest pass
Change-Id: If98782ee12c7b1a733eb15a2fd8d7c5dacde243b
libs/sensor/ISensorEventConnection.cpp
libs/sensor/include/sensor/ISensorEventConnection.h
services/sensorservice/SensorDirectConnection.cpp
services/sensorservice/SensorDirectConnection.h
services/sensorservice/SensorEventConnection.cpp
services/sensorservice/SensorEventConnection.h