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