HomeSort by relevance Sort by last modified time
    Searched full:channelid (Results 1 - 25 of 106) sorted by null

1 2 3 4 5

  /external/webrtc/webrtc/voice_engine/
voe_network_unittest.cc 36 int channelID = base_->CreateChannel();
37 EXPECT_NE(channelID, -1);
38 EXPECT_EQ(0, network_->RegisterExternalTransport(channelID, transport_));
39 return channelID;
44 int channelID = CreateChannelAndRegisterExternalTransport();
45 EXPECT_EQ(0, network_->DeRegisterExternalTransport(channelID));
63 int channelID = base_->CreateChannel();
64 EXPECT_NE(channelID, -1);
65 EXPECT_EQ(0, network_->DeRegisterExternalTransport(channelID));
69 int channelID = CreateChannelAndRegisterExternalTransport()
    [all...]
voe_base_unittest.cc 39 int channelID = base_->CreateChannel();
40 EXPECT_EQ(channelID, -1);
45 int channelID = base_->CreateChannel();
46 EXPECT_NE(channelID, -1);
47 EXPECT_EQ(0, base_->DeleteChannel(channelID));
  /packages/apps/TV/tests/unit/src/com/android/tv/recommendation/
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...]
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...]
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...]
EvaluatorTestCase.java 72 public void addWatchLog(long channelId, long watchStartTimeMs, long durationTimeMs) {
73 assertTrue(mChannelRecordSortedMap.addWatchLog(channelId, watchStartTimeMs,
98 for (long channelId : mChannelRecordSortedMap.keySet()) {
99 double score = mEvaluator.evaluateChannel(channelId);
100 assertTrue("Channel " + channelId + " score of " + score + "is not valid",
126 public ChannelRecord getChannelRecord(long channelId) {
127 return mChannelRecordSortedMap.get(channelId);
  /packages/apps/TV/tests/common/src/com/android/tv/testing/dvr/
RecordingTestUtils.java 28 public static ScheduledRecording createTestRecordingWithIdAndPeriod(long id, long channelId,
32 .setChannelId(channelId)
36 public static ScheduledRecording createTestRecordingWithPeriod(long channelId, long startTime,
38 return createTestRecordingWithIdAndPeriod(ScheduledRecording.ID_NOT_SET, channelId,
43 DvrDataManagerInMemoryImpl dvrDataManager, long channelId, long startTime,
45 ScheduledRecording recording = createTestRecordingWithPeriod(channelId, startTime, endTime);
  /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...]
ProgramDataManager.java 210 public Program getCurrentProgram(long channelId) {
211 return mChannelIdCurrentProgramMap.get(channelId);
281 public List<Program> getPrograms(long channelId, long startTime) {
283 ArrayList<Program> cachedPrograms = mChannelIdProgramCache.get(channelId);
320 * @param channelId A channel ID to get notified. If it's {@link Channel#INVALID_ID}, the
324 long channelId, OnCurrentProgramUpdatedListener listener) {
326 .put(channelId, listener);
334 long channelId, OnCurrentProgramUpdatedListener listener) {
336 .remove(channelId, listener);
339 private void notifyCurrentProgramUpdate(long channelId, Program program)
    [all...]
OnCurrentProgramUpdatedListener.java 23 void onCurrentProgramUpdated(long channelId, Program program);
  /frameworks/base/media/jni/soundpool/
SoundPool.h 91 void set(const sp<Sample>& sample, int channelID, float leftVolume,
94 int channelID() { return mChannelID; }
120 void play(const sp<Sample>& sample, int channelID, float leftVolume, float rightVolume,
137 int nextChannelID() { return mNextEvent.channelID(); }
170 void pause(int channelID);
172 void resume(int channelID);
174 void stop(int channelID);
175 void setVolume(int channelID, float leftVolume, float rightVolume);
176 void setPriority(int channelID, int priority);
177 void setLoop(int channelID, int loop)
    [all...]
SoundPool.cpp 201 SoundChannel* SoundPool::findChannel(int channelID)
204 if (mChannelPool[i].channelID() == channelID) {
211 SoundChannel* SoundPool::findNextChannel(int channelID)
214 if (mChannelPool[i].nextChannelID() == channelID) {
255 int channelID;
280 channelID = ++mNextChannelID;
283 channel->play(sample, channelID, leftVolume, rightVolume, priority, loop, rate);
284 return channelID;
339 void SoundPool::pause(int channelID)
    [all...]
android_media_SoundPool.cpp 80 android_media_SoundPool_pause(JNIEnv *env, jobject thiz, jint channelID)
85 ap->pause(channelID);
89 android_media_SoundPool_resume(JNIEnv *env, jobject thiz, jint channelID)
94 ap->resume(channelID);
116 android_media_SoundPool_stop(JNIEnv *env, jobject thiz, jint channelID)
121 ap->stop(channelID);
125 android_media_SoundPool_setVolume(JNIEnv *env, jobject thiz, jint channelID,
131 ap->setVolume(channelID, (float) leftVolume, (float) rightVolume);
135 android_media_SoundPool_setPriority(JNIEnv *env, jobject thiz, jint channelID,
141 ap->setPriority(channelID, (int) priority)
    [all...]
  /packages/apps/TV/tests/unit/src/com/android/tv/data/
ProgramDataManagerTest.java 103 for (long channelId = 1; channelId < Constants.UNIT_TEST_CHANNEL_COUNT; channelId++) {
104 int index = stub.getIndex(mClock.currentTimeMillis(), channelId);
105 long startTimeMs = stub.getStartTimeMs(index, channelId);
130 for (long channelId = 1; channelId <= Constants.UNIT_TEST_CHANNEL_COUNT; channelId++) {
131 Program currentProgram = mProgramDataManager.getCurrentProgram(channelId);
139 mProgramDataManager.getPrograms(channelId, mClock.currentTimeMillis())
    [all...]
  /packages/apps/TV/src/com/android/tv/guide/
ProgramManager.java 76 public final long channelId;
91 private TableEntry(long channelId, long startUtcMillis, long endUtcMillis) {
92 this(channelId, null, startUtcMillis, endUtcMillis, false);
95 private TableEntry(long channelId, long startUtcMillis, long endUtcMillis,
97 this(channelId, null, null, startUtcMillis, endUtcMillis, blocked);
100 private TableEntry(long channelId, Program program, long entryStartUtcMillis,
102 this(channelId, program, null, entryStartUtcMillis, entryEndUtcMillis, isBlocked);
105 private TableEntry(long channelId, Program program, ScheduledRecording scheduledRecording,
107 this.channelId = channelId;
    [all...]
  /packages/apps/TV/usbtuner/src/com/android/usbtuner/tvinput/
ChannelDataManager.java 177 public TunerChannel getChannel(long channelId) {
178 TunerChannel channel = mTunerChannelMap.get(channelId);
185 channelId), CHANNEL_DATA_SELECTION_ARGS, null, null, null)) {
197 channel.setChannelId(channelId);
226 long channelId = cursor.getLong(0);
230 channel.setChannelId(channelId);
317 long channelId = getChannelId(channel);
318 if (channelId <= 0) {
321 channel.setChannelId(channelId);
417 long channelId = getChannelId(channel)
    [all...]
  /frameworks/base/core/java/android/bluetooth/
BluetoothHealthCallback.java 60 * @param channelId The id associated with the channel. This id will be used
66 int channelId) {
69 "ChannelId:" + channelId);
  /packages/apps/TV/src/com/android/tv/recommendation/
FavoriteChannelEvaluator.java 38 public double evaluateChannel(long channelId) {
39 ChannelRecord cr = getRecommender().getChannelRecord(channelId);
Recommender.java 155 * @param channelId The channel ID to retrieve the {@link Channel} object for.
159 public Channel getChannel(long channelId) {
160 ChannelRecord record = mDataManager.getChannelRecord(channelId);
167 * @param channelId The channel ID to receive the {@link ChannelRecord} object for.
170 public ChannelRecord getChannelRecord(long channelId) {
171 return mDataManager.getChannelRecord(channelId);
181 public String getChannelSortKey(long channelId) {
182 String key = mChannelSortKey.get(channelId);
256 * @param channelId The channel ID which will be evaluated by this recommender.
259 protected abstract double evaluateChannel(final long channelId);
    [all...]
RandomEvaluator.java 21 public double evaluateChannel(long channelId) {
RecentChannelEvaluator.java 39 public double evaluateChannel(long channelId) {
40 ChannelRecord cr = getRecommender().getChannelRecord(channelId);
  /cts/tests/tests/tv/src/android/media/tv/cts/
TvContractTest.java 133 long channelId = cursor.getLong(0);
135 TvContract.buildProgramsUriForChannel(channelId), null, null);
155 private static ContentValues createDummyProgramValues(long channelId) {
157 values.put(TvContract.Programs.COLUMN_CHANNEL_ID, channelId);
171 private static ContentValues createDummyRecordedProgramValues(String inputId, long channelId) {
174 values.put(TvContract.RecordedPrograms.COLUMN_CHANNEL_ID, channelId);
245 private void verifyChannel(Uri channelUri, ContentValues expectedValues, long channelId) {
251 assertEquals(channelId, cursor.getLong(cursor.getColumnIndex(TvContract.Channels._ID)));
281 long channelId = ContentUris.parseId(rowUri);
282 Uri channelUri = TvContract.buildChannelUri(channelId);
    [all...]
  /device/moto/shamu/camera/QCamera/HAL2/core/inc/
QCameraStream.h 138 uint32_t ChannelId,
177 uint32_t ChannelId,
200 uint32_t ChannelId,
241 uint32_t ChannelId,
250 uint32_t ChannelId,
278 uint32_t ChannelId,
287 uint32_t ChannelId,
  /packages/apps/TV/src/com/android/tv/search/
TvProviderSearch.java 230 result.channelId = id;
234 result.imageUri = TvContract.buildChannelLogoUri(result.channelId).toString();
236 result.intentData = buildIntentData(result.channelId);
260 Uri uri = TvContract.buildProgramsUriForChannel(result.channelId, now, now);
374 result.channelId = c.getLong(0);
401 private String buildIntentData(long channelId) {
402 return TvContract.buildChannelUri(channelId).buildUpon()
477 Long lhsMaxWatchStartTime = mMaxWatchStartTimeMap.get(lhs.channelId);
479 lhsMaxWatchStartTime = getMaxWatchStartTime(lhs.channelId);
480 mMaxWatchStartTimeMap.put(lhs.channelId, lhsMaxWatchStartTime)
    [all...]
  /packages/apps/TV/tests/common/src/com/android/tv/testing/
ProgramUtils.java 48 long channelId = ContentUris.parseId(channelUri);
50 values.put(Programs.COLUMN_CHANNEL_ID, channelId);
61 int index = program.getIndex(timeMs, channelId);
62 timeMs = program.getStartTimeMs(index, channelId);

Completed in 708 milliseconds

1 2 3 4 5