HomeSort by relevance Sort by last modified time
    Searched refs:zones (Results 1 - 25 of 117) sorted by null

1 2 3 4 5

  /packages/services/Car/car-lib/src/android/car/
VehicleZoneUtil.java 21 * Collection of utilities for handling zones
28 * Change zone flag into index with available zones.
30 * @param available zones, should not be zero
32 * defined in zones.
34 * @throws IllegalArgumentException if zones or zone is invalid.
36 public static int zoneToIndex(int zones, int zone) throws IllegalArgumentException {
38 ((zone & zones) != zone) || // check that zone is inside of zones
40 throw new IllegalArgumentException("Invalid zones 0x" + Integer.toHexString(zones)
    [all...]
  /packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
VehicleZoneUtilTest.java 26 int[] zones = {0, 0, 1, 0xf0, 0xf}; local
30 for (int i = 0; i < zones.length; i++) {
32 int r = VehicleZoneUtil.zoneToIndex(zones[i], zone[i]);
39 zones = new int[] {0xffffffff, 0xffffffff, 0x1002, 0x1002};
44 for (int i = 0; i < zones.length; i++) {
45 assertEquals(result[i], VehicleZoneUtil.zoneToIndex(zones[i], zone[i]));
50 int[] zones = {0, 0x1, 0x7, 0xffffffff}; local
53 for (int i = 0; i < zones.length; i++) {
54 assertEquals(result[i], VehicleZoneUtil.getNumberOfZones(zones[i]));
59 int[] zones = {0, 1, 0xffff00} local
68 int[] zones = {0, 1, 0x7}; local
92 int zones = 0; local
    [all...]
  /packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
ShadowZoneGetter.java 37 List<Map<String, Object>> zones = new ArrayList<>(); local
38 zones.add(createDisplayEntry(TimeZone.getDefault(), "gmt-1:00", "FakePlace", 10000));
39 return zones;
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DateFormatMiscTests.java 140 final String zones[][] = symbols.getZoneStrings(); local
142 for (int i = 0; i < zones.length; ++i) {
143 if (tzID.equals(zones[i][0])) {
152 assertEquals("Long zone name = ", jstLong, zones[index][1]);
153 assertEquals("Short zone name = ", jstShort, zones[index][2]);
154 assertEquals("Long zone name (3) = ", jdtLong, zones[index][3]);
155 assertEquals("Short zone name (4) = ", jdtShort, zones[index][4]);
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DateFormatMiscTests.java 139 final String zones[][] = symbols.getZoneStrings(); local
141 for (int i = 0; i < zones.length; ++i) {
142 if (tzID.equals(zones[i][0])) {
151 assertEquals("Long zone name = ", jstLong, zones[index][1]);
152 assertEquals("Short zone name = ", jstShort, zones[index][2]);
153 assertEquals("Long zone name (3) = ", jdtLong, zones[index][3]);
154 assertEquals("Short zone name (4) = ", jdtShort, zones[index][4]);
  /prebuilts/go/darwin-x86/lib/time/
update.bash 8 # Consult http://www.iana.org/time-zones for the latest versions.
19 curl -O http://www.iana.org/time-zones/repository/releases/tzcode$CODE.tar.gz
20 curl -O http://www.iana.org/time-zones/repository/releases/tzdata$DATA.tar.gz
  /prebuilts/go/linux-x86/lib/time/
update.bash 8 # Consult http://www.iana.org/time-zones for the latest versions.
19 curl -O http://www.iana.org/time-zones/repository/releases/tzcode$CODE.tar.gz
20 curl -O http://www.iana.org/time-zones/repository/releases/tzdata$DATA.tar.gz
  /prebuilts/go/darwin-x86/src/time/
genzabbrs.go 55 type zones []*zone type
57 func (zs zones) Len() int { return len(zs) }
58 func (zs zones) Swap(i, j int) { zs[i], zs[j] = zs[j], zs[i] }
59 func (zs zones) Less(i, j int) bool { return zs[i].UnixName < zs[j].UnixName }
70 Zones []MapZone `xml:"windowsZones>mapTimezones>mapZone"`
73 func readWindowsZones() (zones, error) {
90 zs := make(zones, 0)
91 for _, z := range sd.Zones {
120 Zs zones
zoneinfo_plan9.go 61 var zones [2]zone
68 zones[0] = zone{name: f[0], offset: o, isDST: false}
75 zones[1] = zone{name: f[2], offset: o, isDST: true}
89 t -= zones[0].offset
94 l = &Location{zone: zones[:], tx: tx}
  /prebuilts/go/linux-x86/src/time/
genzabbrs.go 55 type zones []*zone type
57 func (zs zones) Len() int { return len(zs) }
58 func (zs zones) Swap(i, j int) { zs[i], zs[j] = zs[j], zs[i] }
59 func (zs zones) Less(i, j int) bool { return zs[i].UnixName < zs[j].UnixName }
70 Zones []MapZone `xml:"windowsZones>mapTimezones>mapZone"`
73 func readWindowsZones() (zones, error) {
90 zs := make(zones, 0)
91 for _, z := range sd.Zones {
120 Zs zones
zoneinfo_plan9.go 61 var zones [2]zone
68 zones[0] = zone{name: f[0], offset: o, isDST: false}
75 zones[1] = zone{name: f[2], offset: o, isDST: true}
89 t -= zones[0].offset
94 l = &Location{zone: zones[:], tx: tx}
  /system/timezone/
update-tzdata.py 56 """Writes the list of zones that ZoneCompactor should process."""
58 zones = []
65 zones.append(fields[2])
67 zones.append(fields[1])
68 zones.sort()
74 for zone in sorted(set(zones)):
170 # See http://www.iana.org/time-zones/ for more about the source of this data.
  /libcore/luni/src/test/java/libcore/util/
TimeZoneFinderTest.java 48 // Zones used in the tests. NEW_YORK_TZ and LONDON_TZ chosen because they never overlap but both
124 assertZonesEqual(zones("Europe/London"), file1ThenFile2.lookupTimeZonesByCountry("gb"));
128 assertZonesEqual(zones("Europe/London"),
133 assertZonesEqual(zones("Europe/Paris"), file2ThenFile1.lookupTimeZonesByCountry("gb"));
180 assertZonesEqual(zones("Europe/London"), finder.lookupTimeZonesByCountry("gb"));
191 assertZonesEqual(zones("Europe/London"), finder.lookupTimeZonesByCountry("gb"));
205 assertZonesEqual(zones("Europe/London"), finder.lookupTimeZonesByCountry("gb"));
215 assertZonesEqual(zones("Europe/London"), finder.lookupTimeZonesByCountry("gb"));
225 assertZonesEqual(zones("Europe/London"), finder.lookupTimeZonesByCountry("gb"));
236 assertZonesEqual(zones("Europe/London", "Europe/Paris")
714 private static List<TimeZone> zones(String... ids) { method in class:TimeZoneFinderTest
    [all...]
  /bionic/libc/kernel/uapi/linux/
blkzoned.h 52 struct blk_zone zones[0]; member in struct:blk_zone_report
  /external/kernel-headers/original/uapi/linux/
blkzoned.h 22 * enum blk_zone_type - Types of zones allowed in a zoned device.
43 * @BLK_ZONE_COND_EXP_OPEN: The zones was explicitly opened by an
110 * @zones: Space to hold @nr_zones @zones entries on reply.
118 struct blk_zone zones[0]; member in struct:blk_zone_report
124 * @nr_sectors: Total number of sectors of 1 or more zones to reset
137 * @BLKRESETZONE: Reset the write pointer of the zones in the specified
  /external/icu/icu4c/source/test/intltest/
miscdtfm.cpp 353 const UnicodeString **zones = symbols->getZoneStrings(rowCount, colCount); local
357 if (tzID == (zones[i][0])) {
362 logln(UnicodeString("Long zone name = ") + zones[index][1]);
363 if (zones[index][1] != jstLong) {
364 errln("*** Should have been " + prettify(jstLong)+ " but it is: " + prettify(zones[index][1]));
367 // logln(UnicodeString("Short zone name = ") + zones[index][2]);
368 // if (zones[index][2] != jstShort) {
369 // errln("*** Should have been " + prettify(jstShort) + " but it is: " + prettify(zones[index][2]));
372 logln(UnicodeString("Long zone name = ") + zones[index][3]);
373 if (zones[index][3] != jdtLong)
    [all...]
  /external/freetype/src/pshinter/
pshglob.c 133 /***** BLUE ZONES *****/
157 PSH_Blue_Zone zones, zone; local
168 zones = bot_table->zones;
177 zones = top_table->zones;
183 zone = zones;
194 /* we have two zones on the same reference position -- */
230 /* Re-read blue zones from the original fonts and store them into out */
232 /* fuzz-expands the zones as well. *
    [all...]
pshglob.h 45 /* The maximum number of blue zones in a font global hints structure. */
110 PSH_Blue_ZoneRec zones[PS_GLOBALS_MAX_BLUE_ZONES]; member in struct:PSH_Blue_TableRec_
115 /* blue zones table */
177 /* snap a stem to one or two blue zones */
  /external/pdfium/third_party/freetype/src/pshinter/
pshglob.c 133 /***** BLUE ZONES *****/
157 PSH_Blue_Zone zones, zone; local
168 zones = bot_table->zones;
177 zones = top_table->zones;
183 zone = zones;
194 /* we have two zones on the same reference position -- */
230 /* Re-read blue zones from the original fonts and store them into out */
232 /* fuzz-expands the zones as well. *
    [all...]
pshglob.h 45 /* The maximum number of blue zones in a font global hints structure. */
110 PSH_Blue_ZoneRec zones[PS_GLOBALS_MAX_BLUE_ZONES]; member in struct:PSH_Blue_TableRec_
115 /* blue zones table */
177 /* snap a stem to one or two blue zones */
  /external/devlib/devlib/module/
thermal.py 86 self.zones = {}
99 self.zones[int(_id)] = ThermalZone(self.target, self.thermal_root, _id)
102 """Disables all the thermal zones in the target"""
103 for zone in self.zones:
  /frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/utils/
ZoneGetterTest.java 75 final List<Map<String, Object>> zones = local
77 for (Map<String, Object> zone : zones) {
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
ZoneMeta.java 33 * missing from the underlying core JDK implementation of time zones.
34 * There are two missing features: Obtaining a list of available zones
36 * obtaining a list of equivalent zones for a given zone (as defined
50 private static final String kZONES = "Zones";
212 * includes the given ID. An equivalency group contains zones
215 * <p>If there are no equivalent zones, then this method returns
217 * is and there are no other equivalent zones.
219 * @return the number of zones in the equivalency group containing
220 * 'id', or zero if there are no equivalent zones.
240 * ID. An equivalency group contains zones that behav
264 int[] zones = links.getIntVector(); local
372 UResourceBundle zones = top.get(kZONES); local
530 UResourceBundle zones = top.get(kZONES); local
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
ZoneMeta.java 32 * missing from the underlying core JDK implementation of time zones.
33 * There are two missing features: Obtaining a list of available zones
35 * obtaining a list of equivalent zones for a given zone (as defined
49 private static final String kZONES = "Zones";
211 * includes the given ID. An equivalency group contains zones
214 * <p>If there are no equivalent zones, then this method returns
216 * is and there are no other equivalent zones.
218 * @return the number of zones in the equivalency group containing
219 * 'id', or zero if there are no equivalent zones.
239 * ID. An equivalency group contains zones that behav
263 int[] zones = links.getIntVector(); local
371 UResourceBundle zones = top.get(kZONES); local
529 UResourceBundle zones = top.get(kZONES); local
    [all...]
  /external/mdnsresponder/mDNSShared/
dnsextd.h 132 DNSZone * zones; member in struct:__anon27011

Completed in 1480 milliseconds

1 2 3 4 5