Home
last modified time | relevance | path

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

/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmClockFragment.kt70 private var mScrollToAlarmId = Alarm.INVALID_ID
71 private var mExpandedAlarmId = Alarm.INVALID_ID
85 mExpandedAlarmId = it.getLong(KEY_EXPANDED_ID, Alarm.INVALID_ID) in onCreate()
139 mExpandedAlarmId = Alarm.INVALID_ID in onCreateView()
188 val alarmId = intent.getLongExtra(SCROLL_TO_ALARM_INTENT_EXTRA, Alarm.INVALID_ID) in onResume()
189 if (alarmId != Alarm.INVALID_ID) { in onResume()
293 if (mExpandedAlarmId != Alarm.INVALID_ID) { in setAdapterItems()
300 mExpandedAlarmId = Alarm.INVALID_ID in setAdapterItems()
305 if (mScrollToAlarmId != Alarm.INVALID_ID) { in setAdapterItems()
307 setSmoothScrollStableId(Alarm.INVALID_ID) in setAdapterItems()
DHandleApiCalls.kt239 val createAlarm = Alarm.createIntent(this, DeskClock::class.java, Alarm.INVALID_ID) in handleSetAlarm()
/packages/apps/TV/src/com/android/tv/recommendation/
DNotificationService.java133 mNotificationChannels[i] = Channel.INVALID_ID; in onCreate()
202 if (mNotificationChannels[notificationId] == Channel.INVALID_ID in handleUpdateRecommendation()
282 if (mNotificationChannels[i] == Channel.INVALID_ID) { in showRecommendation()
299 mNotificationChannels[notificationId] = Channel.INVALID_ID; in showRecommendation()
319 if (mNotificationChannels[notificationId] != Channel.INVALID_ID) { in changeRecommendation()
320 mNotificationChannels[notificationId] = Channel.INVALID_ID; in changeRecommendation()
344 if (mNotificationChannels[i] != Channel.INVALID_ID) { in hideAllRecommendation()
345 mNotificationChannels[i] = Channel.INVALID_ID; in hideAllRecommendation()
416 if (mNotificationChannels[notificationId] == Channel.INVALID_ID) { in sendNotification()
544 if (mNotificationChannels[i] == Channel.INVALID_ID) {
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DDragAndDropAccessibilityDelegate.java65 return INVALID_ID; in getVirtualViewAt()
95 if (action == AccessibilityNodeInfoCompat.ACTION_CLICK && viewId != INVALID_ID) { in onPerformActionForVirtualView()
111 if (id == INVALID_ID) { in onPopulateEventForVirtualView()
119 if (id == INVALID_ID) { in onPopulateNodeForVirtualView()
/packages/apps/Dialer/java/com/android/dialer/blocking/
DFilteredNumberAsyncQueryHandler.java42 public static final int INVALID_ID = -1; field in FilteredNumberAsyncQueryHandler
121 listener.onCheckComplete(INVALID_ID); in isBlockedNumber()
144 listener.onCheckComplete(INVALID_ID); in isBlockedNumber()
151 listener.onCheckComplete(INVALID_ID); in isBlockedNumber()
152 blockedNumberCache.put(number, INVALID_ID); in isBlockedNumber()
/packages/apps/DeskClock/src/com/android/deskclock/provider/
DAlarmInstance.kt70 mId = INVALID_ID
260 const val INVALID_ID: Long = -1 constant
297 if (instance.mId != INVALID_ID) { in createContentValues()
497 if (instance.mId == INVALID_ID) return false in updateInstance()
506 if (instanceId == INVALID_ID) return false in deleteInstance()
DAlarm.kt80 id = INVALID_ID
250 const val INVALID_ID: Long = -1 constant
322 if (alarm.id != INVALID_ID) { in createContentValues()
462 if (alarm.id == INVALID_ID) return false in updateAlarm()
471 if (alarmId == INVALID_ID) return false in deleteAlarm()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DCustomizeChannelListFragment.java51 private long mInitialChannelId = Channel.INVALID_ID;
52 private long mLastFocusedChannelId = Channel.INVALID_ID;
94 if (mLastFocusedChannelId != Channel.INVALID_ID) { in onCreateView()
127 if (mLastFocusedChannelId != Channel.INVALID_ID in onCreateView()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/
DChannelsBlockedFragment.java50 private long mLastFocusedChannelId = Channel.INVALID_ID;
83 if (mLastFocusedChannelId != Channel.INVALID_ID) { in onCreateView()
198 mLastFocusedChannelId = Channel.INVALID_ID; in onFocused()
/packages/apps/TV/src/com/android/tv/dvr/
DDvrScheduleManager.java577 SoftPreconditions.checkState(channelId != Channel.INVALID_ID, TAG, "Invalid channel ID"); in getConflictingSchedules()
579 if (!mInitialized || channelId == Channel.INVALID_ID || startTimeMs >= endTimeMs) { in getConflictingSchedules()
660 SoftPreconditions.checkState(channelId != Channel.INVALID_ID, TAG, "Invalid channel ID"); in getConflictingSchedulesForTune()
664 if (!mInitialized || channelId == Channel.INVALID_ID || input == null) { in getConflictingSchedulesForTune()
713 SoftPreconditions.checkState(channelId != Channel.INVALID_ID, TAG, "Invalid channel ID"); in getConflictingSchedulesForWatching()
717 if (!mInitialized || channelId == Channel.INVALID_ID || input == null) { in getConflictingSchedulesForWatching()
/packages/apps/TV/src/com/android/tv/dvr/ui/
DDvrSeriesSettingsFragment.java126 mSelectedChannelId = Channel.INVALID_ID; in onAttach()
216 if (mSelectedChannelId != Channel.INVALID_ID) { in onGuidedActionClicked()
250 mSelectedChannelId = Channel.INVALID_ID; in onSubGuidedActionClicked()
DDvrConflictFragment.java301 SoftPreconditions.checkArgument(mChannelId != Channel.INVALID_ID); in onCreateView()
/packages/apps/TV/src/com/android/tv/util/
DUtils.java143 if (channelId == Channel.INVALID_ID) { in getInputIdForChannel()
225 .getLong(PREF_KEY_LAST_WATCHED_CHANNEL_ID, Channel.INVALID_ID); in getLastWatchedChannelId()
230 .getLong(PREF_KEY_LAST_WATCHED_CHANNEL_ID_FOR_INPUT + inputId, Channel.INVALID_ID); in getLastWatchedChannelIdForInput()
311 if (channelId == Channel.INVALID_ID) { in getProgramAt()
/packages/apps/TV/src/com/android/tv/data/api/
DChannel.java33 long INVALID_ID = -1; field
/packages/apps/TV/src/com/android/tv/
DMainActivity.java580 && channelId != Channel.INVALID_ID) { in onCreate()
593 Channel.INVALID_ID, mOnCurrentProgramUpdatedListener); in onCreate()
1057 if (channelId != Channel.INVALID_ID) { in startTv()
1528 if (programUriFromIntent != null && channelIdFromIntent != Channel.INVALID_ID) { in handleIntent()
1562 if (channelId == Channel.INVALID_ID) { in handleIntent()
1578 if (channelId == Channel.INVALID_ID) { in handleIntent()
2025 Channel.INVALID_ID, mOnCurrentProgramUpdatedListener);
DChannelTuner.java153 return mCurrentChannel != null ? mCurrentChannel.getId() : Channel.INVALID_ID; in getCurrentChannelId()
/packages/apps/TV/src/com/android/tv/data/
DChannelImpl.java458 return channel != null && (channel.getId() != INVALID_ID || channel.isPassthrough()); in isValid()
471 mChannel.mId = INVALID_ID; in Builder()
DProgramDataManager.java473 mChannelId2ProgramUpdatedListeners.get(Channel.INVALID_ID)) { in notifyCurrentProgramUpdate()
1016 .setChannelId(Channel.INVALID_ID) in createStubProgram()
DProgramImpl.java638 mProgram.mChannelId = Channel.INVALID_ID; in Builder()
/packages/apps/TV/src/com/android/tv/guide/
DProgramManager.java58 private static final long INVALID_ID = -1; field in ProgramManager
616 if (program.getChannelId() == INVALID_ID) { in createProgramEntries()
/packages/apps/TV/src/com/android/tv/ui/
DProgramDetailsFragment.java156 if (program != null && channelId != Channel.INVALID_ID && !TextUtils.isEmpty(inputId)) { in onLoadDetails()
/packages/apps/Dialer/java/com/android/incallui/
DInCallPresenter.java136 if (id != null && id != FilteredNumberAsyncQueryHandler.INVALID_ID) {
723 } else if (id == FilteredNumberAsyncQueryHandler.INVALID_ID) { in maybeBlockCall()
/packages/apps/Dialer/java/com/android/incallui/call/
DCallList.java199 if (id != null && id != FilteredNumberAsyncQueryHandler.INVALID_ID) { in onCallAdded()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmNotifications.kt585 val alarmId = instance.mAlarmId ?: Alarm.INVALID_ID in createViewAlarmIntent()
DAlarmStateManager.kt990 val alarmId = instance.mAlarmId ?: Alarm.INVALID_ID in <lambda>()