1Copyright 2007, The Android Open Source Project 2 3Redistribution and use in source and binary forms, with or without 4modification, 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 Google Inc. nor the names of its contributors may 11 be used to endorse or promote products derived from this software 12 without specific prior written permission. 13 14THIS SOFTWARE IS PROVIDED BY Google Inc. ``AS IS'' AND ANY EXPRESS OR 15IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 16MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO 17EVENT SHALL Google Inc. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 18SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 19PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 20OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 21WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 22OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 23ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24