Home
last modified time | relevance | path

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

/frameworks/base/tests/PlatformCompatGating/src/com/android/tests/gating/
DPlatformCompatCommandNotInstalledTest.kt76 Params(enableDisable = null, targetSdk = 29, result = false), in <lambda>()
77 Params(enableDisable = null, targetSdk = 30, result = true), in <lambda>()
79 Params(enableDisable = true, targetSdk = 29, result = false), in <lambda>()
80 Params(enableDisable = true, targetSdk = 30, result = true), in <lambda>()
82 Params(enableDisable = false, targetSdk = 29, result = false), in <lambda>()
83 Params(enableDisable = false, targetSdk = 30, result = true) in <lambda>()
87 data class Params(val enableDisable: Boolean?, val targetSdk: Int, val result: Boolean) in <lambda>() constant in com.android.tests.gating.PlatformCompatCommandNotInstalledTest.Params
117 when (params.enableDisable) { in <lambda>()
/frameworks/native/libs/sensor/
DSensorEventQueue.cpp130 return mSensorEventConnection->enableDisable(sensor->getHandle(), true, in enableSensor()
135 return mSensorEventConnection->enableDisable(sensor->getHandle(), false, 0, 0, 0); in disableSensor()
140 return mSensorEventConnection->enableDisable(handle, true, us2ns(samplingPeriodUs), in enableSensor()
149 return mSensorEventConnection->enableDisable(handle, false, 0, 0, false); in disableSensor()
DISensorEventConnection.cpp61 virtual status_t enableDisable(int handle, bool enabled, nsecs_t samplingPeriodNs, in enableDisable() function in android::BpSensorEventConnection
138 status_t result = enableDisable(handle, enabled, samplingPeriodNs, in onTransact()
/frameworks/native/libs/sensor/include/sensor/
DISensorEventConnection.h40 virtual status_t enableDisable(int handle, bool enabled, nsecs_t samplingPeriodNs,
/frameworks/native/services/sensorservice/
DSensorDirectConnection.h61 virtual status_t enableDisable(int handle, bool enabled, nsecs_t samplingPeriodNs,
DSensorEventConnection.h80 virtual status_t enableDisable(int handle, bool enabled, nsecs_t samplingPeriodNs,
DSensorDirectConnection.cpp118 status_t SensorService::SensorDirectConnection::enableDisable( in enableDisable() function in android::SensorService::SensorDirectConnection
DSensorEventConnection.cpp679 status_t SensorService::SensorEventConnection::enableDisable( in enableDisable() function in android::SensorService::SensorEventConnection