/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/ |
UtilsTest.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 101 ArgumentMatchers.eq(UserHandle.of(currentUserId)), 116 ArgumentMatchers.eq(UserHandle.of(currentUserId)),
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
HdmiCecMessageBuilder.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 33 * @param src source address of command 34 * @param dest destination address of command 35 * @param body body of message. It includes opcode. 38 static HdmiCecMessage of(int src, int dest, byte[] body) { method in class:HdmiCecMessageBuilder 45 * Build <Feature Abort> command. <Feature Abort> consists of 48 * @param src source address of command 49 * @param dest destination address of command 51 * @param reason reason of feature abor [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
CrossProfileAppsServiceImpl.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 136 targetProfiles.add(UserHandle.of(userId));
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
PersistentConnectionTest.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 141 eq(handler), eq(UserHandle.of(userId)));
|
/frameworks/base/wifi/tests/src/android/net/wifi/ |
WifiNetworkScoreCacheTest.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 95 mScoreCache.updateScores(ImmutableList.of(mValidScoredNetwork)); 139 mScoreCache.updateScores(ImmutableList.of(network2)); 159 mScoreCache.updateScores(ImmutableList.of(noCurve)); 186 mScoreCache.updateScores(ImmutableList.of(network)); 215 mScoreCache.updateScores(ImmutableList.of(network1)); 216 mScoreCache.updateScores(ImmutableList.of(network2)); 219 mScoreCache.updateScores(ImmutableList.of(network3));
|
/frameworks/layoutlib/bridge/src/android/graphics/drawable/ |
AnimatedVectorDrawable_Delegate.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 41 * Delegate used to provide new implementation of a select few methods of {@link 44 * Through the layoutlib_create tool, the original methods of AnimatedVectorDrawable have been 45 * replaced by calls to methods of the same name in this delegate class. 95 return sHolders.addNewDelegate(FloatPropertySetter.of(setter, startValue, 113 return sHolders.addNewDelegate(IntPropertySetter.of(setter, startValue, 123 return sHolders.addNewDelegate(FloatPropertySetter.of(setter, startValue, 132 return sHolders.addNewDelegate(FloatPropertySetter.of(renderer::setRootAlpha 269 private static PropertySetter of(Consumer<Integer> valueSetter, int... values) { method in class:AnimatedVectorDrawable_Delegate.IntPropertySetter 286 private static PropertySetter of(Consumer<Float> valueSetter, float... values) { method in class:AnimatedVectorDrawable_Delegate.FloatPropertySetter [all...] |
/libcore/metrictests/memory/host/src/libcore/heapmetrics/ |
HeapCategorization.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 36 * Representation of the break-down of a heap dump into categories. 42 * Enumeration of the categories used. 47 * Interned strings that are mostly ASCII alphabetic characters, and have a bit of 59 * Interned strings that are don't meet the criterea of {@link #INTERNED_STRING_TEXT_ISH} or 113 * The subset of {@link #PURE_LIBCORE} which is static, rather than instance, state. 118 * Objects which don't fall into any of the above categories. (N.B. This ensures that every 119 * object is in at least one category, but objects may be in more than one of the above. 142 static HeapCategorization of(AhatSnapshot snapshot, AhatHeap... heaps) { method in class:HeapCategorization [all...] |
/libcore/ojluni/src/main/java/java/time/ |
MonthDay.java | 6 * under the terms of the GNU General Public License version 2 only, as 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 17 * You should have received a copy of the GNU General Public License version 29 * However, the following notice accompanied the original version of this 39 * * Redistributions of source code must retain the above copyright notice, 40 * this list of conditions and the following disclaimer. 43 * this list of conditions and the following disclaimer in the documentation 46 * * Neither the name of JSR-310 nor the names of its contributors 52 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FO 211 public static MonthDay of(Month month, int dayOfMonth) { method in class:MonthDay 237 public static MonthDay of(int month, int dayOfMonth) { method in class:MonthDay [all...] |
Year.java | 6 * under the terms of the GNU General Public License version 2 only, as 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 17 * You should have received a copy of the GNU General Public License version 29 * However, the following notice accompanied the original version of this 39 * * Redistributions of source code must retain the above copyright notice, 40 * this list of conditions and the following disclaimer. 43 * this list of conditions and the following disclaimer in the documentation 46 * * Neither the name of JSR-310 nor the names of its contributors 52 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FO 219 public static Year of(int isoYear) { method in class:Year [all...] |
YearMonth.java | 6 * under the terms of the GNU General Public License version 2 only, as 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 17 * You should have received a copy of the GNU General Public License version 29 * However, the following notice accompanied the original version of this 39 * * Redistributions of source code must retain the above copyright notice, 40 * this list of conditions and the following disclaimer. 43 * this list of conditions and the following disclaimer in the documentation 46 * * Neither the name of JSR-310 nor the names of its contributors 52 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FO 206 public static YearMonth of(int year, Month month) { method in class:YearMonth 219 public static YearMonth of(int year, int month) { method in class:YearMonth [all...] |
ZoneOffset.java | 6 * under the terms of the GNU General Public License version 2 only, as 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 17 * You should have received a copy of the GNU General Public License version 29 * However, the following notice accompanied the original version of this 39 * * Redistributions of source code must retain the above copyright notice, 40 * this list of conditions and the following disclaimer. 43 * this list of conditions and the following disclaimer in the documentation 46 * * Neither the name of JSR-310 nor the names of its contributors 52 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FO 196 public static ZoneOffset of(String offsetId) { method in class:ZoneOffset [all...] |
/libcore/ojluni/src/main/java/java/time/chrono/ |
ChronoLocalDateTimeImpl.java | 6 * under the terms of the GNU General Public License version 2 only, as 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 17 * You should have received a copy of the GNU General Public License version 29 * However, the following notice accompanied the original version of this 39 * * Redistributions of source code must retain the above copyright notice, 40 * this list of conditions and the following disclaimer. 43 * this list of conditions and the following disclaimer in the documentation 46 * * Neither the name of JSR-310 nor the names of its contributors 52 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FO 173 static <R extends ChronoLocalDate> ChronoLocalDateTimeImpl<R> of(R date, LocalTime time) { method in class:ChronoLocalDateTimeImpl [all...] |
JapaneseDate.java | 6 * under the terms of the GNU General Public License version 2 only, as 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 17 * You should have received a copy of the GNU General Public License version 34 * * Redistributions of source code must retain the above copyright notice, 35 * this list of conditions and the following disclaimer. 38 * this list of conditions and the following disclaimer in the documentation 41 * * Neither the name of JSR-310 nor the names of its contributors 47 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 51 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, O 220 public static JapaneseDate of(JapaneseEra era, int yearOfEra, int month, int dayOfMonth) { method in class:JapaneseDate 248 public static JapaneseDate of(int prolepticYear, int month, int dayOfMonth) { method in class:JapaneseDate [all...] |
MinguoDate.java | 6 * under the terms of the GNU General Public License version 2 only, as 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 17 * You should have received a copy of the GNU General Public License version 34 * * Redistributions of source code must retain the above copyright notice, 35 * this list of conditions and the following disclaimer. 38 * this list of conditions and the following disclaimer in the documentation 41 * * Neither the name of JSR-310 nor the names of its contributors 47 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 51 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, O 175 public static MinguoDate of(int prolepticYear, int month, int dayOfMonth) { method in class:MinguoDate [all...] |
ThaiBuddhistDate.java | 6 * under the terms of the GNU General Public License version 2 only, as 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 17 * You should have received a copy of the GNU General Public License version 34 * * Redistributions of source code must retain the above copyright notice, 35 * this list of conditions and the following disclaimer. 38 * this list of conditions and the following disclaimer in the documentation 41 * * Neither the name of JSR-310 nor the names of its contributors 47 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 51 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, O 175 public static ThaiBuddhistDate of(int prolepticYear, int month, int dayOfMonth) { method in class:ThaiBuddhistDate [all...] |
/libcore/ojluni/src/main/java/java/time/format/ |
DecimalStyle.java | 6 * under the terms of the GNU General Public License version 2 only, as 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 17 * You should have received a copy of the GNU General Public License version 29 * However, the following notice accompanied the original version of this 39 * * Redistributions of source code must retain the above copyright notice, 40 * this list of conditions and the following disclaimer. 43 * this list of conditions and the following disclaimer in the documentation 46 * * Neither the name of JSR-310 nor the names of its contributors 52 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FO 154 public static DecimalStyle of(Locale locale) { method in class:DecimalStyle [all...] |
/libcore/ojluni/src/main/java/java/util/stream/ |
DoubleStream.java | 6 * under the terms of the GNU General Public License version 2 only, as 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 17 * You should have received a copy of the GNU General Public License version 51 * A sequence of primitive double-valued elements supporting sequential and parallel 52 * aggregate operations. This is the {@code double} primitive specialization of 56 * {@link Stream} and {@link DoubleStream}, computing the sum of the weights of the 68 * specification of streams, stream operations, stream pipelines, and 78 * Returns a stream consisting of the elements of this stream that matc 743 public static DoubleStream of(double t) { method in interface:DoubleStream 753 public static DoubleStream of(double... values) { method in interface:DoubleStream [all...] |
IntStream.java | 6 * under the terms of the GNU General Public License version 2 only, as 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 17 * You should have received a copy of the GNU General Public License version 49 * A sequence of primitive int-valued elements supporting sequential and parallel 50 * aggregate operations. This is the {@code int} primitive specialization of 54 * {@link Stream} and {@link IntStream}, computing the sum of the weights of the 66 * specification of streams, stream operations, stream pipelines, and 76 * Returns a stream consisting of the elements of this stream that matc 711 public static IntStream of(int t) { method in interface:IntStream 721 public static IntStream of(int... values) { method in interface:IntStream [all...] |
LongStream.java | 6 * under the terms of the GNU General Public License version 2 only, as 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 17 * You should have received a copy of the GNU General Public License version 53 * A sequence of primitive long-valued elements supporting sequential and parallel 54 * aggregate operations. This is the {@code long} primitive specialization of 58 * {@link Stream} and {@link LongStream}, computing the sum of the weights of the 70 * specification of streams, stream operations, stream pipelines, and 80 * Returns a stream consisting of the elements of this stream that matc 703 public static LongStream of(long t) { method in interface:LongStream 713 public static LongStream of(long... values) { method in interface:LongStream [all...] |
Stream.java | 6 * under the terms of the GNU General Public License version 2 only, as 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 17 * You should have received a copy of the GNU General Public License version 51 * A sequence of elements supporting sequential and parallel aggregate 63 * a stream of {@code Widget} objects via {@link Collection#stream Collection.stream()}, 65 * transform it into a stream of {@code int} values representing the weight of 68 * <p>In addition to {@code Stream}, which is a stream of object references, 70 * and {@link DoubleStream}, all of which are referred to as "streams" and 75 * <em>stream pipeline</em>. A stream pipeline consists of a source (whic 983 public static<T> Stream<T> of(T t) { method in interface:Stream 996 public static<T> Stream<T> of(T... values) { method in interface:Stream [all...] |
/libcore/ojluni/src/main/java/sun/security/util/ |
DisabledAlgorithmConstraints.java | 6 * under the terms of the GNU General Public License version 2 only, as 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 17 * You should have received a copy of the GNU General Public License version 46 * for the syntax of the disabled algorithm string. 222 * The complete disabling of an algorithm is not handled by Constraints or 253 // Check if constraint is a complete disabling of an 286 KeySizeConstraint.Operator.of(matcher.group(1)), 389 static Operator of(String s) { method in class:DisabledAlgorithmConstraints.Constraint.Operator 431 * of the certificate. 553 return false; // we don't allow any key of size 0 [all...] |
/libcore/ojluni/src/test/java/time/tck/java/time/ |
TCKLocalDate.java | 6 * under the terms of the GNU General Public License version 2 only, as 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 15 * You should have received a copy of the GNU General Public License version 27 * However, the following notice accompanied the original version of this 37 * * Redistributions of source code must retain the above copyright notice, 38 * this list of conditions and the following disclaimer. 41 * this list of conditions and the following disclaimer in the documentation 44 * * Neither the name of JSR-310 nor the names of its contributors 50 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FO [all...] |
TCKLocalDateTime.java | 6 * under the terms of the GNU General Public License version 2 only, as 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 15 * You should have received a copy of the GNU General Public License version 27 * However, the following notice accompanied the original version of this 37 * * Redistributions of source code must retain the above copyright notice, 38 * this list of conditions and the following disclaimer. 41 * this list of conditions and the following disclaimer in the documentation 44 * * Neither the name of JSR-310 nor the names of its contributors 50 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FO [all...] |
/libcore/ojluni/src/test/java/time/test/java/time/temporal/ |
TestDateTimeValueRange.java | 6 * under the terms of the GNU General Public License version 2 only, as 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 15 * You should have received a copy of the GNU General Public License version 27 * However, the following notice accompanied the original version of this 37 * * Redistributions of source code must retain the above copyright notice, 38 * this list of conditions and the following disclaimer. 41 * this list of conditions and the following disclaimer in the documentation 44 * * Neither the name of JSR-310 nor the names of its contributors 50 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FO [all...] |
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/finalization/ |
FinalizationControllerTest.java | 6 * You may obtain a copy of the License at 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 55 private static final UserHandle MANAGED_PROFILE_USER_HANDLE = UserHandle.of(123); 214 verifyDpcLaunchedForUser(UserHandle.of(UserHandle.myUserId()));
|