/frameworks/base/core/java/android/os/ |
D | SimpleClock.java | 25 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()
|
D | BestClock.java | 40 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/ |
D | ZoneGetterTest.java | 79 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/ |
D | pagetypeinfo.txt | 5 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/ |
D | pagetypeinfo.proto | 31 * 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/libs/net/common/framework/com/android/net/module/util/ |
D | BestClock.java | 44 public BestClock(ZoneId zone, Clock... clocks) { in BestClock() argument 46 this.mZone = zone; in BestClock() 70 public Clock withZone(ZoneId zone) { in withZone() argument 71 return new BestClock(zone, mClocks); in withZone()
|
/frameworks/base/core/proto/android/app/ |
D | time_zone_detector.proto | 25 // Represents a GeolocationTimeZoneSuggestion that can be / has been passed to the time zone 35 * A generic-form time zone suggestion for metrics use. Required to be a superset of the 47 // The ordinals for time zone(s) in the suggestion. Always empty for 51 // The suggestion's time zone IDs (which relate to location) are obfuscated by 53 // several objects (i.e. so the same time zone ID is always mapped to the same 56 // device's current time zone?", without leaking knowledge of location. Ordinals 61 // The actual time zone ID(s) in the suggestion. Similar to time_zone_ordinals
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/nitz/ |
D | TimeZoneLookupHelperTest.java | 243 new OffsetResult(zone("Europe/Andorra"), true /* isOnlyMatch */); in testLookupByNitzCountry_dstKnownAndUnknown() 271 new OffsetResult(zone("Europe/Andorra"), true /* isOnlyMatch */); in testLookupByNitzCountry_dstKnownAndUnknown() 298 new OffsetResult(zone("Europe/Andorra"), true /* isOnlyMatch */); in testLookupByNitzCountry_dstKnownAndUnknown() 315 new OffsetResult(zone("Europe/Andorra"), true /* isOnlyMatch */); in testLookupByNitzCountry_dstKnownAndUnknown() 388 assertEquals(zone("Pacific/Auckland"), majorityOffsetResult.getTimeZone()); in testDefaultBoostBehavior() 397 assertEquals(zone("Pacific/Chatham"), chathamOffsetResult.getTimeZone()); in testDefaultBoostBehavior() 428 assertEquals(zone("Pacific/Chuuk"), chuukOffsetResult.getTimeZone()); in testNoDefaultBoostBehavior() 500 GregorianCalendar calendar = new GregorianCalendar(zone("UTC")); in createUnixEpochTime() 506 private static TimeZone zone(String zoneId) { in zone() method in TimeZoneLookupHelperTest
|
D | NitzStateMachineTestSupport.java | 122 mZone = zone(zoneId); in Scenario() 163 mZone = zone(timeZoneId); in changeCountry() 284 Calendar cal = new GregorianCalendar(zone("Etc/UTC")); in createUnixEpochTime() 310 private static TimeZone zone(String zoneId) { in zone() method in NitzStateMachineTestSupport
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | NitzData.java | 119 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/ |
D | Control.java | 149 @Nullable CharSequence zone, in Control() argument 173 mZone = zone; in Control() 544 public StatelessBuilder setZone(@Nullable CharSequence zone) { in setZone() argument 545 mZone = zone; in setZone() 751 public StatefulBuilder setZone(@Nullable CharSequence zone) { in setZone() argument 752 mZone = zone; in setZone()
|
/frameworks/base/core/java/android/service/timezone/ |
D | OWNERS | 2 # System APIs for system server time zone detection plugins.
|
/frameworks/base/core/java/android/app/timezonedetector/ |
D | OWNERS | 2 # Internal APIs related to time zone detection. SDK APIs are in android.app.time.
|
/frameworks/base/core/java/android/app/timezone/ |
D | OWNERS | 2 # Internal APIs related to APK-based time zone rule updates.
|
/frameworks/base/core/java/android/app/time/ |
D | OWNERS | 2 # The app-facing APIs related to both time and time zone detection.
|
/frameworks/base/core/java/android/timezone/ |
D | OWNERS | 2 # APIs originally intended to provide a stable API surface to access time zone rules data for use by
|
/frameworks/base/core/java/android/util/ |
D | RecurrenceRule.java | 73 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/services/core/java/com/android/server/timezonedetector/ |
D | OWNERS | 2 # This is the main list for platform time / time zone detection maintainers, for this dir and
|
/frameworks/base/apex/jobscheduler/framework/java/android/app/ |
D | IAlarmManager.aidl | 38 void setTimeZone(String zone); in setTimeZone() argument
|
/frameworks/base/core/java/android/widget/ |
D | TextClock.java | 198 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/ |
D | ResponseData.java | 266 TimeZone zone = TimeZone.getTimeZone(tz); in format() local 267 int zoneOffset = zone.getOffset(mCalendar.getTimeInMillis()); in format()
|
/frameworks/proto_logging/stats/enums/stats/dnsresolver/ |
D | dns_resolver.proto | 62 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/ |
D | TimeZoneLookupHelper.java | 269 for (String zone : zones) { in lookupByInstantOffsetDst() 270 TimeZone tz = TimeZone.getFrozenTimeZone(zone); in lookupByInstantOffsetDst()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/ |
D | AllModel.kt | 89 it.control.zone ?: "" in <lambda>()
|
D | ControlAdapter.kt | 198 private val zone: TextView = itemView as TextView constant 202 zone.text = wrapper.zoneName in bindData()
|