Home
last modified time | relevance | path

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

/hardware/interfaces/vibrator/bench/
Dbenchmark.cpp370 int32_t hasCapabilities(int32_t capabilities) { in hasCapabilities() function in VibratorBench_Aidl
421 auto cb = hasCapabilities(Aidl::IVibrator::CAP_ON_CALLBACK) ? new HalCallback() : nullptr;
444 auto cb = hasCapabilities(Aidl::IVibrator::CAP_ON_CALLBACK) ? new HalCallback() : nullptr;
481 if (!hasCapabilities(Aidl::IVibrator::CAP_AMPLITUDE_CONTROL)) {
486 auto cb = hasCapabilities(Aidl::IVibrator::CAP_ON_CALLBACK) ? new HalCallback() : nullptr;
499 if (!hasCapabilities(Aidl::IVibrator::CAP_EXTERNAL_CONTROL)) {
523 if (!hasCapabilities(externalControl | externalAmplitudeControl)) {
551 if (!hasCapabilities(Aidl::IVibrator::CAP_ALWAYS_ON_CONTROL)) {
617 if (!hasCapabilities(Aidl::IVibrator::CAP_ALWAYS_ON_CONTROL)) {
647 if (!hasCapabilities(Aidl::IVibrator::CAP_ALWAYS_ON_CONTROL)) {
[all …]