16e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi/* 26e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi * Copyright (C) 2011 The Android Open Source Project 36e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi * 46e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi * Licensed under the Apache License, Version 2.0 (the "License"); 56e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi * you may not use this file except in compliance with the License. 66e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi * You may obtain a copy of the License at 76e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi * 86e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi * http://www.apache.org/licenses/LICENSE-2.0 96e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi * 106e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi * Unless required by applicable law or agreed to in writing, software 116e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi * distributed under the License is distributed on an "AS IS" BASIS, 126e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 136e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi * See the License for the specific language governing permissions and 146e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi * limitations under the License. 156e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi */ 166e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi 176e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi#include "sles_allinclusive.h" 186e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi 19040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnar#include <media/stagefright/MediaCodecList.h> 206e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi#include <media/stagefright/MediaDefs.h> 21040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnar#include <media/stagefright/SimpleDecodingSource.h> 226e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi 236e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi 246e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivinamespace android { 256e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi 266e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi// listed in same order as VideoCodecIds[] in file "../devices.c" with ANDROID defined 276e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivistatic const char *kVideoMimeTypes[] = { 286e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi MEDIA_MIMETYPE_VIDEO_MPEG2, 296e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi MEDIA_MIMETYPE_VIDEO_H263, 306e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi MEDIA_MIMETYPE_VIDEO_MPEG4, 316e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi MEDIA_MIMETYPE_VIDEO_AVC, 32c0e8dc0d40329960136cb8729cb6d19cb393a319hkuang MEDIA_MIMETYPE_VIDEO_VP8, 33c0e8dc0d40329960136cb8729cb6d19cb393a319hkuang MEDIA_MIMETYPE_VIDEO_VP9 346e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi}; 35df200f6a98da83bf2c1b14aff0ed356263dfb8b7Glenn Kasten// must == kMaxVideoDecoders 366e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivistatic const size_t kNbVideoMimeTypes = sizeof(kVideoMimeTypes) / sizeof(kVideoMimeTypes[0]); 376e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi 386e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi// codec capabilities in the following arrays maps to the mime types defined in kVideoMimeTypes 39040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnarstruct CodecCapabilities { 40040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnar Vector<MediaCodecInfo::ProfileLevel> mProfileLevels; 41040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnar}; 42040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnar 43040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnarstatic CodecCapabilities VideoDecoderCapabilities[kNbVideoMimeTypes]; 446e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivistatic XAuint32 VideoDecoderNbProfLevel[kNbVideoMimeTypes]; 456e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi 466e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivistatic XAuint32 NbSupportedDecoderTypes = 0; 476e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi 486e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi 496e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel TriviXAuint32 convertOpenMaxIlToAl(OMX_U32 ilVideoProfileOrLevel) { 506e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi // For video codec profiles and levels, the number of trailing zeroes in OpenMAX IL 516e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi // are equal to the matching OpenMAX AL constant value plus 1, for example: 526e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi // XA_VIDEOPROFILE_H263_BACKWARDCOMPATIBLE ((XAuint32) 0x00000003) 536e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi // matches 546e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi // OMX_VIDEO_H263ProfileBackwardCompatible = 0x04 556e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi return (XAuint32) (__builtin_ctz(ilVideoProfileOrLevel) + 1); 566e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi} 576e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi 586e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi 596e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivibool android_videoCodec_expose() { 606e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi SL_LOGV("android_videoCodec_expose()"); 616e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi 62040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnar sp<IMediaCodecList> list = MediaCodecList::getInstance(); 63040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnar if (list == NULL) { 64040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnar SL_LOGE("could not get MediaCodecList"); 656e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi return false; 666e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi } 676e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi 686e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi // used to check whether no codecs were found, which is a sign of failure 696e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi NbSupportedDecoderTypes = 0; 706e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi for (size_t m = 0 ; m < kNbVideoMimeTypes ; m++) { 71040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnar VideoDecoderNbProfLevel[m] = 0; 7281e94ea55bd79a4a6eab987685f0b3c146a40d2fLajos Molnar for (ssize_t index = 0;; ++index) { 73040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnar index = list->findCodecByType( 74040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnar kVideoMimeTypes[m], false /* encoder */, index); 75040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnar if (index < 0) { 76040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnar break; 77040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnar } 78040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnar 79040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnar sp<MediaCodecInfo> info = list->getCodecInfo(index); 80040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnar if (info == NULL || MediaCodecList::isSoftwareCodec(info->getCodecName())) { 81040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnar continue; // HW codec only 82040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnar } 83040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnar 84040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnar sp<MediaCodecInfo::Capabilities> caps = info->getCapabilitiesFor(kVideoMimeTypes[m]); 85040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnar if (caps == NULL) { 86040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnar continue; // this should not happen 87040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnar } 88040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnar 89040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnar // get the number of profiles and levels 90040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnar Vector<MediaCodecInfo::ProfileLevel> &profileLevels = 91040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnar VideoDecoderCapabilities[m].mProfileLevels; 92040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnar caps->getSupportedProfileLevels(&profileLevels); 93df200f6a98da83bf2c1b14aff0ed356263dfb8b7Glenn Kasten#if 0 // Intentionally disabled example of making modifications to profile / level combinations 94040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnar if (VideoDecoderIds[m] == XA_VIDEOCODEC_AVC) { 95040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnar // remove non-core profile / level combinations 96040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnar for (size_t i = 0, size = profileLevels.size(); i < size; ) { 97040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnar MediaCodecInfo::ProfileLevel profileLevel = profileLevels.itemAt(i); 98040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnar if (profileLevel.mProfile == XA_VIDEOPROFILE_AVC_BASELINE) { 99040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnar // either skip past this item and don't change vector size 100040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnar ++i; 101040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnar } else { 102040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnar // or remove this item, decrement the vector size, 103040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnar // and next time through the loop check a different item at same index 104040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnar profileLevels.removeAt(i); 105040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnar --size; 106df200f6a98da83bf2c1b14aff0ed356263dfb8b7Glenn Kasten } 107df200f6a98da83bf2c1b14aff0ed356263dfb8b7Glenn Kasten } 108040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnar } 109df200f6a98da83bf2c1b14aff0ed356263dfb8b7Glenn Kasten#endif 110040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnar if ((VideoDecoderNbProfLevel[m] = profileLevels.size()) > 0) { 111040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnar NbSupportedDecoderTypes++; 1126e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi } 113040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnar 114040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnar // only consider first codec implementation for given decoder ID / MIME type 115040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnar break; 1166e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi } 1176e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi } 1186e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi 1196e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi return (NbSupportedDecoderTypes > 0); 1206e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi} 1216e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi 1226e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi 1236e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivivoid android_videoCodec_deinit() { 1246e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi SL_LOGV("android_videoCodec_deinit()"); 125df200f6a98da83bf2c1b14aff0ed356263dfb8b7Glenn Kasten // not needed 126df200f6a98da83bf2c1b14aff0ed356263dfb8b7Glenn Kasten // memset(VideoDecoderNbProfLevel, 0, sizeof(VideoDecoderNbProfLevel)); 127df200f6a98da83bf2c1b14aff0ed356263dfb8b7Glenn Kasten // NbSupportedDecoderTypes = 0; 1286e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi} 1296e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi 1306e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi 1316e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel TriviXAuint32 android_videoCodec_getNbDecoders() { 1326e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi return NbSupportedDecoderTypes; 1336e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi} 1346e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi 1356e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi 1366e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivivoid android_videoCodec_getDecoderIds(XAuint32 nbDecoders, XAuint32 *pDecoderIds) { 1376e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi XAuint32 *pIds = pDecoderIds; 1386e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi XAuint32 nbFound = 0; 1396e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi for (size_t m = 0 ; m < kNbVideoMimeTypes ; m++) { 140040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnar if (VideoDecoderNbProfLevel[m] > 0) { 1416e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi *pIds = VideoDecoderIds[m]; 1426e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi pIds++; 1436e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi nbFound++; 1446e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi } 1456e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi // range check: function can be called for fewer codecs than there are 1466e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi if (nbFound == nbDecoders) { 1476e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi break; 1486e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi } 1496e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi } 1506e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi} 1516e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi 1526e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi 1536e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel TriviSLresult android_videoCodec_getProfileLevelCombinationNb(XAuint32 decoderId, XAuint32 *pNb) 1546e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi{ 1556e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi // translate a decoder ID to an index in the codec table 1566e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi size_t decoderIndex = 0; 1576e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi while (decoderIndex < kNbVideoMimeTypes) { 1586e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi if (decoderId == VideoDecoderIds[decoderIndex]) { 1596e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi *pNb = VideoDecoderNbProfLevel[decoderIndex]; 160df200f6a98da83bf2c1b14aff0ed356263dfb8b7Glenn Kasten return XA_RESULT_SUCCESS; 1616e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi } 1626e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi decoderIndex++; 1636e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi } 1646e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi 165df200f6a98da83bf2c1b14aff0ed356263dfb8b7Glenn Kasten // spec doesn't allow a decoder to report zero profile/level combinations 166df200f6a98da83bf2c1b14aff0ed356263dfb8b7Glenn Kasten *pNb = 0; 167df200f6a98da83bf2c1b14aff0ed356263dfb8b7Glenn Kasten return XA_RESULT_PARAMETER_INVALID; 1686e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi} 1696e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi 1706e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi 1716e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel TriviSLresult android_videoCodec_getProfileLevelCombination(XAuint32 decoderId, XAuint32 plIndex, 1726e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi XAVideoCodecDescriptor *pDescr) 1736e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi{ 1746e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi // translate a decoder ID to an index in the codec table 1756e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi size_t decoderIndex = 0; 1766e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi while (decoderIndex < kNbVideoMimeTypes) { 1776e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi if (decoderId == VideoDecoderIds[decoderIndex]) { 178df200f6a98da83bf2c1b14aff0ed356263dfb8b7Glenn Kasten // We only look at the first codec implementation for a given decoder ID / MIME type. 179df200f6a98da83bf2c1b14aff0ed356263dfb8b7Glenn Kasten // OpenMAX AL doesn't let you expose the capabilities of multiple codec implementations. 180040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnar if (!(plIndex < VideoDecoderCapabilities[decoderIndex].mProfileLevels.size())) 1816e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi { 1826e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi // asking for invalid profile/level 1836e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi return XA_RESULT_PARAMETER_INVALID; 1846e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi } 185106a99988093bd3b3b3aafb2da0fbc0d35634787Jean-Michel Trivi // set the fields we know about 1866e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi pDescr->codecId = decoderId; 1876e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi pDescr->profileSetting = convertOpenMaxIlToAl(VideoDecoderCapabilities[decoderIndex]. 188040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnar mProfileLevels.itemAt(plIndex).mProfile); 18922ced1dc023dc000118e3a26517b14e9babd7c5aGlenn Kasten pDescr->levelSetting = convertOpenMaxIlToAl(VideoDecoderCapabilities[decoderIndex]. 190040cca5f36511d632c355b5008ebb09d28fd6402Lajos Molnar mProfileLevels.itemAt(plIndex).mLevel); 191106a99988093bd3b3b3aafb2da0fbc0d35634787Jean-Michel Trivi // initialize the fields we don't know about 192106a99988093bd3b3b3aafb2da0fbc0d35634787Jean-Michel Trivi pDescr->maxWidth = 0; 193106a99988093bd3b3b3aafb2da0fbc0d35634787Jean-Michel Trivi pDescr->maxHeight = 0; 194106a99988093bd3b3b3aafb2da0fbc0d35634787Jean-Michel Trivi pDescr->maxFrameRate = 0; 195106a99988093bd3b3b3aafb2da0fbc0d35634787Jean-Michel Trivi pDescr->maxBitRate = 0; 196106a99988093bd3b3b3aafb2da0fbc0d35634787Jean-Michel Trivi pDescr->rateControlSupported = 0; 1976e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi break; 1986e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi } 1996e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi decoderIndex++; 2006e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi } 2016e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi return (decoderIndex < kNbVideoMimeTypes) ? XA_RESULT_SUCCESS : XA_RESULT_PARAMETER_INVALID; 2026e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi} 2036e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi 2046e7e174807fc639c49125ced8962aa369370fbf0Jean-Michel Trivi} // namespace android 205