Searched refs:alarmId (Results 1 – 8 of 8) sorted by relevance
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
D | Alarm.kt | 343 fun createIntent(context: Context?, cls: Class<*>?, alarmId: Long): Intent { in createIntent() 344 return Intent(context, cls).setData(getContentUri(alarmId)) in createIntent() 347 fun getContentUri(alarmId: Long): Uri { in getContentUri() 348 return ContentUris.withAppendedId(AlarmsColumns.CONTENT_URI, alarmId) in getContentUri() 397 fun getAlarm(cr: ContentResolver, alarmId: Long): Alarm? { in getAlarm() 398 val cursor: Cursor? = cr.query(getContentUri(alarmId), QUERY_COLUMNS, null, null, null) in getAlarm() 470 fun deleteAlarm(contentResolver: ContentResolver, alarmId: Long): Boolean { in deleteAlarm() 471 if (alarmId == INVALID_ID) return false in deleteAlarm() 472 val deletedRows: Int = contentResolver.delete(getContentUri(alarmId), "", null) in deleteAlarm()
|
D | AlarmInstance.kt | 65 constructor(calendar: Calendar, alarmId: Long?) : this(calendar) { 66 mAlarmId = alarmId 382 alarmId: Long in getInstancesByAlarmId() 384 return getInstances(contentResolver, InstancesColumns.ALARM_ID + "=" + alarmId) in getInstancesByAlarmId() 396 alarmId: Long in getNextUpcomingInstanceByAlarmId() 398 val alarmInstances = getInstancesByAlarmId(contentResolver, alarmId) in getNextUpcomingInstanceByAlarmId() 515 alarmId: Long, in deleteOtherInstances() 518 val instances = getInstancesByAlarmId(contentResolver, alarmId) in deleteOtherInstances()
|
D | ClockProvider.kt | 208 val alarmId: String? in update() constant 212 alarmId = uri.getLastPathSegment() in update() 214 BaseColumns._ID.toString() + "=" + alarmId, in update() 218 alarmId = uri.getLastPathSegment() in update() 220 BaseColumns._ID.toString() + "=" + alarmId, in update() 227 LogUtils.v("*** notifyChange() id: $alarmId url $uri") in update()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | AlarmClockFragment.kt | 188 val alarmId = intent.getLongExtra(SCROLL_TO_ALARM_INTENT_EXTRA, Alarm.INVALID_ID) in onResume() constant 189 if (alarmId != Alarm.INVALID_ID) { in onResume() 190 setSmoothScrollStableId(alarmId) in onResume() 315 private fun scrollToAlarm(alarmId: Long) { in scrollToAlarm() 320 if (id == alarmId) { in scrollToAlarm() 327 mItemAdapter.findItemById(alarmId)?.expand() in scrollToAlarm()
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
D | AlarmStateManager.kt | 819 fun deleteAllInstances(context: Context, alarmId: Long) { in <lambda>() 820 LogUtils.i("Deleting all instances of alarm: $alarmId") in <lambda>() 822 val instances = AlarmInstance.getInstancesByAlarmId(cr, alarmId) in <lambda>() 834 fun deleteNonSnoozeInstances(context: Context, alarmId: Long) { in <lambda>() 835 LogUtils.i("Deleting all non-snooze instances of alarm: $alarmId") in <lambda>() 837 val instances = AlarmInstance.getInstancesByAlarmId(cr, alarmId) in <lambda>() 990 val alarmId = instance.mAlarmId ?: Alarm.INVALID_ID in <lambda>() constant 992 Alarm.createIntent(context, DeskClock::class.java, alarmId) in <lambda>() 993 .putExtra(AlarmClockFragment.SCROLL_TO_ALARM_INTENT_EXTRA, alarmId) in <lambda>()
|
D | AlarmTimeClickHandler.kt | 101 val alarmId = alarm.id.toString() in setAlarmRepeatEnabled() constant 106 val bitSet: Int = mPreviousDaysOfWeekMap!!.getInt(alarmId) in setAlarmRepeatEnabled() 114 mPreviousDaysOfWeekMap!!.putInt(alarmId, bitSet) in setAlarmRepeatEnabled()
|
D | AlarmNotifications.kt | 585 val alarmId = instance.mAlarmId ?: Alarm.INVALID_ID in createViewAlarmIntent() constant 586 return Alarm.createIntent(context, DeskClock::class.java, alarmId) in createViewAlarmIntent() 587 .putExtra(AlarmClockFragment.SCROLL_TO_ALARM_INTENT_EXTRA, alarmId) in createViewAlarmIntent()
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
D | GlobalDismissManager.java | 69 for (AlarmId alarmId: alarmIds) { in dismissGlobally() 70 eventIds.add(alarmId.mEventId); in dismissGlobally()
|