Home
last modified time | relevance | path

Searched refs:toStatus (Results 1 – 19 of 19) 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.cpp69 return toStatus(INVALID_OPERATION); in setMediaCasSession()
72 return toStatus(holder->setMediaCasSession(sessionId)); in setMediaCasSession()
106 _hidl_cb(toStatus(BAD_VALUE), 0, NULL); in descramble()
116 _hidl_cb(toStatus(BAD_VALUE), 0, NULL); in descramble()
124 _hidl_cb(toStatus(BAD_VALUE), 0, NULL); in descramble()
141 _hidl_cb(toStatus(BAD_VALUE), 0, NULL); in descramble()
159 _hidl_cb(toStatus(BAD_VALUE), 0, NULL); in descramble()
174 _hidl_cb(toStatus(INVALID_OPERATION), 0, NULL); in descramble()
194 _hidl_cb(toStatus(result >= 0 ? OK : result), result, detailedError.c_str()); in descramble()
DTypeConvert.h31 Status toStatus(status_t legacyStatus);
DTypeConvert.cpp29 Status toStatus(status_t legacyStatus) { in toStatus() function
/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.cpp65 return toStatus(INVALID_OPERATION); in setMediaCasSession()
68 return toStatus(holder->setMediaCasSession(sessionId)); in setMediaCasSession()
97 _hidl_cb(toStatus(BAD_VALUE), 0, NULL); in descramble()
107 _hidl_cb(toStatus(BAD_VALUE), 0, NULL); in descramble()
114 _hidl_cb(toStatus(BAD_VALUE), 0, NULL); in descramble()
131 _hidl_cb(toStatus(BAD_VALUE), 0, NULL); in descramble()
149 _hidl_cb(toStatus(BAD_VALUE), 0, NULL); in descramble()
164 _hidl_cb(toStatus(INVALID_OPERATION), 0, NULL); in descramble()
178 _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.cpp65 return toStatus(INVALID_OPERATION); in setMediaCasSession()
68 return toStatus(holder->setMediaCasSession(sessionId)); in setMediaCasSession()
97 _hidl_cb(toStatus(BAD_VALUE), 0, NULL); in descramble()
107 _hidl_cb(toStatus(BAD_VALUE), 0, NULL); in descramble()
114 _hidl_cb(toStatus(BAD_VALUE), 0, NULL); in descramble()
131 _hidl_cb(toStatus(BAD_VALUE), 0, NULL); in descramble()
149 _hidl_cb(toStatus(BAD_VALUE), 0, NULL); in descramble()
164 _hidl_cb(toStatus(INVALID_OPERATION), 0, NULL); in descramble()
178 _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 …]
DTypeConvert.cpp26 Status toStatus(status_t legacyStatus) { in toStatus() function
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()
184 _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.h104 inline android::hardware::media::omx::V1_0::Status toStatus( in toStatus() function
211 if (delayUs < 0) return toStatus(android::TIMED_OUT);