Home
last modified time | relevance | path

Searched refs:AlarmClockInfo (Results 1 – 25 of 46) sorted by relevance

12

/frameworks/base/apex/jobscheduler/framework/java/android/app/
DAlarmManager.java911 public void setAlarmClock(@NonNull AlarmClockInfo info, @NonNull PendingIntent operation) { in setAlarmClock()
1042 AlarmClockInfo alarmClock) { in setImpl()
1051 AlarmClockInfo alarmClock) { in setImpl()
1539 public AlarmClockInfo getNextAlarmClock() { in getNextAlarmClock()
1559 public AlarmClockInfo getNextAlarmClock(int userId) { in getNextAlarmClock()
1573 public static final class AlarmClockInfo implements Parcelable { class in AlarmManager
1586 public AlarmClockInfo(long triggerTime, PendingIntent showIntent) { in AlarmClockInfo() method in AlarmManager.AlarmClockInfo
1596 AlarmClockInfo(Parcel in) { in AlarmClockInfo() method in AlarmManager.AlarmClockInfo
1636 … static final @android.annotation.NonNull Creator<AlarmClockInfo> CREATOR = new Creator<AlarmClock…
1638 public AlarmClockInfo createFromParcel(Parcel in) {
[all …]
DIAlarmManager.aidl35 … String listenerTag, in WorkSource workSource, in AlarmManager.AlarmClockInfo alarmClock); in set()
45 AlarmManager.AlarmClockInfo getNextAlarmClock(int userId); in getNextAlarmClock()
DAlarmManager.aidl19 parcelable AlarmManager.AlarmClockInfo;
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/alarm/domain/interactor/
DAlarmTileUserActionInteractorTest.kt19 import android.app.AlarmManager.AlarmClockInfo
43 val alarmInfo = AlarmClockInfo(1L, null) in <lambda>()
56 val alarmInfo = AlarmClockInfo(1L, expectedIntent) in <lambda>()
DAlarmTileDataInteractorTest.kt62 val alarmInfo = AlarmManager.AlarmClockInfo(expectedTriggerTime, mock<PendingIntent>()) in <lambda>()
86 val alarmInfo = AlarmManager.AlarmClockInfo(1L, mock<PendingIntent>()) in <lambda>()
105 val alarmInfo = AlarmManager.AlarmClockInfo(1L, mock<PendingIntent>()) in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/alarm/domain/
DAlarmTileMapperTest.kt81 AlarmTileModel.NextAlarmSet(true, AlarmManager.AlarmClockInfo(triggerTime, null)) in nextAlarmSet24HourFormat()
100 AlarmTileModel.NextAlarmSet(false, AlarmManager.AlarmClockInfo(triggerTime, null)) in nextAlarmSet12HourFormat()
120 AlarmTileModel.NextAlarmSet(false, AlarmManager.AlarmClockInfo(triggerTime, null)) in nextAlarmSetMoreThanAWeekLater_mapsSecondaryLabelToDisplayDateOnly()
140 AlarmTileModel.NextAlarmSet(false, AlarmManager.AlarmClockInfo(triggerTime, null)) in nextAlarmSetOneMinuteLessThanAWeekLater_mapsSecondaryLabelToDisplayTime()
160 AlarmTileModel.NextAlarmSet(false, AlarmManager.AlarmClockInfo(triggerTime, null)) in nextAlarmSetExactlyAWeekLater_mapsSecondaryLabelToDisplayDateOnly()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/
DFakeNextAlarmController.java29 private AlarmManager.AlarmClockInfo mNextAlarm = null;
39 public void setNextAlarm(AlarmManager.AlarmClockInfo nextAlarm) { in setNextAlarm()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DAlarmTile.kt4 import android.app.AlarmManager.AlarmClockInfo in <lambda>()
58 private var lastAlarmInfo: AlarmManager.AlarmClockInfo? = null in <lambda>()
107 private fun formatNextAlarm(info: AlarmClockInfo): String { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/alarm/domain/model/
DAlarmTileModel.kt26 val alarmClockInfo: AlarmManager.AlarmClockInfo
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNextAlarmController.java25 void onNextAlarmChanged(AlarmManager.AlarmClockInfo nextAlarm); in onNextAlarmChanged()
DNextAlarmControllerImpl.java53 private AlarmManager.AlarmClockInfo mNextAlarm;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DKeyguardSliceProviderTest.java180 … AlarmManager.AlarmClockInfo alarmClockInfo = new AlarmManager.AlarmClockInfo(in16Hours, null); in schedulesAlarm12hBefore()
192 … AlarmManager.AlarmClockInfo alarmClockInfo = new AlarmManager.AlarmClockInfo(in16Hours, null); in updatingNextAlarmInvalidatesSlice()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DAlarmTileTest.kt138 val alarmInfo = AlarmManager.AlarmClockInfo(1L, pendingIntent) in testActiveAfterNextAlarm()
147 val alarmInfo = AlarmManager.AlarmClockInfo(1L, pendingIntent) in testActivityStartedWhenNextAlarm()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/shade/data/repository/
DShadeHeaderClockRepositoryTest.kt55 callback.onNextAlarmChanged(AlarmManager.AlarmClockInfo(1L, mock())) in nextAlarmIntent_updates()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/
DAlarmTest.java62 final AlarmManager.AlarmClockInfo info = mock(AlarmManager.AlarmClockInfo.class); in createAlarmClock()
DAlarmStoreTest.java71 final AlarmManager.AlarmClockInfo info = new AlarmManager.AlarmClockInfo(whenElapsed, in createAlarmClock()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/shade/domain/interactor/
DShadeHeaderClockInteractorTest.kt69 callback.onNextAlarmChanged(AlarmManager.AlarmClockInfo(1L, mock())) in launchClockActivity_nextAlarmIntent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardSliceProvider.java136 private AlarmManager.AlarmClockInfo mNextAlarmInfo;
384 private boolean withinNHoursLocked(AlarmManager.AlarmClockInfo alarmClockInfo, int hours) { in withinNHoursLocked()
452 public void onNextAlarmChanged(AlarmManager.AlarmClockInfo nextAlarm) { in onNextAlarmChanged()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
DAlarm.java113 public final AlarmManager.AlarmClockInfo alarmClock;
135 AlarmManager.AlarmClockInfo info, int uid, String pkgName, Bundle idleOptions, in Alarm()
DAlarmManagerService.java370 private final SparseArray<AlarmManager.AlarmClockInfo> mNextAlarmClockForUser =
372 private final SparseArray<AlarmManager.AlarmClockInfo> mTmpSparseAlarmClockArray =
382 private final SparseArray<AlarmManager.AlarmClockInfo> mHandlerSparseAlarmClockArray =
2180 int flags, WorkSource workSource, AlarmManager.AlarmClockInfo alarmClock, in setImpl()
2286 AlarmManager.AlarmClockInfo alarmClock, int callingUid, String callingPackage, in setImplLocked()
2707 WorkSource workSource, AlarmManager.AlarmClockInfo alarmClock) {
2955 public AlarmManager.AlarmClockInfo getNextAlarmClock(int userId) {
3185 final AlarmManager.AlarmClockInfo next = mNextAlarmClockForUser.get(user); in dumpImpl()
3562 final AlarmManager.AlarmClockInfo next = mNextAlarmClockForUser.get(user); in dumpProto()
3723 AlarmManager.AlarmClockInfo getNextAlarmClockImpl(int userId) { in getNextAlarmClockImpl()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/ambient/statusbar/ui/
DAmbientStatusBarViewController.java262 final AlarmManager.AlarmClockInfo alarm = in updateAlarmStatusIcon()
288 private String buildAlarmContentDescription(AlarmManager.AlarmClockInfo alarm) { in buildAlarmContentDescription()
/frameworks/base/core/proto/android/app/
Dalarmmanager.proto49 // An android.app.AlarmManager.AlarmClockInfo object.
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicyTest.kt274 private fun createAlarmInfo(): AlarmManager.AlarmClockInfo { in createAlarmInfo()
275 return AlarmManager.AlarmClockInfo(10L, null) in createAlarmInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicy.java24 import android.app.AlarmManager.AlarmClockInfo;
171 private AlarmManager.AlarmClockInfo mNextAlarm;
389 final AlarmClockInfo alarm = mAlarmManager.getNextAlarmClock(mUserTracker.getUserId()); in updateAlarm()
621 public void onNextAlarmChanged(AlarmManager.AlarmClockInfo nextAlarm) {
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/ambient/statusbar/ui/
DAmbientStatusBarViewControllerTest.java184 final AlarmManager.AlarmClockInfo alarmClockInfo = in testOnViewAttachedShowsAlarmIconWhenAlarmExists()
185 new AlarmManager.AlarmClockInfo(1L, null); in testOnViewAttachedShowsAlarmIconWhenAlarmExists()

12