Lines Matching refs:deviceKind

382         SystemCameraKind deviceKind = SystemCameraKind::PUBLIC;  in filterAPI1SystemCameraLocked()  local
383 if (getSystemCameraKind(cameraId, &deviceKind) != OK) { in filterAPI1SystemCameraLocked()
387 if (deviceKind == SystemCameraKind::SYSTEM_ONLY_CAMERA) { in filterAPI1SystemCameraLocked()
470 SystemCameraKind deviceKind = SystemCameraKind::PUBLIC; in addStates() local
471 res = mCameraProviderManager->getSystemCameraKind(cameraId, &deviceKind); in addStates()
486 conflicting, deviceKind, physicalCameraIds)); in addStates()
493 broadcastTorchModeStatus(cameraId, TorchModeStatus::AVAILABLE_OFF, deviceKind); in addStates()
618 SystemCameraKind deviceKind = SystemCameraKind::PUBLIC; in onDeviceStatusChanged() local
619 if (getSystemCameraKind(id, &deviceKind) != OK) { in onDeviceStatusChanged()
625 if (shouldSkipStatusUpdates(deviceKind, listener->isVendorListener(), in onDeviceStatusChanged()
1097 SystemCameraKind deviceKind = SystemCameraKind::PUBLIC; in filterSensitiveMetadataIfNeeded() local
1098 if (getSystemCameraKind(cameraId, &deviceKind) != OK) { in filterSensitiveMetadataIfNeeded()
1104 if (deviceKind == SystemCameraKind::SYSTEM_ONLY_CAMERA) { in filterSensitiveMetadataIfNeeded()
1769 SystemCameraKind deviceKind = SystemCameraKind::PUBLIC; in validateClientPermissionsLocked() local
1770 if (getSystemCameraKind(cameraId, &deviceKind) != OK) { in validateClientPermissionsLocked()
1785 (deviceKind != SystemCameraKind::SYSTEM_ONLY_CAMERA) && !checkPermissionForCamera) { in validateClientPermissionsLocked()
3453 SystemCameraKind deviceKind = SystemCameraKind::PUBLIC; in addListenerHelper() local
3454 if (getSystemCameraKind(cameraId, &deviceKind) != OK) { in addListenerHelper()
3459 return shouldSkipStatusUpdates(deviceKind, isVendorListener, clientPid, in addListenerHelper()
5640 SystemCameraKind deviceKind = SystemCameraKind::PUBLIC; in updateStatus() local
5641 if (getSystemCameraKind(cameraId, &deviceKind) != OK) { in updateStatus()
5681 state->updateStatus(status, cameraId, rejectSourceStates, [this, &deviceKind, in updateStatus()
5699 onTorchStatusChangedLocked(cameraId, newTorchStatus, deviceKind); in updateStatus()
5706 logicalCameraIds, deviceKind, deviceId); in updateStatus()
5710 if (shouldSkipStatusUpdates(deviceKind, isVendorListener, in updateStatus()
5850 SystemCameraKind deviceKind, int32_t deviceId) { in notifyPhysicalCameraStatusLocked() argument
5857 if (shouldSkipStatusUpdates(deviceKind, listener->isVendorListener(), in notifyPhysicalCameraStatusLocked()