Home
last modified time | relevance | path

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

12

/frameworks/support/tv-provider/src/android/support/media/tv/
DChannelLogoUtils.java76 public static boolean storeChannelLogo(@NonNull Context context, long channelId, in storeChannelLogo() argument
108 return fetchedLogo != null && storeChannelLogo(context, channelId, fetchedLogo); in storeChannelLogo()
124 public static boolean storeChannelLogo(@NonNull Context context, long channelId, in storeChannelLogo() argument
127 Uri localUri = TvContract.buildChannelLogoUri(channelId); in storeChannelLogo()
149 public static Bitmap loadChannelLogo(@NonNull Context context, long channelId) { in loadChannelLogo() argument
153 TvContract.buildChannelLogoUri(channelId))); in loadChannelLogo()
156 Log.i(TAG, "Channel logo for channel (ID:" + channelId + ") not found.", e); in loadChannelLogo()
DTvContractCompat.java353 public static Uri buildChannelUri(long channelId) { in buildChannelUri() argument
354 return TvContract.buildChannelUri(channelId); in buildChannelUri()
371 public static Uri buildChannelLogoUri(long channelId) { in buildChannelLogoUri() argument
372 return TvContract.buildChannelLogoUri(channelId); in buildChannelLogoUri()
408 public static Uri buildProgramsUriForChannel(long channelId) { in buildProgramsUriForChannel() argument
409 return TvContract.buildProgramsUriForChannel(channelId); in buildProgramsUriForChannel()
431 public static Uri buildProgramsUriForChannel(long channelId, long startTime, in buildProgramsUriForChannel() argument
433 return TvContract.buildProgramsUriForChannel(channelId, startTime, endTime); in buildProgramsUriForChannel()
478 public static Uri buildPreviewProgramsUriForChannel(long channelId) { in buildPreviewProgramsUriForChannel() argument
480 .appendQueryParameter(PARAM_CHANNEL, String.valueOf(channelId)).build(); in buildPreviewProgramsUriForChannel()
[all …]
DPreviewProgram.java204 public Builder setChannelId(long channelId) { in setChannelId() argument
205 mValues.put(PreviewPrograms.COLUMN_CHANNEL_ID, channelId); in setChannelId()
DProgram.java248 public Builder setChannelId(long channelId) { in setChannelId() argument
249 mValues.put(Programs.COLUMN_CHANNEL_ID, channelId); in setChannelId()
/frameworks/base/core/java/android/app/
DRecoverableSecurityException.java121 final String channelId = TAG + "_" + mUserAction.getActionIntent().getCreatorUid(); in showAsNotification() local
122 nm.createNotificationChannel(new NotificationChannel(channelId, TAG, in showAsNotification()
125 showAsNotification(context, channelId); in showAsNotification()
146 public void showAsNotification(Context context, String channelId) { in showAsNotification() argument
148 final Notification.Builder builder = new Notification.Builder(context, channelId) in showAsNotification()
DINotificationManager.aidl65 NotificationChannel getNotificationChannel(String pkg, String channelId); in getNotificationChannel() argument
66 …NotificationChannel getNotificationChannelForPackage(String pkg, int uid, String channelId, boolea… in getNotificationChannelForPackage() argument
67 void deleteNotificationChannel(String pkg, String channelId); in deleteNotificationChannel() argument
DNotificationManager.java465 public NotificationChannel getNotificationChannel(String channelId) { in getNotificationChannel() argument
468 return service.getNotificationChannel(mContext.getPackageName(), channelId); in getNotificationChannel()
493 public void deleteNotificationChannel(String channelId) { in deleteNotificationChannel() argument
496 service.deleteNotificationChannel(mContext.getPackageName(), channelId); in deleteNotificationChannel() local
/frameworks/base/services/core/java/com/android/server/notification/
DRankingConfig.java42 …NotificationChannel getNotificationChannel(String pkg, int uid, String channelId, boolean includeD… in getNotificationChannel() argument
43 void deleteNotificationChannel(String pkg, int uid, String channelId); in deleteNotificationChannel() argument
44 void permanentlyDeleteNotificationChannel(String pkg, int uid, String channelId); in permanentlyDeleteNotificationChannel() argument
DNotificationManagerInternal.java23 NotificationChannel getNotificationChannel(String pkg, int uid, String channelId); in getNotificationChannel() argument
DRankingHelper.java640 public NotificationChannel getNotificationChannel(String pkg, int uid, String channelId, in getNotificationChannel() argument
647 if (channelId == null) { in getNotificationChannel()
648 channelId = NotificationChannel.DEFAULT_CHANNEL_ID; in getNotificationChannel()
650 final NotificationChannel nc = r.channels.get(channelId); in getNotificationChannel()
658 public void deleteNotificationChannel(String pkg, int uid, String channelId) { in deleteNotificationChannel() argument
663 NotificationChannel channel = r.channels.get(channelId); in deleteNotificationChannel()
674 public void permanentlyDeleteNotificationChannel(String pkg, int uid, String channelId) { in permanentlyDeleteNotificationChannel() argument
676 Preconditions.checkNotNull(channelId); in permanentlyDeleteNotificationChannel()
681 r.channels.remove(channelId); in permanentlyDeleteNotificationChannel()
/frameworks/native/services/sensorservice/hidl/
DSensorManager.cpp97 int channelId = manager.createDirectChannel( in createDirectChannel() local
99 if (channelId < 0) { in createDirectChannel()
100 _hidl_cb(nullptr, convertResult(channelId)); in createDirectChannel()
103 if (channelId == 0) { in createDirectChannel()
108 _hidl_cb(sp<IDirectReportChannel>(new DirectReportChannel(manager, channelId)), in createDirectChannel()
DDirectReportChannel.cpp26 DirectReportChannel::DirectReportChannel(::android::SensorManager& manager, int channelId) in DirectReportChannel() argument
27 : mManager(manager), mId(channelId) {} in DirectReportChannel()
DDirectReportChannel.h46 DirectReportChannel(::android::SensorManager& manager, int channelId);
/frameworks/base/core/java/android/bluetooth/
DBluetoothHealthCallback.java66 int channelId) { in onHealthChannelStateChange() argument
69 "ChannelId:" + channelId); in onHealthChannelStateChange()
DBluetoothHealth.java292 BluetoothHealthAppConfiguration config, int channelId) { in disconnectChannel() argument
296 return service.disconnectChannel(device, config, channelId); in disconnectChannel()
444 ParcelFileDescriptor fd, int channelId) { in onHealthChannelStateChange() argument
446 channelId); in onHealthChannelStateChange()
/frameworks/base/media/java/android/media/tv/
DTvContract.java476 public static Uri buildChannelUri(long channelId) { in buildChannelUri() argument
477 return ContentUris.withAppendedId(Channels.CONTENT_URI, channelId); in buildChannelUri()
496 public static Uri buildChannelLogoUri(long channelId) { in buildChannelLogoUri() argument
497 return buildChannelLogoUri(buildChannelUri(channelId)); in buildChannelLogoUri()
582 public static Uri buildProgramsUriForChannel(long channelId) { in buildProgramsUriForChannel() argument
584 .appendQueryParameter(PARAM_CHANNEL, String.valueOf(channelId)).build(); in buildProgramsUriForChannel()
611 public static Uri buildProgramsUriForChannel(long channelId, long startTime, in buildProgramsUriForChannel() argument
613 Uri uri = buildProgramsUriForChannel(channelId); in buildProgramsUriForChannel()
659 public static Uri buildPreviewProgramsUriForChannel(long channelId) { in buildPreviewProgramsUriForChannel() argument
661 .appendQueryParameter(PARAM_CHANNEL, String.valueOf(channelId)).build(); in buildPreviewProgramsUriForChannel()
[all …]
/frameworks/base/native/android/
Dsensor.cpp181 void ASensorManager_destroyDirectChannel(ASensorManager *manager, int channelId) { in ASensorManager_destroyDirectChannel() argument
184 static_cast<SensorManager *>(manager)->destroyDirectChannel(channelId); in ASensorManager_destroyDirectChannel()
188 ASensorManager *manager, ASensor const *sensor, int channelId, int rate) { in ASensorManager_configureDirectReport() argument
203 channelId, sensorHandle, rate); in ASensorManager_configureDirectReport()
/frameworks/support/compat/tests/java/android/support/v4/app/
DNotificationCompatTest.java112 String channelId = "new ID"; in testNotificationChannel() local
114 .setChannelId(channelId) in testNotificationChannel()
117 assertEquals(channelId, NotificationCompat.getChannelId(n)); in testNotificationChannel()
125 String channelId = "new ID"; in testNotificationChannel_assignedFromBuilder() local
126 Notification n = new NotificationCompat.Builder(mActivityTestRule.getActivity(), channelId) in testNotificationChannel_assignedFromBuilder()
129 assertEquals(channelId, NotificationCompat.getChannelId(n)); in testNotificationChannel_assignedFromBuilder()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/
DNotificationChannelController.java101 public static NotificationChannel getChannel(String channelId, Context context) { in getChannel() argument
103 .getNotificationChannel(channelId); in getChannel()
/frameworks/native/include_sensor/android/
Dsensor.h487 void ASensorManager_destroyDirectChannel(ASensorManager* manager, int channelId);
527 ASensorManager* manager, ASensor const* sensor, int channelId, int rate);
/frameworks/native/include/android/
Dsensor.h487 void ASensorManager_destroyDirectChannel(ASensorManager* manager, int channelId);
527 ASensorManager* manager, ASensor const* sensor, int channelId, int rate);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DFrameworkFacade.java190 public Notification.Builder makeNotificationBuilder(Context context, String channelId) { in makeNotificationBuilder() argument
191 return new Notification.Builder(context, channelId); in makeNotificationBuilder()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkNotificationManager.java204 final String channelId = highPriority ? SystemNotificationChannels.NETWORK_ALERTS : in showNotification() local
206 Notification.Builder builder = new Notification.Builder(mContext, channelId) in showNotification()
226 builder.extend(new Notification.TvExtender().setChannelId(channelId)); in showNotification()
/frameworks/base/services/tests/notification/src/com/android/server/notification/
DNotificationRecordTest.java74 private final String channelId = "channel"; field in NotificationRecordTest
76 new NotificationChannel(channelId, "test", NotificationManager.IMPORTANCE_DEFAULT);
163 builder.setChannelId(channelId); in getNotification()
421 assertEquals(channelId, in testLogmakerShortChannel()
/frameworks/base/core/proto/android/service/
Dnotification.proto34 string channelId = 4; field

12