xref: /aosp_15_r20/external/sl4a/NOTICE (revision 456ef56af69dcf0481dd36cc45216c4002d72fa3)
1*456ef56aSSadaf Ebrahimi
2*456ef56aSSadaf Ebrahimi                                 Apache License
3*456ef56aSSadaf Ebrahimi                           Version 2.0, January 2004
4*456ef56aSSadaf Ebrahimi                        http://www.apache.org/licenses/
5*456ef56aSSadaf Ebrahimi
6*456ef56aSSadaf Ebrahimi   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7*456ef56aSSadaf Ebrahimi
8*456ef56aSSadaf Ebrahimi   1. Definitions.
9*456ef56aSSadaf Ebrahimi
10*456ef56aSSadaf Ebrahimi      "License" shall mean the terms and conditions for use, reproduction,
11*456ef56aSSadaf Ebrahimi      and distribution as defined by Sections 1 through 9 of this document.
12*456ef56aSSadaf Ebrahimi
13*456ef56aSSadaf Ebrahimi      "Licensor" shall mean the copyright owner or entity authorized by
14*456ef56aSSadaf Ebrahimi      the copyright owner that is granting the License.
15*456ef56aSSadaf Ebrahimi
16*456ef56aSSadaf Ebrahimi      "Legal Entity" shall mean the union of the acting entity and all
17*456ef56aSSadaf Ebrahimi      other entities that control, are controlled by, or are under common
18*456ef56aSSadaf Ebrahimi      control with that entity. For the purposes of this definition,
19*456ef56aSSadaf Ebrahimi      "control" means (i) the power, direct or indirect, to cause the
20*456ef56aSSadaf Ebrahimi      direction or management of such entity, whether by contract or
21*456ef56aSSadaf Ebrahimi      otherwise, or (ii) ownership of fifty percent (50%) or more of the
22*456ef56aSSadaf Ebrahimi      outstanding shares, or (iii) beneficial ownership of such entity.
23*456ef56aSSadaf Ebrahimi
24*456ef56aSSadaf Ebrahimi      "You" (or "Your") shall mean an individual or Legal Entity
25*456ef56aSSadaf Ebrahimi      exercising permissions granted by this License.
26*456ef56aSSadaf Ebrahimi
27*456ef56aSSadaf Ebrahimi      "Source" form shall mean the preferred form for making modifications,
28*456ef56aSSadaf Ebrahimi      including but not limited to software source code, documentation
29*456ef56aSSadaf Ebrahimi      source, and configuration files.
30*456ef56aSSadaf Ebrahimi
31*456ef56aSSadaf Ebrahimi      "Object" form shall mean any form resulting from mechanical
32*456ef56aSSadaf Ebrahimi      transformation or translation of a Source form, including but
33*456ef56aSSadaf Ebrahimi      not limited to compiled object code, generated documentation,
34*456ef56aSSadaf Ebrahimi      and conversions to other media types.
35*456ef56aSSadaf Ebrahimi
36*456ef56aSSadaf Ebrahimi      "Work" shall mean the work of authorship, whether in Source or
37*456ef56aSSadaf Ebrahimi      Object form, made available under the License, as indicated by a
38*456ef56aSSadaf Ebrahimi      copyright notice that is included in or attached to the work
39*456ef56aSSadaf Ebrahimi      (an example is provided in the Appendix below).
40*456ef56aSSadaf Ebrahimi
41*456ef56aSSadaf Ebrahimi      "Derivative Works" shall mean any work, whether in Source or Object
42*456ef56aSSadaf Ebrahimi      form, that is based on (or derived from) the Work and for which the
43*456ef56aSSadaf Ebrahimi      editorial revisions, annotations, elaborations, or other modifications
44*456ef56aSSadaf Ebrahimi      represent, as a whole, an original work of authorship. For the purposes
45*456ef56aSSadaf Ebrahimi      of this License, Derivative Works shall not include works that remain
46*456ef56aSSadaf Ebrahimi      separable from, or merely link (or bind by name) to the interfaces of,
47*456ef56aSSadaf Ebrahimi      the Work and Derivative Works thereof.
48*456ef56aSSadaf Ebrahimi
49*456ef56aSSadaf Ebrahimi      "Contribution" shall mean any work of authorship, including
50*456ef56aSSadaf Ebrahimi      the original version of the Work and any modifications or additions
51*456ef56aSSadaf Ebrahimi      to that Work or Derivative Works thereof, that is intentionally
52*456ef56aSSadaf Ebrahimi      submitted to Licensor for inclusion in the Work by the copyright owner
53*456ef56aSSadaf Ebrahimi      or by an individual or Legal Entity authorized to submit on behalf of
54*456ef56aSSadaf Ebrahimi      the copyright owner. For the purposes of this definition, "submitted"
55*456ef56aSSadaf Ebrahimi      means any form of electronic, verbal, or written communication sent
56*456ef56aSSadaf Ebrahimi      to the Licensor or its representatives, including but not limited to
57*456ef56aSSadaf Ebrahimi      communication on electronic mailing lists, source code control systems,
58*456ef56aSSadaf Ebrahimi      and issue tracking systems that are managed by, or on behalf of, the
59*456ef56aSSadaf Ebrahimi      Licensor for the purpose of discussing and improving the Work, but
60*456ef56aSSadaf Ebrahimi      excluding communication that is conspicuously marked or otherwise
61*456ef56aSSadaf Ebrahimi      designated in writing by the copyright owner as "Not a Contribution."
62*456ef56aSSadaf Ebrahimi
63*456ef56aSSadaf Ebrahimi      "Contributor" shall mean Licensor and any individual or Legal Entity
64*456ef56aSSadaf Ebrahimi      on behalf of whom a Contribution has been received by Licensor and
65*456ef56aSSadaf Ebrahimi      subsequently incorporated within the Work.
66*456ef56aSSadaf Ebrahimi
67*456ef56aSSadaf Ebrahimi   2. Grant of Copyright License. Subject to the terms and conditions of
68*456ef56aSSadaf Ebrahimi      this License, each Contributor hereby grants to You a perpetual,
69*456ef56aSSadaf Ebrahimi      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70*456ef56aSSadaf Ebrahimi      copyright license to reproduce, prepare Derivative Works of,
71*456ef56aSSadaf Ebrahimi      publicly display, publicly perform, sublicense, and distribute the
72*456ef56aSSadaf Ebrahimi      Work and such Derivative Works in Source or Object form.
73*456ef56aSSadaf Ebrahimi
74*456ef56aSSadaf Ebrahimi   3. Grant of Patent License. Subject to the terms and conditions of
75*456ef56aSSadaf Ebrahimi      this License, each Contributor hereby grants to You a perpetual,
76*456ef56aSSadaf Ebrahimi      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77*456ef56aSSadaf Ebrahimi      (except as stated in this section) patent license to make, have made,
78*456ef56aSSadaf Ebrahimi      use, offer to sell, sell, import, and otherwise transfer the Work,
79*456ef56aSSadaf Ebrahimi      where such license applies only to those patent claims licensable
80*456ef56aSSadaf Ebrahimi      by such Contributor that are necessarily infringed by their
81*456ef56aSSadaf Ebrahimi      Contribution(s) alone or by combination of their Contribution(s)
82*456ef56aSSadaf Ebrahimi      with the Work to which such Contribution(s) was submitted. If You
83*456ef56aSSadaf Ebrahimi      institute patent litigation against any entity (including a
84*456ef56aSSadaf Ebrahimi      cross-claim or counterclaim in a lawsuit) alleging that the Work
85*456ef56aSSadaf Ebrahimi      or a Contribution incorporated within the Work constitutes direct
86*456ef56aSSadaf Ebrahimi      or contributory patent infringement, then any patent licenses
87*456ef56aSSadaf Ebrahimi      granted to You under this License for that Work shall terminate
88*456ef56aSSadaf Ebrahimi      as of the date such litigation is filed.
89*456ef56aSSadaf Ebrahimi
90*456ef56aSSadaf Ebrahimi   4. Redistribution. You may reproduce and distribute copies of the
91*456ef56aSSadaf Ebrahimi      Work or Derivative Works thereof in any medium, with or without
92*456ef56aSSadaf Ebrahimi      modifications, and in Source or Object form, provided that You
93*456ef56aSSadaf Ebrahimi      meet the following conditions:
94*456ef56aSSadaf Ebrahimi
95*456ef56aSSadaf Ebrahimi      (a) You must give any other recipients of the Work or
96*456ef56aSSadaf Ebrahimi          Derivative Works a copy of this License; and
97*456ef56aSSadaf Ebrahimi
98*456ef56aSSadaf Ebrahimi      (b) You must cause any modified files to carry prominent notices
99*456ef56aSSadaf Ebrahimi          stating that You changed the files; and
100*456ef56aSSadaf Ebrahimi
101*456ef56aSSadaf Ebrahimi      (c) You must retain, in the Source form of any Derivative Works
102*456ef56aSSadaf Ebrahimi          that You distribute, all copyright, patent, trademark, and
103*456ef56aSSadaf Ebrahimi          attribution notices from the Source form of the Work,
104*456ef56aSSadaf Ebrahimi          excluding those notices that do not pertain to any part of
105*456ef56aSSadaf Ebrahimi          the Derivative Works; and
106*456ef56aSSadaf Ebrahimi
107*456ef56aSSadaf Ebrahimi      (d) If the Work includes a "NOTICE" text file as part of its
108*456ef56aSSadaf Ebrahimi          distribution, then any Derivative Works that You distribute must
109*456ef56aSSadaf Ebrahimi          include a readable copy of the attribution notices contained
110*456ef56aSSadaf Ebrahimi          within such NOTICE file, excluding those notices that do not
111*456ef56aSSadaf Ebrahimi          pertain to any part of the Derivative Works, in at least one
112*456ef56aSSadaf Ebrahimi          of the following places: within a NOTICE text file distributed
113*456ef56aSSadaf Ebrahimi          as part of the Derivative Works; within the Source form or
114*456ef56aSSadaf Ebrahimi          documentation, if provided along with the Derivative Works; or,
115*456ef56aSSadaf Ebrahimi          within a display generated by the Derivative Works, if and
116*456ef56aSSadaf Ebrahimi          wherever such third-party notices normally appear. The contents
117*456ef56aSSadaf Ebrahimi          of the NOTICE file are for informational purposes only and
118*456ef56aSSadaf Ebrahimi          do not modify the License. You may add Your own attribution
119*456ef56aSSadaf Ebrahimi          notices within Derivative Works that You distribute, alongside
120*456ef56aSSadaf Ebrahimi          or as an addendum to the NOTICE text from the Work, provided
121*456ef56aSSadaf Ebrahimi          that such additional attribution notices cannot be construed
122*456ef56aSSadaf Ebrahimi          as modifying the License.
123*456ef56aSSadaf Ebrahimi
124*456ef56aSSadaf Ebrahimi      You may add Your own copyright statement to Your modifications and
125*456ef56aSSadaf Ebrahimi      may provide additional or different license terms and conditions
126*456ef56aSSadaf Ebrahimi      for use, reproduction, or distribution of Your modifications, or
127*456ef56aSSadaf Ebrahimi      for any such Derivative Works as a whole, provided Your use,
128*456ef56aSSadaf Ebrahimi      reproduction, and distribution of the Work otherwise complies with
129*456ef56aSSadaf Ebrahimi      the conditions stated in this License.
130*456ef56aSSadaf Ebrahimi
131*456ef56aSSadaf Ebrahimi   5. Submission of Contributions. Unless You explicitly state otherwise,
132*456ef56aSSadaf Ebrahimi      any Contribution intentionally submitted for inclusion in the Work
133*456ef56aSSadaf Ebrahimi      by You to the Licensor shall be under the terms and conditions of
134*456ef56aSSadaf Ebrahimi      this License, without any additional terms or conditions.
135*456ef56aSSadaf Ebrahimi      Notwithstanding the above, nothing herein shall supersede or modify
136*456ef56aSSadaf Ebrahimi      the terms of any separate license agreement you may have executed
137*456ef56aSSadaf Ebrahimi      with Licensor regarding such Contributions.
138*456ef56aSSadaf Ebrahimi
139*456ef56aSSadaf Ebrahimi   6. Trademarks. This License does not grant permission to use the trade
140*456ef56aSSadaf Ebrahimi      names, trademarks, service marks, or product names of the Licensor,
141*456ef56aSSadaf Ebrahimi      except as required for reasonable and customary use in describing the
142*456ef56aSSadaf Ebrahimi      origin of the Work and reproducing the content of the NOTICE file.
143*456ef56aSSadaf Ebrahimi
144*456ef56aSSadaf Ebrahimi   7. Disclaimer of Warranty. Unless required by applicable law or
145*456ef56aSSadaf Ebrahimi      agreed to in writing, Licensor provides the Work (and each
146*456ef56aSSadaf Ebrahimi      Contributor provides its Contributions) on an "AS IS" BASIS,
147*456ef56aSSadaf Ebrahimi      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148*456ef56aSSadaf Ebrahimi      implied, including, without limitation, any warranties or conditions
149*456ef56aSSadaf Ebrahimi      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150*456ef56aSSadaf Ebrahimi      PARTICULAR PURPOSE. You are solely responsible for determining the
151*456ef56aSSadaf Ebrahimi      appropriateness of using or redistributing the Work and assume any
152*456ef56aSSadaf Ebrahimi      risks associated with Your exercise of permissions under this License.
153*456ef56aSSadaf Ebrahimi
154*456ef56aSSadaf Ebrahimi   8. Limitation of Liability. In no event and under no legal theory,
155*456ef56aSSadaf Ebrahimi      whether in tort (including negligence), contract, or otherwise,
156*456ef56aSSadaf Ebrahimi      unless required by applicable law (such as deliberate and grossly
157*456ef56aSSadaf Ebrahimi      negligent acts) or agreed to in writing, shall any Contributor be
158*456ef56aSSadaf Ebrahimi      liable to You for damages, including any direct, indirect, special,
159*456ef56aSSadaf Ebrahimi      incidental, or consequential damages of any character arising as a
160*456ef56aSSadaf Ebrahimi      result of this License or out of the use or inability to use the
161*456ef56aSSadaf Ebrahimi      Work (including but not limited to damages for loss of goodwill,
162*456ef56aSSadaf Ebrahimi      work stoppage, computer failure or malfunction, or any and all
163*456ef56aSSadaf Ebrahimi      other commercial damages or losses), even if such Contributor
164*456ef56aSSadaf Ebrahimi      has been advised of the possibility of such damages.
165*456ef56aSSadaf Ebrahimi
166*456ef56aSSadaf Ebrahimi   9. Accepting Warranty or Additional Liability. While redistributing
167*456ef56aSSadaf Ebrahimi      the Work or Derivative Works thereof, You may choose to offer,
168*456ef56aSSadaf Ebrahimi      and charge a fee for, acceptance of support, warranty, indemnity,
169*456ef56aSSadaf Ebrahimi      or other liability obligations and/or rights consistent with this
170*456ef56aSSadaf Ebrahimi      License. However, in accepting such obligations, You may act only
171*456ef56aSSadaf Ebrahimi      on Your own behalf and on Your sole responsibility, not on behalf
172*456ef56aSSadaf Ebrahimi      of any other Contributor, and only if You agree to indemnify,
173*456ef56aSSadaf Ebrahimi      defend, and hold each Contributor harmless for any liability
174*456ef56aSSadaf Ebrahimi      incurred by, or claims asserted against, such Contributor by reason
175*456ef56aSSadaf Ebrahimi      of your accepting any such warranty or additional liability.
176*456ef56aSSadaf Ebrahimi
177*456ef56aSSadaf Ebrahimi   END OF TERMS AND CONDITIONS
178*456ef56aSSadaf Ebrahimi
179*456ef56aSSadaf Ebrahimi   APPENDIX: How to apply the Apache License to your work.
180*456ef56aSSadaf Ebrahimi
181*456ef56aSSadaf Ebrahimi      To apply the Apache License to your work, attach the following
182*456ef56aSSadaf Ebrahimi      boilerplate notice, with the fields enclosed by brackets "[]"
183*456ef56aSSadaf Ebrahimi      replaced with your own identifying information. (Don't include
184*456ef56aSSadaf Ebrahimi      the brackets!)  The text should be enclosed in the appropriate
185*456ef56aSSadaf Ebrahimi      comment syntax for the file format. We also recommend that a
186*456ef56aSSadaf Ebrahimi      file or class name and description of purpose be included on the
187*456ef56aSSadaf Ebrahimi      same "printed page" as the copyright notice for easier
188*456ef56aSSadaf Ebrahimi      identification within third-party archives.
189*456ef56aSSadaf Ebrahimi
190*456ef56aSSadaf Ebrahimi   Copyright [yyyy] [name of copyright owner]
191*456ef56aSSadaf Ebrahimi
192*456ef56aSSadaf Ebrahimi   Licensed under the Apache License, Version 2.0 (the "License");
193*456ef56aSSadaf Ebrahimi   you may not use this file except in compliance with the License.
194*456ef56aSSadaf Ebrahimi   You may obtain a copy of the License at
195*456ef56aSSadaf Ebrahimi
196*456ef56aSSadaf Ebrahimi       http://www.apache.org/licenses/LICENSE-2.0
197*456ef56aSSadaf Ebrahimi
198*456ef56aSSadaf Ebrahimi   Unless required by applicable law or agreed to in writing, software
199*456ef56aSSadaf Ebrahimi   distributed under the License is distributed on an "AS IS" BASIS,
200*456ef56aSSadaf Ebrahimi   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201*456ef56aSSadaf Ebrahimi   See the License for the specific language governing permissions and
202*456ef56aSSadaf Ebrahimi   limitations under the License.
203*456ef56aSSadaf Ebrahimi
204