HomeSort by relevance Sort by last modified time
    Searched full:sensorservice (Results 1 - 25 of 107) sorted by null

1 2 3 4 5

  /frameworks/native/services/sensorservice/
SensorEventAckReceiver.h 20 #include "SensorService.h"
24 class SensorService;
26 class SensorService::SensorEventAckReceiver : public Thread {
27 sp<SensorService> const mService;
30 explicit SensorEventAckReceiver(const sp<SensorService>& service)
SensorRecord.cpp 23 SensorService::SensorRecord::SensorRecord(
29 bool SensorService::SensorRecord::addConnection(
39 bool SensorService::SensorRecord::removeConnection(
58 void SensorService::SensorRecord::addPendingFlushConnection(
63 void SensorService::SensorRecord::removeFirstPendingFlushConnection() {
69 wp<const SensorService::SensorEventConnection>
70 SensorService::SensorRecord::getFirstPendingFlushConnection() {
77 void SensorService::SensorRecord::clearAllPendingFlushConnections() {
Android.bp 24 "SensorService.cpp",
29 "-DLOG_TAG=\"SensorService\"",
59 name: "sensorservice",
SensorDirectConnection.cpp 25 SensorService::SensorDirectConnection::SensorDirectConnection(const sp<SensorService>& service,
34 SensorService::SensorDirectConnection::~SensorDirectConnection() {
39 void SensorService::SensorDirectConnection::destroy() {
55 void SensorService::SensorDirectConnection::onFirstRef() {
58 void SensorService::SensorDirectConnection::dump(String8& result) const {
67 sp<BitTube> SensorService::SensorDirectConnection::getSensorChannel() const {
71 status_t SensorService::SensorDirectConnection::enableDisable(
83 status_t SensorService::SensorDirectConnection::setEventRate(
91 status_t SensorService::SensorDirectConnection::flush()
    [all...]
SensorDirectConnection.h 30 #include "SensorService.h"
34 class SensorService;
37 class SensorService::SensorDirectConnection: public BnSensorEventConnection {
39 SensorDirectConnection(const sp<SensorService>& service, uid_t uid,
49 // called by SensorService when enter restricted mode
53 // called by SensorService when return to NORMAL mode.
68 const sp<SensorService> mService;
main_sensorservice.cpp 18 #include "SensorService.h"
24 SensorService::publishAndJoinThreadPool();
SensorRecord.h 20 #include "SensorService.h"
24 class SensorService;
26 class SensorService::SensorRecord {
SensorEventConnection.cpp 30 SensorService::SensorEventConnection::SensorEventConnection(
31 const sp<SensorService>& service, uid_t uid, String8 packageName, bool isDataInjectionMode,
44 SensorService::SensorEventConnection::~SensorEventConnection() {
49 void SensorService::SensorEventConnection::destroy() {
64 void SensorService::SensorEventConnection::onFirstRef() {
68 bool SensorService::SensorEventConnection::needsWakeLock() {
73 void SensorService::SensorEventConnection::resetWakeLockRefCount() {
78 void SensorService::SensorEventConnection::dump(String8& result) {
105 bool SensorService::SensorEventConnection::addSensor(int32_t handle) {
117 bool SensorService::SensorEventConnection::removeSensor(int32_t handle)
    [all...]
SensorService.h 64 class SensorService :
65 public BinderService<SensorService>,
93 friend class BinderService<SensorService>;
111 explicit UidPolicy(wp<SensorService> service)
129 wp<SensorService> mService;
140 // injected from the SensorService as if it were the real sensor data. This mode is primarily
154 // these apps can register/unregister/call flush() on sensors. If SensorService switches to
165 // Shell commands to switch modes in SensorService.
166 // 1) Put SensorService in RESTRICTED mode with packageName .cts. If it is already in
169 // $ adb shell dumpsys sensorservice restrict .cts
    [all...]
  /frameworks/native/services/sensorservice/hidl/
EventQueue.h 22 #include <android/frameworks/sensorservice/1.0/IEventQueue.h>
23 #include <android/frameworks/sensorservice/1.0/IEventQueueCallback.h>
30 namespace sensorservice { namespace in namespace:android::frameworks
34 using ::android::frameworks::sensorservice::V1_0::IEventQueue;
35 using ::android::frameworks::sensorservice::V1_0::IEventQueueCallback;
36 using ::android::frameworks::sensorservice::V1_0::Result;
47 // Methods from ::android::frameworks::sensorservice::V1_0::IEventQueue follow.
59 } // namespace sensorservice
Android.bp 20 "android.frameworks.sensorservice@1.0",
DirectReportChannel.h 20 #include <android/frameworks/sensorservice/1.0/IDirectReportChannel.h>
21 #include <android/frameworks/sensorservice/1.0/types.h>
28 namespace sensorservice { namespace in namespace:android::frameworks
32 using ::android::frameworks::sensorservice::V1_0::IDirectReportChannel;
49 // Methods from ::android::frameworks::sensorservice::V1_0::IDirectReportChannel follow.
60 } // namespace sensorservice
DirectReportChannel.cpp 22 namespace sensorservice { namespace in namespace:android::frameworks
33 // Methods from ::android::frameworks::sensorservice::V1_0::IDirectReportChannel follow.
46 } // namespace sensorservice
utils.h 20 #include <android/frameworks/sensorservice/1.0/types.h>
26 namespace sensorservice { namespace in namespace:android::frameworks
37 } // namespace sensorservice
  /frameworks/hardware/interfaces/
current.txt 7 3a62db403ef1f53a9b52a64d20be550537883e7cdb5a2569df755f5b2c7584b3 android.frameworks.sensorservice@1.0::IDirectReportChannel
8 c5d28aaea039b81a4a1309134564f55df3aaa964e992870aa9cd5ffd201541eb android.frameworks.sensorservice@1.0::IEventQueue
9 6f20cd7b412b278a54a423fb94f5e470087fbf6b13a3aa7dab14b3b2f2593dd4 android.frameworks.sensorservice@1.0::IEventQueueCallback
10 24bf4ab7c7e0d7eb8dce8eb1ac4ea7bd1cc95c44779fb23e137d3e87a15fac7d android.frameworks.sensorservice@1.0::ISensorManager
11 159f1a3fbb0ef043f4c4b31fc418ba40e75030a10f249bc2d39df88da82317b9 android.frameworks.sensorservice@1.0::types
  /frameworks/native/services/sensorservice/tests/
Android.mk 12 LOCAL_MODULE:= test-sensorservice
  /frameworks/base/services/core/jni/
com_android_server_SystemServer.cpp 23 #include <sensorservice/SensorService.h>
37 SensorService::instantiate();
45 using ::android::frameworks::sensorservice::V1_0::ISensorManager;
46 using ::android::frameworks::sensorservice::V1_0::implementation::SensorManager;
56 sp<ISensorManager> sensorService = new SensorManager(vm);
57 err = sensorService->registerAsService();
  /frameworks/hardware/interfaces/sensorservice/1.0/
Android.bp 4 name: "android.frameworks.sensorservice@1.0",
  /frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/
ASensorEventQueue.h 21 #include <android/frameworks/sensorservice/1.0/IEventQueue.h>
22 #include <android/frameworks/sensorservice/1.0/IEventQueueCallback.h>
32 : public android::frameworks::sensorservice::V1_0::IEventQueueCallback {
34 using IEventQueue = android::frameworks::sensorservice::V1_0::IEventQueue;
  /system/sepolicy/prebuilts/api/26.0/public/
hal_sensors.te 11 # fd is passed in from framework sensorservice HAL.
  /system/sepolicy/prebuilts/api/27.0/public/
hal_sensors.te 11 # fd is passed in from framework sensorservice HAL.
  /system/sepolicy/prebuilts/api/28.0/public/
hal_sensors.te 11 # fd is passed in from framework sensorservice HAL.
  /system/sepolicy/public/
hal_sensors.te 11 # fd is passed in from framework sensorservice HAL.
  /frameworks/native/services/sensorservice/hidl/include/sensorservicehidl/
SensorManager.h 25 #include <android/frameworks/sensorservice/1.0/ISensorManager.h>
26 #include <android/frameworks/sensorservice/1.0/types.h>
34 namespace sensorservice { namespace in namespace:android::frameworks
49 // Methods from ::android::frameworks::sensorservice::V1_0::ISensorManager follow.
74 } // namespace sensorservice
  /cts/tests/sensor/
AndroidTest.xml 24 <!-- Put SensorService in restricted mode so that only CTS tests will be able to get access to
27 <option name="run-command" value="dumpsys sensorservice restrict .cts." />
28 <option name="teardown-command" value="dumpsys sensorservice enable" />

Completed in 286 milliseconds

1 2 3 4 5