/system/timezone/input_tools/android/tzlookup_generator/src/test/java/com/android/libcore/timezone/tzlookup/ |
D | UtilsTest.java | 27 import static com.android.libcore.timezone.tzlookup.Utils.parseUtcOffsetToMillis; 28 import static com.android.libcore.timezone.tzlookup.Utils.toUtcOffsetString; 43 assertEquals(set("Foo"), Utils.subtract(a, b)); in subtract() 44 assertEquals(set("Baz"), Utils.subtract(b, a)); in subtract() 45 assertEquals(a, Utils.subtract(a, empty)); in subtract() 46 assertEquals(empty, Utils.subtract(empty, a)); in subtract() 51 assertEquals(list("ONE", "TWO", "THREE"), Utils.toUpperCase(list("one", "Two", "THREE"))); in toUpperCase() 52 assertEquals(list(), Utils.toUpperCase(list())); in toUpperCase() 57 assertTrue(Utils.allLowerCaseAscii(list("one", "a", "z"))); in allLowerCaseAscii() 58 assertFalse(Utils.allLowerCaseAscii(list("one", "a", "Z"))); in allLowerCaseAscii() [all …]
|
/system/extras/verity/ |
D | VeritySigner.java | 42 byte[] content = Utils.read(args[0]); in main() 45 X509Certificate cert = Utils.loadPEMCertificate(args[1]); in main() 48 byte[] signature = Utils.read(args[2]); in main() 51 if (Utils.verify(publicKey, content, signature, in main() 52 Utils.getSignatureAlgorithmIdentifier(publicKey))) { in main() 64 PrivateKey privateKey = Utils.loadDERPrivateKey(Utils.read(args[1])); in main() 65 byte[] signature = Utils.sign(privateKey, content); in main() 66 Utils.write(signature, args[2]); in main()
|
D | BootSignature.java | 177 return Utils.sign(key, signable); in sign() 186 return Utils.verify(publicKey, signable, signature.getOctets(), in verify() 258 byte[] image = Utils.read(imagePath); in doSignature() 272 X509Certificate cert = Utils.loadPEMCertificate(certPath); in doSignature() 275 PrivateKey key = Utils.loadDERPrivateKeyFromFile(keyPath); in doSignature() 277 Utils.getSignatureAlgorithmIdentifier(key)); in doSignature() 285 Utils.write(image_with_metadata, outPath); in doSignature() 289 byte[] image = Utils.read(imagePath); in verifySignature() 301 bootsig.setCertificate(Utils.loadPEMCertificate(certPath)); in verifySignature()
|
D | Android.bp | 36 "Utils.java", 48 "Utils.java",
|
D | Utils.java | 60 public class Utils { class
|
/system/tools/xsdc/src/com/android/xsdc/cpp/ |
D | CppCodeGenerator.java | 69 String name = Utils.toClassName(type.getName()); in CppCodeGenerator() 83 String name = Utils.toClassName(element.getName()); in CppCodeGenerator() 202 String name = Utils.toClassName(type.getName()); in print() 209 String name = Utils.toClassName(type.getName()); in print() 217 String name = Utils.toClassName(element.getName()); in print() 238 String name = Utils.toClassName(type.getName()); in print() 263 enumsHeaderFile.printf("%s,\n", Utils.toEnumName(value)); in printEnum() 265 Utils.toEnumName(value)); in printEnum() 283 name, Utils.toEnumName(value), tag.getValue()); in printEnum() 299 absoluteNamespace, name, Utils.toEnumName(value)); in printEnumValues() [all …]
|
D | Utils.java | 22 class Utils { class
|
/system/tools/xsdc/src/com/android/xsdc/java/ |
D | JavaCodeGenerator.java | 63 String name = Utils.toClassName(type.getName()); in JavaCodeGenerator() 74 String name = Utils.toClassName(element.getName()); in JavaCodeGenerator() 97 String name = Utils.toClassName(type.getName()); in print() 105 String name = Utils.toClassName(type.getName()); in print() 116 String name = Utils.toClassName(element.getName()); in print() 152 out.printf("\n%s(\"%s\"),", Utils.toEnumName(value), value); in printEnumClass() 218 String innerName = Utils.toClassName(getElementName(element)); in printClass() 249 typeName, Utils.toVariableName(getElementName(elementValue))); in printClass() 255 type.getNullableName(), Utils.toVariableName(attribute.getName())); in printClass() 266 printGetterAndSetter(out, type, Utils.toVariableName(getElementName(elementValue)), in printClass() [all …]
|
D | Utils.java | 22 class Utils { class
|
/system/timezone/input_tools/android/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/ |
D | TzLookupGenerator.java | 135 if (!Utils.allLowerCaseAscii(countriesInIsos)) { in execute() 140 if (!Utils.allUnique(countriesInIsos)) { in execute() 147 List<String> upperCaseCountriesInIsos = Utils.toUpperCase(countriesInIsos); in execute() 152 + Utils.subtract(zoneTabCountryIsos, timezonesCountryIsos) in execute() 155 + Utils.subtract(timezonesCountryIsos, zoneTabCountryIsos) in execute() 333 if (!Utils.allUnique(countryTimeZoneIds)) { in processCountry() 380 if (!Utils.allUnique(zoneTabCountryTimeZoneIds)) { in processCountry() 486 if (!Utils.setEquals(zoneTabCountryTimeZoneIds, expectedIanaTimeZoneIds)) { in validateCountryZonesTzIdsAgainstIana() 597 utcOffsetMillis = Utils.parseUtcOffsetToMillis(utcOffsetString); in validateNonDstOffset() 623 + timeZoneIdIn + " is " + Utils.toUtcOffsetString(actualOffsetMillis) in validateNonDstOffset() [all …]
|
D | Utils.java | 36 final class Utils { class 44 private Utils() {} in Utils() method in Utils
|
/system/bt/utils/ |
D | Android.bp | 1 // Utils static library for target
|
/system/vold/ |
D | Android.bp | 134 "Utils.cpp", 276 srcs: ["vold_prepare_subdirs.cpp", "Utils.cpp"],
|
/system/libhwbinder/ |
D | Android.bp | 68 "Utils.cpp",
|
/system/unwinding/libunwindstack/ |
D | Android.bp | 473 "benchmarks/Utils.cpp",
|