Home
last modified time | relevance | path

Searched refs:creationTime (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/base/core/java/android/app/
DAutomaticZenRule.java149 private long creationTime; field in AutomaticZenRule
236 long creationTime) { in AutomaticZenRule() argument
238 this.creationTime = creationTime; in AutomaticZenRule()
252 creationTime = source.readLong(); in AutomaticZenRule()
336 return creationTime; in getCreationTime()
542 dest.writeLong(creationTime); in writeToParcel()
565 .append(",creationTime=").append(creationTime) in toString()
608 && other.creationTime == creationTime; in equals()
624 configurationActivity, mZenPolicy, mDeviceEffects, mModified, creationTime, in hashCode()
628 configurationActivity, mZenPolicy, mModified, creationTime, mPkg); in hashCode()
[all …]
DNotification.java348 public long creationTime; field in Notification
2605 creationTime = when; in Notification()
2608 this.creationTime = System.currentTimeMillis(); in Notification()
2621 creationTime = when; in Notification()
2654 creationTime = when; in Notification()
2657 this.creationTime = System.currentTimeMillis(); in Notification()
2693 creationTime = parcel.readLong(); in readFromParcelImpl()
2812 that.creationTime = this.creationTime; in cloneInto()
3351 parcel.writeLong(creationTime); in writeToParcelImpl()
4233 return when != 0 && when != creationTime; in hasAppProvidedWhen()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DListEntry.java37 protected ListEntry(String key, long creationTime) { in ListEntry() argument
39 mCreationTime = creationTime; in ListEntry()
DGroupEntry.java39 GroupEntry(String key, long creationTime) { in GroupEntry() argument
40 super(key, creationTime); in GroupEntry()
DNotificationEntry.java253 long creationTime in NotificationEntry() argument
255 super(requireNonNull(requireNonNull(sbn).getKey()), creationTime); in NotificationEntry() local
/frameworks/base/core/java/android/content/pm/
DUserInfo.java237 public long creationTime; field in UserInfo
509 creationTime = orig.creationTime; in UserInfo()
565 dest.writeLong(creationTime); in writeToParcel()
594 creationTime = source.readLong(); in UserInfo()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/notification/collection/
DGroupEntryBuilder.java62 public GroupEntryBuilder setCreationTime(long creationTime) { in setCreationTime() argument
63 mCreationTime = creationTime; in setCreationTime()
DNotificationEntryBuilder.java116 final long creationTime = mCreationTime != -1 ? mCreationTime : mClock.uptimeMillis(); in buildOrApply() local
120 entry = new NotificationEntry(sbn, ranking, creationTime); in buildOrApply()
168 public NotificationEntryBuilder setCreationTime(long creationTime) { in setCreationTime() argument
169 mCreationTime = creationTime; in setCreationTime()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/data/repository/
DUserRepositoryImplTest.kt177 unsortedUsers[0].creationTime = 999 in <lambda>()
178 unsortedUsers[1].creationTime = 900 in <lambda>()
179 unsortedUsers[2].creationTime = 950 in <lambda>()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DZenModeConfigTest.java497 rule.creationTime = 123; in testWriteToParcel()
527 assertEquals(rule.creationTime, parceled.creationTime); in testWriteToParcel()
556 rule.creationTime = 123; in testRuleXml_classic()
578 assertEquals(rule.creationTime, fromXml.creationTime); in testRuleXml_classic()
613 rule.creationTime = CREATION_TIME; in testRuleXml()
638 assertEquals(rule.creationTime, fromXml.creationTime); in testRuleXml()
643 assertEquals(rule.creationTime, fromXml.creationTime); in testRuleXml()
DZenModeDiffTest.java328 rule.creationTime = 123; in makeRule()
/frameworks/base/core/java/android/service/notification/
DZenModeDiff.java535 if (from.creationTime != to.creationTime) { in RuleDiff()
537 new FieldDiff<>(from.creationTime, to.creationTime)); in RuleDiff()
DZenModeConfig.java1146 rt.creationTime = safeLong(parser, RULE_ATT_CREATION_TIME, 0); in readRuleXml()
1196 out.attributeLong(null, RULE_ATT_CREATION_TIME, rule.creationTime); in writeRuleXml()
2473 public long creationTime; // required for automatic field in ZenModeConfig.ZenRule
2507 creationTime = source.readLong(); in ZenRule()
2575 dest.writeLong(creationTime); in writeToParcel()
2619 .append(",creationTime=").append(creationTime) in toString()
2659 proto.write(ZenRuleProto.CREATION_TIME_MS, creationTime); in dumpDebug()
/frameworks/base/core/java/android/print/
DPrintJobInfo.java476 public void setCreationTime(long creationTime) { in setCreationTime() argument
477 if (creationTime < 0) { in setCreationTime()
480 mCreationTime = creationTime; in setCreationTime()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/io/
DFakeBasicFileAttributes.java48 public FileTime creationTime() { in creationTime() method in FakeBasicFileAttributes
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationHistoryDatabase.java244 final long creationTime = safeParseLong( in prune() local
248 + " created on " + creationTime); in prune()
251 if (creationTime <= retentionBoundary.getTimeInMillis()) { in prune()
DZenModeHelper.java751 rule.creationTime = mClock.millis(); in newImplicitZenRule()
1131 rule.creationTime = mClock.millis(); in populateZenRule()
1257 rule.creationTime = System.currentTimeMillis(); in populateZenRule()
1470 .setCreationTime(rule.creationTime) in zenRuleToAutomaticZenRule()
1487 rule.enabled, rule.creationTime); in zenRuleToAutomaticZenRule()
1665 automaticRule.creationTime = time; in readXml()
1829 if (RULE_INSTANCE_GRACE_PERIOD < (currentTime - rule.creationTime)) { in deleteRulesWithoutOwner()
DPreferencesHelper.java494 boolean showBadge, int bubblePreference, long creationTime) { in getOrCreatePackagePreferencesLocked() argument
511 r.creationTime = creationTime; in getOrCreatePackagePreferencesLocked()
532 && PREF_GRACE_PERIOD_MS < (mClock.millis() - r.creationTime)) { in getOrCreatePackagePreferencesLocked()
693 out.attributeLong(null, ATT_CREATION_TIME, r.creationTime); in writePackageXml()
2968 long creationTime; field in PreferencesHelper.PackagePreferences
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DGroupWhenCoordinator.kt103 return checkNotNull(groupEntry.summary).creationTime in <lambda>()
/frameworks/base/core/java/android/companion/
DAssociationRequest.java635 long creationTime = in.readLong(); in AssociationRequest() local
651 this.mCreationTime = creationTime; in AssociationRequest()
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/data/repository/
DUserRepository.kt236 .sortedBy { it.creationTime } in refreshUsers()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java1344 .that(profile.creationTime).isIn(Range.closed(startTime, endTime)); in testGetManagedProfileCreationTime()
1347 .that(profile.creationTime).isEqualTo(0); in testGetManagedProfileCreationTime()
1350 .isEqualTo(profile.creationTime); in testGetManagedProfileCreationTime()
1352 long ownerCreationTime = mUserManager.getUserInfo(mainUserId).creationTime; in testGetManagedProfileCreationTime()
1365 .that(user.creationTime).isIn(Range.closed(startTime, endTime)); in testGetUserCreationTime()
DUserManagerServiceUserInfoTest.java364 user.creationTime = 4L << 32; in createUser()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java1959 : now - userData.info.creationTime); in logQuietModeEnabled()
4680 if (info.isFull() && info.isAdmin() && info.creationTime >= 0 in getEarliestCreatedFullUser()
4681 && info.creationTime < earliestCreationTime) { in getEarliestCreatedFullUser()
4682 earliestCreationTime = info.creationTime; in getEarliestCreatedFullUser()
4828 serializer.attributeLong(null, ATTR_CREATION_TIME, userInfo.creationTime);
5038 long creationTime = 0L;
5084 creationTime = parser.getAttributeLong(null, ATTR_CREATION_TIME, 0);
5185 userInfo.creationTime = creationTime;
5549 userInfo.creationTime = getCreationTime();
5775 preCreatedUser.creationTime = getCreationTime();
[all …]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DPrintSpoolerService.java1182 String creationTime = parser.getAttributeValue(null, ATTR_CREATION_TIME); in parsePrintJobLocked() local
1183 printJob.setCreationTime(Long.parseLong(creationTime)); in parsePrintJobLocked()

12