Home
last modified time | relevance | path

Searched refs:zone (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/core/java/android/os/
DSimpleClock.java25 private final ZoneId zone; field in SimpleClock
27 public SimpleClock(ZoneId zone) { in SimpleClock() argument
28 this.zone = zone; in SimpleClock()
33 return zone; in getZone()
37 public Clock withZone(ZoneId zone) { in withZone() argument
38 return new SimpleClock(zone) { in withZone()
DBestClock.java40 public BestClock(ZoneId zone, Clock... clocks) { in BestClock() argument
41 super(zone); in BestClock()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/utils/
DZoneGetterTest.java79 for (Map<String, Object> zone : zones) { in getZonesList_checkTypes()
80 assertTrue(zone.get(ZoneGetter.KEY_DISPLAYNAME) instanceof String); in getZonesList_checkTypes()
81 assertTrue(zone.get(ZoneGetter.KEY_DISPLAY_LABEL) instanceof CharSequence); in getZonesList_checkTypes()
82 assertTrue(zone.get(ZoneGetter.KEY_OFFSET) instanceof Integer); in getZonesList_checkTypes()
83 assertTrue(zone.get(ZoneGetter.KEY_OFFSET_LABEL) instanceof CharSequence); in getZonesList_checkTypes()
84 assertTrue(zone.get(ZoneGetter.KEY_ID) instanceof String); in getZonesList_checkTypes()
85 assertTrue(zone.get(ZoneGetter.KEY_GMT) instanceof String); in getZonesList_checkTypes()
/frameworks/base/core/proto/android/os/
Dpagetypeinfo.proto31 * The memory has multiple zones, e.g. DMA zone, Normal zone
32 * Each zone has 11 free area. Each free area corresponds to pages of the same order.
35 * Each zone has 11 * 6 = 66 free list.
52 // Memory zone.
53 optional string zone = 2; field
70 // Memory zone.
71 optional string zone = 2; field
/frameworks/base/cmds/incident_helper/testdata/
Dpagetypeinfo.txt5 Node 0, zone DMA, type Unmovable 426 279 226 1 1 1 0 0…
6 Node 0, zone Normal, type Reclaimable 953 773 437 154 92 26 15 14…
9 Node 0, zone DMA 74 9 337 41 1 0
10 Node 0, zone Normal 70 12 423 0 1 0
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/hvac/
DHvacController.java78 public void onErrorEvent(final int propertyId, final int zone) {
80 + " zone: " + zone);
137 int zone = view.getAreaId(); in initComponent() local
149 if (mHvacManager == null || !mHvacManager.isPropertyAvailable(id, zone)) { in initComponent()
153 view.setTemp(mHvacManager.getFloatProperty(id, zone)); in initComponent()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/nitz/
DTimeZoneLookupHelperTest.java234 new OffsetResult(zone("Europe/Andorra"), true /* isOnlyMatch */); in testLookupByNitzCountry_dstKnownAndUnknown()
262 new OffsetResult(zone("Europe/Andorra"), true /* isOnlyMatch */); in testLookupByNitzCountry_dstKnownAndUnknown()
289 new OffsetResult(zone("Europe/Andorra"), true /* isOnlyMatch */); in testLookupByNitzCountry_dstKnownAndUnknown()
306 new OffsetResult(zone("Europe/Andorra"), true /* isOnlyMatch */); in testLookupByNitzCountry_dstKnownAndUnknown()
379 assertEquals(zone("Pacific/Auckland"), majorityOffsetResult.getTimeZone()); in testDefaultBoostBehavior()
388 assertEquals(zone("Pacific/Chatham"), chathamOffsetResult.getTimeZone()); in testDefaultBoostBehavior()
419 assertEquals(zone("Pacific/Chuuk"), chuukOffsetResult.getTimeZone()); in testNoDefaultBoostBehavior()
479 GregorianCalendar calendar = new GregorianCalendar(zone("UTC")); in createUtcTime()
485 private static TimeZone zone(String zoneId) { in zone() method in TimeZoneLookupHelperTest
DNitzStateMachineTestSupport.java119 mZone = zone(zoneId); in Scenario()
158 mZone = zone(timeZoneId); in changeCountry()
259 Calendar cal = new GregorianCalendar(zone("Etc/UTC")); in createUtcTime()
292 private static TimeZone zone(String zoneId) { in zone() method in NitzStateMachineTestSupport
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DNitzData.java125 TimeZone zone = null; in parse() local
128 zone = TimeZone.getTimeZone(tzname); in parse()
131 c.getTimeInMillis(), zone); in parse()
/frameworks/base/core/java/android/util/
DRecurrenceRule.java71 public static RecurrenceRule buildRecurringMonthly(int dayOfMonth, ZoneId zone) { in buildRecurringMonthly() argument
73 final ZonedDateTime now = ZonedDateTime.now(sClock).withZoneSameInstant(zone); in buildRecurringMonthly()
76 LocalTime.MIDNIGHT, zone); in buildRecurringMonthly()
/frameworks/base/core/java/android/app/
DIAlarmManager.aidl38 void setTimeZone(String zone); in setTimeZone() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DResponseData.java265 TimeZone zone = TimeZone.getTimeZone(tz); in format() local
266 int zoneOffset = zone.getOffset(mCalendar.getTimeInMillis()); in format()
/frameworks/base/core/proto/android/stats/dnsresolver/
Ddns_resolver.proto62 NS_R_NOTAUTH = 9; // Not authoritative for zone
63 NS_R_NOTZONE = 10; // Zone of record different from zone section
90 NS_T_SOA = 6; // Start of authority zone.
140 NS_T_IXFR = 251; // Incremental zone transfer.
141 NS_T_AXFR = 252; // Transfer zone of authority.
/frameworks/opt/telephony/src/java/com/android/internal/telephony/nitz/
DTimeZoneLookupHelper.java265 for (String zone : zones) { in lookupByInstantOffsetDst()
266 TimeZone tz = TimeZone.getFrozenTimeZone(zone); in lookupByInstantOffsetDst()
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/util/
DCarDrivingStateMonitor.java89 public void onErrorEvent(int propertyId, int zone) {}
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
Dfind_region.rscript115 (p - regionInSearch.zw); // positive if outside of exclusion zone
/frameworks/base/core/proto/android/service/
Dprocstats.proto97 optional string zone = 2; field
/frameworks/base/services/core/java/com/android/server/
DAlarmManagerService.java1646 TimeZone zone = TimeZone.getTimeZone(tz); in setTimeZoneImpl() local
1652 if (current == null || !current.equals(zone.getID())) { in setTimeZoneImpl()
1654 Slog.v(TAG, "timezone changed: " + current + ", new=" + zone.getID()); in setTimeZoneImpl()
1657 SystemProperties.set(TIMEZONE_PROPERTY, zone.getID()); in setTimeZoneImpl()
1662 int gmtOffset = zone.getOffset(mInjector.getCurrentTimeMillis()); in setTimeZoneImpl()
1678 intent.putExtra("time-zone", zone.getID()); in setTimeZoneImpl()
4262 TimeZone zone = TimeZone.getTimeZone(SystemProperties.get(TIMEZONE_PROPERTY)); in onReceive() local
4263 int gmtOffset = zone.getOffset(mInjector.getCurrentTimeMillis()); in onReceive()
/frameworks/base/core/proto/android/app/
Dsettings_enums.proto1429 // OPEN: Settings > Date & time > Select time zone
2027 // OPEN: Settings > Date & time > Select time zone -> Region
2032 // OPEN: Settings > Date & time > Select time zone -> Time Zone
2036 // OPEN: Settings > Date & time > Select time zone -> Select UTC Offset
/frameworks/base/services/tests/servicestests/src/com/android/server/timezone/
DPackageTrackerTest.java1500 public Clock withZone(ZoneId zone) { in withZone() argument
/frameworks/base/config/
Dpreloaded-classes6387 java.time.zone.IcuZoneRulesProvider$ZoneRulesCache
6388 java.time.zone.IcuZoneRulesProvider
6389 java.time.zone.ZoneOffsetTransition
6390 java.time.zone.ZoneOffsetTransitionRule$1
6391 java.time.zone.ZoneOffsetTransitionRule$TimeDefinition
6392 java.time.zone.ZoneOffsetTransitionRule
6393 java.time.zone.ZoneRules
6394 java.time.zone.ZoneRulesException
6395 java.time.zone.ZoneRulesProvider
Dboot-image-profile.txt28088 HSPLjava/time/ZoneRegion;->getRules()Ljava/time/zone/ZoneRules;
28261 HSPLjava/time/zone/IcuZoneRulesProvider$ZoneRulesCache;->create(Ljava/lang/Object;)Ljava/lang/Objec…
28262 HSPLjava/time/zone/IcuZoneRulesProvider$ZoneRulesCache;->create(Ljava/lang/String;)Ljava/time/zone/…
28263 HSPLjava/time/zone/IcuZoneRulesProvider;-><init>()V
28264 HSPLjava/time/zone/IcuZoneRulesProvider;->generateZoneRules(Ljava/lang/String;)Ljava/time/zone/Zone…
28265 HSPLjava/time/zone/IcuZoneRulesProvider;->provideRules(Ljava/lang/String;Z)Ljava/time/zone/ZoneRule…
28266 HSPLjava/time/zone/IcuZoneRulesProvider;->provideZoneIds()Ljava/util/Set;
28267 HSPLjava/time/zone/IcuZoneRulesProvider;->toZoneOffsetTransitionRule(Landroid/icu/util/AnnualTimeZo…
28268 HSPLjava/time/zone/ZoneOffsetTransitionRule$TimeDefinition;-><init>(Ljava/lang/String;I)V
28269 HSPLjava/time/zone/ZoneOffsetTransitionRule$TimeDefinition;->createDateTime(Ljava/time/LocalDateTim…
[all …]
Dhiddenapi-greylist-max-o.txt31281 Landroid/icu/util/Calendar;->zone:Landroid/icu/util/TimeZone;
52463 Landroid/os/SimpleClock;->zone:Ljava/time/ZoneId;
106809 Ljava/time/Clock$FixedClock;->zone:Ljava/time/ZoneId;
106814 Ljava/time/Clock$SystemClock;->zone:Ljava/time/ZoneId;
106850 Ljava/time/format/DateTimeFormatter;->zone:Ljava/time/ZoneId;
107132 Ljava/time/format/Parsed;->zone:Ljava/time/ZoneId;
107331 Ljava/time/zone/ZoneOffsetTransition;-><init>(JLjava/time/ZoneOffset;Ljava/time/ZoneOffset;)V
107332 Ljava/time/zone/ZoneOffsetTransition;-><init>(Ljava/time/LocalDateTime;Ljava/time/ZoneOffset;Ljava/…
107333 Ljava/time/zone/ZoneOffsetTransition;->getDurationSeconds()I
107334 Ljava/time/zone/ZoneOffsetTransition;->getValidOffsets()Ljava/util/List;
[all …]
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto2555 // OPEN: Settings > Date & time > Select time zone
5690 // OPEN: Settings > Date & time > Select time zone -> Region
5695 // OPEN: Settings > Date & time > Select time zone -> Time Zone
5700 // OPEN: Settings > Date & time > Select time zone -> Select UTC Offset
/frameworks/base/cmds/statsd/src/
Datoms.proto5223 optional string zone = 2; field
7042 * Information about the time zone data on a device.

12