Jayant Chowdhary | be543d4 | 2018-08-15 13:16:14 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2018 The Android Open Source Project |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | |
Jayant Chowdhary | 2f68652 | 2022-05-09 14:52:16 +0000 | [diff] [blame^] | 17 | #include <android-base/properties.h> |
Jayant Chowdhary | be543d4 | 2018-08-15 13:16:14 -0700 | [diff] [blame] | 18 | |
Jayant Chowdhary | 0c94727 | 2018-08-15 14:42:04 -0700 | [diff] [blame] | 19 | #include <hidl/AidlCameraDeviceCallbacks.h> |
Jayant Chowdhary | 94f79a9 | 2018-08-15 13:57:17 -0700 | [diff] [blame] | 20 | #include <hidl/AidlCameraServiceListener.h> |
Jayant Chowdhary | 2f68652 | 2022-05-09 14:52:16 +0000 | [diff] [blame^] | 21 | #include <hidl/HidlCameraService.h> |
| 22 | #include <hidl/HidlCameraDeviceUser.h> |
| 23 | #include <hidl/Utils.h> |
Jayant Chowdhary | be543d4 | 2018-08-15 13:16:14 -0700 | [diff] [blame] | 24 | |
| 25 | #include <hidl/HidlTransportSupport.h> |
| 26 | |
| 27 | namespace android { |
| 28 | namespace frameworks { |
| 29 | namespace cameraservice { |
| 30 | namespace service { |
| 31 | namespace V2_0 { |
| 32 | namespace implementation { |
| 33 | |
| 34 | using frameworks::cameraservice::service::V2_0::implementation::HidlCameraService; |
| 35 | using hardware::hidl_vec; |
| 36 | using hardware::cameraservice::utils::conversion::convertToHidl; |
Jayant Chowdhary | 2f68652 | 2022-05-09 14:52:16 +0000 | [diff] [blame^] | 37 | using hardware::cameraservice::utils::conversion::filterVndkKeys; |
Jayant Chowdhary | be543d4 | 2018-08-15 13:16:14 -0700 | [diff] [blame] | 38 | using hardware::cameraservice::utils::conversion::B2HStatus; |
| 39 | using hardware::Void; |
| 40 | |
Jayant Chowdhary | 0c94727 | 2018-08-15 14:42:04 -0700 | [diff] [blame] | 41 | using device::V2_0::implementation::H2BCameraDeviceCallbacks; |
Shuzhen Wang | 316781a | 2020-08-18 18:11:01 -0700 | [diff] [blame] | 42 | using device::V2_1::implementation::HidlCameraDeviceUser; |
Jayant Chowdhary | 94f79a9 | 2018-08-15 13:57:17 -0700 | [diff] [blame] | 43 | using service::V2_0::implementation::H2BCameraServiceListener; |
Jayant Chowdhary | 8cf9292 | 2018-11-19 15:45:17 -0800 | [diff] [blame] | 44 | using HCameraMetadataType = frameworks::cameraservice::common::V2_0::CameraMetadataType; |
| 45 | using HVendorTag = frameworks::cameraservice::common::V2_0::VendorTag; |
| 46 | using HVendorTagSection = frameworks::cameraservice::common::V2_0::VendorTagSection; |
| 47 | using HProviderIdAndVendorTagSections = |
| 48 | frameworks::cameraservice::common::V2_0::ProviderIdAndVendorTagSections; |
Jayant Chowdhary | be543d4 | 2018-08-15 13:16:14 -0700 | [diff] [blame] | 49 | |
| 50 | sp<HidlCameraService> gHidlCameraService; |
| 51 | |
| 52 | sp<HidlCameraService> HidlCameraService::getInstance(android::CameraService *cs) { |
| 53 | gHidlCameraService = new HidlCameraService(cs); |
| 54 | return gHidlCameraService; |
| 55 | } |
| 56 | |
Jayant Chowdhary | 2f68652 | 2022-05-09 14:52:16 +0000 | [diff] [blame^] | 57 | HidlCameraService::HidlCameraService(android::CameraService *cs) : mAidlICameraService(cs) { |
| 58 | mVndkVersion = base::GetIntProperty("ro.vndk.version", __ANDROID_API_FUTURE__); |
| 59 | }; |
| 60 | |
Jayant Chowdhary | be543d4 | 2018-08-15 13:16:14 -0700 | [diff] [blame] | 61 | Return<void> |
| 62 | HidlCameraService::getCameraCharacteristics(const hidl_string& cameraId, |
| 63 | getCameraCharacteristics_cb _hidl_cb) { |
| 64 | android::CameraMetadata cameraMetadata; |
| 65 | HStatus status = HStatus::NO_ERROR; |
| 66 | binder::Status serviceRet = |
Shuzhen Wang | d4abdf7 | 2021-05-28 11:22:50 -0700 | [diff] [blame] | 67 | mAidlICameraService->getCameraCharacteristics(String16(cameraId.c_str()), |
| 68 | /*targetSdkVersion*/__ANDROID_API_FUTURE__, &cameraMetadata); |
Jayant Chowdhary | be543d4 | 2018-08-15 13:16:14 -0700 | [diff] [blame] | 69 | HCameraMetadata hidlMetadata; |
| 70 | if (!serviceRet.isOk()) { |
| 71 | switch(serviceRet.serviceSpecificErrorCode()) { |
| 72 | // No ERROR_CAMERA_DISCONNECTED since we're in the same process. |
| 73 | case hardware::ICameraService::ERROR_ILLEGAL_ARGUMENT: |
| 74 | ALOGE("%s: Camera ID %s does not exist!", __FUNCTION__, cameraId.c_str()); |
| 75 | status = HStatus::ILLEGAL_ARGUMENT; |
| 76 | break; |
| 77 | default: |
| 78 | ALOGE("Get camera characteristics from camera service failed: %s", |
| 79 | serviceRet.toString8().string()); |
| 80 | status = B2HStatus(serviceRet); |
| 81 | } |
| 82 | _hidl_cb(status, hidlMetadata); |
| 83 | return Void(); |
| 84 | } |
Jayant Chowdhary | 2f68652 | 2022-05-09 14:52:16 +0000 | [diff] [blame^] | 85 | if (filterVndkKeys(mVndkVersion, cameraMetadata) != OK) { |
| 86 | ALOGE("%s: Unable to filter vndk metadata keys for version %d", __FUNCTION__, mVndkVersion); |
| 87 | _hidl_cb(HStatus::UNKNOWN_ERROR, hidlMetadata); |
| 88 | return Void(); |
| 89 | } |
Jayant Chowdhary | be543d4 | 2018-08-15 13:16:14 -0700 | [diff] [blame] | 90 | const camera_metadata_t *rawMetadata = cameraMetadata.getAndLock(); |
| 91 | convertToHidl(rawMetadata, &hidlMetadata); |
| 92 | _hidl_cb(status, hidlMetadata); |
| 93 | cameraMetadata.unlock(rawMetadata); |
| 94 | return Void(); |
| 95 | } |
| 96 | |
| 97 | Return<void> HidlCameraService::connectDevice(const sp<HCameraDeviceCallback>& hCallback, |
| 98 | const hidl_string& cameraId, |
| 99 | connectDevice_cb _hidl_cb) { |
Jayant Chowdhary | 0c94727 | 2018-08-15 14:42:04 -0700 | [diff] [blame] | 100 | // Here, we first get ICameraDeviceUser from mAidlICameraService, then save |
| 101 | // that interface in the newly created HidlCameraDeviceUser impl class. |
| 102 | if (mAidlICameraService == nullptr) { |
| 103 | _hidl_cb(HStatus::UNKNOWN_ERROR, nullptr); |
| 104 | return Void(); |
| 105 | } |
| 106 | sp<hardware::camera2::ICameraDeviceUser> deviceRemote = nullptr; |
| 107 | // Create a hardware::camera2::ICameraDeviceCallback object which internally |
| 108 | // calls callback functions passed through hCallback. |
| 109 | sp<H2BCameraDeviceCallbacks> hybridCallbacks = new H2BCameraDeviceCallbacks(hCallback); |
Jayant Chowdhary | 2f68652 | 2022-05-09 14:52:16 +0000 | [diff] [blame^] | 110 | if (!hybridCallbacks->initializeLooper(mVndkVersion)) { |
Jayant Chowdhary | 0c94727 | 2018-08-15 14:42:04 -0700 | [diff] [blame] | 111 | ALOGE("Unable to handle callbacks on device, cannot connect"); |
| 112 | _hidl_cb(HStatus::UNKNOWN_ERROR, nullptr); |
| 113 | return Void(); |
| 114 | } |
| 115 | sp<hardware::camera2::ICameraDeviceCallbacks> callbacks = hybridCallbacks; |
| 116 | binder::Status serviceRet = mAidlICameraService->connectDevice( |
Jooyung Han | 3f9a3b4 | 2020-01-23 12:27:18 +0900 | [diff] [blame] | 117 | callbacks, String16(cameraId.c_str()), String16(""), {}, |
Shuzhen Wang | d4abdf7 | 2021-05-28 11:22:50 -0700 | [diff] [blame] | 118 | hardware::ICameraService::USE_CALLING_UID, 0/*oomScoreOffset*/, |
| 119 | /*targetSdkVersion*/__ANDROID_API_FUTURE__, /*out*/&deviceRemote); |
Jayant Chowdhary | 0c94727 | 2018-08-15 14:42:04 -0700 | [diff] [blame] | 120 | HStatus status = HStatus::NO_ERROR; |
| 121 | if (!serviceRet.isOk()) { |
| 122 | ALOGE("%s: Unable to connect to camera device", __FUNCTION__); |
| 123 | status = B2HStatus(serviceRet); |
| 124 | _hidl_cb(status, nullptr); |
| 125 | return Void(); |
| 126 | } |
| 127 | // Now we create a HidlCameraDeviceUser class, store the deviceRemote in it, |
| 128 | // and return that back. All calls on that interface will be forwarded to |
| 129 | // the AIDL interface. |
| 130 | sp<HidlCameraDeviceUser> hDeviceRemote = new HidlCameraDeviceUser(deviceRemote); |
| 131 | if (!hDeviceRemote->initStatus()) { |
| 132 | ALOGE("%s: Unable to initialize camera device HIDL wrapper", __FUNCTION__); |
| 133 | _hidl_cb(HStatus::UNKNOWN_ERROR, nullptr); |
| 134 | return Void(); |
| 135 | } |
| 136 | hybridCallbacks->setCaptureResultMetadataQueue(hDeviceRemote->getCaptureResultMetadataQueue()); |
| 137 | _hidl_cb(status, hDeviceRemote); |
Jayant Chowdhary | be543d4 | 2018-08-15 13:16:14 -0700 | [diff] [blame] | 138 | return Void(); |
| 139 | } |
| 140 | |
Jayant Chowdhary | 94f79a9 | 2018-08-15 13:57:17 -0700 | [diff] [blame] | 141 | void HidlCameraService::addToListenerCacheLocked(sp<HCameraServiceListener> hListener, |
| 142 | sp<hardware::ICameraServiceListener> csListener) { |
| 143 | mListeners.emplace_back(std::make_pair(hListener, csListener)); |
| 144 | } |
| 145 | |
| 146 | sp<hardware::ICameraServiceListener> |
| 147 | HidlCameraService::searchListenerCacheLocked(sp<HCameraServiceListener> hListener, |
| 148 | bool shouldRemove) { |
| 149 | // Go through the mListeners list and compare the listener with the HIDL |
| 150 | // listener registered. |
| 151 | auto it = mListeners.begin(); |
| 152 | sp<ICameraServiceListener> csListener = nullptr; |
| 153 | for (;it != mListeners.end(); it++) { |
| 154 | if (hardware::interfacesEqual(it->first, hListener)) { |
| 155 | break; |
| 156 | } |
| 157 | } |
| 158 | if (it != mListeners.end()) { |
| 159 | csListener = it->second; |
| 160 | if (shouldRemove) { |
| 161 | mListeners.erase(it); |
| 162 | } |
| 163 | } |
| 164 | return csListener; |
| 165 | } |
| 166 | |
Jayant Chowdhary | be543d4 | 2018-08-15 13:16:14 -0700 | [diff] [blame] | 167 | Return<void> HidlCameraService::addListener(const sp<HCameraServiceListener>& hCsListener, |
| 168 | addListener_cb _hidl_cb) { |
Shuzhen Wang | 4fa28d2 | 2020-01-23 15:57:25 -0800 | [diff] [blame] | 169 | std::vector<hardware::CameraStatus> cameraStatusAndIds{}; |
| 170 | HStatus status = addListenerInternal<HCameraServiceListener>( |
| 171 | hCsListener, &cameraStatusAndIds); |
| 172 | if (status != HStatus::NO_ERROR) { |
| 173 | _hidl_cb(status, {}); |
Jayant Chowdhary | 94f79a9 | 2018-08-15 13:57:17 -0700 | [diff] [blame] | 174 | return Void(); |
| 175 | } |
Shuzhen Wang | 4fa28d2 | 2020-01-23 15:57:25 -0800 | [diff] [blame] | 176 | |
| 177 | hidl_vec<HCameraStatusAndId> hCameraStatusAndIds; |
| 178 | //Convert cameraStatusAndIds to HIDL and call callback |
| 179 | convertToHidl(cameraStatusAndIds, &hCameraStatusAndIds); |
| 180 | _hidl_cb(status, hCameraStatusAndIds); |
| 181 | |
| 182 | return Void(); |
| 183 | } |
| 184 | |
| 185 | Return<void> HidlCameraService::addListener_2_1(const sp<HCameraServiceListener2_1>& hCsListener, |
| 186 | addListener_2_1_cb _hidl_cb) { |
| 187 | std::vector<hardware::CameraStatus> cameraStatusAndIds{}; |
| 188 | HStatus status = addListenerInternal<HCameraServiceListener2_1>( |
| 189 | hCsListener, &cameraStatusAndIds); |
| 190 | if (status != HStatus::NO_ERROR) { |
| 191 | _hidl_cb(status, {}); |
Jayant Chowdhary | 94f79a9 | 2018-08-15 13:57:17 -0700 | [diff] [blame] | 192 | return Void(); |
| 193 | } |
Shuzhen Wang | 4fa28d2 | 2020-01-23 15:57:25 -0800 | [diff] [blame] | 194 | |
| 195 | hidl_vec<frameworks::cameraservice::service::V2_1::CameraStatusAndId> hCameraStatusAndIds; |
| 196 | //Convert cameraStatusAndIds to HIDL and call callback |
| 197 | convertToHidl(cameraStatusAndIds, &hCameraStatusAndIds); |
| 198 | _hidl_cb(status, hCameraStatusAndIds); |
| 199 | |
| 200 | return Void(); |
| 201 | } |
| 202 | |
| 203 | template<class T> |
| 204 | HStatus HidlCameraService::addListenerInternal(const sp<T>& hCsListener, |
| 205 | std::vector<hardware::CameraStatus>* cameraStatusAndIds) { |
| 206 | if (mAidlICameraService == nullptr) { |
| 207 | return HStatus::UNKNOWN_ERROR; |
| 208 | } |
| 209 | if (hCsListener == nullptr || cameraStatusAndIds == nullptr) { |
| 210 | ALOGE("%s listener and cameraStatusAndIds must not be NULL", __FUNCTION__); |
| 211 | return HStatus::ILLEGAL_ARGUMENT; |
| 212 | } |
Jayant Chowdhary | 94f79a9 | 2018-08-15 13:57:17 -0700 | [diff] [blame] | 213 | sp<hardware::ICameraServiceListener> csListener = nullptr; |
| 214 | // Check the cache for previously registered callbacks |
| 215 | { |
| 216 | Mutex::Autolock l(mListenerListLock); |
| 217 | csListener = searchListenerCacheLocked(hCsListener); |
| 218 | if (csListener == nullptr) { |
| 219 | // Wrap an hCsListener with AidlCameraServiceListener and pass it to |
| 220 | // CameraService. |
| 221 | csListener = new H2BCameraServiceListener(hCsListener); |
| 222 | // Add to cache |
| 223 | addToListenerCacheLocked(hCsListener, csListener); |
| 224 | } else { |
| 225 | ALOGE("%s: Trying to add a listener %p already registered", |
| 226 | __FUNCTION__, hCsListener.get()); |
Shuzhen Wang | 4fa28d2 | 2020-01-23 15:57:25 -0800 | [diff] [blame] | 227 | return HStatus::ILLEGAL_ARGUMENT; |
Jayant Chowdhary | 94f79a9 | 2018-08-15 13:57:17 -0700 | [diff] [blame] | 228 | } |
| 229 | } |
Jayant Chowdhary | f949ddd | 2019-01-29 14:34:11 -0800 | [diff] [blame] | 230 | binder::Status serviceRet = |
Shuzhen Wang | 4fa28d2 | 2020-01-23 15:57:25 -0800 | [diff] [blame] | 231 | mAidlICameraService->addListenerHelper(csListener, cameraStatusAndIds, true); |
Jayant Chowdhary | 94f79a9 | 2018-08-15 13:57:17 -0700 | [diff] [blame] | 232 | HStatus status = HStatus::NO_ERROR; |
| 233 | if (!serviceRet.isOk()) { |
Shuzhen Wang | 4fa28d2 | 2020-01-23 15:57:25 -0800 | [diff] [blame] | 234 | ALOGE("%s: Unable to add camera device status listener", __FUNCTION__); |
| 235 | status = B2HStatus(serviceRet); |
| 236 | return status; |
Jayant Chowdhary | 94f79a9 | 2018-08-15 13:57:17 -0700 | [diff] [blame] | 237 | } |
Shuzhen Wang | 4fa28d2 | 2020-01-23 15:57:25 -0800 | [diff] [blame] | 238 | cameraStatusAndIds->erase(std::remove_if(cameraStatusAndIds->begin(), cameraStatusAndIds->end(), |
Jayant Chowdhary | 90e6369 | 2019-10-25 14:13:01 -0700 | [diff] [blame] | 239 | [this](const hardware::CameraStatus& s) { |
Shuzhen Wang | 4fa28d2 | 2020-01-23 15:57:25 -0800 | [diff] [blame] | 240 | bool supportsHAL3 = false; |
| 241 | binder::Status sRet = |
Jayant Chowdhary | 90e6369 | 2019-10-25 14:13:01 -0700 | [diff] [blame] | 242 | mAidlICameraService->supportsCameraApi(String16(s.cameraId), |
| 243 | hardware::ICameraService::API_VERSION_2, &supportsHAL3); |
Shuzhen Wang | 4fa28d2 | 2020-01-23 15:57:25 -0800 | [diff] [blame] | 244 | return !sRet.isOk() || !supportsHAL3; |
| 245 | }), cameraStatusAndIds->end()); |
| 246 | |
| 247 | return HStatus::NO_ERROR; |
Jayant Chowdhary | be543d4 | 2018-08-15 13:16:14 -0700 | [diff] [blame] | 248 | } |
| 249 | |
| 250 | Return<HStatus> HidlCameraService::removeListener(const sp<HCameraServiceListener>& hCsListener) { |
| 251 | if (hCsListener == nullptr) { |
| 252 | ALOGE("%s listener must not be NULL", __FUNCTION__); |
| 253 | return HStatus::ILLEGAL_ARGUMENT; |
| 254 | } |
Jayant Chowdhary | 94f79a9 | 2018-08-15 13:57:17 -0700 | [diff] [blame] | 255 | sp<ICameraServiceListener> csListener = nullptr; |
| 256 | { |
| 257 | Mutex::Autolock l(mListenerListLock); |
| 258 | csListener = searchListenerCacheLocked(hCsListener, /*removeIfFound*/true); |
| 259 | } |
| 260 | if (csListener != nullptr) { |
| 261 | mAidlICameraService->removeListener(csListener); |
| 262 | } else { |
| 263 | ALOGE("%s Removing unregistered listener %p", __FUNCTION__, hCsListener.get()); |
| 264 | return HStatus::ILLEGAL_ARGUMENT; |
| 265 | } |
Jayant Chowdhary | be543d4 | 2018-08-15 13:16:14 -0700 | [diff] [blame] | 266 | return HStatus::NO_ERROR; |
| 267 | } |
| 268 | |
| 269 | Return<void> HidlCameraService::getCameraVendorTagSections(getCameraVendorTagSections_cb _hidl_cb) { |
Jayant Chowdhary | 8cf9292 | 2018-11-19 15:45:17 -0800 | [diff] [blame] | 270 | sp<VendorTagDescriptorCache> gCache = VendorTagDescriptorCache::getGlobalVendorTagCache(); |
| 271 | if (gCache == nullptr) { |
| 272 | _hidl_cb(HStatus::UNKNOWN_ERROR, {}); |
| 273 | return Void(); |
| 274 | } |
| 275 | const std::unordered_map<metadata_vendor_id_t, sp<android::VendorTagDescriptor>> |
| 276 | &vendorIdsAndTagDescs = gCache->getVendorIdsAndTagDescriptors(); |
| 277 | if (vendorIdsAndTagDescs.size() == 0) { |
| 278 | _hidl_cb(HStatus::UNKNOWN_ERROR, {}); |
Jayant Chowdhary | be543d4 | 2018-08-15 13:16:14 -0700 | [diff] [blame] | 279 | return Void(); |
| 280 | } |
| 281 | |
Jayant Chowdhary | 8cf9292 | 2018-11-19 15:45:17 -0800 | [diff] [blame] | 282 | hidl_vec<HProviderIdAndVendorTagSections> hTagIdsAndVendorTagSections; |
| 283 | hTagIdsAndVendorTagSections.resize(vendorIdsAndTagDescs.size()); |
| 284 | size_t j = 0; |
| 285 | for (auto &vendorIdAndTagDescs : vendorIdsAndTagDescs) { |
| 286 | hidl_vec<HVendorTagSection> hVendorTagSections; |
| 287 | sp<VendorTagDescriptor> desc = vendorIdAndTagDescs.second; |
| 288 | const SortedVector<String8>* sectionNames = desc->getAllSectionNames(); |
| 289 | size_t numSections = sectionNames->size(); |
| 290 | std::vector<std::vector<HVendorTag>> tagsBySection(numSections); |
| 291 | int tagCount = desc->getTagCount(); |
Jayant Chowdhary | 925a27f | 2021-09-13 16:25:07 -0700 | [diff] [blame] | 292 | if (tagCount <= 0) { |
| 293 | continue; |
| 294 | } |
Jayant Chowdhary | 8cf9292 | 2018-11-19 15:45:17 -0800 | [diff] [blame] | 295 | std::vector<uint32_t> tags(tagCount); |
| 296 | desc->getTagArray(tags.data()); |
| 297 | for (int i = 0; i < tagCount; i++) { |
| 298 | HVendorTag vt; |
| 299 | vt.tagId = tags[i]; |
| 300 | vt.tagName = desc->getTagName(tags[i]); |
| 301 | vt.tagType = (HCameraMetadataType) desc->getTagType(tags[i]); |
| 302 | ssize_t sectionIdx = desc->getSectionIndex(tags[i]); |
| 303 | tagsBySection[sectionIdx].push_back(vt); |
| 304 | } |
| 305 | hVendorTagSections.resize(numSections); |
| 306 | for (size_t s = 0; s < numSections; s++) { |
| 307 | hVendorTagSections[s].sectionName = (*sectionNames)[s].string(); |
| 308 | hVendorTagSections[s].tags = tagsBySection[s]; |
| 309 | } |
| 310 | HProviderIdAndVendorTagSections &hProviderIdAndVendorTagSections = |
| 311 | hTagIdsAndVendorTagSections[j]; |
| 312 | hProviderIdAndVendorTagSections.providerId = vendorIdAndTagDescs.first; |
| 313 | hProviderIdAndVendorTagSections.vendorTagSections = std::move(hVendorTagSections); |
| 314 | j++; |
Jayant Chowdhary | be543d4 | 2018-08-15 13:16:14 -0700 | [diff] [blame] | 315 | } |
Jayant Chowdhary | 8cf9292 | 2018-11-19 15:45:17 -0800 | [diff] [blame] | 316 | _hidl_cb(HStatus::NO_ERROR, hTagIdsAndVendorTagSections); |
Jayant Chowdhary | be543d4 | 2018-08-15 13:16:14 -0700 | [diff] [blame] | 317 | return Void(); |
| 318 | } |
| 319 | |
| 320 | } // implementation |
| 321 | } // V2_0 |
| 322 | } // service |
| 323 | } // cameraservice |
| 324 | } // frameworks |
| 325 | } // android |
| 326 | |