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

  /developers/build/prebuilts/gradle/WearNotifications/Shared/src/main/java/com/example/android/wearable/wear/common/util/
NotificationUtil.java 39 String channelId = mockNotificationData.getChannelId();
52 new NotificationChannel(channelId, channelName, channelImportance);
64 return channelId;
  /developers/samples/android/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/util/
NotificationUtil.java 46 String channelId = mockNotificationData.getChannelId();
59 new NotificationChannel(channelId, channelName, channelImportance);
71 return channelId;
  /developers/samples/android/wearable/wear/WearNotifications/Shared/src/main/java/com/example/android/wearable/wear/common/util/
NotificationUtil.java 39 String channelId = mockNotificationData.getChannelId();
52 new NotificationChannel(channelId, channelName, channelImportance);
64 return channelId;
  /developers/samples/android/tv/ChannelsPrograms/Application/src/main/java/com/example/android/tv/channelsprograms/
SyncChannelJobService.java 84 long channelId = TvUtil.createChannel(mContext, subscription);
85 subscription.setChannelId(channelId);
86 TvContractCompat.requestChannelBrowsable(mContext, channelId);
MainActivity.java 94 long channelId = TvUtil.createChannel(mContext, subscription);
96 subscription.setChannelId(channelId);
100 TvUtil.scheduleSyncingProgramsForChannel(getApplicationContext(), channelId);
101 return channelId;
105 protected void onPostExecute(Long channelId) {
106 super.onPostExecute(channelId);
107 promptUserToDisplayChannel(channelId);
111 private void promptUserToDisplayChannel(long channelId) {
114 intent.putExtra(TvContractCompat.EXTRA_CHANNEL_ID, channelId);
SyncProgramsJobService.java 57 final long channelId = getChannelId(jobParameters);
58 if (channelId == -1L) {
61 Log.d(TAG, "onStartJob(): Scheduling syncing for programs for channel " + channelId);
70 SyncProgramsJobService.this, channelId);
75 mSyncProgramsTask.execute(channelId);
108 private void syncPrograms(long channelId, List<Movie> initialMovies) {
109 Log.d(TAG, "Sync programs for channel: " + channelId);
115 TvContractCompat.buildChannelUri(channelId),
123 Log.d(TAG, "Channel is not browsable: " + channelId);
124 deletePrograms(channelId, movies)
    [all...]
  /developers/samples/android/tv/ChannelsPrograms/Application/src/main/java/com/example/android/tv/channelsprograms/model/
Subscription.java 19 private long channelId;
42 return channelId;
45 public void setChannelId(long channelId) {
46 this.channelId = channelId;
  /developers/samples/android/tv/ChannelsPrograms/Application/src/main/java/com/example/android/tv/channelsprograms/util/
TvUtil.java 105 long channelId = ContentUris.parseId(channelUrl);
106 Log.d(TAG, "channel id " + channelId);
109 ChannelLogoUtils.storeChannelLogo(context, channelId, bitmap);
111 return channelId;
174 * @param channelId for the channel to listen for changes.
176 public static void scheduleSyncingProgramsForChannel(Context context, long channelId) {
180 new JobInfo.Builder(getJobIdForChannelId(channelId), componentName);
184 TvContractCompat.buildChannelUri(channelId),
191 bundle.putLong(TvContractCompat.EXTRA_CHANNEL_ID, channelId);
196 scheduler.cancel(getJobIdForChannelId(channelId));
    [all...]
  /developers/build/prebuilts/gradle/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/
NotificationsActivity.java 283 String channelId = mockNotificationData.getChannelId();
296 new NotificationChannel(channelId, channelName, channelImportance);
309 return channelId;
  /developers/samples/android/wearable/wear/WearAccessibilityApp/Wearable/src/main/java/com/example/android/wearable/wear/wearaccessibilityapp/
NotificationsActivity.java 313 String channelId = mockNotificationData.getChannelId();
326 new NotificationChannel(channelId, channelName, channelImportance);
339 return channelId;
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowNotificationManagerTest.java 109 final String channelId = "channelId";
110 assertThat(shadowOf(notificationManager).isChannelDeleted(channelId)).isFalse();
111 notificationManager.createNotificationChannel(new NotificationChannel(channelId, "name", 1));
112 assertThat(shadowOf(notificationManager).isChannelDeleted(channelId)).isFalse();
113 notificationManager.deleteNotificationChannel(channelId);
114 assertThat(shadowOf(notificationManager).isChannelDeleted(channelId)).isTrue();
115 assertThat(notificationManager.getNotificationChannel(channelId)).isNull();
119 new NotificationChannel(channelId, "otherName", 2));
120 assertThat(shadowOf(notificationManager).isChannelDeleted(channelId)).isFalse()
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
LockTaskUiTestActivity.java 330 String channelId = getTestId();
331 if (mNotifyMgr.getNotificationChannel(channelId) == null) {
333 channelId, getTestId(), NotificationManager.IMPORTANCE_HIGH);
337 Notification note = new Notification.Builder(this, channelId)
  /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/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowNotificationManager.java 99 protected Object /*NotificationChannel*/ getNotificationChannel(String channelId) {
100 return notificationChannels.get(channelId);
141 protected void deleteNotificationChannel(String channelId) {
142 if (getNotificationChannel(channelId) != null) {
143 Object /*NotificationChannel*/ channel = notificationChannels.remove(channelId);
144 deletedNotificationChannels.put(channelId, channel);
162 String channelId = ReflectionHelpers.callInstanceMethod(channel, "getId");
163 deleteNotificationChannel(channelId);
316 public boolean isChannelDeleted(String channelId) {
317 return deletedNotificationChannels.containsKey(channelId);
    [all...]
  /external/webrtc/webrtc/modules/video_render/mac/
video_render_agl.cc     [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
AttentionManagementVerifierActivity.java     [all...]
  /cts/tests/tests/tv/src/android/media/tv/cts/
TvViewTest.java 233 long channelId = cursor.getLong(0);
234 Uri channelUri = TvContract.buildChannelUri(channelId);
413 long channelId = cursor.getLong(0);
414 Uri channelUri = TvContract.buildChannelUri(channelId);
TvContractTest.java 150 private static ContentValues createDummyProgramValues(long channelId) {
152 values.put(Programs.COLUMN_CHANNEL_ID, channelId);
169 private static ContentValues createDummyPreviewProgramValues(long channelId) {
171 values.put(PreviewPrograms.COLUMN_CHANNEL_ID, channelId);
229 private static ContentValues createDummyRecordedProgramValues(String inputId, long channelId) {
232 values.put(RecordedPrograms.COLUMN_CHANNEL_ID, channelId);
305 private void verifyChannel(Uri channelUri, ContentValues expectedValues, long channelId) {
306 verifyChannel(channelUri, expectedValues, channelId, true);
309 private void verifyChannel(Uri channelUri, ContentValues expectedValues, long channelId,
316 assertEquals(channelId, cursor.getLong(cursor.getColumnIndex(Channels._ID)))
    [all...]
  /device/google/cuttlefish_common/guest/hals/ril/libril/
ril_service.cpp 411 Return<void> iccCloseLogicalChannel(int32_t serial, int32_t channelId);
    [all...]
  /external/grpc-grpc-java/netty/shaded/
grpc-netty-shaded-1.14.0.jar 

Completed in 632 milliseconds