Home
last modified time | relevance | path

Searched refs:isFailed (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/native/services/vibratorservice/test/
DVibratorHalWrapperAidlTest.cpp140 ASSERT_TRUE(mWrapper->ping().isFailed()); in TEST_F()
172 ASSERT_TRUE(mWrapper->on(1000ms, callback).isFailed()); in TEST_F()
205 ASSERT_TRUE(mWrapper->on(12ms, callback).isFailed()); in TEST_F()
221 ASSERT_TRUE(mWrapper->off().isFailed()); in TEST_F()
238 ASSERT_TRUE(mWrapper->setAmplitude(0.5f).isFailed()); in TEST_F()
254 ASSERT_TRUE(mWrapper->setExternalControl(false).isFailed()); in TEST_F()
278 ASSERT_TRUE(result.isFailed()); in TEST_F()
296 ASSERT_TRUE(mWrapper->alwaysOnDisable(3).isFailed()); in TEST_F()
376 ASSERT_TRUE(failed.capabilities.isFailed()); in TEST_F()
377 ASSERT_TRUE(failed.supportedEffects.isFailed()); in TEST_F()
[all …]
DVibratorManagerHalControllerTest.cpp171 ASSERT_TRUE(mController->ping().isFailed()); in TEST_F()
172 ASSERT_TRUE(mController->getCapabilities().isFailed()); in TEST_F()
173 ASSERT_TRUE(mController->getVibratorIds().isFailed()); in TEST_F()
174 ASSERT_TRUE(mController->getVibrator(VIBRATOR_ID).isFailed()); in TEST_F()
175 ASSERT_TRUE(mController->prepareSynced(VIBRATOR_IDS).isFailed()); in TEST_F()
176 ASSERT_TRUE(mController->triggerSynced([]() {}).isFailed()); in TEST_F()
177 ASSERT_TRUE(mController->cancelSynced().isFailed()); in TEST_F()
DVibratorHalWrapperHidlV1_0Test.cpp87 ASSERT_TRUE(mWrapper->ping().isFailed()); in TEST_F()
124 ASSERT_TRUE(mWrapper->on(11ms, callback).isFailed()); in TEST_F()
125 ASSERT_TRUE(mWrapper->on(12ms, callback).isFailed()); in TEST_F()
145 ASSERT_TRUE(mWrapper->off().isFailed()); in TEST_F()
146 ASSERT_TRUE(mWrapper->off().isFailed()); in TEST_F()
176 ASSERT_TRUE(mWrapper->setAmplitude(3.0f / maxAmplitude).isFailed()); in TEST_F()
177 ASSERT_TRUE(mWrapper->setAmplitude(4.0f / maxAmplitude).isFailed()); in TEST_F()
201 ASSERT_TRUE(mWrapper->getInfo().capabilities.isFailed()); in TEST_F()
300 ASSERT_TRUE(result.isFailed()); in TEST_F()
303 ASSERT_TRUE(result.isFailed()); in TEST_F()
DVibratorHalWrapperHidlV1_3Test.cpp104 ASSERT_TRUE(mWrapper->setExternalControl(false).isFailed()); in TEST_F()
105 ASSERT_TRUE(mWrapper->setExternalControl(false).isFailed()); in TEST_F()
185 ASSERT_TRUE(mWrapper->getInfo().capabilities.isFailed()); in TEST_F()
186 ASSERT_TRUE(mWrapper->getInfo().capabilities.isFailed()); in TEST_F()
237 ASSERT_TRUE(mWrapper->getInfo().capabilities.isFailed()); in TEST_F()
240 ASSERT_TRUE(mWrapper->getInfo().capabilities.isFailed()); in TEST_F()
373 ASSERT_TRUE(result.isFailed()); in TEST_F()
376 ASSERT_TRUE(result.isFailed()); in TEST_F()
DVibratorManagerHalWrapperAidlTest.cpp148 ASSERT_TRUE(mWrapper->ping().isFailed()); in TEST_F()
160 ASSERT_TRUE(mWrapper->getCapabilities().isFailed()); in TEST_F()
196 ASSERT_TRUE(mWrapper->getVibratorIds().isFailed()); in TEST_F()
246 ASSERT_TRUE(mWrapper->getVibrator(0).isFailed()); in TEST_F()
275 ASSERT_TRUE(vibrator->doWithRetry<void>(OFF_FN, "off").isFailed()); in TEST_F()
298 ASSERT_TRUE(mWrapper->prepareSynced(kVibratorIds).isFailed()); in TEST_F()
320 ASSERT_TRUE(mWrapper->triggerSynced(callback).isFailed()); in TEST_F()
352 ASSERT_TRUE(mWrapper->cancelSynced().isFailed()); in TEST_F()
DVibratorManagerHalWrapperLegacyTest.cpp105 ASSERT_TRUE(mWrapper->getVibrator(0).isFailed()); in TEST_F()
113 ASSERT_TRUE(mWrapper->getVibrator(-1).isFailed()); in TEST_F()
DVibratorHalControllerTest.cpp119 ASSERT_FALSE(result.capabilities.isFailed()); in TEST_F()
155 ASSERT_TRUE(result.isFailed()); in TEST_F()
236 ASSERT_TRUE(mController->doWithRetry<void>(PING_FN, "ping").isFailed()); in TEST_F()
DVibratorHalWrapperHidlV1_1Test.cpp148 ASSERT_TRUE(result.isFailed()); in TEST_F()
151 ASSERT_TRUE(result.isFailed()); in TEST_F()
DVibratorHalWrapperHidlV1_2Test.cpp175 ASSERT_TRUE(result.isFailed()); in TEST_F()
178 ASSERT_TRUE(result.isFailed()); in TEST_F()
/frameworks/native/services/vibratorservice/
DVibratorHalWrapper.cpp132 if (mInfoCache.mSupportedEffects.isFailed()) { in getInfo()
135 if (mInfoCache.mSupportedBraking.isFailed()) { in getInfo()
138 if (mInfoCache.mPrimitiveDelayMax.isFailed()) { in getInfo()
141 if (mInfoCache.mPwlePrimitiveDurationMax.isFailed()) { in getInfo()
144 if (mInfoCache.mCompositionSizeMax.isFailed()) { in getInfo()
147 if (mInfoCache.mPwleSizeMax.isFailed()) { in getInfo()
150 if (mInfoCache.mMinFrequency.isFailed()) { in getInfo()
153 if (mInfoCache.mResonantFrequency.isFailed()) { in getInfo()
156 if (mInfoCache.mFrequencyResolution.isFailed()) { in getInfo()
159 if (mInfoCache.mQFactor.isFailed()) { in getInfo()
[all …]
DVibratorManagerHalController.cpp47 if (result.isFailed()) { in processHalResult()
74 for (int i = 0; i < MAX_RETRIES && ret.isFailed(); i++) { in apply()
/frameworks/native/services/powermanager/tests/
DPowerHalWrapperAidlTest.cpp110 ASSERT_TRUE(result.isFailed()); in TEST_F()
112 ASSERT_TRUE(result.isFailed()); in TEST_F()
174 ASSERT_TRUE(result.isFailed()); in TEST_F()
176 ASSERT_TRUE(result.isFailed()); in TEST_F()
235 ASSERT_TRUE(result.isFailed()); in TEST_F()
DPowerHalWrapperHidlV1_0Test.cpp86 ASSERT_TRUE(result.isFailed()); in TEST_F()
130 ASSERT_TRUE(result.isFailed()); in TEST_F()
DPowerHalWrapperHidlV1_1Test.cpp103 ASSERT_TRUE(result.isFailed()); in TEST_F()
151 ASSERT_TRUE(result.isFailed()); in TEST_F()
DPowerHalControllerTest.cpp187 ASSERT_TRUE(result.isFailed()); in TEST_F()
260 ASSERT_TRUE(result.isFailed()); in TEST_F()
/frameworks/base/core/java/android/print/
DPrintJob.java100 if (isFailed()) { in restart()
165 public boolean isFailed() { in isFailed() method in PrintJob
/frameworks/native/services/powermanager/benchmarks/
DPowerHalControllerBenchmarks.cpp50 if (ret.isFailed()) state.SkipWithError("Power HAL request failed"); in runBenchmark()
65 if (ret.isFailed()) { in runCachedBenchmark()
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
DExceptionTextView.java45 public boolean isFailed() { in isFailed() method in ExceptionTextView
DBaselineAlignmentZeroWidthAndWeightTest.java59 assertFalse("exception test view should not fail", etv.isFailed()); in testComputeTexViewWithoutIllegalArgumentException()
/frameworks/compile/mclinker/include/mcld/Support/
DFileHandle.h108 bool isFailed() const;
/frameworks/native/services/powermanager/
DPowerHalController.cpp79 if (result.isFailed()) { in processHalResult()
/frameworks/native/include/powermanager/
DPowerHalWrapper.h69 bool isFailed() const { return !mUnsupported && !mValue.has_value(); } in isFailed() function
100 bool isFailed() const { return !mUnsupported && mFailed; } in isFailed() function
/frameworks/native/services/vibratorservice/include/vibratorservice/
DVibratorHalWrapper.h69 bool isFailed() const { return !mUnsupported && !mValue.has_value(); } in isFailed() function
73 if (isFailed()) { in isFailedLogged()
107 bool isFailed() const { return !mUnsupported && mFailed; } in isFailed() function
111 if (isFailed()) { in isFailedLogged()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DCachedBluetoothDevice.java270 void setProfileConnectedStatus(int profileId, boolean isFailed) { in setProfileConnectedStatus() argument
273 mIsA2dpProfileConnectedFail = isFailed; in setProfileConnectedStatus()
276 mIsHeadsetProfileConnectedFail = isFailed; in setProfileConnectedStatus()
279 mIsHearingAidProfileConnectedFail = isFailed; in setProfileConnectedStatus()
282 mIsLeAudioProfileConnectedFail = isFailed; in setProfileConnectedStatus()
/frameworks/compile/mclinker/lib/Support/
DFileHandle.cpp239 bool FileHandle::isFailed() const { in isFailed() function in mcld::FileHandle

12