/frameworks/base/core/jni/ |
H A D | android_hardware_Camera.cpp | 29 #include <camera/Camera.h> 47 JNICameraContext(JNIEnv* env, jobject weak_this, jclass clazz, const sp<Camera>& camera); 73 sp<Camera> camera; local 77 camera = context->getCamera(); 79 LOGV("get_native_camera: context=%p, camera=%p", context, camera.get()); 80 if (camera == 0) { 85 return camera; 88 JNICameraContext::JNICameraContext(JNIEnv* env, jobject weak_this, jclass clazz, const sp<Camera>& camera) argument 92 mCamera = camera; 294 sp<Camera> camera = Camera::connect(); local 333 sp<Camera> camera; local 362 sp<Camera> camera = get_native_camera(env, thiz, NULL); local 377 sp<Camera> camera = get_native_camera(env, thiz, NULL); local 411 sp<Camera> camera = get_native_camera(env, thiz, &context); local 457 sp<Camera> camera = get_native_camera(env, thiz, &context); local 469 sp<Camera> camera = get_native_camera(env, thiz, NULL); local 487 sp<Camera> camera = get_native_camera(env, thiz, NULL); local 496 sp<Camera> camera = get_native_camera(env, thiz, NULL); local 508 sp<Camera> camera = get_native_camera(env, thiz, NULL); local 519 sp<Camera> camera = get_native_camera(env, thiz, NULL); local 530 sp<Camera> camera = get_native_camera(env, thiz, NULL); local 546 sp<Camera> camera = get_native_camera(env, thiz, NULL); local 558 sp<Camera> camera = get_native_camera(env, thiz, NULL); local [all...] |
/frameworks/base/include/camera/ |
H A D | ICameraService.h | 24 #include <camera/ICameraClient.h> 25 #include <camera/ICamera.h>
|
H A D | CameraHardwareInterface.h | 23 #include <camera/Camera.h> 24 #include <camera/CameraParameters.h> 56 * camera hardware abstraction layer, used for setting and getting 65 * setParameters() are used to initialize the camera instance. 69 * -# startPreview() is called. The camera instance then periodically 75 * focusing has completed, the camera instance sends a CAMERA_MSG_FOCUS notification, 76 * which informs the application whether focusing was successful. The camera instance 80 * CameraService calls takePicture() to request the camera instance take a 130 * Only used if overlays are used for camera preview. 178 * If the camera doe [all...] |
H A D | ICamera.h | 26 #include <camera/Camera.h> 39 // connect new client with existing camera remote 48 // pass the buffered ISurface to the camera service 91 // send command to camera driver
|
H A D | Camera.h | 22 #include <camera/ICameraClient.h> 43 * subsequent preview frames filled by the camera. This flag is recommended 90 // camera fatal errors 114 // construct a camera client from an existing remote 115 static sp<Camera> create(const sp<ICamera>& camera); 127 // pass the buffered ISurface to the camera service 167 // send command to camera driver 197 // helper function to obtain camera service handle
|
/frameworks/base/cmds/system_server/library/ |
H A D | Android.mk | 10 $(base)/camera/libcameraservice \
|
/frameworks/base/media/mediaserver/ |
H A D | Android.mk | 18 $(base)/camera/libcameraservice \
|
/frameworks/base/libs/camera/ |
H A D | ICameraService.cpp | 25 #include <camera/ICameraService.h> 37 // connect to camera service 59 sp<ICamera> camera = connect(cameraClient); local 60 reply->writeStrongBinder(camera->asBinder());
|
H A D | Camera.cpp | 27 #include <camera/Camera.h> 28 #include <camera/ICameraService.h> 34 // client singleton for camera service binder interface 39 // establish binder interface to camera service 47 binder = sm->getService(String16("media.camera")); 70 // construct a camera client from an existing camera remote 71 sp<Camera> Camera::create(const sp<ICamera>& camera) argument 74 if (camera == 0) { 75 LOGE("camera remot [all...] |
H A D | ICameraClient.cpp | 23 #include <camera/ICameraClient.h> 41 // generic callback from camera service to app 53 // generic data callback from camera service to app with image data 64 // generic data callback from camera service to app with image data
|
/frameworks/base/media/libstagefright/ |
H A D | CameraSource.cpp | 28 #include <camera/Camera.h> 29 #include <camera/CameraParameters.h> 118 sp<Camera> camera = Camera::connect(); local 120 if (camera.get() == NULL) { 124 return new CameraSource(camera); 129 sp<Camera> camera = Camera::create(icamera); local 131 if (camera.get() == NULL) { 135 return new CameraSource(camera); 138 CameraSource::CameraSource(const sp<Camera> &camera) argument 139 : mCamera(camera), [all...] |
/frameworks/base/camera/libcameraservice/ |
H A D | Android.mk | 5 # the camera service to use the fake camera. For emulator or simulator builds, 6 # we always use the fake camera.
|
H A D | CameraService.h | 22 #include <camera/ICameraService.h> 23 #include <camera/CameraHardwareInterface.h> 24 #include <camera/Camera.h> 72 // connect new client with existing camera remote 81 // pass the buffered ISurface to the camera service 124 // send command to camera driver 156 // camera operation mode
|
H A D | CameraHardwareStub.h | 23 #include <camera/CameraHardwareInterface.h>
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
H A D | CameraTest.java | 39 * Junit / Instrumentation test case for the camera api 83 // Set up a looper to be used by camera. 108 // callback still uses the camera object (setHasPreviewCallback). 109 // After camera is released, RuntimeException will be thrown from 117 public void onPreviewFrame(byte [] rawData, Camera camera) { argument 143 public void onPictureTaken(byte [] rawData, Camera camera) { argument 152 public void onPictureTaken(byte [] rawData, Camera camera) { argument
|
/frameworks/base/include/media/ |
H A D | IMediaRecorder.h | 34 virtual status_t setCamera(const sp<ICamera>& camera) = 0;
|
H A D | MediaRecorderBase.h | 39 virtual status_t setCamera(const sp<ICamera>& camera) = 0;
|
H A D | PVMediaRecorder.h | 43 virtual status_t setCamera(const sp<ICamera>& camera);
|
H A D | mediarecorder.h | 158 status_t setCamera(const sp<ICamera>& camera);
|
/frameworks/base/include/media/stagefright/ |
H A D | CameraSource.h | 67 CameraSource(const sp<Camera> &camera);
|
/frameworks/base/media/libmediaplayerservice/ |
H A D | MediaRecorderClient.h | 31 virtual status_t setCamera(const sp<ICamera>& camera);
|
H A D | StagefrightRecorder.h | 41 virtual status_t setCamera(const sp<ICamera>& camera);
|
H A D | StagefrightRecorder.cpp | 32 #include <camera/ICamera.h> 98 status_t StagefrightRecorder::setCamera(const sp<ICamera> &camera) { argument 99 mCamera = camera;
|
/frameworks/base/media/libmedia/ |
H A D | IMediaRecorder.cpp | 23 #include <camera/ICamera.h> 61 status_t setCamera(const sp<ICamera>& camera) argument 63 LOGV("setCamera(%p)", camera.get()); 66 data.writeStrongBinder(camera->asBinder()); 417 sp<ICamera> camera = interface_cast<ICamera>(data.readStrongBinder()); local 418 reply->writeInt32(setCamera(camera));
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaRecorder.cpp | 22 #include <camera/ICameraService.h> 23 #include <camera/Camera.h> 151 static void android_media_MediaRecorder_setCamera(JNIEnv* env, jobject thiz, jobject camera) argument 153 // we should not pass a null camera to get_native_camera() call. 154 if (camera == NULL) { 155 jniThrowException(env, "java/lang/NullPointerException", "camera object is a NULL pointer"); 158 sp<Camera> c = get_native_camera(env, camera, NULL); 431 jniThrowException(env, "java/lang/IOException", "Unable to initialize camera");
|