/frameworks/native/services/vibratorservice/test/ |
D | VibratorHalWrapperAidlTest.cpp | 140 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 …]
|
D | VibratorManagerHalControllerTest.cpp | 171 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()
|
D | VibratorHalWrapperHidlV1_0Test.cpp | 87 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()
|
D | VibratorHalWrapperHidlV1_3Test.cpp | 104 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()
|
D | VibratorManagerHalWrapperAidlTest.cpp | 148 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()
|
D | VibratorManagerHalWrapperLegacyTest.cpp | 105 ASSERT_TRUE(mWrapper->getVibrator(0).isFailed()); in TEST_F() 113 ASSERT_TRUE(mWrapper->getVibrator(-1).isFailed()); in TEST_F()
|
D | VibratorHalControllerTest.cpp | 119 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()
|
D | VibratorHalWrapperHidlV1_1Test.cpp | 148 ASSERT_TRUE(result.isFailed()); in TEST_F() 151 ASSERT_TRUE(result.isFailed()); in TEST_F()
|
D | VibratorHalWrapperHidlV1_2Test.cpp | 175 ASSERT_TRUE(result.isFailed()); in TEST_F() 178 ASSERT_TRUE(result.isFailed()); in TEST_F()
|
/frameworks/native/services/vibratorservice/ |
D | VibratorHalWrapper.cpp | 132 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 …]
|
D | VibratorManagerHalController.cpp | 47 if (result.isFailed()) { in processHalResult() 74 for (int i = 0; i < MAX_RETRIES && ret.isFailed(); i++) { in apply()
|
/frameworks/native/services/powermanager/tests/ |
D | PowerHalWrapperAidlTest.cpp | 110 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()
|
D | PowerHalWrapperHidlV1_0Test.cpp | 86 ASSERT_TRUE(result.isFailed()); in TEST_F() 130 ASSERT_TRUE(result.isFailed()); in TEST_F()
|
D | PowerHalWrapperHidlV1_1Test.cpp | 103 ASSERT_TRUE(result.isFailed()); in TEST_F() 151 ASSERT_TRUE(result.isFailed()); in TEST_F()
|
D | PowerHalControllerTest.cpp | 187 ASSERT_TRUE(result.isFailed()); in TEST_F() 260 ASSERT_TRUE(result.isFailed()); in TEST_F()
|
/frameworks/base/core/java/android/print/ |
D | PrintJob.java | 100 if (isFailed()) { in restart() 165 public boolean isFailed() { in isFailed() method in PrintJob
|
/frameworks/native/services/powermanager/benchmarks/ |
D | PowerHalControllerBenchmarks.cpp | 50 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/ |
D | ExceptionTextView.java | 45 public boolean isFailed() { in isFailed() method in ExceptionTextView
|
D | BaselineAlignmentZeroWidthAndWeightTest.java | 59 assertFalse("exception test view should not fail", etv.isFailed()); in testComputeTexViewWithoutIllegalArgumentException()
|
/frameworks/compile/mclinker/include/mcld/Support/ |
D | FileHandle.h | 108 bool isFailed() const;
|
/frameworks/native/services/powermanager/ |
D | PowerHalController.cpp | 79 if (result.isFailed()) { in processHalResult()
|
/frameworks/native/include/powermanager/ |
D | PowerHalWrapper.h | 69 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/ |
D | VibratorHalWrapper.h | 69 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/ |
D | CachedBluetoothDevice.java | 270 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/ |
D | FileHandle.cpp | 239 bool FileHandle::isFailed() const { in isFailed() function in mcld::FileHandle
|