Home
last modified time | relevance | path

Searched refs:toStatus (Results 1 – 17 of 17) sorted by relevance

/hardware/interfaces/cas/1.0/default/
DCasImpl.cpp83 return toStatus(INVALID_OPERATION); in setPrivateData()
85 return toStatus(holder->setPrivateData(pvtData)); in setPrivateData()
99 _hidl_cb(toStatus(err), sessionId); in openSession()
110 return toStatus(INVALID_OPERATION); in setSessionPrivateData()
112 return toStatus(holder->setSessionPrivateData(sessionId, pvtData)); in setSessionPrivateData()
120 return toStatus(INVALID_OPERATION); in closeSession()
122 return toStatus(holder->closeSession(sessionId)); in closeSession()
131 return toStatus(INVALID_OPERATION); in processEcm()
134 return toStatus(holder->processEcm(sessionId, ecm)); in processEcm()
141 return toStatus(INVALID_OPERATION); in processEmm()
[all …]
DDescramblerImpl.cpp70 return toStatus(INVALID_OPERATION); in setMediaCasSession()
73 return toStatus(holder->setMediaCasSession(sessionId)); in setMediaCasSession()
107 _hidl_cb(toStatus(BAD_VALUE), 0, NULL); in descramble()
117 _hidl_cb(toStatus(BAD_VALUE), 0, NULL); in descramble()
125 _hidl_cb(toStatus(BAD_VALUE), 0, NULL); in descramble()
142 _hidl_cb(toStatus(BAD_VALUE), 0, NULL); in descramble()
160 _hidl_cb(toStatus(BAD_VALUE), 0, NULL); in descramble()
175 _hidl_cb(toStatus(INVALID_OPERATION), 0, NULL); in descramble()
195 _hidl_cb(toStatus(result >= 0 ? OK : result), result, detailedError.c_str()); in descramble()
DTypeConvert.h31 Status toStatus(status_t legacyStatus);
/hardware/interfaces/cas/1.1/default/
DCasImpl.cpp105 return toStatus(INVALID_OPERATION); in setPrivateData()
107 return toStatus(holder->setPrivateData(pvtData)); in setPrivateData()
121 _hidl_cb(toStatus(err), sessionId); in openSession()
131 return toStatus(INVALID_OPERATION); in setSessionPrivateData()
133 return toStatus(holder->setSessionPrivateData(sessionId, pvtData)); in setSessionPrivateData()
140 return toStatus(INVALID_OPERATION); in closeSession()
142 return toStatus(holder->closeSession(sessionId)); in closeSession()
149 return toStatus(INVALID_OPERATION); in processEcm()
152 return toStatus(holder->processEcm(sessionId, ecm)); in processEcm()
159 return toStatus(INVALID_OPERATION); in processEmm()
[all …]
DDescramblerImpl.cpp66 return toStatus(INVALID_OPERATION); in setMediaCasSession()
69 return toStatus(holder->setMediaCasSession(sessionId)); in setMediaCasSession()
98 _hidl_cb(toStatus(BAD_VALUE), 0, NULL); in descramble()
108 _hidl_cb(toStatus(BAD_VALUE), 0, NULL); in descramble()
115 _hidl_cb(toStatus(BAD_VALUE), 0, NULL); in descramble()
132 _hidl_cb(toStatus(BAD_VALUE), 0, NULL); in descramble()
150 _hidl_cb(toStatus(BAD_VALUE), 0, NULL); in descramble()
165 _hidl_cb(toStatus(INVALID_OPERATION), 0, NULL); in descramble()
179 _hidl_cb(toStatus(result >= 0 ? OK : result), result, NULL); in descramble()
DTypeConvert.h33 Status toStatus(status_t legacyStatus);
DTypeConvert.cpp29 Status toStatus(status_t legacyStatus) { in toStatus() function
/hardware/interfaces/cas/1.2/default/
DCasImpl.cpp127 return toStatus(INVALID_OPERATION); in setPluginStatusUpdateCallback()
129 return toStatus(holder->setStatusCallback(&CasImpl::StatusUpdate)); in setPluginStatusUpdateCallback()
136 return toStatus(INVALID_OPERATION); in setPrivateData()
138 return toStatus(holder->setPrivateData(pvtData)); in setPrivateData()
152 _hidl_cb(toStatus(err), sessionId); in openSession()
180 return toStatus(INVALID_OPERATION); in setSessionPrivateData()
182 return toStatus(holder->setSessionPrivateData(sessionId, pvtData)); in setSessionPrivateData()
189 return toStatus(INVALID_OPERATION); in closeSession()
191 return toStatus(holder->closeSession(sessionId)); in closeSession()
198 return toStatus(INVALID_OPERATION); in processEcm()
[all …]
DDescramblerImpl.cpp66 return toStatus(INVALID_OPERATION); in setMediaCasSession()
69 return toStatus(holder->setMediaCasSession(sessionId)); in setMediaCasSession()
98 _hidl_cb(toStatus(BAD_VALUE), 0, NULL); in descramble()
108 _hidl_cb(toStatus(BAD_VALUE), 0, NULL); in descramble()
115 _hidl_cb(toStatus(BAD_VALUE), 0, NULL); in descramble()
132 _hidl_cb(toStatus(BAD_VALUE), 0, NULL); in descramble()
150 _hidl_cb(toStatus(BAD_VALUE), 0, NULL); in descramble()
165 _hidl_cb(toStatus(INVALID_OPERATION), 0, NULL); in descramble()
179 _hidl_cb(toStatus(result >= 0 ? OK : result), result, NULL); in descramble()
DTypeConvert.cpp29 Status toStatus(status_t legacyStatus) { in toStatus() function
80 V1_2::Status status = static_cast<V1_2::Status>(toStatus(legacyStatus)); in toStatus_1_2()
DTypeConvert.h34 Status toStatus(status_t legacyStatus);
/hardware/interfaces/drm/1.0/default/
DDrmPlugin.cpp35 _hidl_cb(toStatus(status), toHidlVec(legacySessionId)); in openSession()
40 return toStatus(mLegacyPlugin->closeSession(toVector(sessionId))); in closeSession()
101 _hidl_cb(toStatus(status), toHidlVec(legacyRequest), requestType, in getKeyRequest()
112 _hidl_cb(toStatus(status), toHidlVec(keySetId)); in provideKeyResponse()
117 return toStatus(mLegacyPlugin->removeKeys(toVector(sessionId))); in removeKeys()
124 return toStatus(legacyStatus); in restoreKeys()
141 _hidl_cb(toStatus(status), toHidlVec(infoMapVec)); in queryKeyStatus()
156 _hidl_cb(toStatus(status), toHidlVec(legacyRequest), in getProvisionRequest()
171 _hidl_cb(toStatus(legacyStatus), toHidlVec(certificate), in provideProvisionResponse()
189 _hidl_cb(toStatus(status), toHidlVec(secureStopsVec)); in getSecureStops()
[all …]
DCryptoFactory.cpp58 _hidl_cb(toStatus(status), newPlugin); in createPlugin()
DDrmFactory.cpp69 _hidl_cb(toStatus(status), newPlugin); in createPlugin()
DCryptoPlugin.cpp49 return toStatus(mLegacyPlugin->setMediaDrmSession(toVector(sessionId))); in setMediaDrmSession()
197 _hidl_cb(toStatus(status), bytesWritten, detailMessage.c_str()); in decrypt()
DTypeConvert.h70 Status toStatus(status_t legacyStatus);
/hardware/interfaces/media/omx/1.0/vts/functional/common/
Dmedia_hidl_test_common.h97 inline android::hardware::media::omx::V1_0::Status toStatus( in toStatus() function
205 if (delayUs < 0) return toStatus(android::TIMED_OUT);