Home
last modified time | relevance | path

Searched refs:NONE (Results 1 – 25 of 212) sorted by relevance

123456789

/hardware/interfaces/graphics/composer/2.1/utils/hal/include/composer-hal/2.1/
DComposerCommandEngine.h78 ? Error::NONE in execute()
176 if (err != Error::NONE) { in executeSetColorTransform()
201 if (err == Error::NONE) { in executeSetClientTarget()
203 if (err == Error::NONE) { in executeSetClientTarget()
210 if (err != Error::NONE) { in executeSetClientTarget()
232 if (err == Error::NONE) { in executeSetOutputBuffer()
234 if (err == Error::NONE) { in executeSetOutputBuffer()
241 if (err != Error::NONE) { in executeSetOutputBuffer()
262 if (err == Error::NONE) { in executeValidateDisplay()
285 if (err == Error::NONE) { in executePresentOrValidateDisplay()
[all …]
DComposerResources.h58 return Error::NONE; in importBuffer()
69 if (error != mapper::V2_0::Error::NONE) { in importBuffer()
80 if (error != mapper::V3_0::Error::NONE) { in importBuffer()
86 return Error::NONE; in importBuffer()
111 return Error::NONE; in importStream()
175 return Error::NONE; in lookupCache()
187 return Error::NONE; in updateCache()
347 return result.second ? Error::NONE : Error::BAD_DISPLAY; in addPhysicalDisplay()
356 return result.second ? Error::NONE : Error::BAD_DISPLAY; in addVirtualDisplay()
361 return mDisplayResources.erase(display) > 0 ? Error::NONE : Error::BAD_DISPLAY; in removeDisplay()
[all …]
/hardware/interfaces/graphics/composer/2.1/utils/vts/
DComposerVts.cpp69 ASSERT_EQ(Error::NONE, tmpError) << "failed to create client"; in createClient()
84 EXPECT_EQ(Error::NONE, mClient->destroyLayer(display, layer)) in ~ComposerClient()
89 EXPECT_EQ(Error::NONE, mClient->destroyVirtualDisplay(display)) in ~ComposerClient()
115 ASSERT_EQ(Error::NONE, tmpError) << "failed to create virtual display"; in createVirtualDisplay()
128 ASSERT_EQ(Error::NONE, error) << "failed to destroy virtual display " << display; in destroyVirtualDisplay()
136 ASSERT_EQ(Error::NONE, tmpError) << "failed to create layer"; in createLayer()
153 ASSERT_EQ(Error::NONE, error) << "failed to destroy layer " << layer; in destroyLayer()
163 ASSERT_EQ(Error::NONE, tmpError) << "failed to get active config"; in getActiveConfig()
173 return error == Error::NONE; in getClientTargetSupport()
179 ASSERT_EQ(Error::NONE, tmpError) << "failed to get color mode"; in getColorModes()
[all …]
/hardware/interfaces/keymaster/4.0/vts/functional/
Dkeymaster_hidl_hal_test.cpp530 .Digest(Digest::NONE) in TEST_F()
531 .Padding(PaddingMode::NONE), in TEST_F()
565 .Digest(Digest::NONE) in TEST_F()
566 .Padding(PaddingMode::NONE))); in TEST_F()
583 .Digest(Digest::NONE) in TEST_F()
584 .Padding(PaddingMode::NONE), in TEST_F()
614 GenerateKey(AuthorizationSetBuilder().EcdsaSigningKey(key_size).Digest(Digest::NONE), in TEST_F()
646 .Digest(Digest::NONE))); in TEST_F()
662 .Digest(Digest::NONE))); in TEST_F()
676 GenerateKey(AuthorizationSetBuilder().EcdsaSigningKey(key_size).Digest(Digest::NONE), in TEST_F()
[all …]
/hardware/interfaces/graphics/composer/2.2/utils/vts/
DComposerVts.cpp36 ASSERT_EQ(Error::NONE, tmpError) << "failed to create client"; in createClient()
55 ASSERT_EQ(Error::NONE, tmpError) << "failed to get HDR metadata keys"; in getPerFrameMetadataKeys()
70 ASSERT_EQ(Error::NONE, static_cast<Error>(ret)); in execute()
76 ASSERT_EQ(Error::NONE, tmpError); in execute()
81 ASSERT_EQ(Error::NONE, tmpError); in execute()
101 ASSERT_EQ(Error::NONE, tmpError) << "failed to create virtual display"; in createVirtualDisplay_2_2()
115 return error == Error::NONE; in getClientTargetSupport_2_2()
120 ASSERT_TRUE(error == Error::NONE || error == Error::UNSUPPORTED) << "failed to set power mode"; in setPowerMode_2_2()
127 ASSERT_EQ(Error::NONE, error) << "failed to setReadbackBuffer"; in setReadbackBuffer()
135 ASSERT_EQ(Error::NONE, tmpError) << "failed to get readback buffer attributes"; in getReadbackBufferAttributes()
[all …]
/hardware/interfaces/radio/1.0/vts/functional/
Dradio_hidl_hal_misc.cpp31 EXPECT_EQ(RadioError::NONE, radioRsp->rspInfo.error); in TEST_F()
47 EXPECT_EQ(RadioError::NONE, radioRsp->rspInfo.error); in TEST_F()
63 EXPECT_EQ(RadioError::NONE, radioRsp->rspInfo.error); in TEST_F()
79 EXPECT_EQ(RadioError::NONE, radioRsp->rspInfo.error); in TEST_F()
95 EXPECT_EQ(RadioError::NONE, radioRsp->rspInfo.error); in TEST_F()
113 {RadioError::NONE, RadioError::ILLEGAL_SIM_OR_ME, RadioError::OPERATION_NOT_ALLOWED}, in TEST_F()
131 {RadioError::NONE, RadioError::ILLEGAL_SIM_OR_ME, in TEST_F()
152 {RadioError::NONE, RadioError::CANCELLED, RadioError::DEVICE_IN_USE, in TEST_F()
170 EXPECT_EQ(RadioError::NONE, radioRsp->rspInfo.error); in TEST_F()
187 CheckAnyOfErrors(radioRsp->rspInfo.error, {RadioError::NONE}, CHECK_GENERAL_ERROR)); in TEST_F()
[all …]
Dradio_hidl_hal_data.cpp34 EXPECT_EQ(RadioError::NONE, radioRsp->rspInfo.error); in TEST_F()
38 {RadioError::NONE, RadioError::NOT_PROVISIONED, RadioError::CANCELLED})); in TEST_F()
48 if (cellInfoType == CellInfoType::NONE) { in TEST_F()
124 dataProfileInfo.mvnoType = MvnoType::NONE; in TEST_F()
140 {RadioError::NONE, RadioError::OP_NOT_ALLOWED_BEFORE_REG_TO_NW, in TEST_F()
163 {RadioError::NONE, RadioError::RADIO_NOT_AVAILABLE, in TEST_F()
184 {RadioError::NONE, RadioError::RADIO_NOT_AVAILABLE, RadioError::SIM_ABSENT})); in TEST_F()
211 dataProfileInfo.mvnoType = MvnoType::NONE; in TEST_F()
225 {RadioError::NONE, RadioError::RADIO_NOT_AVAILABLE, in TEST_F()
245 EXPECT_EQ(RadioError::NONE, radioRsp->rspInfo.error); in TEST_F()
[all …]
Dradio_hidl_hal_cell_broadcast.cpp78 {RadioError::NONE, RadioError::INVALID_ARGUMENTS, in TEST_F()
99 {RadioError::NONE, RadioError::INVALID_MODEM_STATE, RadioError::INVALID_STATE}, in TEST_F()
126 {RadioError::NONE, RadioError::INVALID_MODEM_STATE}, in TEST_F()
145 CheckAnyOfErrors(radioRsp->rspInfo.error, {RadioError::NONE}, CHECK_GENERAL_ERROR)); in TEST_F()
164 {RadioError::NONE, RadioError::INVALID_ARGUMENTS}, in TEST_F()
185 {RadioError::NONE, RadioError::INVALID_ARGUMENTS, RadioError::INVALID_MODEM_STATE, in TEST_F()
/hardware/interfaces/keymaster/3.0/vts/functional/
Dkeymaster_hidl_hal_test.cpp805 .Padding(PaddingMode::NONE), in CheckAesCtrTestVector()
811 .Padding(PaddingMode::NONE); in CheckAesCtrTestVector()
1133 .Digest(Digest::NONE) in TEST_F()
1134 .Padding(PaddingMode::NONE) in TEST_F()
1181 .Digest(Digest::NONE) in TEST_F()
1211 .Digest(Digest::NONE))); in TEST_F()
1222 GenerateKey(AuthorizationSetBuilder().EcdsaSigningKey(190).Digest(Digest::NONE))); in TEST_F()
1236 .Digest(Digest::NONE))) in TEST_F()
1244 GenerateKey(AuthorizationSetBuilder().EcdsaSigningKey(size).Digest(Digest::NONE))) in TEST_F()
1404 .Digest(Digest::NONE) in TEST_F()
[all …]
/hardware/qcom/sdm845/display/gralloc/
DQtiMapper.cpp72 return Error::NONE; in CreateDescriptor()
109 if (error != Error::NONE) { in importBuffer()
119 hidl_cb(Error::NONE, buffer_handle); in importBuffer()
179 if (err != Error::NONE) { in lock()
186 hidl_cb(Error::NONE, out_data); in lock()
195 if (err != Error::NONE) { in lockYCbCr()
211 hidl_cb(Error::NONE, layout); in lockYCbCr()
231 if (buf_mgr_->IsBufferImported(hnd) != Error::NONE) { in validateBufferSize()
252 err = Error::NONE; in getTransportSize()
276 err = Error::NONE; in getMapSecureBufferFlag()
[all …]
Dgr_buf_mgr.cpp83 return Error::NONE; in FreeBuffer()
94 return Error::NONE; in ValidateBufferSize()
128 return Error::NONE; in ImportHandleLocked()
150 return Error::NONE; in MapBuffer()
157 return Error::NONE; in IsBufferImported()
164 auto err = Error::NONE; in RetainBuffer()
190 return Error::NONE; in ReleaseBuffer()
195 auto err = Error::NONE; in LockBuffer()
218 if (err == Error::NONE && (hnd->flags & private_handle_t::PRIV_FLAGS_USES_ION) && in LockBuffer()
227 if (err == Error::NONE && CpuCanWrite(usage)) { in LockBuffer()
[all …]
/hardware/interfaces/radio/1.0/
DIRadioResponse.hal30 * RadioError:NONE
45 * RadioError:NONE
63 * RadioError:NONE
81 * RadioError:NONE
99 * RadioError:NONE
117 * RadioError:NONE
135 * RadioError:NONE
154 * RadioError:NONE
175 * RadioError:NONE
191 * RadioError:NONE
[all …]
/hardware/interfaces/graphics/composer/2.3/utils/vts/
DComposerVts.cpp41 ASSERT_EQ(Error::NONE, tmpError) << "failed to create client"; in createClient()
61 ASSERT_EQ(Error::NONE, tmpError) << "failed to get display identification data"; in getDisplayIdentificationData()
74 ASSERT_EQ(Error::NONE, tmpError) << "failed to get color modes"; in getColorModes_2_3()
82 ASSERT_TRUE(error == Error::NONE || error == Error::UNSUPPORTED) << "failed to set color mode"; in setColorMode_2_3()
88 ASSERT_EQ(Error::NONE, tmpError) << "failed to get render intents"; in getRenderIntents_2_3()
99 ASSERT_EQ(Error::NONE, tmpError) << "failed to get readback buffer attributes"; in getReadbackBufferAttributes_2_3()
108 return error == Error::NONE; in getClientTargetSupport_2_3()
115 ASSERT_EQ(Error::NONE, tmpError) << "failed to get perFrameMetadataKeys"; in getPerFrameMetadataKeys_2_3()
128 ASSERT_EQ(Error::NONE, tmpError) << "failed to get HDR capabilities"; in getHdrCapabilities_2_3()
183 Error error = Error::NONE; in getDisplayCapabilities()
/hardware/interfaces/radio/1.3/vts/functional/
Dradio_hidl_hal_api.cpp37 {RadioError::NONE, RadioError::RADIO_NOT_AVAILABLE, in TEST_F()
41 if (RadioError::NONE == radioRsp_v1_3->rspInfo.error) { in TEST_F()
54 {RadioError::NONE, RadioError::RADIO_NOT_AVAILABLE, in TEST_F()
76 {RadioError::NONE, RadioError::RADIO_NOT_AVAILABLE, RadioError::MODEM_ERR})); in TEST_F()
100 {RadioError::NONE, RadioError::RADIO_NOT_AVAILABLE, RadioError::INTERNAL_ERR})); in TEST_F()
102 if (radioRsp_v1_3->rspInfo.error == RadioError::NONE) { in TEST_F()
110 EXPECT_EQ(RadioError::NONE, radioRsp_v1_3->rspInfo.error); in TEST_F()
/hardware/interfaces/graphics/mapper/3.0/utils/vts/
DMapperVts.cpp66 EXPECT_EQ(Error::NONE, mMapper->freeBuffer(buffer)) << "failed to free buffer " << buffer; in ~Gralloc()
101 ASSERT_EQ(Error::NONE, tmpError) << "failed to allocate buffers"; in allocate()
146 ASSERT_EQ(Error::NONE, tmpError) << "failed to create descriptor"; in createDescriptor()
156 ASSERT_EQ(Error::NONE, tmpError) in importBuffer()
173 ASSERT_EQ(Error::NONE, error) << "failed to free buffer " << buffer; in freeBuffer()
201 ASSERT_EQ(Error::NONE, tmpError) << "failed to lock buffer " << buffer; in lock()
229 ASSERT_EQ(Error::NONE, tmpError) in lockYCbCr()
246 ASSERT_EQ(Error::NONE, tmpError) << "failed to unlock buffer " << buffer; in unlock()
269 return error == Error::NONE; in validateBufferSize()
280 ASSERT_EQ(Error::NONE, tmpError) << "failed to get transport size"; in getTransportSize()
[all …]
/hardware/interfaces/radio/1.4/
DIRadioResponse.hal38 * RadioError:NONE
64 * RadioError:NONE
78 * RadioError:NONE
90 * RadioError:NONE
103 * RadioError:NONE
116 * RadioError:NONE
133 * RadioError:NONE
150 * RadioError:NONE
164 * RadioError:NONE must be returned on both success and failure of setup with the
182 * RadioError:NONE
[all …]
/hardware/interfaces/radio/1.2/
DIRadioResponse.hal32 * RadioError:NONE
50 * RadioError:NONE
58 * RadioError:NONE
69 * RadioError:NONE
80 * RadioError:NONE
96 * RadioError:NONE
108 * RadioError:NONE
121 * RadioError:NONE
/hardware/interfaces/sensors/common/vts/utils/
DGrallocWrapper.cpp54 if (mMapper->freeBuffer(buffer) != mapper2::Error::NONE) { in ~GrallocWrapper()
87 if (mapper2::Error::NONE != tmpError) { in allocate()
126 if (tmpError != mapper2::Error::NONE) { in createDescriptor()
138 if (tmpError != mapper2::Error::NONE) { in importBuffer()
156 if (error != mapper2::Error::NONE) { in freeBuffer()
181 if (tmpError != mapper2::Error::NONE) { in lock()
199 if (tmpError != mapper2::Error::NONE) { in unlock()
/hardware/interfaces/graphics/mapper/2.0/utils/vts/
DMapperVts.cpp51 EXPECT_EQ(Error::NONE, mMapper->freeBuffer(buffer)) << "failed to free buffer " << buffer; in ~Gralloc()
86 ASSERT_EQ(Error::NONE, tmpError) << "failed to allocate buffers"; in allocate()
131 ASSERT_EQ(Error::NONE, tmpError) << "failed to create descriptor"; in createDescriptor()
141 ASSERT_EQ(Error::NONE, tmpError) in importBuffer()
158 ASSERT_EQ(Error::NONE, error) << "failed to free buffer " << buffer; in freeBuffer()
181 ASSERT_EQ(Error::NONE, tmpError) << "failed to lock buffer " << buffer; in lock()
207 ASSERT_EQ(Error::NONE, tmpError) in lockYCbCr()
224 ASSERT_EQ(Error::NONE, tmpError) << "failed to unlock buffer " << buffer; in unlock()
/hardware/interfaces/radio/config/1.1/vts/functional/
Dradio_config_hidl_hal_api.cpp34 {RadioError::NONE, RadioError::REQUEST_NOT_SUPPORTED})); in TEST_F()
70 {RadioError::NONE, RadioError::REQUEST_NOT_SUPPORTED})); in TEST_F()
88 {RadioError::NONE, RadioError::RADIO_NOT_AVAILABLE, RadioError::INTERNAL_ERR})); in TEST_F()
90 if (radioConfigRsp->rspInfo.error == RadioError ::NONE) { in TEST_F()
114 {RadioError::NONE, RadioError::RADIO_NOT_AVAILABLE, RadioError::INTERNAL_ERR})); in TEST_F()
116 if (radioConfigRsp->rspInfo.error != RadioError ::NONE) { in TEST_F()
138 {RadioError::NONE, RadioError::RADIO_NOT_AVAILABLE, RadioError::INTERNAL_ERR})); in TEST_F()
/hardware/interfaces/graphics/allocator/2.0/utils/passthrough/include/allocator-passthrough/2.0/
DGralloc0Hal.h81 Error error = Error::NONE; in allocateBuffers()
91 if (error != Error::NONE) { in allocateBuffers()
106 if (error != Error::NONE) { in allocateBuffers()
114 return Error::NONE; in allocateBuffers()
141 return Error::NONE; in allocateOneBuffer()
/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DBasicTests.cpp45 EXPECT_EQ(ErrorStatus::NONE, status); in TEST_F()
68 EXPECT_EQ(ErrorStatus::NONE, status); in TEST_F()
77 EXPECT_EQ(ErrorStatus::NONE, status); in TEST_F()
88 EXPECT_EQ(ErrorStatus::NONE, status); in TEST_F()
109 EXPECT_EQ(ErrorStatus::NONE, status); in TEST_F()
/hardware/interfaces/graphics/mapper/2.0/utils/passthrough/include/mapper-passthrough/2.0/
DGralloc0Hal.h73 return Error::NONE; in createDescriptor()
91 return Error::NONE; in importBuffer()
101 return Error::NONE; in freeBuffer()
126 return Error::NONE; in lock()
160 return Error::NONE; in lockYCbCr()
174 return result ? Error::BAD_VALUE : Error::NONE; in unlock()
/hardware/qcom/neuralnetworks/hvxservice/1.0/
DDevice.cpp64 hexagon::isHexagonAvailable() ? ErrorStatus::NONE : ErrorStatus::DEVICE_UNAVAILABLE; in getCapabilities()
86 _hidl_cb(ErrorStatus::NONE, supported); in getSupportedOperations()
95 ret = callback->notify(ErrorStatus::NONE, new PreparedModel(model, hexagonModel)); in asyncPrepare()
125 return ErrorStatus::NONE; in prepareModel()
/hardware/interfaces/radio/1.1/
DIRadioResponse.hal43 * RadioError:NONE
54 * RadioError:NONE
70 * RadioError:NONE
83 * RadioError:NONE
93 * RadioError:NONE

123456789