1 Copyright 2011, The Android Open Source Project 2 3 Redistribution and use in source and binary forms, with or without 4 modification, are permitted provided that the following conditions are met: 5 * Redistributions of source code must retain the above copyright 6 notice, this list of conditions and the following disclaimer. 7 * Redistributions in binary form must reproduce the above copyright 8 notice, this list of conditions and the following disclaimer in the 9 documentation and/or other materials provided with the distribution. 10 * Neither the name of The Android Open Source Project nor the names of 11 its contributors may be used to endorse or promote products derived 12 from this software without specific prior written permission. 13 14 THIS SOFTWARE IS PROVIDED BY The Android Open Source Project ``AS IS'' AND 15 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17 ARE DISCLAIMED. IN NO EVENT SHALL The Android Open Source Project BE LIABLE 18 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 20 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 21 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 24 DAMAGE. 25 26