&#xA;   Copyright (c) 2017, The Linux Foundation. All rights reserved.&#xA;&#xA;   Redistribution and use in source and binary forms, with or without&#xA;   modification, are permitted provided that the following conditions are&#xA;   met:&#xA;      * Redistributions of source code must retain the above copyright&#xA;        notice, this list of conditions and the following disclaimer.&#xA;      * Redistributions in binary form must reproduce the above&#xA;        copyright notice, this list of conditions and the following&#xA;        disclaimer in the documentation and/or other materials provided&#xA;        with the distribution.&#xA;      * Neither the name of The Linux Foundation nor the names of its&#xA;        contributors may be used to endorse or promote products derived&#xA;        from this software without specific prior written permission.&#xA;&#xA;   THIS SOFTWARE IS PROVIDED &#34;AS IS&#34; AND ANY EXPRESS OR IMPLIED&#xA;   WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF&#xA;   MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT&#xA;   ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS&#xA;   BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR&#xA;   CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF&#xA;   SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR&#xA;   BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,&#xA;   WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE&#xA;   OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN&#xA;   IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.&#xA;&#xA;   ----------------------------------------------------------------------------&#xA;&#xA;   Copyright 2010 Giesecke &amp; Devrient GmbH for security package&#xA;   Copyright (c) 2005-2008, The Android Open Source Project for all other source files&#xA;&#xA;   Licensed under the Apache License, Version 2.0 (the &#34;License&#34;);&#xA;   you may not use this file except in compliance with the License.&#xA;&#xA;   Unless required by applicable law or agreed to in writing, software&#xA;   distributed under the License is distributed on an &#34;AS IS&#34; BASIS,&#xA;   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.&#xA;   See the License for the specific language governing permissions and&#xA;   limitations under the License.&#xA;&#xA;