Home
last modified time | relevance | path

Searched refs:hardware (Results 1 – 25 of 928) sorted by relevance

12345678910>>...38

/frameworks/base/core/java/android/hardware/camera2/
DCameraCharacteristics.java17 package android.hardware.camera2;
21 import android.hardware.camera2.impl.CameraMetadataNative;
22 import android.hardware.camera2.impl.PublicKey;
23 import android.hardware.camera2.impl.SyntheticKey;
24 import android.hardware.camera2.utils.TypeReference;
702 …public static final Key<android.hardware.camera2.params.HighSpeedVideoConfiguration[]> CONTROL_AVA…
703 …Key<android.hardware.camera2.params.HighSpeedVideoConfiguration[]>("android.control.availableHighS…
1719 …public static final Key<android.hardware.camera2.params.ReprocessFormatsMap> SCALER_AVAILABLE_INPU…
1720 …new Key<android.hardware.camera2.params.ReprocessFormatsMap>("android.scaler.availableInputOutputF…
1811 …public static final Key<android.hardware.camera2.params.StreamConfiguration[]> SCALER_AVAILABLE_ST…
[all …]
DCaptureResult.java17 package android.hardware.camera2;
21 import android.hardware.camera2.impl.CameraMetadataNative;
22 import android.hardware.camera2.impl.CaptureResultExtras;
23 import android.hardware.camera2.impl.PublicKey;
24 import android.hardware.camera2.impl.SyntheticKey;
25 import android.hardware.camera2.utils.TypeReference;
445 …public static final Key<android.hardware.camera2.params.ColorSpaceTransform> COLOR_CORRECTION_TRAN…
446 …new Key<android.hardware.camera2.params.ColorSpaceTransform>("android.colorCorrection.transform", …
472 …public static final Key<android.hardware.camera2.params.RggbChannelVector> COLOR_CORRECTION_GAINS =
473 …new Key<android.hardware.camera2.params.RggbChannelVector>("android.colorCorrection.gains", androi…
[all …]
DCaptureRequest.java17 package android.hardware.camera2;
21 import android.hardware.camera2.impl.CameraMetadataNative;
22 import android.hardware.camera2.impl.PublicKey;
23 import android.hardware.camera2.impl.SyntheticKey;
24 import android.hardware.camera2.utils.HashCodeHelpers;
25 import android.hardware.camera2.utils.TypeReference;
733 …public static final Key<android.hardware.camera2.params.ColorSpaceTransform> COLOR_CORRECTION_TRAN…
734 …new Key<android.hardware.camera2.params.ColorSpaceTransform>("android.colorCorrection.transform", …
760 …public static final Key<android.hardware.camera2.params.RggbChannelVector> COLOR_CORRECTION_GAINS =
761 …new Key<android.hardware.camera2.params.RggbChannelVector>("android.colorCorrection.gains", androi…
[all …]
/frameworks/av/camera/
DCamera.cpp43 &::android::hardware::ICameraService::connect;
46 sp<Camera> Camera::create(const sp<::android::hardware::ICamera>& camera) in create()
87 sp<::android::hardware::ICameraClient> cl = c; in connectLegacy()
89 const sp<::android::hardware::ICameraService>& cs = CameraBaseT::getCameraService(); in connectLegacy()
102 case hardware::ICameraService::ERROR_DISCONNECTED: in connectLegacy()
105 case hardware::ICameraService::ERROR_CAMERA_IN_USE: in connectLegacy()
108 case hardware::ICameraService::ERROR_INVALID_OPERATION: in connectLegacy()
111 case hardware::ICameraService::ERROR_MAX_CAMERAS_IN_USE: in connectLegacy()
114 case hardware::ICameraService::ERROR_ILLEGAL_ARGUMENT: in connectLegacy()
117 case hardware::ICameraService::ERROR_DEPRECATED_HAL: in connectLegacy()
[all …]
DCameraBase.cpp39 namespace hardware { namespace
60 sp<::android::hardware::ICameraService> gCameraService;
89 const sp<::android::hardware::ICameraService>& CameraBase<TCam, TCamTraits>::getCameraService() in getCameraService()
107 gCameraService = interface_cast<::android::hardware::ICameraService>(binder); in getCameraService()
121 const sp<::android::hardware::ICameraService>& cs = getCameraService(); in connect()
207 const sp<::android::hardware::ICameraService> cs = getCameraService(); in getNumberOfCameras()
215 ::android::hardware::ICameraService::CAMERA_TYPE_BACKWARD_COMPATIBLE, in getNumberOfCameras()
228 struct hardware::CameraInfo* cameraInfo) { in getCameraInfo()
229 const sp<::android::hardware::ICameraService>& cs = getCameraService(); in getCameraInfo()
237 const sp<::android::hardware::ICameraServiceListener>& listener) { in addServiceListener()
[all …]
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerInternal.java19 import android.hardware.soundtrigger.IRecognitionStatusCallback;
20 import android.hardware.soundtrigger.SoundTrigger;
21 import android.hardware.soundtrigger.SoundTrigger.Keyphrase;
22 import android.hardware.soundtrigger.SoundTrigger.KeyphraseRecognitionEvent;
23 import android.hardware.soundtrigger.SoundTrigger.KeyphraseRecognitionExtra;
24 import android.hardware.soundtrigger.SoundTrigger.KeyphraseSoundModel;
25 import android.hardware.soundtrigger.SoundTrigger.ModuleProperties;
26 import android.hardware.soundtrigger.SoundTrigger.RecognitionConfig;
27 import android.hardware.soundtrigger.SoundTrigger.RecognitionEvent;
28 import android.hardware.soundtrigger.SoundTrigger.SoundModelEvent;
[all …]
/frameworks/av/camera/tests/
DCameraBinderTests.cpp66 class TestCameraServiceListener : public hardware::BnCameraServiceListener {
128 return hardware::ICameraServiceListener::TORCH_STATUS_UNKNOWN; in getTorchStatus()
137 return hardware::ICameraServiceListener::STATUS_UNKNOWN; in getStatus()
144 class TestCameraDeviceCallbacks : public hardware::camera2::BnCameraDeviceCallbacks {
292 sp<hardware::ICameraService> service = in TEST()
293 interface_cast<hardware::ICameraService>(binder); in TEST()
298 res = service->getNumberOfCameras(hardware::ICameraService::CAMERA_TYPE_ALL, &numCameras); in TEST()
312 hardware::ICameraService::API_VERSION_2, &isSupported); in TEST()
328 EXPECT_EQ(::android::hardware::ICameraServiceListener::STATUS_PRESENT, s); in TEST()
329 if (s != ::android::hardware::ICameraServiceListener::STATUS_PRESENT) { in TEST()
[all …]
/frameworks/base/core/java/android/hardware/hdmi/
DIHdmiControlService.aidl17 package android.hardware.hdmi;
19 import android.hardware.hdmi.HdmiDeviceInfo;
20 import android.hardware.hdmi.HdmiPortInfo;
21 import android.hardware.hdmi.IHdmiControlCallback;
22 import android.hardware.hdmi.IHdmiDeviceEventListener;
23 import android.hardware.hdmi.IHdmiHotplugEventListener;
24 import android.hardware.hdmi.IHdmiInputChangeListener;
25 import android.hardware.hdmi.IHdmiMhlVendorCommandListener;
26 import android.hardware.hdmi.IHdmiRecordListener;
27 import android.hardware.hdmi.IHdmiSystemAudioModeChangeListener;
[all …]
/frameworks/base/docs/html/sdk/api_diff/20/
DmissingSinces.txt31 NO DOC BLOCK: android.hardware.Sensor Method getStringType()
32 NO DOC BLOCK: android.hardware.display.VirtualDisplay Method getSurface()
42 NO DOC BLOCK: android.hardware.display.VirtualDisplay Method setSurface(android.view.Surface)
58 NO DOC BLOCK: android.hardware.SensorManager Field SENSOR_STATUS_NO_CONTACT
63 NO DOC BLOCK: android.hardware.Sensor Field STRING_TYPE_ACCELEROMETER
64 NO DOC BLOCK: android.hardware.Sensor Field STRING_TYPE_AMBIENT_TEMPERATURE
65 NO DOC BLOCK: android.hardware.Sensor Field STRING_TYPE_GAME_ROTATION_VECTOR
66 NO DOC BLOCK: android.hardware.Sensor Field STRING_TYPE_GEOMAGNETIC_ROTATION_VECTOR
67 NO DOC BLOCK: android.hardware.Sensor Field STRING_TYPE_GRAVITY
68 NO DOC BLOCK: android.hardware.Sensor Field STRING_TYPE_GYROSCOPE
[all …]
/frameworks/base/core/java/android/hardware/camera2/impl/
DICameraDeviceUserWrapper.java17 package android.hardware.camera2.impl;
19 import static android.hardware.camera2.CameraAccessException.CAMERA_DISABLED;
20 import static android.hardware.camera2.CameraAccessException.CAMERA_DISCONNECTED;
21 import static android.hardware.camera2.CameraAccessException.CAMERA_IN_USE;
22 import static android.hardware.camera2.CameraAccessException.CAMERA_ERROR;
23 import static android.hardware.camera2.CameraAccessException.MAX_CAMERAS_IN_USE;
24 import static android.hardware.camera2.CameraAccessException.CAMERA_DEPRECATED_HAL;
26 import android.hardware.ICameraService;
27 import android.hardware.camera2.CameraManager;
28 import android.hardware.camera2.CameraAccessException;
[all …]
/frameworks/base/docs/html-intl/intl/ja/training/tv/start/
Dhardware.jd70 <td>{@code android.hardware.touchscreen}</td>
74 <td>{@code android.hardware.telephony}</td>
78 <td>{@code android.hardware.camera}</td>
82 <td>{@code android.hardware.nfc}</td>
86 <td>{@code android.hardware.location.gps}</td>
90 <td>{@code android.hardware.microphone}</td>
95 <h3 id="declare-hardware-requirements">TV のハードウェア要件を宣言する</h3>
106 &lt;uses-feature android:name="android.hardware.touchscreen"
108 &lt;uses-feature android:name="android.hardware.faketouch"
110 &lt;uses-feature android:name="android.hardware.telephony"
[all …]
/frameworks/av/camera/aidl/android/hardware/
DICameraService.aidl17 package android.hardware;
19 import android.hardware.ICamera;
20 import android.hardware.ICameraClient;
21 import android.hardware.camera2.ICameraDeviceUser;
22 import android.hardware.camera2.ICameraDeviceCallbacks;
23 import android.hardware.camera2.params.VendorTagDescriptor;
24 import android.hardware.camera2.impl.CameraMetadataNative;
25 import android.hardware.ICameraServiceListener;
26 import android.hardware.CameraInfo;
/frameworks/base/core/java/android/hardware/location/
DIContextHubService.aidl17 package android.hardware.location;
20 import android.hardware.location.ContextHubMessage;
21 import android.hardware.location.ContextHubInfo;
22 import android.hardware.location.NanoApp;
23 import android.hardware.location.NanoAppInstanceInfo;
24 import android.hardware.location.NanoAppFilter;
25 import android.hardware.location.IContextHubCallback;
/frameworks/base/docs/html/training/tv/start/
Dhardware.jd20 TV hardware is substantially different from other Android devices. TVs do not
21 include some of the hardware features found on other Android devices, such as touch screens,
22 cameras, and GPS receivers. TVs are also completely dependent on secondary hardware devices.
24 you build an app for TV, you must carefully consider the hardware limitations and requirements of
25 operating on TV hardware.
30 hardware features, and discusses the requirements for handling controllers for TV devices.
67 hardware features being unavailable. This section discusses what hardware features are typically
68 not available for TV, how to detect missing hardware features, and suggests alternatives to
73 <h3 id="unsupported-features">Unsupported TV hardware features</h3>
76 TVs have a different purpose from other devices, and so they do not have hardware features that
[all …]
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.h33 public hardware::camera2::BnCameraDeviceUser
35 typedef hardware::camera2::ICameraDeviceCallbacks TCamCallbacks;
37 const sp<hardware::camera2::ICameraDeviceCallbacks>& getRemoteCallback() { in getRemoteCallback()
43 const sp<hardware::camera2::ICameraDeviceCallbacks>& remoteCallback,
51 sp<hardware::camera2::ICameraDeviceCallbacks> mRemoteCallback;
70 const hardware::camera2::CaptureRequest& request,
73 hardware::camera2::utils::SubmitInfo *submitInfo = nullptr);
76 const std::vector<hardware::camera2::CaptureRequest>& requests,
79 hardware::camera2::utils::SubmitInfo *submitInfo = nullptr);
92 const hardware::camera2::params::OutputConfiguration &outputConfiguration,
[all …]
/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyFaceDetectMapper.java17 package android.hardware.camera2.legacy;
20 import android.hardware.Camera;
21 import android.hardware.Camera.FaceDetectionListener;
22 import android.hardware.camera2.impl.CameraMetadataNative;
23 import android.hardware.camera2.legacy.ParameterUtils.ZoomData;
24 import android.hardware.camera2.CameraCharacteristics;
25 import android.hardware.camera2.CaptureRequest;
26 import android.hardware.camera2.CaptureResult;
27 import android.hardware.camera2.params.Face;
28 import android.hardware.camera2.utils.ListUtils;
[all …]
/frameworks/av/camera/ndk/impl/
DACameraManager.cpp74 sp<hardware::ICameraService> CameraManagerGlobal::getCameraService() { in getCameraService()
91 mCameraService = interface_cast<hardware::ICameraService>(binder); in getCameraService()
130 hardware::ICameraService::ERROR_DEPRECATED_HAL) { in getCameraService()
190 case hardware::ICameraServiceListener::STATUS_NOT_PRESENT: in validStatus()
191 case hardware::ICameraServiceListener::STATUS_PRESENT: in validStatus()
192 case hardware::ICameraServiceListener::STATUS_ENUMERATING: in validStatus()
193 case hardware::ICameraServiceListener::STATUS_NOT_AVAILABLE: in validStatus()
202 case hardware::ICameraServiceListener::STATUS_PRESENT: in isStatusAvailable()
307 sp<hardware::ICameraService> cs = CameraManagerGlobal::getInstance().getCameraService(); in getOrCreateCameraIdListLocked()
314 … binder::Status serviceRet = cs->getNumberOfCameras(hardware::ICameraService::CAMERA_TYPE_ALL, in getOrCreateCameraIdListLocked()
[all …]
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
DMarshalQueryableReprocessFormatsMap.java16 package android.hardware.camera2.marshal.impl;
18 import android.hardware.camera2.marshal.Marshaler;
19 import android.hardware.camera2.marshal.MarshalQueryable;
20 import android.hardware.camera2.params.ReprocessFormatsMap;
21 import android.hardware.camera2.params.StreamConfigurationMap;
22 import android.hardware.camera2.utils.TypeReference;
24 import static android.hardware.camera2.impl.CameraMetadataNative.*;
25 import static android.hardware.camera2.marshal.MarshalHelpers.*;
DMarshalQueryableColorSpaceTransform.java16 package android.hardware.camera2.marshal.impl;
18 import android.hardware.camera2.marshal.Marshaler;
19 import android.hardware.camera2.marshal.MarshalQueryable;
20 import android.hardware.camera2.params.ColorSpaceTransform;
21 import android.hardware.camera2.utils.TypeReference;
25 import static android.hardware.camera2.impl.CameraMetadataNative.*;
26 import static android.hardware.camera2.marshal.MarshalHelpers.*;
DMarshalQueryableBlackLevelPattern.java16 package android.hardware.camera2.marshal.impl;
18 import android.hardware.camera2.marshal.MarshalQueryable;
19 import android.hardware.camera2.marshal.Marshaler;
20 import android.hardware.camera2.params.BlackLevelPattern;
21 import android.hardware.camera2.utils.TypeReference;
25 import static android.hardware.camera2.impl.CameraMetadataNative.TYPE_INT32;
26 import static android.hardware.camera2.marshal.MarshalHelpers.SIZEOF_INT32;
DMarshalQueryableStreamConfiguration.java16 package android.hardware.camera2.marshal.impl;
18 import android.hardware.camera2.marshal.Marshaler;
19 import android.hardware.camera2.marshal.MarshalQueryable;
20 import android.hardware.camera2.params.StreamConfiguration;
21 import android.hardware.camera2.utils.TypeReference;
23 import static android.hardware.camera2.impl.CameraMetadataNative.*;
24 import static android.hardware.camera2.marshal.MarshalHelpers.*;
DMarshalQueryableRggbChannelVector.java16 package android.hardware.camera2.marshal.impl;
18 import android.hardware.camera2.marshal.Marshaler;
19 import android.hardware.camera2.marshal.MarshalQueryable;
20 import android.hardware.camera2.params.RggbChannelVector;
21 import android.hardware.camera2.utils.TypeReference;
25 import static android.hardware.camera2.impl.CameraMetadataNative.*;
26 import static android.hardware.camera2.marshal.MarshalHelpers.*;
DMarshalQueryableStreamConfigurationDuration.java16 package android.hardware.camera2.marshal.impl;
18 import android.hardware.camera2.marshal.Marshaler;
19 import android.hardware.camera2.marshal.MarshalQueryable;
20 import android.hardware.camera2.params.StreamConfigurationDuration;
21 import android.hardware.camera2.utils.TypeReference;
23 import static android.hardware.camera2.impl.CameraMetadataNative.*;
24 import static android.hardware.camera2.marshal.MarshalHelpers.*;
DMarshalQueryableHighSpeedVideoConfiguration.java16 package android.hardware.camera2.marshal.impl;
18 import android.hardware.camera2.marshal.Marshaler;
19 import android.hardware.camera2.marshal.MarshalQueryable;
20 import android.hardware.camera2.params.HighSpeedVideoConfiguration;
21 import android.hardware.camera2.utils.TypeReference;
23 import static android.hardware.camera2.impl.CameraMetadataNative.*;
24 import static android.hardware.camera2.marshal.MarshalHelpers.*;
DMarshalQueryableBoolean.java16 package android.hardware.camera2.marshal.impl;
18 import static android.hardware.camera2.impl.CameraMetadataNative.*;
19 import static android.hardware.camera2.marshal.MarshalHelpers.*;
21 import android.hardware.camera2.marshal.Marshaler;
22 import android.hardware.camera2.marshal.MarshalQueryable;
23 import android.hardware.camera2.utils.TypeReference;

12345678910>>...38