Home
last modified time | relevance | path

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

/frameworks/base/tests/PlatformCompatGating/src/com/android/tests/gating/
DPlatformCompatCommandNotInstalledTest.kt76 Params(enableDisable = null, targetSdk = 29, result = false), in parameters()
77 Params(enableDisable = null, targetSdk = 30, result = true), in parameters()
79 Params(enableDisable = true, targetSdk = 29, result = true), in parameters()
80 Params(enableDisable = true, targetSdk = 30, result = true), in parameters()
82 Params(enableDisable = false, targetSdk = 29, result = false), in parameters()
83 Params(enableDisable = false, targetSdk = 30, result = false) in parameters()
87 data class Params(val enableDisable: Boolean?, val targetSdk: Int, val result: Boolean) in parameters() constant in com.android.tests.gating.PlatformCompatCommandNotInstalledTest.Params
114 when (params.enableDisable) { in ParcelFileDescriptor()
/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/
DSensorEventConnection.h75 virtual status_t enableDisable(int handle, bool enabled, nsecs_t samplingPeriodNs,
DSensorDirectConnection.cpp108 status_t SensorService::SensorDirectConnection::enableDisable( in enableDisable() function in android::SensorService::SensorDirectConnection
DSensorEventConnection.cpp664 status_t SensorService::SensorEventConnection::enableDisable( in enableDisable() function in android::SensorService::SensorEventConnection