Lines Matching refs:ret
35 Return<void> ret = mDeviceV1_1->getCapabilities_1_1(
39 if (!ret.isOk()) {
40 LOG(ERROR) << "getCapabilities_1_1 failure: " << ret.description();
44 Return<void> ret = mDeviceV1_0->getCapabilities(
48 if (!ret.isOk()) {
49 LOG(ERROR) << "getCapabilities failure: " << ret.description();
65 Return<void> ret = mDeviceV1_1->getSupportedOperations_1_1(
69 if (!ret.isOk()) {
70 LOG(ERROR) << "getSupportedOperations_1_1 failure: " << ret.description();
74 Return<void> ret = mDeviceV1_0->getSupportedOperations(
78 if (!ret.isOk()) {
79 LOG(ERROR) << "getSupportedOperations failure: " << ret.description();
95 Return<ErrorStatus> ret = mDeviceV1_1->prepareModel_1_1(model, preference, callback);
96 if (!ret.isOk()) {
97 LOG(ERROR) << "prepareModel_1_1 failure: " << ret.description();
100 return static_cast<ErrorStatus>(ret);
102 Return<ErrorStatus> ret = mDeviceV1_0->prepareModel(convertToV1_0(model), callback);
103 if (!ret.isOk()) {
104 LOG(ERROR) << "prepareModel failure: " << ret.description();
107 return static_cast<ErrorStatus>(ret);
122 Return<DeviceStatus> ret = mDeviceV1_0->getStatus();
124 if (!ret.isOk()) {
125 LOG(ERROR) << "getStatus failure: " << ret.description();
128 return static_cast<DeviceStatus>(ret);