Home
last modified time | relevance | path

Searched refs:Set (Results 1 – 25 of 92) sorted by relevance

1234

/system/timezone/input_tools/android/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/
DTzdb.java25 import java.util.Set;
42 private static final Set<String> TZ_ABBRS = Set.of("ACT", "AET", "AGT", "ART", "AST", "BET",
49 private static final Set<String> MISSING_TZ_IDS = Set.of("US/Pacific-New", "Greenwich");
54 private static final Set<String> MISNOMERS = Set.of("Canada/East-Saskatchewan");
58 private static final Set<String> NON_COUNTRY_AND_LEGACY_IDS = Set.of(
78 public static Set<String> regionalTimeZoneIds() { in regionalTimeZoneIds()
DUtils.java25 import java.util.Set;
84 static <X> Set<X> subtract(Set<X> a, Set<X> b) { in subtract()
85 Set<X> result = set(a); in subtract()
91 Set<X> set = set(values); in allUnique()
96 Set<X> aSet = set(a); in setEquals()
97 Set<X> bSet = set(b); in setEquals()
101 static <X> Set<X> set(Collection<X> values) { in set()
DTzLookupGenerator.java48 import java.util.Set;
165 Set<String> timezonesCountryIsos = new HashSet<>(upperCaseCountriesInIsos); in execute()
166 Set<String> zoneTabCountryIsos = zoneTabMapping.keySet(); in execute()
196 Set<String> allCountryZonesTimeZones = Set.copyOf(allTimeZoneIds(countryZonesIn)); in validateCountryZones()
198 Set<String> tzdbTimeZoneIds = Tzdb.regionalTimeZoneIds(); in validateCountryZones()
200 Set<String> absentInCountryZones = in validateCountryZones()
210 Set<String> countryZonesOnlyTimeZoneIds = in validateCountryZones()
530 Set<String> countryZonesTimeZoneIds = timeZoneMappings.stream() in validateCountryZonesTzIdsAgainstIana()
537 Set<String> missingInCountryZones = Utils.subtract( in validateCountryZonesTzIdsAgainstIana()
538 Set.copyOf(zoneTabCountryTimeZoneIds), countryZonesTimeZoneIds); in validateCountryZonesTzIdsAgainstIana()
/system/libsysprop/srcs/android/sysprop/
DBluetoothProperties.sysprop111 # Set by vendors overlay, read at Bluetooth initialization
121 # Set by vendors overlay, read at Bluetooth initialization
131 # Set by vendors overlay, read at Bluetooth initialization
141 # Set by vendors overlay, read at Bluetooth initialization
159 # Set by vendors overlay, read at Bluetooth initialization
169 # Set by vendors overlay, read at Bluetooth initialization
181 # Set by vendors overlay, read at Bluetooth initialization
194 # Set by vendors overlay, read at Bluetooth initialization
244 # Set by vendors overlay, read at Bluetooth initialization
254 # Set by vendors overlay, read at Bluetooth initialization
[all …]
/system/timezone/input_tools/android/tzlookup_generator/src/test/java/com/android/libcore/timezone/tzlookup/
DUtilsTest.java25 import java.util.Set;
40 Set<String> a = set("Foo", "Bar"); in subtract()
41 Set<String> b = set("Bar", "Baz"); in subtract()
42 Set<String> empty = set(); in subtract()
136 private static <X> Set<X> set(X... values) { in set()
/system/tools/xsdc/src/test/java/com/android/xsdc/cpp/
DTestCppCodeGenerator.java32 import java.util.Set;
46 assertEquals(schema.getElementMap().keySet(), Set.of("class")); in testParseSchema()
89 assertEquals(files.keySet(), Set.of("com_abc.cpp", "include/com_abc.h")); in testPrintWithoutEnumOutput()
111 Set.of( in printWithEnumOutput()
/system/apex/tests/src/com/android/tests/apex/
DApexRollbackTests.java42 import java.util.Set;
140 Set<ApexInfo> activatedApexes = device.getActiveApexes(); in testAutomaticBootLoopRecovery()
183 Set<ApexInfo> activatedApexes = device.getActiveApexes(); in testSessionNotRevertedWithCheckpointingDisabled()
221 Set<ApexInfo> activatedApexes = device.getActiveApexes(); in testCheckpointingRevertsSession()
259 Set<ApexInfo> activatedApexes = device.getActiveApexes(); in testRebootingOnceDoesNotRevertSession()
304 final Set<ITestDevice.ApexInfo> activeApexes = getDevice().getActiveApexes(); in testBootCompletedCleanupHappensEvenWhenThereIsCrashingProcess()
356 final Set<ApexInfo> activatedApexes = device.getActiveApexes(); in testReasonForRevertIsLoggedDuringBootloop()
DApexdHostTest.java43 import java.util.Set;
93 final Set<ITestDevice.ApexInfo> activeApexes = getDevice().getActiveApexes(); in testOrphanedApexIsNotActivated()
114 final Set<ITestDevice.ApexInfo> activeApexes = getDevice().getActiveApexes(); in testApexWithoutPbIsNotActivated()
145 final Set<ITestDevice.ApexInfo> activeApexes = getDevice().getActiveApexes(); in testRemountApex()
177 final Set<ITestDevice.ApexInfo> activeApexes = getDevice().getActiveApexes(); in testApexWithoutPbIsNotActivated_ProductPartitionHasOlderVersion()
218 final Set<ITestDevice.ApexInfo> activeApexes = getDevice().getActiveApexes(); in testApexWithoutPbIsNotActivated_ProductPartitionHasNewerVersion()
245 Set<ITestDevice.ApexInfo> fromApexd = getDevice().getActiveApexes(); in testApexInfoListIsValid()
335 final Set<ITestDevice.ApexInfo> activeApexes = getDevice().getActiveApexes(); in testFailsToActivateApexOnDataFallbacksToPreInstalled()
DApexE2EBaseHostTest.java41 import java.util.Set;
90 Set<ApexInfo> activatedApexes = getDevice().getActiveApexes(); in stageActivateUninstallApexPackage()
/system/core/fs_mgr/
Dfs_mgr_overlayfs_mount.h39 AutoSetFsCreateCon(const std::string& context) { Set(context); } in AutoSetFsCreateCon()
43 bool Set(const std::string& context);
/system/core/fastboot/
Dudp.cpp73 void Set(uint8_t id, uint16_t sequence, Flag flag);
83 Set(kIdError, 0, kFlagNone); in Header()
86 void Header::Set(uint8_t id, uint16_t sequence, Flag flag) { in Set() function in udp::Header
223 header.Set(id, sequence_, kFlagContinuation); in SendData()
226 header.Set(id, sequence_, kFlagNone); in SendData()
306 header->Set(rx_packet_[kIndexId], sequence_, kFlagNone); in SendSinglePacketHelper()
/system/linkerconfig/devicetest/src/android/linkerconfig/gts/
DLinkerConfigTest.java52 import java.util.Set;
102 private static void verifyVendorSection(Section section, Set<String> systemAvailableLibraries) { in verifyVendorSection()
148 private static Set<String> loadSystemAvailableLibraries(INativeDevice targetDevice, in loadSystemAvailableLibraries()
150 Set<String> libraries = new HashSet<>(); in loadSystemAvailableLibraries()
244 Set<String> availableLibraries = loadSystemAvailableLibraries(targetDevice, in shouldNotAccessSystemFromVendorExceptVndk()
/system/timezone/input_tools/android/telephonylookup_generator/src/main/java/com/android/libcore/timezone/telephonylookup/
DTelephonyLookupGenerator.java33 import java.util.Set;
111 Set<String> knownIsoCountries = getLowerCaseCountryIsoCodes(); in validateNetworks()
112 Set<String> mccMncSet = new HashSet<>(); in validateNetworks()
154 private static Set<String> getLowerCaseCountryIsoCodes() { in getLowerCaseCountryIsoCodes()
/system/memory/libmemunreachable/tests/
DMemUnreachable_test.cpp37 explicit HiddenPointer(size_t size = 256) { Set(malloc(size)); } in HiddenPointer()
42 Set(nullptr); in Free()
46 void Set(void* ptr) { ptr_ = ~reinterpret_cast<uintptr_t>(ptr); } in Set() function in android::HiddenPointer
/system/extras/simpleperf/scripts/test/
Dinferno_test.py22 from typing import Any, Dict, List, Set
53 def get_threads_for_filter(filter: str) -> Set[int]:
Dstackcollapse_test.py22 from typing import List, Optional, Set
71 def get_threads_for_filter(filter: str) -> Set[int]:
Dsample_filter_test.py22 from typing import List, Optional, Set
Dreport_sample_test.py20 from typing import List, Optional, Set
98 def get_threads_for_filter(filter: str) -> Set[int]:
Dgecko_profile_generator_test.py21 from typing import Dict, List, Optional, Set
81 def get_threads_for_filter(filter: str) -> Set[int]:
/system/sepolicy/microdroid/system/private/
Dadbd.te18 # Set UID and GID to shell. Set supplementary groups.
49 # Set service.adb.tcp.port, service.adb.tls.port, persist.adb.wifi.* properties
/system/timezone/input_tools/android/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/zonetree/
DUniqueZonesVisualizer.java27 import java.util.Set;
55 Set<String> countryCodes; in main()
/system/sepolicy/private/
Dlmkd.te6 # Set sys.lmk.* properties.
9 # Set lmkd.* properties.
56 # Set self to SCHED_FIFO
Dhal_nfc.te9 # Set NFC properties (used by bcm2079x HAL).
/system/extras/simpleperf/demo/SimpleperfExampleCpp/
Dgradlew.bat8 @rem Set local scope for the variables with windows NT shell
76 rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
/system/extras/simpleperf/demo/JavaApi/
Dgradlew.bat8 @rem Set local scope for the variables with windows NT shell
76 rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of

1234