summaryrefslogtreecommitdiff
path: root/tools/emulator
Commit message (Collapse)AuthorAgeFilesLines
* Merging emulator smoke test projectsSteve Moyer2014-03-039-125/+12
| | | | | | Combining SmsTest, GpsLocationTests, and ConnectivityTest Change-Id: I7a9b8e787af37704e6af43b93f169ef90980cb2d
* Add up to 6 10 second delays to wait for smsSteve Moyer2014-02-181-6/+26
| | | | Change-Id: I59a4542d70e56bf9442e2bb075c6a0a5a0454fb3
* Adding test tag to sms testSteve Moyer2014-02-111-2/+3
| | | | Change-Id: Ie8ef012cf07715582b602e75a2ba19dfe1c22a29
* Add SMS test to verify emulator can receive sms from DDMSSteve Moyer2014-02-103-0/+118
| | | | Change-Id: I168a8c75df76eb997ac5abf06a10437881bdff76
* Disable proguard for emulator testsSiva Velusamy2013-05-232-0/+4
| | | | Change-Id: I3aeb201d2c9f5e51933d2284845ce42d3b477ee2
* move emulator HALs to device/generic/goldfishkeunyoung2013-03-11192-51210/+0
| | | | Change-Id: I1ff304d540c75c4d27c5fddeb7315e177d366fb3
* am f39c1088: am 7b9e308b: Merge ""debug" in those modules is discouraged"Ying Wang2013-03-0710-53/+4
|\ | | | | | | | | * commit 'f39c1088f08e194a212f55a246bac85036f62a42': "debug" in those modules is discouraged
| * "debug" in those modules is discouragedYing Wang2013-03-0110-53/+4
| | | | | | | | | | | | | | | | | | | | | | Because we need those modules for only emulator builds. If you mark them as "debug", you'll get them even if you are doing a real device userdebug/eng build. Instead, we should add their module names to the emulator product config in build/target/product/emulator.mk. Bug: 8276818 Change-Id: I58988ce49804583b06e7d93380c44ba800448216
| * EmulatedCamera2: Fix metadata symbols: DO NOT MERGEIgor Murashkin2013-01-302-174/+146
| | | | | | | | Change-Id: I9ccec2636d73684af9236d873a6bba0e15cd598a
| * Revert "Camera2: Selectively re-define master metadata symbols: DO NOT ↵Igor Murashkin2013-01-302-33/+0
| | | | | | | | | | | | MERGE": DO NOT MERGE This reverts commit 52f92faa60d4e5300e194e6ded3d290fcf4df241.
| * Camera2: Fix segfault when control fields were omitted in metadata: DO NOT MERGEIgor Murashkin2013-01-101-6/+17
| | | | | | | | Change-Id: I36c3dcaaecd9bca495c1476841a0ae338019e7eb
| * Camera2: Test: fix deadlock in isStreamInUse: DO NOT MERGEIgor Murashkin2013-01-101-1/+2
| | | | | | | | Change-Id: I7574913a5e2b5d1bcdfede11d99a212ef01a8697
| * Camera2: Return -ENODEV for camera indices out of bounds: DO NOT MERGEIgor Murashkin2013-01-101-2/+2
| | | | | | | | | | | | | | This allows CameraModuleTest.LoadModuleBadIndices and CameraModuleTest.GetCameraInfoBadIndices to pass. Change-Id: I8db9d918e7773ccb1eece860b461aa0192782a3b
| * Camera2: Turn off 3A when android.control.mode == OFF: DO NOT MERGEIgor Murashkin2013-01-101-0/+16
| | | | | | | | Change-Id: I37e2c005607548c47e34e7e09994894a69f9e955
| * Camera2: Fix a potential race condition in the readout thread: DO NOT MERGEIgor Murashkin2013-01-101-0/+1
| | | | | | | | Change-Id: I12d960debb499795487582655243e951b15947d5
| * Camera2: Fix a deadlock when closing the camera: DO NOT MERGEIgor Murashkin2013-01-101-12/+16
| | | | | | | | Change-Id: I15dcf719aae4ed0dd3a46150ecba54ed6a7f31f5
| * Camera2: Selectively re-define master metadata symbols: DO NOT MERGEIgor Murashkin2013-01-102-0/+33
| | | | | | | | Change-Id: I0d8637362f407dc2e2809d5800c9667f3c15260b
* | Merge "Fix glShaderSource parameter constness"Jesse Hall2013-02-235-221/+221
|\ \
| * | Fix glShaderSource parameter constnessJesse Hall2013-02-155-221/+221
| | | | | | | | | | | | Change-Id: I1008d779a9d333dc8968812d22e387b804e3c570
* | | Make software vp8 video encoder available to MediaCodec on emulatorJames Dong2013-02-131-0/+1
|/ / | | | | | | Change-Id: I7da75ea335c0b07df876de473545f170138c56b7
* | clean-up sensor emulation code.Mathias Agopian2013-02-061-3/+2
| | | | | | | | | | | | don't blindly access the "status" field which is not used for all sensors. Change-Id: I6ff80cf37b8feeccddfd843480db1861aabbedf1
* | Camera2: Fix segfault when control fields were omitted in metadataIgor Murashkin2012-12-201-6/+17
| | | | | | | | Change-Id: Ia13e7985211e44b5489624ac186e519925a40f26
* | Camera2: Test: fix deadlock in isStreamInUseIgor Murashkin2012-12-201-1/+2
| | | | | | | | Change-Id: I2ac46303e96c3ccaaa0f76555b89bbeed45a3919
* | Camera2: Return -ENODEV for camera indices out of boundsIgor Murashkin2012-12-201-2/+2
| | | | | | | | | | | | | | This allows CameraModuleTest.LoadModuleBadIndices and CameraModuleTest.GetCameraInfoBadIndices to pass. Change-Id: Iffc658b256642ea0684fd8ad864fd273829bb35d
* | Merge "Camera2: Turn off 3A when android.control.mode == OFF"Igor Murashkin2012-12-181-0/+16
|\ \
| * | Camera2: Turn off 3A when android.control.mode == OFFIgor Murashkin2012-12-141-0/+16
| | | | | | | | | | | | Change-Id: Ie6a8726e14529a8605b9ecae6adfa705e79df00a
* | | Merge "Revert "Camera2: Fix a potential race condition in the readout thread""Igor Murashkin2012-12-181-1/+0
|\| |
| * | Revert "Camera2: Fix a potential race condition in the readout thread"Igor Murashkin2012-12-141-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | The last fix incorrectly added a mutex lock which did not guard the appropriate variables. In fact it actually *introduced* a new race condition in a HAL test. This reverts commit 6edd7ab4a4a8077f36767e7047b5d2c8fa0cf488.
* | | Merge "Camera2: Fix a potential race condition in the readout thread"Igor Murashkin2012-12-121-0/+1
|\| |
| * | Camera2: Fix a potential race condition in the readout threadIgor Murashkin2012-12-071-0/+1
| | | | | | | | | | | | Change-Id: Ie4475c8433eaad7545430f7e01e222d074180e0e
* | | Merge "Camera2: Fix a deadlock when closing the camera"Igor Murashkin2012-12-121-12/+16
|\| |
| * | Camera2: Fix a deadlock when closing the cameraIgor Murashkin2012-12-071-12/+16
| | | | | | | | | | | | Change-Id: I8b6be364ca90b0eed62ae03c1548680c0b2f0e64
* | | Merge "EmulatedCamera2: Fix metadata symbols"Igor Murashkin2012-12-042-174/+146
|\| |
| * | EmulatedCamera2: Fix metadata symbolsIgor Murashkin2012-11-302-174/+146
| |/ | | | | | | Change-Id: I9ccec2636d73684af9236d873a6bba0e15cd598a
* / Add gsm decoder to media codec listMarco Nelissen2012-11-161-0/+1
|/ | | | | | b/6620569 Change-Id: I9c41bd34e931bb59405146931dfc12a00a423ef5
* Return accuracy in GPS emulationLaurent Tu2012-10-111-0/+14
| | | | | | | | | | Accuracy is now a required field for location. To comply, set an accuracy in returned fix. The accuracy is constant for now since computing it from the NMEA sentence seems to be very complicated. Bug: 6864500 Change-Id: Iff4c36b440b095539c717d35a812ee2ed7c1725f
* EmulatedFakeCamera2: Add shim to work around FORMAT_ZSL.Eino-Ville Talvala2012-09-131-0/+5
| | | | | | | | Emulator does not need FORMAT_ZSL, so treat it as IMPLEMENTATION_DEFINED. Bug: 6243944 Change-Id: I9eeb48f6197ff9979f7823b8dc912346158fd6f1
* EmulatedFakeCamera2: Split AE/AWB mode and lockEino-Ville Talvala2012-09-042-15/+33
| | | | | | Bug: 6243944 Change-Id: Ib7d311a04c687358317164f7f711dc293ecc0519
* EmulatedFakeCamera2: Add precapture trigger and reprocess supportEino-Ville Talvala2012-09-047-171/+700
| | | | | | | | | | - Manage the precapture protocol with trigger/AE notifications - Support reprocessing from opaque format to JPEG - Add a bit of exposure variation to scene Bug: 6243944 Change-Id: Ic88f8f0ea641ddaf3e921849caf79dd3838665f8
* Gralloc: Support HW_CAMERA_READ/HW_CAMERA_ZSL usage.Eino-Ville Talvala2012-09-041-4/+10
| | | | | | | | This is needed for passing buffers to the camera HAL for reprocessing. Bug: 6243944 Change-Id: Ibf8d15aead571ddb3b62674cf7afe0d508ca24e7
* EmulatedFakeCamera2: Use HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINEDEino-Ville Talvala2012-08-283-23/+10
| | | | | | | Stop using CAMERA2_HAL_PIXEL_FORMAT_OPAQUE. Bug: 6243944 Change-Id: I96ea30228b126b4eed560a760269cb50bbbb62f7
* EmulatedFakeCamera2: Support (0,0) jpeg thumbnail size.Eino-Ville Talvala2012-08-281-0/+1
| | | | Change-Id: I5aa01501c36076a6260d47d2ae4bdc0365b49a8c
* Emulator gralloc: Fix RAW_SENSOR conditions.Eino-Ville Talvala2012-08-201-2/+2
| | | | | | | Allow RAW_SENSOR to be used for any combination of CPU read/write and Camera read/write, instead of only camera->cpu or cpu->camera. Change-Id: I032b9531e9069a202c1a3767b77975c808703285
* EmulatedCamera2: Improve thread sequencingEino-Ville Talvala2012-08-204-34/+98
| | | | | | | | | | | | - When the readout thread is the slow point, frames could be dropped in various ways. Add signals to slow down the configure thread and the sensor when the readout thread is behind. - Clean up verbose logs to be clearer Bug: 6243944 Change-Id: I2efb909f03183273a71dc7edede3aa107117f558
* Emulator gralloc: Support YV12Eino-Ville Talvala2012-08-201-4/+13
| | | | | Bug: 6243944 Change-Id: I5f416ab0ae15143df422c0f79d91841984b4fabe
* EmulatedFakeCamera2: Add face detection support.Eino-Ville Talvala2012-08-132-5/+124
| | | | | | Bug: 6243944c Change-Id: Ice45571b44af2975cc699e4e8b95fb170a889117
* EmulatedFakeCamera2: Add autofocus managementEino-Ville Talvala2012-08-084-21/+479
| | | | | | | | | - Add skeleton ControlThread for 3A processing - Add fake autofocus management into ControlThread - Support AUTO, MACRO, CONTINUOUS_PICTURE, CONTINUOUS_VIDEO Bug: 6243944 Change-Id: Ic47f5be642d4705db86021b94aaba8dcc7f32cf0
* Camera2: Use lower resolutions for front fake camera. DO NOT MERGEEino-Ville Talvala2012-07-263-24/+57
| | | | | | | | To differentiate front/back fake camera, support a lower set of resolutions for the front camera processed and jpeg streams. Bug: 6243944 Change-Id: I4a8746500944f7b445e0e5f0a3f441885733a7a4
* Camera2: Fix deadlock issues with getInProgressCount. DO NOT MERGEEino-Ville Talvala2012-07-262-16/+27
| | | | | Bug: 6243944 Change-Id: Icb32e4b8c4a916eb7c97ac18767cadfc5122ec88
* EmulatedFakeCamera2: Add recording support for 320x240, NV21. DO NOT MERGEEino-Ville Talvala2012-07-265-21/+108
| | | | | | | | | | | | - Support 320x240 in addition to 640x480 - Support NV21 (monochrome only right now) - Base simulated time on system time, since stagefright cares about timestamp base - Use emulator magic gralloc format to enable gralloc to pick format based on destination. Bug: 6243944 Change-Id: I3ea56bca726c69b51e03233ce86d4881401a3ffd