HomeSort by relevance Sort by last modified time
    Searched defs:channelId (Results 1 - 25 of 78) sorted by null

1 2 3 4

  /hardware/interfaces/radio/1.0/vts/functional/
radio_hidl_hal_utils.h 100 int channelId;
381 const RadioResponseInfo& info, int32_t channelId,
  /frameworks/base/core/java/android/app/
RecoverableSecurityException.java 121 final String channelId = TAG + "_" + mUserAction.getActionIntent().getCreatorUid();
122 nm.createNotificationChannel(new NotificationChannel(channelId, TAG,
125 showAsNotification(context, channelId);
142 * @param channelId the {@link NotificationChannel} to use, which must have
146 public void showAsNotification(Context context, String channelId) {
148 final Notification.Builder builder = new Notification.Builder(context, channelId)
  /frameworks/native/services/sensorservice/hidl/
SensorManager.cpp 91 int channelId = manager.createDirectChannel(
93 if (channelId < 0) {
94 _hidl_cb(nullptr, convertResult(channelId));
97 if (channelId == 0) {
102 _hidl_cb(sp<IDirectReportChannel>(new DirectReportChannel(manager, channelId)),
  /packages/apps/TV/src/com/android/tv/dvr/ui/
DvrChannelRecordDurationOptionFragment.java 45 long channelId = args.getLong(DvrHalfSizedDialogFragment.KEY_CHANNEL_ID);
47 .getChannel(channelId);
DvrStopRecordingFragment.java 109 long channelId = args.getLong(DvrHalfSizedDialogFragment.KEY_CHANNEL_ID);
110 mSchedule = getDvrManager().getCurrentRecording(channelId);
DvrConflictFragment.java 202 long channelId = args.getLong(DvrHalfSizedDialogFragment.KEY_CHANNEL_ID);
204 .getChannel(channelId);
  /packages/apps/TV/src/com/android/tv/search/
DataManagerSearch.java 218 long channelId = channel.getId();
219 result.channelId = channelId;
224 result.imageUri = TvContract.buildChannelLogoUri(channelId).toString();
226 result.intentData = buildIntentData(channelId);
237 result.intentData = buildIntentData(channelId);
267 private String buildIntentData(long channelId) {
268 return TvContract.buildChannelUri(channelId).buildUpon()
LocalSearchProvider.java 158 public long channelId;
174 return "channelId: " + channelId +
  /packages/apps/TV/tests/common/src/com/android/tv/testing/
ProgramUtils.java 49 long channelId = ContentUris.parseId(channelUri);
51 values.put(Programs.COLUMN_CHANNEL_ID, channelId);
62 int index = program.getIndex(timeMs, channelId);
63 timeMs = program.getStartTimeMs(index, channelId);
  /packages/apps/TV/tests/unit/src/com/android/tv/recommendation/
FavoriteChannelEvaluatorTest.java 42 long channelId = addChannel().getId();
46 mEvaluator.evaluateChannel(channelId));
63 for (long channelId : channelIdList) {
65 mEvaluator.evaluateChannel(channelId));
85 for (long channelId : channelIdList) {
87 addWatchLog(channelId, latestWatchEndTimeMs, durationMs);
95 for (long channelId : channelIdList) {
96 double score = mEvaluator.evaluateChannel(channelId);
135 long channelId = addChannel().getId();
141 double previousScore = mEvaluator.evaluateChannel(channelId);
    [all...]
RecentChannelEvaluatorTest.java 44 long channelId = addChannel().getId();
48 mEvaluator.evaluateChannel(channelId));
65 for (long channelId : channelIdList) {
67 mEvaluator.evaluateChannel(channelId));
86 for (long channelId : channelIdList) {
87 addWatchLog(channelId, latestWatchEndTimeMs, TimeUnit.HOURS.toMillis(1));
95 for (long channelId : channelIdList) {
96 double score = mEvaluator.evaluateChannel(channelId);
110 for (long channelId : channelIdList) {
111 double previousScore = mEvaluator.evaluateChannel(channelId);
    [all...]
RecommendationUtils.java 61 long channelId = (long) invocation.getArguments()[0];
62 return channelRecordSortedMap.get(channelId);
103 long channelId = size();
104 Channel channel = new Channel.Builder().setId(channelId).build();
106 put(channelId, channelRecord);
123 long channelId = channelIdList.get(mRandom.nextInt(channelIdList.size()));
124 if (previousChannelId == channelId) {
129 if (!addWatchLog(channelId, latestWatchEndTimeMs, watchedDurationMs)) {
133 previousChannelId = channelId;
139 * Add new watch log to channel that id is {@code ChannelId}. Add watch log starts fro
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/notification/
NotificationChannelManager.java 238 String channelId = channelNameToId(channelName, phoneAccount);
239 NotificationChannel channel = getNotificationManager(context).getNotificationChannel(channelId);
260 String channelId = channelNameToId(channelName, phoneAccountHandle);
342 NotificationChannel channel = new NotificationChannel(channelId, name, importance);
360 String channelId = channelNameToId(Channel.ONGOING_CALL_OLD, phoneAccountHandle);
362 NotificationChannel channel = notificationManager.getNotificationChannel(channelId);
  /packages/apps/TV/src/com/android/tv/data/
WatchedHistoryManager.java 215 long channelId = record.channelId;
216 Channel channel = channelDataManager.getChannel(channelId);
220 Long duration = durationMap.get(channelId);
232 durationMap.put(channelId, RECENT_CHANNEL_THRESHOLD_MS);
235 durationMap.put(channelId, duration);
270 public final long channelId;
274 WatchedRecord(long channelId, long watchedStartTime, long duration) {
275 this.channelId = channelId;
    [all...]
ChannelLogoFetcher.java 138 long channelId = c.getLong(0);
139 if (sChannelIdBlackListSet.contains(channelId)) {
  /packages/apps/TV/src/com/android/tv/dvr/
ConflictChecker.java 206 long channelId = ContentUris.parseId(channelUri);
207 Channel channel = mChannelDataManager.getChannel(channelId);
  /packages/apps/TV/tests/unit/src/com/android/tv/dvr/
DvrScheduleManagerTest.java 47 long channelId = 0;
50 schedules.add(RecordingTestUtils.createTestRecordingWithPriorityAndPeriod(++channelId,
54 schedules.add(RecordingTestUtils.createTestRecordingWithPriorityAndPeriod(++channelId,
58 schedules.add(RecordingTestUtils.createTestRecordingWithPriorityAndPeriod(++channelId,
62 schedules.add(RecordingTestUtils.createTestRecordingWithPriorityAndPeriod(++channelId,
66 schedules.add(RecordingTestUtils.createTestRecordingWithPriorityAndPeriod(++channelId,
73 long channelId = 0;
77 schedules.add(RecordingTestUtils.createTestRecordingWithPriorityAndPeriod(++channelId,
80 schedules.add(0, RecordingTestUtils.createTestRecordingWithPriorityAndPeriod(++channelId,
87 long channelId = 0
    [all...]
  /packages/providers/TvProvider/tests/src/com/android/providers/tv/
ColumnFilterTest.java 82 long channelId = insertChannel(false);
93 assertEquals(channelId, cursor.getLong(2));
97 long channelId = insertChannel(false);
104 long channelId = insertChannel(false);
116 long channelId = insertChannel(true);
127 assertEquals(channelId, cursor.getLong(2));
131 long channelId = insertChannel(false);
145 assertEquals(channelId, cursor.getLong(2));
EpgDataCleanupServiceTests.java 139 long channelId = insertChannel();
142 values.put(Programs.COLUMN_CHANNEL_ID, channelId);
177 long channelId = insertChannel();
181 values.put(WatchedPrograms.COLUMN_CHANNEL_ID, channelId);
  /frameworks/base/services/core/java/com/android/server/connectivity/
NetworkNotificationManager.java 192 final String channelId = highPriority ? SystemNotificationChannels.NETWORK_ALERTS :
194 Notification.Builder builder = new Notification.Builder(mContext, channelId)
214 builder.extend(new Notification.TvExtender().setChannelId(channelId));
  /frameworks/support/compat/tests/java/android/support/v4/app/
NotificationCompatTest.java 113 String channelId = "new ID";
115 .setChannel(channelId)
118 assertEquals(channelId, NotificationCompat.getChannel(n));
126 String channelId = "new ID";
127 Notification n = new NotificationCompat.Builder(mActivityTestRule.getActivity(), channelId)
130 assertEquals(channelId, NotificationCompat.getChannel(n));
  /packages/apps/TV/src/com/android/tv/
ChannelTuner.java 258 * Finds the nearest browsable channel from a channel with {@code channelId}. If the channel
259 * with {@code channelId} is browsable, the channel will be returned.
261 public Channel findNearestBrowsableChannel(long channelId) {
265 Channel channel = mChannelMap.get(channelId);
271 int index = mChannelIndexMap.get(channelId);
374 long channelId = channel.getId();
375 mChannelMap.put(channelId, channel);
376 mChannelIndexMap.put(channelId, i);
  /developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/
TvContractUtils.java 170 long channelId = cursor.getLong(0);
172 channelMap.put(channelId, getChannelByNumber(channelNumber, channels));
  /external/webrtc/webrtc/modules/video_render/mac/
video_render_agl.cc     [all...]
  /frameworks/base/services/tests/notification/src/com/android/server/notification/
NotificationRecordTest.java 74 private final String channelId = "channel";
76 new NotificationChannel(channelId, "test", NotificationManager.IMPORTANCE_DEFAULT);
163 builder.setChannelId(channelId);
421 assertEquals(channelId,

Completed in 460 milliseconds

1 2 3 4