Home
last modified time | relevance | path

Searched refs:ok (Results 1 – 25 of 90) sorted by relevance

1234

/hardware/interfaces/biometrics/face/aidl/default/
DSession.cpp33 return ndk::ScopedAStatus::ok(); in cancel()
47 return ndk::ScopedAStatus::ok(); in generateChallenge()
55 return ndk::ScopedAStatus::ok(); in revokeChallenge()
61 return ndk::ScopedAStatus::ok(); in getEnrollmentConfig()
73 return ndk::ScopedAStatus::ok(); in enroll()
83 return ndk::ScopedAStatus::ok(); in authenticate()
89 return ndk::ScopedAStatus::ok(); in detectInteraction()
97 return ndk::ScopedAStatus::ok(); in enumerateEnrollments()
105 return ndk::ScopedAStatus::ok(); in removeEnrollments()
114 return ndk::ScopedAStatus::ok(); in getFeatures()
[all …]
/hardware/google/graphics/common/libhwc2.1/
Dpixel-display.cpp68 return ndk::ScopedAStatus::ok(); in isHbmSupported()
82 return ndk::ScopedAStatus::ok(); in isLbeSupported()
85 return ndk::ScopedAStatus::ok(); in isLbeSupported()
91 return ndk::ScopedAStatus::ok(); in setLbeState()
99 return ndk::ScopedAStatus::ok(); in setLbeAmbientLight()
107 return ndk::ScopedAStatus::ok(); in getLbeState()
115 return ndk::ScopedAStatus::ok(); in isLhbmSupported()
124 return ndk::ScopedAStatus::ok(); in setLhbmState()
134 return ndk::ScopedAStatus::ok(); in getLhbmState()
147 return ndk::ScopedAStatus::ok(); in setCompensationImageHandle()
[all …]
/hardware/interfaces/automotive/vehicle/2.0/utils/tests/
DUserHalHelper_test.cpp95 ASSERT_TRUE(actual.ok()) << actual.error().message(); in TEST()
113 ASSERT_TRUE(actual.ok()) << actual.error().message(); in TEST()
134 ASSERT_TRUE(actual.ok()) << actual.error().message(); in TEST()
148 EXPECT_FALSE(actual.ok()) << "No error returned on invalid user flags"; in TEST()
160 EXPECT_FALSE(actual.ok()) << "No error returned on mismatching property type"; in TEST()
172 EXPECT_FALSE(actual.ok()) << "No error returned on invalid request type"; in TEST()
184 EXPECT_FALSE(actual.ok()) << "No error returned on invalid user flags"; in TEST()
196 EXPECT_FALSE(actual.ok()) << "No error returned on missing second user info"; in TEST()
205 EXPECT_FALSE(actual.ok()) << "No error returned on missing users info"; in TEST()
225 ASSERT_TRUE(actual.ok()) << actual.error().message(); in TEST()
[all …]
/hardware/interfaces/oemlock/aidl/default/
DOemLock.cpp28 return ::ndk::ScopedAStatus::ok(); in getName()
35 return ::ndk::ScopedAStatus::ok(); in setOemUnlockAllowedByCarrier()
40 return ::ndk::ScopedAStatus::ok(); in isOemUnlockAllowedByCarrier()
45 return ::ndk::ScopedAStatus::ok(); in setOemUnlockAllowedByDevice()
50 return ::ndk::ScopedAStatus::ok(); in isOemUnlockAllowedByDevice()
/hardware/interfaces/biometrics/face/aidl/vts/
DVtsHalBiometricsFaceTargetTest.cpp44 return ndk::ScopedAStatus::ok(); in onChallengeGenerated()
52 return ndk::ScopedAStatus::ok(); in onChallengeRevoked()
56 return ndk::ScopedAStatus::ok(); in onAuthenticationFrame()
60 return ndk::ScopedAStatus::ok(); in onEnrollmentFrame()
69 return ndk::ScopedAStatus::ok(); in onError()
74 return ndk::ScopedAStatus::ok(); in onEnrollmentProgress()
79 return ndk::ScopedAStatus::ok(); in onAuthenticationSucceeded()
82 ndk::ScopedAStatus onAuthenticationFailed() override { return ndk::ScopedAStatus::ok(); } in onAuthenticationFailed()
85 return ndk::ScopedAStatus::ok(); in onLockoutTimed()
88 ndk::ScopedAStatus onLockoutPermanent() override { return ndk::ScopedAStatus::ok(); } in onLockoutPermanent()
[all …]
/hardware/interfaces/gnss/aidl/default/
DGnssConfiguration.h48 ndk::ScopedAStatus setSuplVersion(int) override { return ndk::ScopedAStatus::ok(); } in setSuplVersion()
50 ndk::ScopedAStatus setSuplMode(int) override { return ndk::ScopedAStatus::ok(); } in setSuplMode()
52 ndk::ScopedAStatus setLppProfile(int) override { return ndk::ScopedAStatus::ok(); } in setLppProfile()
55 return ndk::ScopedAStatus::ok(); in setGlonassPositioningProtocol()
58 ndk::ScopedAStatus setEmergencySuplPdn(bool) override { return ndk::ScopedAStatus::ok(); } in setEmergencySuplPdn()
60 ndk::ScopedAStatus setEsExtensionSec(int) override { return ndk::ScopedAStatus::ok(); } in setEsExtensionSec()
DGnss.cpp47 return ndk::ScopedAStatus::ok(); in setCallback()
53 return ndk::ScopedAStatus::ok(); in close()
59 return ndk::ScopedAStatus::ok(); in getExtensionPsds()
69 return ndk::ScopedAStatus::ok(); in getExtensionGnssConfiguration()
80 return ndk::ScopedAStatus::ok(); in getExtensionGnssPowerIndication()
88 return ndk::ScopedAStatus::ok(); in getExtensionGnssMeasurement()
/hardware/interfaces/automotive/vehicle/2.0/utils/
DUserHalHelper.cpp42 if (!prop.ok()) { in verifyPropValue()
89 if (!ret.ok()) { in parseUsersInfo()
97 if (!ret.ok()) { in parseUsersInfo()
116 if (!type.ok()) { in parseUserAssociationTypes()
136 if (!type.ok()) { in parseUserAssociations()
141 if (!value.ok()) { in parseUserAssociations()
165 if (!ret.ok()) { in toInitialUserInfoRequest()
171 if (!requestType.ok()) { in toInitialUserInfoRequest()
176 if (!ret.ok()) { in toInitialUserInfoRequest()
184 if (!ret.ok()) { in toSwitchUserRequest()
[all …]
/hardware/interfaces/vibrator/aidl/default/
DVibrator.cpp48 return ndk::ScopedAStatus::ok(); in getCapabilities()
53 return ndk::ScopedAStatus::ok(); in off()
69 return ndk::ScopedAStatus::ok(); in on()
97 return ndk::ScopedAStatus::ok(); in perform()
102 return ndk::ScopedAStatus::ok(); in getSupportedEffects()
110 return ndk::ScopedAStatus::ok(); in setAmplitude()
115 return ndk::ScopedAStatus::ok(); in setExternalControl()
120 return ndk::ScopedAStatus::ok(); in getCompositionDelayMax()
125 return ndk::ScopedAStatus::ok(); in getCompositionSizeMax()
136 return ndk::ScopedAStatus::ok(); in getSupportedPrimitives()
[all …]
DVibratorManager.cpp36 return ndk::ScopedAStatus::ok(); in getCapabilities()
42 return ndk::ScopedAStatus::ok(); in getVibratorIds()
50 return ndk::ScopedAStatus::ok(); in getVibrator()
60 return ndk::ScopedAStatus::ok(); in prepareSynced()
76 return ndk::ScopedAStatus::ok(); in triggerSynced()
81 return ndk::ScopedAStatus::ok(); in cancelSynced()
/hardware/interfaces/biometrics/fingerprint/aidl/default/
DSession.cpp75 return ndk::ScopedAStatus::ok(); in generateChallenge()
88 return ndk::ScopedAStatus::ok(); in revokeChallenge()
110 return ndk::ScopedAStatus::ok(); in enroll()
132 return ndk::ScopedAStatus::ok(); in authenticate()
153 return ndk::ScopedAStatus::ok(); in detectInteraction()
166 return ndk::ScopedAStatus::ok(); in enumerateEnrollments()
179 return ndk::ScopedAStatus::ok(); in removeEnrollments()
192 return ndk::ScopedAStatus::ok(); in getAuthenticatorId()
205 return ndk::ScopedAStatus::ok(); in invalidateAuthenticatorId()
218 return ndk::ScopedAStatus::ok(); in resetLockout()
[all …]
/hardware/qcom/sm7250/display/composer/
Dpixel-display.cpp58 return ndk::ScopedAStatus::ok(); in isHbmSupported()
68 return ndk::ScopedAStatus::ok(); in setHbmState()
78 return ndk::ScopedAStatus::ok(); in getHbmState()
88 return ndk::ScopedAStatus::ok(); in isLbeSupported()
98 return ndk::ScopedAStatus::ok(); in setLbeState()
108 return ndk::ScopedAStatus::ok(); in setLbeAmbientLight()
118 return ndk::ScopedAStatus::ok(); in getLbeState()
/hardware/interfaces/biometrics/fingerprint/aidl/vts/
DVtsHalBiometricsFingerprintTargetTest.cpp43 return ndk::ScopedAStatus::ok(); in onChallengeGenerated()
51 return ndk::ScopedAStatus::ok(); in onChallengeRevoked()
55 return ndk::ScopedAStatus::ok(); in onAcquired()
63 return ndk::ScopedAStatus::ok(); in onError()
68 return ndk::ScopedAStatus::ok(); in onEnrollmentProgress()
73 return ndk::ScopedAStatus::ok(); in onAuthenticationSucceeded()
76 ndk::ScopedAStatus onAuthenticationFailed() override { return ndk::ScopedAStatus::ok(); } in onAuthenticationFailed()
79 return ndk::ScopedAStatus::ok(); in onLockoutTimed()
82 ndk::ScopedAStatus onLockoutPermanent() override { return ndk::ScopedAStatus::ok(); } in onLockoutPermanent()
84 ndk::ScopedAStatus onLockoutCleared() override { return ndk::ScopedAStatus::ok(); } in onLockoutCleared()
[all …]
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DInvalidDevice.cpp39 return ndk::ScopedAStatus::ok(); in toAStatus()
91 return ndk::ScopedAStatus::ok(); in getCapabilities()
97 return ndk::ScopedAStatus::ok(); in getNumberOfCacheFilesNeeded()
102 return ndk::ScopedAStatus::ok(); in getSupportedExtensions()
107 if (const auto result = utils::validate(model); !result.ok()) { in getSupportedOperations()
111 return ndk::ScopedAStatus::ok(); in getSupportedOperations()
116 return ndk::ScopedAStatus::ok(); in getType()
121 return ndk::ScopedAStatus::ok(); in getVersionString()
133 if (const auto result = utils::validate(model); !result.ok()) { in prepareModel()
137 if (const auto result = utils::validate(preference); !result.ok()) { in prepareModel()
[all …]
/hardware/interfaces/automotive/can/1.0/default/libnl++/protocols/route/
Dstructs.cpp22 const auto& [ok, data] = attr.data<rtnl_link_ifmap>().getFirst(); in mapToStream()
23 if (!ok) { in mapToStream()
37 const auto& [ok, data] = attr.data<ifla_cacheinfo>().getFirst(); in ifla_cacheinfoToStream()
38 if (!ok) { in ifla_cacheinfoToStream()
/hardware/google/av/media/eco/tests/
DFakeECOServiceInfoListener.cpp61 return binder::Status::ok(); in getType()
66 return binder::Status::ok(); in getName()
71 return binder::Status::ok(); in getECOSession()
77 return binder::Status::ok(); in onNewInfo()
/hardware/interfaces/power/stats/aidl/default/
DPowerStats.cpp72 return ndk::ScopedAStatus::ok(); in getPowerEntityInfo()
78 return ndk::ScopedAStatus::ok(); in getStateResidency()
117 return ndk::ScopedAStatus::ok(); in getStateResidency()
122 return ndk::ScopedAStatus::ok(); in getEnergyConsumerInfo()
128 return ndk::ScopedAStatus::ok(); in getEnergyConsumed()
155 return ndk::ScopedAStatus::ok(); in getEnergyConsumed()
160 return ndk::ScopedAStatus::ok(); in getEnergyMeterInfo()
169 return ndk::ScopedAStatus::ok(); in readEnergyMeter()
/hardware/interfaces/automotive/can/1.0/default/
DCanController.cpp37 static const std::error_code ok; variable
80 if (fsStatus != fsErrors::ok) { in getIfaceName()
85 for (; fsStatus == fsErrors::ok && fsItr != fs::recursive_directory_iterator(); in getIfaceName()
90 if (fsStatus != fsErrors::ok || !isDir) continue; in getIfaceName()
100 if (fsStatus != fsErrors::ok) { in getIfaceName()
110 if (fsStatus != fsErrors::ok) { in getIfaceName()
128 if (fsStatus != fsErrors::ok) { in getIfaceName()
162 if (fsStatus != fsErrors::ok) { in findUsbDevice()
167 for (; fsStatus == fsErrors::ok && fsItr != fs::recursive_directory_iterator(); in findUsbDevice()
171 if (fsStatus != fsErrors::ok) { in findUsbDevice()
[all …]
/hardware/interfaces/automotive/occupant_awareness/aidl/mock/
DOccupantAwareness.cpp49 return ScopedAStatus::ok(); in startDetection()
65 return ScopedAStatus::ok(); in stopDetection()
84 return ScopedAStatus::ok(); in getCapabilityForRole()
104 return ScopedAStatus::ok(); in getState()
109 return ScopedAStatus::ok(); in getState()
120 return ScopedAStatus::ok(); in setCallback()
131 return ScopedAStatus::ok(); in getLatestDetection()
/hardware/google/pixel/power-libperfmgr/aidl/
DPowerExt.cpp49 return ndk::ScopedAStatus::ok(); in setMode()
56 return ndk::ScopedAStatus::ok(); in isModeSupported()
70 return ndk::ScopedAStatus::ok(); in setBoost()
77 return ndk::ScopedAStatus::ok(); in isBoostSupported()
/hardware/interfaces/weaver/aidl/default/
DWeaver.cpp28 return ::ndk::ScopedAStatus::ok(); in getConfig()
35 return ::ndk::ScopedAStatus::ok(); in read()
42 return ::ndk::ScopedAStatus::ok(); in write()
/hardware/interfaces/automotive/occupant_awareness/aidl/default/
DOccupantAwareness.cpp42 return ScopedAStatus::ok(); in startDetection()
55 return ScopedAStatus::ok(); in stopDetection()
65 return ScopedAStatus::ok(); in getCapabilityForRole()
81 return ScopedAStatus::ok(); in getState()
92 return ScopedAStatus::ok(); in setCallback()
/hardware/google/graphics/common/memtrack-pixel/core/
DMemtrack.cpp32 return ndk::ScopedAStatus::ok(); in getMemory()
36 return ndk::ScopedAStatus::ok(); in getMemory()
59 return ndk::ScopedAStatus::ok(); in getMemory()
73 return ndk::ScopedAStatus::ok(); in getGpuDeviceInfo()
/hardware/interfaces/power/aidl/default/
DPower.cpp34 return ndk::ScopedAStatus::ok(); in setMode()
40 return ndk::ScopedAStatus::ok(); in isModeSupported()
46 return ndk::ScopedAStatus::ok(); in setBoost()
52 return ndk::ScopedAStatus::ok(); in isBoostSupported()
/hardware/interfaces/automotive/audiocontrol/aidl/default/
DAudioControl.cpp80 return ndk::ScopedAStatus::ok(); in registerFocusListener()
87 return ndk::ScopedAStatus::ok(); in setBalanceTowardRight()
91 return ndk::ScopedAStatus::ok(); in setBalanceTowardRight()
98 return ndk::ScopedAStatus::ok(); in setFadeTowardFront()
102 return ndk::ScopedAStatus::ok(); in setFadeTowardFront()
109 return ndk::ScopedAStatus::ok(); in onAudioFocusChange()
130 return ndk::ScopedAStatus::ok(); in onDevicesToDuckChange()
147 return ndk::ScopedAStatus::ok(); in onDevicesToMuteChange()

1234