Lines Matching refs:deviceKind
277 SystemCameraKind deviceKind = SystemCameraKind::PUBLIC; in filterAPI1SystemCameraLocked() local
278 if (getSystemCameraKind(String8(deviceId.c_str()), &deviceKind) != OK) { in filterAPI1SystemCameraLocked()
282 if (deviceKind == SystemCameraKind::SYSTEM_ONLY_CAMERA) { in filterAPI1SystemCameraLocked()
319 SystemCameraKind deviceKind = SystemCameraKind::PUBLIC; in addStates() local
324 res = mCameraProviderManager->getSystemCameraKind(cameraId, &deviceKind); in addStates()
337 conflicting, deviceKind)); in addStates()
471 SystemCameraKind deviceKind = SystemCameraKind::PUBLIC; in onDeviceStatusChanged() local
472 if (getSystemCameraKind(id, &deviceKind) != OK) { in onDeviceStatusChanged()
479 if (shouldSkipStatusUpdates(deviceKind, listener->isVendorListener(), in onDeviceStatusChanged()
686 SystemCameraKind deviceKind = SystemCameraKind::PUBLIC; in getCameraCharacteristics() local
687 if (getSystemCameraKind(String8(cameraId), &deviceKind) != OK) { in getCameraCharacteristics()
699 (deviceKind != SystemCameraKind::SYSTEM_ONLY_CAMERA) && in getCameraCharacteristics()
1148 SystemCameraKind deviceKind = SystemCameraKind::PUBLIC; in validateClientPermissionsLocked() local
1149 if (getSystemCameraKind(cameraId, &deviceKind) != OK) { in validateClientPermissionsLocked()
1160 (deviceKind != SystemCameraKind::SYSTEM_ONLY_CAMERA) && in validateClientPermissionsLocked()
2214 SystemCameraKind deviceKind = SystemCameraKind::PUBLIC; in addListenerHelper() local
2215 if (getSystemCameraKind(s.cameraId, &deviceKind) != OK) { in addListenerHelper()
2220 return shouldSkipStatusUpdates(deviceKind, isVendorListener, clientPid, in addListenerHelper()
3737 SystemCameraKind deviceKind = SystemCameraKind::PUBLIC; in updateStatus() local
3738 if (getSystemCameraKind(cameraId, &deviceKind) != OK) { in updateStatus()
3756 state->updateStatus(status, cameraId, rejectSourceStates, [this, &deviceKind, &supportsHAL3] in updateStatus()
3777 notifyPhysicalCameraStatusLocked(mapToInterface(status), cameraId, deviceKind); in updateStatus()
3781 if (shouldSkipStatusUpdates(deviceKind, isVendorListener, in updateStatus()
3896 SystemCameraKind deviceKind) { in notifyPhysicalCameraStatusLocked() argument
3912 if (shouldSkipStatusUpdates(deviceKind, listener->isVendorListener(), in notifyPhysicalCameraStatusLocked()