Lines Matching refs:entry

295         ACameraMetadata_const_entry entry;  in onCaptureCompleted()  local
296 auto ret = ACameraMetadata_getConstEntry(result, ACAMERA_SYNC_FRAME_NUMBER, &entry); in onCaptureCompleted()
310 if (entry.data.i64[0] != entryCopy.data.i64[0]) { in onCaptureCompleted()
312 entry.data.i64[0], entryCopy.data.i64[0]); in onCaptureCompleted()
321 thiz->mLastCompletedFrameNumber = entry.data.i64[0]; in onCaptureCompleted()
335 ACameraMetadata_const_entry entry; in onLogicalCameraCaptureCompleted() local
336 auto ret = ACameraMetadata_getConstEntry(result, ACAMERA_SYNC_FRAME_NUMBER, &entry); in onLogicalCameraCaptureCompleted()
350 if (entry.data.i64[0] != entryCopy.data.i64[0]) { in onLogicalCameraCaptureCompleted()
352 entry.data.i64[0], entryCopy.data.i64[0]); in onLogicalCameraCaptureCompleted()
399 thiz->mLastCompletedFrameNumber = entry.data.i64[0]; in onLogicalCameraCaptureCompleted()
697 ACameraMetadata_const_entry entry; in isCapabilitySupported() local
698 ACameraMetadata_getConstEntry(mChars, ACAMERA_REQUEST_AVAILABLE_CAPABILITIES, &entry); in isCapabilitySupported()
699 for (uint32_t i = 0; i < entry.count; i++) { in isCapabilitySupported()
700 if (entry.data.u8[i] == cap) { in isCapabilitySupported()
725 ACameraMetadata_const_entry entry; in getMaxSizeForFormat() local
747 camera_status_t status = ACameraMetadata_getConstEntry(mChars, streamConfigTag, &entry); in getMaxSizeForFormat()
753 for (uint32_t i = 0; i < entry.count; i += 4) { in getMaxSizeForFormat()
754 if (entry.data.i32[i] == format && in getMaxSizeForFormat()
755 entry.data.i32[i+3] == streamConfigOutputTag && in getMaxSizeForFormat()
756 entry.data.i32[i+1] * entry.data.i32[i+2] > w * h) { in getMaxSizeForFormat()
757 w = entry.data.i32[i+1]; in getMaxSizeForFormat()
758 h = entry.data.i32[i+2]; in getMaxSizeForFormat()
771 ACameraMetadata_const_entry entry; in isSizeSupportedForFormat() local
787 auto ret = ACameraMetadata_getConstEntry(mChars, streamConfigTag, &entry); in isSizeSupportedForFormat()
791 for (uint32_t i = 0; i < entry.count; i += 4) { in isSizeSupportedForFormat()
792 if (entry.data.i32[i] == format && in isSizeSupportedForFormat()
793 entry.data.i32[i+3] == streamConfigOutputTag && in isSizeSupportedForFormat()
794 entry.data.i32[i+1] == width && in isSizeSupportedForFormat()
795 entry.data.i32[i+2] == height) { in isSizeSupportedForFormat()
813 ACameraMetadata_const_entry entry; in getDurationFor() local
814 ACameraMetadata_getConstEntry(mChars, tag, &entry); in getDurationFor()
815 for (uint32_t i = 0; i < entry.count; i += 4) { in getDurationFor()
816 if (entry.data.i64[i] == format && in getDurationFor()
817 entry.data.i64[i+1] == width && in getDurationFor()
818 entry.data.i64[i+2] == height) { in getDurationFor()
819 return entry.data.i64[i+3]; in getDurationFor()
1263 ACameraMetadata_const_entry entry; in createRequestsWithErrorLog() local
1266 ACAMERA_CONTROL_AE_MODE, &entry); in createRequestsWithErrorLog()
1272 if (entry.data.u8[0] != aeMode) { in createRequestsWithErrorLog()
1275 aeMode, entry.data.u8[0]); in createRequestsWithErrorLog()
1780 ACameraMetadata_const_entry entry; in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerCharacteristicsNative() local
1781 ret = ACameraMetadata_getConstEntry(chars, ACAMERA_REQUEST_AVAILABLE_CAPABILITIES, &entry); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerCharacteristicsNative()
1788 if (entry.tag != ACAMERA_REQUEST_AVAILABLE_CAPABILITIES || in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerCharacteristicsNative()
1789 entry.count == 0 || entry.type != ACAMERA_TYPE_BYTE || entry.data.i32 == nullptr) { in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerCharacteristicsNative()
1793 entry.tag, ACAMERA_REQUEST_AVAILABLE_CAPABILITIES, entry.count, in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerCharacteristicsNative()
1794 entry.type, ACAMERA_TYPE_BYTE, entry.data.i32); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerCharacteristicsNative()
1799 for (uint32_t i = 0; i < entry.count; i++) { in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerCharacteristicsNative()
1800 if (entry.data.u8[i] == ACAMERA_REQUEST_AVAILABLE_CAPABILITIES_BACKWARD_COMPATIBLE) { in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerCharacteristicsNative()
1803 if (entry.data.u8[i] == ACAMERA_REQUEST_AVAILABLE_CAPABILITIES_DEPTH_OUTPUT) { in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerCharacteristicsNative()
1824 for (uint32_t i = 0; i < entry.count; i++) { in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerCharacteristicsNative()
1825 if (entry.data.u8[i] != entryCopy.data.u8[i]) { in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerCharacteristicsNative()
1828 i, entryCopy.data.u8[i], entry.data.u8[i]); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerCharacteristicsNative()
1835 ret = ACameraMetadata_getConstEntry(chars, badTag, &entry); in Java_android_hardware_camera2_cts_NativeCameraManagerTest_testCameraManagerCharacteristicsNative()
2031 ACameraMetadata_const_entry entry; in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceCreateCaptureRequestNative() local
2033 ACAMERA_CONTROL_AE_MODE, &entry); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceCreateCaptureRequestNative()
2040 ACAMERA_CONTROL_AE_MODE, &entry); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceCreateCaptureRequestNative()
2046 ret = ACaptureRequest_getConstEntry(request, ACAMERA_CONTROL_AE_MODE, &entry); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceCreateCaptureRequestNative()
2052 if (entry.tag != ACAMERA_CONTROL_AE_MODE || entry.type != ACAMERA_TYPE_BYTE ||\ in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceCreateCaptureRequestNative()
2053 entry.count != 1) { in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceCreateCaptureRequestNative()
2057 entry.tag, ACAMERA_CONTROL_AE_MODE, entry.type, ACAMERA_TYPE_BYTE, in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceCreateCaptureRequestNative()
2058 entry.count, 1); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceCreateCaptureRequestNative()
2062 if (entry.data.u8[0] != ACAMERA_CONTROL_AE_MODE_OFF) { in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceCreateCaptureRequestNative()
2064 entry.data.u8[0], ACAMERA_CONTROL_AE_MODE_OFF); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceCreateCaptureRequestNative()
2092 request, ACAMERA_CONTROL_AE_MODE, &entry); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceCreateCaptureRequestNative()
2097 if (entry.data.u8[0] != aeMode) { in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceCreateCaptureRequestNative()
2100 aeMode, entry.data.u8[0]); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceCreateCaptureRequestNative()
2105 if (entry.data.u8[0] != ACAMERA_CONTROL_AE_MODE_ON) { in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceCreateCaptureRequestNative()
2108 t, entry.data.u8[0], ACAMERA_CONTROL_AE_MODE_ON); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceCreateCaptureRequestNative()
2124 request, ACAMERA_CONTROL_AE_MODE, &entry); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceCreateCaptureRequestNative()
2129 if (entry.data.u8[0] != aeMode) { in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceCreateCaptureRequestNative()
2132 aeMode, entry.data.u8[0]); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceCreateCaptureRequestNative()
2898 ACameraMetadata_const_entry entry; in nativeCameraDeviceLogicalPhysicalStreaming() local
2900 chars, ACAMERA_REQUEST_AVAILABLE_PHYSICAL_CAMERA_REQUEST_KEYS, &entry); in nativeCameraDeviceLogicalPhysicalStreaming()
2907 } else if (entry.count == 0) { in nativeCameraDeviceLogicalPhysicalStreaming()