Home
last modified time | relevance | path

Searched refs:zone (Results 1 – 25 of 33) 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/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/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/core/proto/android/app/
Dtime_zone_detector.proto25 // Represents a GeolocationTimeZoneSuggestion that can be / has been passed to the time zone
35 * An obfuscated and simplified time zone suggestion for metrics use.
37 * The suggestion's time zone IDs (which relate to location) are obfuscated by
39 * several objects (i.e. so the same time zone ID is always mapped to the same
42 * device's current time zone?", without leaking knowledge of location. Ordinals
55 // The ordinals for time zone(s) in the suggestion. Always empty for
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/nitz/
DTimeZoneLookupHelperTest.java237 new OffsetResult(zone("Europe/Andorra"), true /* isOnlyMatch */); in testLookupByNitzCountry_dstKnownAndUnknown()
265 new OffsetResult(zone("Europe/Andorra"), true /* isOnlyMatch */); in testLookupByNitzCountry_dstKnownAndUnknown()
292 new OffsetResult(zone("Europe/Andorra"), true /* isOnlyMatch */); in testLookupByNitzCountry_dstKnownAndUnknown()
309 new OffsetResult(zone("Europe/Andorra"), true /* isOnlyMatch */); in testLookupByNitzCountry_dstKnownAndUnknown()
382 assertEquals(zone("Pacific/Auckland"), majorityOffsetResult.getTimeZone()); in testDefaultBoostBehavior()
391 assertEquals(zone("Pacific/Chatham"), chathamOffsetResult.getTimeZone()); in testDefaultBoostBehavior()
422 assertEquals(zone("Pacific/Chuuk"), chuukOffsetResult.getTimeZone()); in testNoDefaultBoostBehavior()
494 GregorianCalendar calendar = new GregorianCalendar(zone("UTC")); in createUtcTime()
500 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.java119 TimeZone zone = null; in parse() local
122 zone = TimeZone.getTimeZone(tzname); in parse()
124 return new NitzData(nitz, totalUtcOffsetMillis, dstAdjustmentMillis, epochMillis, zone); in parse()
/frameworks/base/core/java/android/service/controls/
DControl.java146 @Nullable CharSequence zone, in Control() argument
169 mZone = zone; in Control()
529 public StatelessBuilder setZone(@Nullable CharSequence zone) { in setZone() argument
530 mZone = zone; in setZone()
732 public StatefulBuilder setZone(@Nullable CharSequence zone) { in setZone() argument
733 mZone = zone; in setZone()
/frameworks/base/core/java/android/util/
DRecurrenceRule.java73 public static RecurrenceRule buildRecurringMonthly(int dayOfMonth, ZoneId zone) { in buildRecurringMonthly() argument
75 final ZonedDateTime now = ZonedDateTime.now(sClock).withZoneSameInstant(zone); in buildRecurringMonthly()
78 LocalTime.MIDNIGHT, zone); in buildRecurringMonthly()
/frameworks/base/apex/jobscheduler/framework/java/android/app/
DIAlarmManager.aidl38 void setTimeZone(String zone); in setTimeZone() argument
/frameworks/base/core/java/android/widget/
DTextClock.java198 ZoneId zone = mTime.getTimeZone().toZoneId();
202 nextTick = now.atZone(zone).plusSeconds(1).withNano(0);
204 nextTick = now.atZone(zone).plusMinutes(1).withSecond(0).withNano(0);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DResponseData.java266 TimeZone zone = TimeZone.getTimeZone(tz); in format() local
267 int zoneOffset = zone.getOffset(mCalendar.getTimeInMillis()); in format()
/frameworks/proto_logging/stats/enums/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.java269 for (String zone : zones) { in lookupByInstantOffsetDst()
270 TimeZone tz = TimeZone.getFrozenTimeZone(zone); in lookupByInstantOffsetDst()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
DAllModel.kt89 it.control.zone ?: "" in <lambda>()
DControlAdapter.kt175 private val zone: TextView = itemView as TextView constant
179 zone.text = wrapper.zoneName in bindData()
/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/proto_logging/stats/enums/app/
Dtvsettings_enums.proto609 // TvSettings > System > Date & time > Set time zone
612 // TvSettings > System > Date & time > Set time zone > [A time zone button]
Dsettings_enums.proto1712 // OPEN: Settings > Date & time > Select time zone
2310 // OPEN: Settings > Date & time > Select time zone -> Region
2315 // OPEN: Settings > Date & time > Select time zone -> Time Zone
2319 // OPEN: Settings > Date & time > Select time zone -> Select UTC Offset
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
DAlarmManagerService.java1894 TimeZone zone = TimeZone.getTimeZone(tz); in setTimeZoneImpl() local
1900 if (current == null || !current.equals(zone.getID())) { in setTimeZoneImpl()
1902 Slog.v(TAG, "timezone changed: " + current + ", new=" + zone.getID()); in setTimeZoneImpl()
1905 SystemProperties.set(TIMEZONE_PROPERTY, zone.getID()); in setTimeZoneImpl()
1910 int gmtOffset = zone.getOffset(mInjector.getCurrentTimeMillis()); in setTimeZoneImpl()
1926 intent.putExtra(Intent.EXTRA_TIMEZONE, zone.getID()); in setTimeZoneImpl()
4465 TimeZone zone = TimeZone.getTimeZone(SystemProperties.get(TIMEZONE_PROPERTY)); in onReceive() local
4466 int gmtOffset = zone.getOffset(mInjector.getCurrentTimeMillis()); in onReceive()
/frameworks/base/core/proto/android/service/
Dprocstats.proto97 optional string zone = 2; field
/frameworks/base/services/tests/servicestests/src/com/android/server/timezone/
DPackageTrackerTest.java1500 public Clock withZone(ZoneId zone) { in withZone() argument

12