Home
last modified time | relevance | path

Searched refs:to (Results 1 – 25 of 108) sorted by relevance

12345

/libcore/tools/testmapping/
DREADME2 tests to run on every change, chosen to run as many as possible in less than
7 2. Run the CtsLibcoreTestCases tests to generate logs to extract timings from.
8 This can be done with `atest CtsLibcoreTestCases` as normal. Make sure to use
13 4. Run the save_logs.py script to copy the logs from out/ to libcore/smoketest.
15 you to pick the runs you want. (If you prefer, you can run this after each
17 5. Run the gen_smoke_tests.py script to generate libcore/TEST_MAPPING.
21 8. Do e.g. `time atest --test-mapping libcore` to check it runs okay.
26 adjust. (These could be converted to command-line options if convenient.)
31 number of classes to exclude, so the TEST_MAPPING looks reasonable. If this list
32 becomes too long, we'll have to find a way to simplify it, by rolling up to a
/libcore/
DLICENSE8 Everyone is permitted to copy and distribute verbatim copies of this license
13 The licenses for most software are designed to take away your freedom to share
14 and change it. By contrast, the GNU General Public License is intended to
15 guarantee your freedom to share and change free software--to make sure the
16 software is free for all its users. This General Public License applies to
17 most of the Free Software Foundation's software and to any other program whose
18 authors commit to using it. (Some other Free Software Foundation software is
19 covered by the GNU Library General Public License instead.) You can apply it to
22 When we speak of free software, we are referring to freedom, not price. Our
23 General Public Licenses are designed to make sure that you have the freedom to
[all …]
DNOTICE2 == NOTICE file corresponding to the section 4 d of ==
14 == NOTICE file corresponding to the section 4 d of ==
26 Intel Corporation and are licensed to the Apache Software
39 Permission is hereby granted, free of charge, to any person obtaining
41 "Software"), to deal in the Software without restriction, including
42 without limitation the rights to use, copy, modify, merge, publish,
43 distribute, and/or sell copies of the Software, and to permit persons
44 to whom the Software is furnished to do so, provided that the above
60 shall not be used in advertising or otherwise to promote the sale, use
74 Permission is hereby granted, free of charge, to any person obtaining
[all …]
DJavaLibrary.bp9 // Unless required by applicable law or agreed to in writing, software
86 // filegroup for just the parts that contribute to the API.
104 // filegroup for just the parts that contribute to the API.
112 // The set of files for the ART module that contribute to one or more API
118 // annotated by applying annotations to the .annotated.java stubs files in
156 // A target used to bootstrap compilation for the core library.
165 // compiled version does not work due to limitations in either soong or the javac
176 // Use the okhttp source too to allow libcore code to reference it
213 // core-libart as well as the lambda stubs needed to compile Java lambda code.
215 // etc. This system_modules definition is used to bootstrap compilation for
[all …]
DAndroid.bp9 // Unless required by applicable law or agreed to in writing, software
21 // 'apply every license found to every target'. While this makes sure we respect
24 // e.g. GPL in an MIT project might only apply to the contrib/ directory.
27 // taking care not to lose any license_kind information, and overriding the
31 // to attach the license to, and including a comment whether the files may be
Dknown_oj_tags.txt9 # Unless required by applicable law or agreed to in writing, software
15 # List of tags that are "known" to us from the OpenJdk code. We don't treat
16 # them specially, and putting them in here is equivalent to ignoring them
/libcore/luni/
Dbouncycastle-license.txt4 Permission is hereby granted, free of charge, to any person obtaining
6 "Software"), to deal in the Software without restriction, including
7 without limitation the rights to use, copy, modify, merge, publish,
8 distribute, sublicense, and/or sell copies of the Software, and to
9 permit persons to whom the Software is furnished to do so, subject to
Dunicode-license.txt22 Permission is hereby granted, free of charge, to any person obtaining a copy
24 Unicode software and any associated documentation (the "Software") to deal in
26 rights to use, copy, modify, merge, publish, distribute, and/or sell copies of
27 the Data Files or Software, and to permit persons to whom the Data Files or
28 Software are furnished to do so, provided that (a) the above copyright notice(s)
46 be used in advertising or otherwise to promote the sale, use or other dealings
/libcore/benchmarks/libs/
Dcaliper.jar.txt19 "control" means (i) the power, direct or indirect, to cause the
28 including but not limited to software source code, documentation
33 not limited to compiled object code, generated documentation,
34 and conversions to other media types.
38 copyright notice that is included in or attached to the work
46 separable from, or merely link (or bind by name) to the interfaces of,
51 to that Work or Derivative Works thereof, that is intentionally
52 submitted to Licensor for inclusion in the Work by the copyright owner
53 or by an individual or Legal Entity authorized to submit on behalf of
56 to the Licensor or its representatives, including but not limited to
[all …]
/libcore/ojluni/annotations/
DREADME3 mechanism is used instead of adding the annotations to the main source
4 files, to avoid carrying patches against the upstream sources.
10 - Contains annotations to be included in the public SDK, for example
14 - Contains annotations to be included in the public SDK specifically
15 relating to nullability. Adding an annotated stub file to this subdirectory
16 will cause the annotations to be validated for correctness and completeness.
20 3. Add nullability annotations to the new files.
30 openjdk_internal_files filegroup to openjdk_mmodule_extra_files. *DO NOT*
35 …4. Add @libcore.api.Hide to each class, methods and fields in the new files. This will prevent it …
37 to the classes and members.
/libcore/ojluni/src/main/java/java/util/stream/
DNode.java122 default Node<T> truncate(long from, long to, IntFunction<T[]> generator) { in truncate() argument
123 if (from == 0 && to == count()) in truncate()
126 long size = to - from; in truncate()
254 T_NODE truncate(long from, long to, IntFunction<T[]> generator); in truncate() argument
357 default Node.OfInt truncate(long from, long to, IntFunction<Integer[]> generator) { in truncate() argument
358 if (from == 0 && to == count()) in truncate()
360 long size = to - from; in truncate()
430 default Node.OfLong truncate(long from, long to, IntFunction<Long[]> generator) { in truncate() argument
431 if (from == 0 && to == count()) in truncate()
433 long size = to - from; in truncate()
[all …]
/libcore/luni/src/test/parameter_metadata/
DAndroid.bp9 // Unless required by applicable law or agreed to in writing, software
15 // Contains classes for testing access to parameter information via reflection.
17 // This is a separate library so it can use the -parameters javac flag (to add parameter information
18 // to the class files) without affecting other tests.
24 // A large-scale-change added 'default_applicable_licenses' to import
/libcore/harmony-tests/src/test/resources/resources/
Dtest.rtf2 * Licensed to the Apache Software Foundation (ASF) under one or more
5 * The ASF licenses this file to You under the Apache License, Version 2.0
11 * Unless required by applicable law or agreed to in writing, software
18 /* A bogus RTF file used to see if we can detect
/libcore/luni/src/main/java/java/util/logging/
Dlogging.properties1 # Licensed to the Apache Software Foundation (ASF) under one or more
4 # The ASF licenses this file to You under the Apache License, Version 2.0
10 # Unless required by applicable law or agreed to in writing, software
22 # passed to "java" command, or as property definition passed to JNI_CreateJavaVM.
23 # You can refer to JavaDoc of java.util.logging package for more information
39 # For example, use the line below to add SocketHandler. Note that the handler
47 # during logging package initialization, which may contain some code to set the
/libcore/luni/src/test/java9language/
DAndroid.bp9 // Unless required by applicable law or agreed to in writing, software
15 // Android tests related to Java 9 language features.
17 // Use jarjar to repackage Java9LanguageFeatures, to be used in tests below.
20 // A large-scale-change added 'default_applicable_licenses' to import
43 // to handle a class file which must be at least v53 and includes bytecode
/libcore/tools/docs/crypto/
DREADME8 Each algorithm has up to three properties:
10 name - The name of the algorithm. These are currently normalized to
20 is equivalent to supported_api_levels.endswith('+'), but is included for
33 the data file. Any newly-added algorithms will be added to the file's data,
41 to stdout. Add --javadoc to produce output appropriate for inclusion in
/libcore/ojluni/src/main/java/sun/nio/ch/
DSocketAdaptor.java113 long to = timeout; in connect() local
119 int result = sc.poll(Net.POLLCONN, to); in connect()
122 to -= System.currentTimeMillis() - st; in connect()
123 if (to <= 0) { in connect()
216 long to = timeout; in read() local
221 int result = sc.poll(Net.POLLIN, to); in read()
226 to -= System.currentTimeMillis() - st; in read()
227 if (to <= 0) in read()
DServerSocketAdaptor.java111 long to = timeout; in accept() local
116 int result = ssc.poll(Net.POLLIN, to); in accept()
119 to -= System.currentTimeMillis() - st; in accept()
120 if (to <= 0) in accept()
/libcore/expectations/
Dvirtualdeviceknownfailures.txt2 * List of test cases known to fail on a virtual device.
10 * VPC network can only send to IPv4 destinations and only receive traffic from
42 expect, causing this test to fail, and our emulators currently use those kernel
43 versions. See b/31960002 for a full discussion and references to the upstream
/libcore/metrictests/memory/
DREADME1 This directory contains android activities and host-side tests relating to libcore memory metrics.
20 This installs and runs the LibcoreHeapDumpActivity on the device, pulls the heaps back to the host,
43 # it to see what happened. If it doesn't show anything, adb logcat to see what happened.
55 # Visit the localhost URL shown; ctrl-C to exit
84 # cat it to see what happened. If it doesn't show anything, adb logcat to see what happened.
/libcore/support/src/test/java/tests/resources/x509/
Ddefault.cnf23 # 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
65 # X.509v3 extensions to use:
97 x509_extensions = usr_cert # The extentions to add to the cert
107 # Extensions to add to a CRL. Note: Netscape communicator chokes on V2 CRLs
108 # so this is commented out by default to leave a V1 CRL.
111 default_days = 365 # how long to certify for
113 default_md = sha1 # which md to use.
141 x509_extensions = v3_ca # The extentions to add to the self signed cert
143 req_extensions = v3_req # The extensions to add to a certificate request
/libcore/ojluni/src/main/java/sun/reflect/misc/
DReflectUtil.java191 public static boolean needsPackageAccessCheck(ClassLoader from, ClassLoader to) { in needsPackageAccessCheck() argument
192 if (from == null || from == to) in needsPackageAccessCheck()
195 if (to == null) in needsPackageAccessCheck()
198 return !isAncestor(from, to); in needsPackageAccessCheck()
/libcore/tools/upstream/src/main/java/libcore/
DCopyUpstreamFiles.java64 private void copyFile(Path from, Path to) throws IOException { in copyFile() argument
68 Path toDir = to.getParent(); in copyFile()
75 Files.copy(from, to); in copyFile()
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixCopyFile.java194 attrs.lastAccessTime().to(TimeUnit.MICROSECONDS), in copyDirectory()
195 attrs.lastModifiedTime().to(TimeUnit.MICROSECONDS)); in copyDirectory()
198 attrs.lastAccessTime().to(TimeUnit.MICROSECONDS), in copyDirectory()
199 attrs.lastModifiedTime().to(TimeUnit.MICROSECONDS)); in copyDirectory()
274 attrs.lastAccessTime().to(TimeUnit.MICROSECONDS), in copyFile()
275 attrs.lastModifiedTime().to(TimeUnit.MICROSECONDS)); in copyFile()
278 attrs.lastAccessTime().to(TimeUnit.MICROSECONDS), in copyFile()
279 attrs.lastModifiedTime().to(TimeUnit.MICROSECONDS)); in copyFile()
356 attrs.lastAccessTime().to(TimeUnit.MICROSECONDS), in copySpecial()
357 attrs.lastModifiedTime().to(TimeUnit.MICROSECONDS)); in copySpecial()
/libcore/ojluni/src/main/java/java/util/
DJumboEnumSet.java54 void addRange(E from, E to) { in addRange() argument
56 int toIndex = to.ordinal() >>> 6; in addRange()
59 elements[fromIndex] = (-1L >>> (from.ordinal() - to.ordinal() - 1)) in addRange()
65 elements[toIndex] = -1L >>> (63 - to.ordinal()); in addRange()
67 size = to.ordinal() - from.ordinal() + 1; in addRange()

12345