Home
last modified time | relevance | path

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

/frameworks/native/services/vibratorservice/test/
DVibratorHalWrapperHidlV1_0Test.cpp123 ASSERT_TRUE(mWrapper->on(10ms, callback).isUnsupported()); in TEST_F()
144 ASSERT_TRUE(mWrapper->off().isUnsupported()); in TEST_F()
175 ASSERT_TRUE(mWrapper->setAmplitude(2.0f / maxAmplitude).isUnsupported()); in TEST_F()
181 ASSERT_TRUE(mWrapper->setExternalControl(true).isUnsupported()); in TEST_F()
182 ASSERT_TRUE(mWrapper->setExternalControl(false).isUnsupported()); in TEST_F()
186 ASSERT_TRUE(mWrapper->alwaysOnEnable(1, Effect::CLICK, EffectStrength::LIGHT).isUnsupported()); in TEST_F()
190 ASSERT_TRUE(mWrapper->alwaysOnDisable(1).isUnsupported()); in TEST_F()
205 ASSERT_TRUE(info.supportedEffects.isUnsupported()); in TEST_F()
206 ASSERT_TRUE(info.supportedBraking.isUnsupported()); in TEST_F()
207 ASSERT_TRUE(info.supportedPrimitives.isUnsupported()); in TEST_F()
[all …]
DVibratorManagerHalWrapperLegacyTest.cpp67 ASSERT_TRUE(mWrapper->ping().isUnsupported()); in TEST_F()
120 ASSERT_TRUE(mWrapper->prepareSynced(vibratorIds).isUnsupported()); in TEST_F()
121 ASSERT_TRUE(mWrapper->triggerSynced([]() {}).isUnsupported()); in TEST_F()
122 ASSERT_TRUE(mWrapper->cancelSynced().isUnsupported()); in TEST_F()
DVibratorManagerHalControllerTest.cpp152 ASSERT_TRUE(mController->ping().isUnsupported()); in TEST_F()
153 ASSERT_TRUE(mController->getCapabilities().isUnsupported()); in TEST_F()
154 ASSERT_TRUE(mController->getVibratorIds().isUnsupported()); in TEST_F()
155 ASSERT_TRUE(mController->getVibrator(VIBRATOR_ID).isUnsupported()); in TEST_F()
156 ASSERT_TRUE(mController->prepareSynced(VIBRATOR_IDS).isUnsupported()); in TEST_F()
157 ASSERT_TRUE(mController->triggerSynced([]() {}).isUnsupported()); in TEST_F()
158 ASSERT_TRUE(mController->cancelSynced().isUnsupported()); in TEST_F()
DVibratorHalWrapperAidlTest.cpp168 ASSERT_TRUE(mWrapper->on(100ms, callback).isUnsupported()); in TEST_F()
204 ASSERT_TRUE(mWrapper->on(11ms, callback).isUnsupported()); in TEST_F()
220 ASSERT_TRUE(mWrapper->off().isUnsupported()); in TEST_F()
237 ASSERT_TRUE(mWrapper->setAmplitude(0.2f).isUnsupported()); in TEST_F()
253 ASSERT_TRUE(mWrapper->setExternalControl(false).isUnsupported()); in TEST_F()
276 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
295 ASSERT_TRUE(mWrapper->alwaysOnDisable(2).isUnsupported()); in TEST_F()
471 ASSERT_TRUE(info.supportedBraking.isUnsupported()); in TEST_F()
472 ASSERT_TRUE(info.supportedPrimitives.isUnsupported()); in TEST_F()
473 ASSERT_TRUE(info.primitiveDurations.isUnsupported()); in TEST_F()
[all …]
DVibratorHalControllerTest.cpp142 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
206 ASSERT_TRUE(mController->doWithRetry<void>(OFF_FN, "off").isUnsupported()); in TEST_F()
207 ASSERT_TRUE(mController->doWithRetry<void>(PING_FN, "ping").isUnsupported()); in TEST_F()
DVibratorManagerHalWrapperAidlTest.cpp159 ASSERT_TRUE(mWrapper->getCapabilities().isUnsupported()); in TEST_F()
195 ASSERT_TRUE(mWrapper->getVibratorIds().isUnsupported()); in TEST_F()
297 ASSERT_TRUE(mWrapper->prepareSynced(kVibratorIds).isUnsupported()); in TEST_F()
319 ASSERT_TRUE(mWrapper->triggerSynced(callback).isUnsupported()); in TEST_F()
351 ASSERT_TRUE(mWrapper->cancelSynced().isUnsupported()); in TEST_F()
DVibratorHalWrapperHidlV1_1Test.cpp145 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
162 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
DVibratorHalWrapperHidlV1_2Test.cpp172 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
189 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
DVibratorHalWrapperHidlV1_3Test.cpp103 ASSERT_TRUE(mWrapper->setExternalControl(true).isUnsupported()); in TEST_F()
370 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
/frameworks/native/services/powermanager/tests/
DPowerHalControllerTest.cpp137 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
139 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
207 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
209 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
DPowerHalWrapperAidlTest.cpp121 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
123 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
185 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
187 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
DPowerHalWrapperHidlV1_0Test.cpp91 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
135 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
DPowerHalWrapperHidlV1_1Test.cpp108 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
156 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
/frameworks/minikin/libs/minikin/
DLocale.h109 return !isUnsupported() && isEqualScript(other) && mLanguage == other.mLanguage &&
128 inline bool isUnsupported() const { return !isSupported(); } in isUnsupported() function
DLocaleListCache.cpp94 if (locale.isUnsupported()) { in parseLocaleList()
/frameworks/minikin/tests/unittest/
DFontFamilyTest.cpp69 EXPECT_TRUE(defaultLocale.isUnsupported()); in TEST()
70 EXPECT_TRUE(emptyLocale.isUnsupported()); in TEST()
72 EXPECT_FALSE(english.isUnsupported()); in TEST()
73 EXPECT_FALSE(french.isUnsupported()); in TEST()
74 EXPECT_FALSE(und.isUnsupported()); in TEST()
75 EXPECT_FALSE(undZsye.isUnsupported()); in TEST()
/frameworks/native/include/powermanager/
DPowerHalWrapper.h70 bool isUnsupported() const { return mUnsupported; } in isUnsupported() function
101 bool isUnsupported() const { return mUnsupported; } in isUnsupported() function
/frameworks/base/services/core/jni/
Dcom_android_server_vibrator_VibratorController.cpp228 return result.isOk() ? timeoutMs : (result.isUnsupported() ? 0 : -1); in vibratorOn()
280 return result.isOk() ? result.value().count() : (result.isUnsupported() ? 0 : -1); in vibratorPerformEffect()
302 return result.isOk() ? result.value().count() : (result.isUnsupported() ? 0 : -1); in vibratorPerformComposedEffect()
336 return result.isOk() ? totalDuration.count() : (result.isUnsupported() ? 0 : -1); in vibratorPerformPwleEffect()
/frameworks/native/services/vibratorservice/include/vibratorservice/
DVibratorHalWrapper.h70 bool isUnsupported() const { return mUnsupported; } in isUnsupported() function
108 bool isUnsupported() const { return mUnsupported; } in isUnsupported() function
/frameworks/native/opengl/tools/glgen/src/
DJniCodeEmitter.java981 boolean isUnsupported = isUnsupportedFunc(cfunc); in emitJniCode()
982 if (isUnsupported) { in emitJniCode()
/frameworks/native/services/vibratorservice/
DVibratorHalWrapper.cpp192 if (mInfoCache.mSupportedPrimitives.isUnsupported()) { in getPrimitiveDurations()