aboutsummaryrefslogtreecommitdiff
path: root/apps
AgeCommit message (Collapse)Author
2018-05-10TestingCamera2: Add new functionalitiesandroid-9.0.0_r47android-9.0.0_r46android-9.0.0_r45android-9.0.0_r44android-9.0.0_r43android-9.0.0_r42android-9.0.0_r41android-9.0.0_r40android-9.0.0_r39android-9.0.0_r38android-9.0.0_r37android-9.0.0_r36android-9.0.0_r35android-9.0.0_r34android-9.0.0_r33android-9.0.0_r32android-9.0.0_r31android-9.0.0_r30android-9.0.0_r22android-9.0.0_r21android-9.0.0_r20android-9.0.0_r19android-9.0.0_r16android-9.0.0_r12android-9.0.0_r11pie-qpr3-s1-releasepie-qpr3-releasepie-qpr3-b-releasepie-qpr2-releasepie-qpr1-s3-releasepie-qpr1-s2-releasepie-qpr1-s1-releasepie-qpr1-releasepie-dr1-releasepie-dr1-devpie-devpie-b4s4-releasepie-b4s4-devShuzhen Wang
- Ability to select between all available cameras - Ability to stream physical streams for logical camera. Test: Run TestingCamera2 and select between cameras Bug: 76013895 Change-Id: I83ea3f3e118d2471ac4fb97b74968c13425022ff
2018-02-28Set LOCAL_SDK_VERSION on pdk/apps/HelloPDK/jniInseob Kim
libhellojni_jni, referred by app HelloPDK, is a simple stub library and does not use any platform API. HelloPDK has been built with SDK, so this causes link-type check warnings. LOCAL_SDK_VERSION is added to libhellojni_jni in order to remove warning. Bug: 73907534 Test: mma -j does not show any link-type warnings Change-Id: I188dfe9a46aedf905d2b804040bf2ad75f212b38
2018-02-21pdk: Set LOCAL_SDK_VERSION where possible.Anton Hansson
This change sets LOCAL_SDK_VERSION for all packages where this is possible without breaking the build, and LOCAL_PRIVATE_PLATFORM_APIS := true otherwise. Setting one of these two will be made required soon, and this is a change in preparation for that. Not setting LOCAL_SDK_VERSION makes the app implicitly depend on the bootclasspath, which is often not required. This change effectively makes depending on private apis opt-in rather than opt-out. Test: make relevant packages Bug: 73535841 Change-Id: Idd87516c71d2d0f90484b1fbf1ae424a535912e8
2017-11-20Use -Werror in pdk/apps/HelloPDK/jniChih-Hung Hsieh
Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: I51ca69be31f03ebce5f1af5e5ae46e7c9f3683b8
2017-05-23TestingCamera2: Add logging for capture failure cases.android-vts-8.0_r2android-vts-8.0_r1oreo-devEino-Ville Talvala
Test: Capture failures and buffer loss errors are printed to app log Bug: 62004599 Change-Id: I98eb0a0039e17f48b40943cc6c19e8b18c104ff4
2017-02-16TestingCamera: fix fragment cannot be created exceptionYin-Chia Yeh
Change-Id: I10aafc3ac6be65840b716cccdef1e9e8f805feae
2016-11-15Enable running on old API levels; add shutter sound disable outputEino-Ville Talvala
- To ensure we can run TestingCamera on pre-N devices, add minimum SDK level - Add missing CameraInfo parameter into InfoDialog, for shutter sound enforcement. Test: Run application, verify disable info is available Change-Id: Ic414db59b449a95c4fb9cf6aaf978844ebbf4edd
2015-08-04TestingCamera1/2: Disable dex preoptandroid-wear-o-preview-4android-wear-o-preview-3android-wear-n-preview-3android-wear-n-preview-2android-wear-n-preview-1android-wear-7.1.1_r1android-o-preview-4android-o-preview-3android-o-preview-2android-o-preview-1android-o-iot-preview-5android-n-preview-5android-n-preview-4android-n-preview-3android-n-preview-2android-n-preview-1android-n-mr2-preview-2android-n-mr2-preview-1android-n-mr1-preview-2android-n-mr1-preview-1android-n-iot-preview-4android-n-iot-preview-2android-cts_7.1_r1android-cts-7.1_r9android-cts-7.1_r8android-cts-7.1_r7android-cts-7.1_r6android-cts-7.1_r5android-cts-7.1_r4android-cts-7.1_r3android-cts-7.1_r29android-cts-7.1_r28android-cts-7.1_r27android-cts-7.1_r26android-cts-7.1_r25android-cts-7.1_r24android-cts-7.1_r23android-cts-7.1_r22android-cts-7.1_r21android-cts-7.1_r20android-cts-7.1_r2android-cts-7.1_r19android-cts-7.1_r18android-cts-7.1_r17android-cts-7.1_r16android-cts-7.1_r15android-cts-7.1_r14android-cts-7.1_r13android-cts-7.1_r12android-cts-7.1_r11android-cts-7.1_r10android-cts-7.1_r1android-cts-7.0_r9android-cts-7.0_r8android-cts-7.0_r7android-cts-7.0_r6android-cts-7.0_r5android-cts-7.0_r4android-cts-7.0_r33android-cts-7.0_r32android-cts-7.0_r31android-cts-7.0_r30android-cts-7.0_r3android-cts-7.0_r29android-cts-7.0_r28android-cts-7.0_r27android-cts-7.0_r26android-cts-7.0_r25android-cts-7.0_r24android-cts-7.0_r23android-cts-7.0_r22android-cts-7.0_r21android-cts-7.0_r20android-cts-7.0_r2android-cts-7.0_r19android-cts-7.0_r18android-cts-7.0_r17android-cts-7.0_r16android-cts-7.0_r15android-cts-7.0_r14android-cts-7.0_r13android-cts-7.0_r12android-cts-7.0_r11android-cts-7.0_r10android-cts-7.0_r1android-7.1.2_r9android-7.1.2_r8android-7.1.2_r6android-7.1.2_r5android-7.1.2_r4android-7.1.2_r39android-7.1.2_r38android-7.1.2_r37android-7.1.2_r36android-7.1.2_r33android-7.1.2_r32android-7.1.2_r30android-7.1.2_r3android-7.1.2_r29android-7.1.2_r28android-7.1.2_r27android-7.1.2_r25android-7.1.2_r24android-7.1.2_r23android-7.1.2_r2android-7.1.2_r19android-7.1.2_r18android-7.1.2_r17android-7.1.2_r16android-7.1.2_r15android-7.1.2_r14android-7.1.2_r13android-7.1.2_r12android-7.1.2_r11android-7.1.2_r10android-7.1.2_r1android-7.1.1_r9android-7.1.1_r8android-7.1.1_r7android-7.1.1_r61android-7.1.1_r60android-7.1.1_r6android-7.1.1_r59android-7.1.1_r58android-7.1.1_r57android-7.1.1_r56android-7.1.1_r55android-7.1.1_r54android-7.1.1_r53android-7.1.1_r52android-7.1.1_r51android-7.1.1_r50android-7.1.1_r49android-7.1.1_r48android-7.1.1_r47android-7.1.1_r46android-7.1.1_r45android-7.1.1_r44android-7.1.1_r43android-7.1.1_r42android-7.1.1_r41android-7.1.1_r40android-7.1.1_r4android-7.1.1_r39android-7.1.1_r38android-7.1.1_r35android-7.1.1_r33android-7.1.1_r32android-7.1.1_r31android-7.1.1_r3android-7.1.1_r28android-7.1.1_r27android-7.1.1_r26android-7.1.1_r25android-7.1.1_r24android-7.1.1_r23android-7.1.1_r22android-7.1.1_r21android-7.1.1_r20android-7.1.1_r2android-7.1.1_r17android-7.1.1_r16android-7.1.1_r15android-7.1.1_r14android-7.1.1_r13android-7.1.1_r12android-7.1.1_r11android-7.1.1_r10android-7.1.1_r1android-7.1.0_r7android-7.1.0_r6android-7.1.0_r5android-7.1.0_r4android-7.1.0_r3android-7.1.0_r2android-7.1.0_r1android-7.0.0_r9android-7.0.0_r8android-7.0.0_r7android-7.0.0_r6android-7.0.0_r5android-7.0.0_r4android-7.0.0_r36android-7.0.0_r35android-7.0.0_r34android-7.0.0_r33android-7.0.0_r32android-7.0.0_r31android-7.0.0_r30android-7.0.0_r3android-7.0.0_r29android-7.0.0_r28android-7.0.0_r27android-7.0.0_r24android-7.0.0_r21android-7.0.0_r19android-7.0.0_r17android-7.0.0_r15android-7.0.0_r14android-7.0.0_r13android-7.0.0_r12android-7.0.0_r11android-7.0.0_r10android-7.0.0_r1android-6.0.1_r9android-6.0.1_r81android-6.0.1_r80android-6.0.1_r8android-6.0.1_r79android-6.0.1_r78android-6.0.1_r77android-6.0.1_r74android-6.0.1_r73android-6.0.1_r72android-6.0.1_r70android-6.0.1_r7android-6.0.1_r69android-6.0.1_r68android-6.0.1_r67android-6.0.1_r66android-6.0.1_r65android-6.0.1_r63android-6.0.1_r62android-6.0.1_r61android-6.0.1_r60android-6.0.1_r59android-6.0.1_r58android-6.0.1_r57android-6.0.1_r56android-6.0.1_r55android-6.0.1_r54android-6.0.1_r53android-6.0.1_r52android-6.0.1_r51android-6.0.1_r50android-6.0.1_r5android-6.0.1_r49android-6.0.1_r48android-6.0.1_r47android-6.0.1_r46android-6.0.1_r45android-6.0.1_r43android-6.0.1_r42android-6.0.1_r41android-6.0.1_r40android-6.0.1_r4android-6.0.1_r33android-6.0.1_r32android-6.0.1_r31android-6.0.1_r30android-6.0.1_r3android-6.0.1_r28android-6.0.1_r27android-6.0.1_r26android-6.0.1_r25android-6.0.1_r24android-6.0.1_r22android-6.0.1_r21android-6.0.1_r20android-6.0.1_r18android-6.0.1_r17android-6.0.1_r16android-6.0.1_r13android-6.0.1_r12android-6.0.1_r11android-6.0.1_r10android-6.0.1_r1android-6.0.0_r41android-6.0.0_r26android-6.0.0_r25android-6.0.0_r24android-6.0.0_r23android-6.0.0_r13android-6.0.0_r12android-6.0.0_r11o-previewo-iot-preview-5nougat-releasenougat-mr2.3-releasenougat-mr2.2-releasenougat-mr2.1-releasenougat-mr2-security-releasenougat-mr2-releasenougat-mr2-pixel-releasenougat-mr2-devnougat-mr1.8-releasenougat-mr1.7-releasenougat-mr1.6-releasenougat-mr1.5-releasenougat-mr1.4-releasenougat-mr1.3-releasenougat-mr1.2-releasenougat-mr1.1-releasenougat-mr1-wear-releasenougat-mr1-volantis-releasenougat-mr1-security-releasenougat-mr1-releasenougat-mr1-flounder-releasenougat-mr1-devnougat-mr1-cts-releasenougat-mr0.5-releasenougat-dr1-releasenougat-devnougat-cts-releasenougat-bugfix-releasen-iot-preview-4n-iot-preview-2marshmallow-mr3-releasemarshmallow-mr2-releasemarshmallow-mr1-releasemarshmallow-mr1-devmarshmallow-dr1.6-releasemarshmallow-dr1.5-releasemarshmallow-dr1.5-devmarshmallow-dr-releasemarshmallow-dr-dragon-releasemarshmallow-dr-devEino-Ville Talvala
Since neither app is included in a system image by default, we want the APKs to be portable. This requires never getting dex preopted. Bug: 22959669 Change-Id: I5945720106aaf7294b295ce4a5adcc53f7217488
2015-05-19TestingCamera: add null check for supportedSceneModesandroid-cts-6.0_r9android-cts-6.0_r8android-cts-6.0_r7android-cts-6.0_r6android-cts-6.0_r5android-cts-6.0_r4android-cts-6.0_r32android-cts-6.0_r31android-cts-6.0_r30android-cts-6.0_r3android-cts-6.0_r29android-cts-6.0_r28android-cts-6.0_r27android-cts-6.0_r26android-cts-6.0_r25android-cts-6.0_r24android-cts-6.0_r23android-cts-6.0_r22android-cts-6.0_r21android-cts-6.0_r20android-cts-6.0_r2android-cts-6.0_r19android-cts-6.0_r18android-cts-6.0_r17android-cts-6.0_r16android-cts-6.0_r15android-cts-6.0_r14android-cts-6.0_r13android-cts-6.0_r12android-cts-6.0_r1android-6.0.0_r7android-6.0.0_r6android-6.0.0_r5android-6.0.0_r4android-6.0.0_r3android-6.0.0_r2android-6.0.0_r1marshmallow-releasemarshmallow-devmarshmallow-cts-releaseZhijun He
Camera.Parameters#getSupportedSceneModes() could return null, we need null check before using it. Bug: 21267188 Change-Id: Ic6ab784de07d85d5a640b61e7faee9c84c128416
2015-04-13TestingCamera2: Add prepare button to target control paneEino-Ville Talvala
Triggers the CameraCaptureSession prepare call for the target Surface. Also fix reading past the end of the ByteBuffer for YUV_420_888 with semiplanar formats. Change-Id: I529400a0ecd9acc00c584c77a70c34f55fcb67d1
2015-04-08TestingCamera, TestingCamera2: Add runtime permission checkingEino-Ville Talvala
The permission requests are placed largely where it is easiest to do, though some effort is made to not ask for a permission before it's actually needed. Change-Id: Ia484d6741da6a6c5ab812ecf2bbadc5d9ce81572
2015-04-03ImageReaderSubPane: Fix YUV_420_888 and DEPTH16 outputEino-Ville Talvala
- YUV_420_888: - Properly account for stride - Use a ColorFilter on the ImageView for YUV->RGB conversion - DEPTH16: - Stride is in bytes, not pixels - Use same code for false color conversion for display and saving - Fix name generation Change-Id: Ibf02bb014bc8dd75accb0888db832b58f90b14c5
2015-03-11Add depth support for ImageReader targetEino-Ville Talvala
- Add display support for DEPTH16 - Add saving support for DEPTH16, DEPTH_POINT_CLOUD
2015-03-10camera2: Add HDR toggle to testing camera.Ruben Brunk
Change-Id: I68910e4d38f42d6b91b2fe2683519515a40d672a
2014-10-17camera2: Remove ITS from pdk apps.android-5.1.1_r5android-5.1.1_r28android-5.1.1_r22android-5.1.1_r17android-5.1.1_r12lollipop-mr1-wfc-releaselollipop-mr1-devRuben Brunk
Bug: 17994909 - ITS has been moved to cts/apps/CameraITS. Change-Id: I57d00a9b1b08bed468cc48116f754a0c45d8612c
2014-10-15CameraITS: Removed requirement that do_3a always returns 3A results.lollipop-devTimothy Knight
Bug: 17994909 Change-Id: Ib5e5eeffca87464a5eccbadef6eafe0b659f5993
2014-10-15CameraITS: Simplified test for 3A lock + YUV burstTimothy Knight
Bug: 17994909 Change-Id: I5df394d5db2087c10f259f741ac367aaabe16667
2014-10-15CameraITS: Added serializer output for min frame durationsTimothy Knight
Bug: 17994909 Change-Id: Id475f904346638d7881b4898d81c8df7d75a655e
2014-10-15CameraITS: fix two failing testsYin-Chia Yeh
Bug: 17994909 Change-Id: I413eda75eaaa30988f33b934018bcafbb2ccc420
2014-10-15Camera2 ITS: add proper capability gatingYin-Chia Yeh
Skip tests if corresponding capability is not supported. Bug: 17994909 Change-Id: I48fcd2a766f62a44e3cdb933006ca9e6f9350ad3
2014-10-15CameraITS: Removed usage of internal interfacesTimothy Knight
Bug: 17994909 Change-Id: I361c6252a9fe73ef29767c051bbc464c42ae1f37
2014-10-12CameraITS: Fix test crop region issue.Zhijun He
The cropRegion is related to active array size, we shouldn't add the active array size corner coordinates to the crop region. Change-Id: Ia844f75d850d9f94995539ed5763722e634790df
2014-10-12CameraITS: Made the burst-sameness tests less strictTimothy Knight
Change-Id: Iccce0f725a3c88d3bef6f5b17f076855d70797df
2014-10-12CameraITS: Simplifed pass/fail for flash testTimothy Knight
Change-Id: I20143bfcfaf27c6e417b5ffb24583a9cc4f35817
2014-10-12CameraITS: Updated the automated running scriptTimothy Knight
Change-Id: Id173a3408c13b60da55b6738fb22023549e05ee6
2014-10-12CameraITS: Renamed some testsTimothy Knight
Change-Id: I7268fd0127c098b2d52c26b02b8316206a0db783
2014-10-11CameraITS: Plumbed 3A locking through to do_3aTimothy Knight
Change-Id: I75dd8a37c5a27dc165822c9df7065c538cb30946
2014-10-11CameraITS: Now use a persistent TCP connection across runs.Timothy Knight
Changed the basic invocation approach to make ITS fit better into external test harnesses. Change-Id: Iaf0648c4233b5b8639cb75c0e87b6d1c7531ca11
2014-10-11CameraITS: Moved EV comp test to in-prog areaTimothy Knight
Change-Id: Ieeca0e097ef85870955ecbfa9e5f13732eb6341f
2014-10-11CameraITS: Updated some pass/fail testsTimothy Knight
Change-Id: I16d41253d3630471ced00727c700ef2f6968a1dd
2014-10-11CameraITS: Made some scene0 tests fasterTimothy Knight
Change-Id: Ib11ddf9206d9168fc826118b5f2d832e7de9e8e6
2014-10-11CameraITS: Updated caps, and added cap test for unified timestamps testTimothy Knight
Change-Id: I0f59154df3385a2118314f8bb9748e172afbe670
2014-10-11CameraITS: Fixed some test TODOsTimothy Knight
Change-Id: I092940e510823250c8581c08133d31b89f93512b
2014-10-11CameraITS: Fixed some test TODOsTimothy Knight
Change-Id: Ia71d3ae76a4495aac157e081d283ab2e3900d355
2014-10-11CameraITS: Added its.caps moduleTimothy Knight
Change-Id: Iea737c2f8284f47da85b0ed25f0edbd2163e1d31
2014-10-01TestingCamera2: Update to final SDK codes and namingEino-Ville Talvala
- API 21 - Listener->Callback Change-Id: Ieb15606b280aa34239e334e4d9ad1144a3b40eb3
2014-09-20CameraITS: Force AF trigger in do_3a (if do_af is true)Timothy Knight
Change-Id: I33992d970b0758954627fd1fc74e96f0fb89b557
2014-09-15CameraITS: Moved the DNG compliance test to the in-progress area (since it ↵Timothy Knight
is not working yet) Change-Id: I0edbb39086f05208e80fba908d6ba4d4565d1fbc
2014-09-10Merge "TestingCamera: Fix orientation setting." into lmp-devEino-Ville Talvala
2014-09-10CameraITS: Added image dump to formats testTimothy Knight
Change-Id: I69116a7d4d1212614c59d2a49ab601e6d45593ed
2014-09-09Merge "CameraITS, TestingCamera2: Update for API changes" into lmp-devEino-Ville Talvala
2014-09-08CameraITS: Fixed bug in yuv_plus_raw10 testTimothy Knight
Change-Id: I5b072909aa3c856533d05051a6950d9a00f24d38
2014-09-08TestingCamera: Fix orientation setting.Eino-Ville Talvala
It's not actually possible to skip this call, even for an app that's forced landscape. Bug: 17393631 Change-Id: Icf992117e5d45f1a1737f6b20dff73c7f36201a9
2014-09-08CameraITS, TestingCamera2: Update for API changesEino-Ville Talvala
Add frame number to CaptureCallback#onCaptureStarted Bug: 17421092 Change-Id: Ib944ed58bc8ee772facb92f9ff4cb728be86e810
2014-09-06CameraITS: Fixed assertion for focus pos in test_3aTimothy Knight
Change-Id: Id5f5e3ddd80c064b3276dbc4952fb7644aee46c8
2014-09-05Merge "CameraITS, TestingCamera2: Update for final camera2 API changes" into ↵Eino-Ville Talvala
lmp-dev
2014-09-05CameraITS: Fixed some mismatched gamma/no-gamma write_image argsTimothy Knight
Change-Id: I7390a01d6a0f671d1d9b952087567021c19996ed
2014-09-04CameraITS: Reduced number of shots used for DNG noise model scriptTimothy Knight
Change-Id: Ic8a971b164eb878c891acdc51eec53a82f1fc94f
2014-09-04CameraITS: Added some TODOs to remove hard-coded capture settingsTimothy Knight
Change-Id: I47d3570cd87141eea34c4d61a68c2d7c04cc0b5d
2014-09-04CameraITS: Added TODO to incorrect crop_regions testTimothy Knight
Change-Id: I0085a7b1f60cb7f393e396515d9afe5a2bb0db7e