Home
last modified time | relevance | path

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

12

/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.cpp141 ASSERT_TRUE(result.capabilities.isUnsupported()); in TEST_F()
162 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
233 ASSERT_TRUE(mController->doWithRetry<void>(OFF_FN, "off").isUnsupported()); in TEST_F()
234 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()
298 ASSERT_TRUE(mWrapper->prepareSynced(kVibratorIds).isUnsupported()); in TEST_F()
320 ASSERT_TRUE(mWrapper->triggerSynced(callback).isUnsupported()); in TEST_F()
352 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/
DPowerHalWrapperHidlV1_1Test.cpp101 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
103 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
105 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
156 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
158 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
160 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
162 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
DPowerHalWrapperHidlV1_0Test.cpp95 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
97 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
99 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
149 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
151 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
153 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
155 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
DPowerHalWrapperHidlV1_3Test.cpp123 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
125 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
127 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
203 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
205 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
207 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
209 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
DPowerHalWrapperHidlV1_2Test.cpp118 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
120 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
122 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
193 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
195 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
197 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
199 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
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.cpp145 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
147 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
218 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
225 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
336 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
344 ASSERT_TRUE(result.isUnsupported()); in TEST_F()
/frameworks/minikin/libs/minikin/
DLocale.h100 return !isUnsupported() && isEqualScript(other) && mLanguage == other.mLanguage &&
117 inline bool isUnsupported() const { return !isSupported(); } in isUnsupported() function
DLocaleListCache.cpp94 if (locale.isUnsupported()) { in parseLocaleList()
/frameworks/native/services/powermanager/
DPowerHintSessionWrapper.cpp30 if (result.isUnsupported()) { \
DPowerHalController.cpp93 if (result.isUnsupported()) { \
/frameworks/native/include/powermanager/
DHalResult.h103 bool isUnsupported() const { return mUnsupported; } in isUnsupported() function
152 bool isUnsupported() const { return mUnsupported; } in isUnsupported() function
/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/base/services/core/jni/
Dcom_android_server_vibrator_VibratorController.cpp239 return result.isOk() ? timeoutMs : (result.isUnsupported() ? 0 : -1); in vibratorOn()
292 return result.isOk() ? result.value().count() : (result.isUnsupported() ? 0 : -1); in vibratorPerformEffect()
314 return result.isOk() ? result.value().count() : (result.isUnsupported() ? 0 : -1); in vibratorPerformComposedEffect()
348 return result.isOk() ? totalDuration.count() : (result.isUnsupported() ? 0 : -1); in vibratorPerformPwleEffect()
Dcom_android_server_hint_HintManagerService.cpp86 } else if (result.isUnsupported()) { in createHintSession()
110 } else if (result.isUnsupported()) { in createHintSessionWithConfig()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DPowerAdvisor.cpp137 if (ret.isUnsupported()) { in setExpensiveRenderingExpected()
172 if (ret.isUnsupported()) { in notifyDisplayUpdateImminentAndCpuReset()
248 else if (mFirstConfigSupportCheck || ret.isUnsupported()) { in ensurePowerHintSessionRunning()
/frameworks/native/services/vibratorservice/
DVibratorHalWrapper.cpp123 if (mInfoCache.mSupportedPrimitives.isUnsupported()) { in getPrimitiveDurations()
345 if (halResult.isUnsupported()) { in getPrimitiveDurationsInternal()

12