Home
last modified time | relevance | path

Searched refs:zone (Results 1 – 25 of 30) 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/packages/CarSystemUI/src/com/android/systemui/car/hvac/
DHvacController.java89 public void onErrorEvent(final int propertyId, final int zone) {
91 + " zone: " + zone);
151 int zone = view.getAreaId(); in initComponent() local
153 Log.d(TAG, "initComponent: " + zone + ":" + id); in initComponent()
166 if (mHvacManager == null || !mHvacManager.isPropertyAvailable(id, zone)) { in initComponent()
170 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/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.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/base/packages/SystemUI/src/com/android/systemui/controls/management/
DAllModel.kt89 it.control.zone ?: "" in <lambda>()
/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/app/
Dtvsettings_enums.proto483 // TvSettings > System > Date & time > Set time zone
486 // TvSettings > System > Date & time > Set time zone > [A time zone button]
Dsettings_enums.proto1475 // OPEN: Settings > Date & time > Select time zone
2073 // OPEN: Settings > Date & time > Select time zone -> Region
2078 // OPEN: Settings > Date & time > Select time zone -> Time Zone
2082 // OPEN: Settings > Date & time > Select time zone -> Select UTC Offset
/frameworks/base/services/core/java/com/android/server/
DAlarmManagerService.java1647 TimeZone zone = TimeZone.getTimeZone(tz); in setTimeZoneImpl() local
1653 if (current == null || !current.equals(zone.getID())) { in setTimeZoneImpl()
1655 Slog.v(TAG, "timezone changed: " + current + ", new=" + zone.getID()); in setTimeZoneImpl()
1658 SystemProperties.set(TIMEZONE_PROPERTY, zone.getID()); in setTimeZoneImpl()
1663 int gmtOffset = zone.getOffset(mInjector.getCurrentTimeMillis()); in setTimeZoneImpl()
1679 intent.putExtra(Intent.EXTRA_TIMEZONE, zone.getID()); in setTimeZoneImpl()
4305 TimeZone zone = TimeZone.getTimeZone(SystemProperties.get(TIMEZONE_PROPERTY)); in onReceive() local
4306 int gmtOffset = zone.getOffset(mInjector.getCurrentTimeMillis()); in onReceive()
/frameworks/base/core/proto/android/service/
Dprocstats.proto97 optional string zone = 2; field
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/base/services/tests/servicestests/src/com/android/server/timezone/
DPackageTrackerTest.java1500 public Clock withZone(ZoneId zone) { in withZone() argument
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobSchedulerService.java172 public Clock withZone(ZoneId zone) { in withZone() argument
173 return new MySimpleClock(zone) { in withZone()

12