Searched refs:channelId (Results 1 - 25 of 35) sorted by relevance

12

/frameworks/base/core/java/android/bluetooth/
H A DBluetoothHealthCallback.java60 * @param channelId The id associated with the channel. This id will be used
66 int channelId) {
69 "ChannelId:" + channelId);
64 onHealthChannelStateChange(BluetoothHealthAppConfiguration config, BluetoothDevice device, int prevState, int newState, ParcelFileDescriptor fd, int channelId) argument
H A DBluetoothHealth.java288 * @param channelId The channel id associated with the channel
292 BluetoothHealthAppConfiguration config, int channelId) {
296 return service.disconnectChannel(device, config, channelId);
444 ParcelFileDescriptor fd, int channelId) {
446 channelId);
291 disconnectChannel(BluetoothDevice device, BluetoothHealthAppConfiguration config, int channelId) argument
442 onHealthChannelStateChange(BluetoothHealthAppConfiguration config, BluetoothDevice device, int prevState, int newState, ParcelFileDescriptor fd, int channelId) argument
/frameworks/native/services/sensorservice/hidl/
H A DDirectReportChannel.cpp26 DirectReportChannel::DirectReportChannel(::android::SensorManager& manager, int channelId) argument
27 : mManager(manager), mId(channelId) {}
H A DSensorManager.cpp97 int channelId = manager.createDirectChannel( local
99 if (channelId < 0) {
100 _hidl_cb(nullptr, convertResult(channelId));
103 if (channelId == 0) {
108 _hidl_cb(sp<IDirectReportChannel>(new DirectReportChannel(manager, channelId)),
H A DDirectReportChannel.h46 DirectReportChannel(::android::SensorManager& manager, int channelId);
/frameworks/support/tv-provider/src/android/support/media/tv/
H A DChannelLogoUtils.java66 * @param channelId the ID of the target channel with which the fetched logo should be
76 public static boolean storeChannelLogo(@NonNull Context context, long channelId, argument
108 return fetchedLogo != null && storeChannelLogo(context, channelId, fetchedLogo);
116 * @param channelId the ID of the target channel with which the given logo should be associated
124 public static boolean storeChannelLogo(@NonNull Context context, long channelId, argument
127 Uri localUri = TvContract.buildChannelLogoUri(channelId);
142 * @param channelId the ID of the channel whose logo is supposed to be loaded
149 public static Bitmap loadChannelLogo(@NonNull Context context, long channelId) { argument
153 TvContract.buildChannelLogoUri(channelId)));
156 Log.i(TAG, "Channel logo for channel (ID:" + channelId
[all...]
H A DPreviewProgram.java201 * @param channelId The value of {@link PreviewPrograms#COLUMN_CHANNEL_ID for the program.
204 public Builder setChannelId(long channelId) { argument
205 mValues.put(PreviewPrograms.COLUMN_CHANNEL_ID, channelId);
H A DTvContractCompat.java351 * @param channelId The ID of the channel to point to.
353 public static Uri buildChannelUri(long channelId) { argument
354 return TvContract.buildChannelUri(channelId);
369 * @param channelId The ID of the channel whose logo is pointed to.
371 public static Uri buildChannelLogoUri(long channelId) { argument
372 return TvContract.buildChannelLogoUri(channelId);
406 * @param channelId The ID of the channel to return programs for.
408 public static Uri buildProgramsUriForChannel(long channelId) { argument
409 return TvContract.buildProgramsUriForChannel(channelId);
425 * @param channelId Th
431 buildProgramsUriForChannel(long channelId, long startTime, long endTime) argument
478 buildPreviewProgramsUriForChannel(long channelId) argument
579 requestChannelBrowsable(Context context, long channelId) argument
[all...]
H A DProgram.java245 * @param channelId The value of {@link Programs#COLUMN_CHANNEL_ID for the program.
248 public Builder setChannelId(long channelId) { argument
249 mValues.put(Programs.COLUMN_CHANNEL_ID, channelId);
/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationManagerInternal.java23 NotificationChannel getNotificationChannel(String pkg, int uid, String channelId); argument
H A DRankingConfig.java42 NotificationChannel getNotificationChannel(String pkg, int uid, String channelId, boolean includeDeleted); argument
43 void deleteNotificationChannel(String pkg, int uid, String channelId); argument
44 void permanentlyDeleteNotificationChannel(String pkg, int uid, String channelId); argument
/frameworks/base/core/proto/android/service/
H A Dnotification.proto34 string channelId = 4;
/frameworks/base/core/java/android/app/
H A DRecoverableSecurityException.java121 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) { argument
148 final Notification.Builder builder = new Notification.Builder(context, channelId)
H A DINotificationManager.aidl65 NotificationChannel getNotificationChannel(String pkg, String channelId);
66 NotificationChannel getNotificationChannelForPackage(String pkg, int uid, String channelId, boolean includeDeleted);
67 void deleteNotificationChannel(String pkg, String channelId);
H A DNotificationManager.java465 public NotificationChannel getNotificationChannel(String channelId) { argument
468 return service.getNotificationChannel(mContext.getPackageName(), channelId);
493 public void deleteNotificationChannel(String channelId) { argument
496 service.deleteNotificationChannel(mContext.getPackageName(), channelId);
/frameworks/native/include/android/
H A Dsensor.h483 * \param channelId channel id (a positive integer) returned from
487 void ASensorManager_destroyDirectChannel(ASensorManager* manager, int channelId);
509 * int channelId = ...;
520 * \param channelId channel id (a positive integer) returned from
527 ASensorManager* manager, ASensor const* sensor, int channelId, int rate);
/frameworks/native/include_sensor/android/
H A Dsensor.h483 * \param channelId channel id (a positive integer) returned from
487 void ASensorManager_destroyDirectChannel(ASensorManager* manager, int channelId);
509 * int channelId = ...;
520 * \param channelId channel id (a positive integer) returned from
527 ASensorManager* manager, ASensor const* sensor, int channelId, int rate);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DFrameworkFacade.java187 * @param channelId ID of the notification channel
190 public Notification.Builder makeNotificationBuilder(Context context, String channelId) { argument
191 return new Notification.Builder(context, channelId);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/
H A DNotificationChannelController.java101 public static NotificationChannel getChannel(String channelId, Context context) { argument
103 .getNotificationChannel(channelId);
/frameworks/base/native/android/
H A Dsensor.cpp181 void ASensorManager_destroyDirectChannel(ASensorManager *manager, int channelId) { argument
184 static_cast<SensorManager *>(manager)->destroyDirectChannel(channelId);
188 ASensorManager *manager, ASensor const *sensor, int channelId, int rate) {
203 channelId, sensorHandle, rate);
187 ASensorManager_configureDirectReport( ASensorManager *manager, ASensor const *sensor, int channelId, int rate) argument
/frameworks/base/media/java/android/media/tv/
H A DTvContract.java474 * @param channelId The ID of the channel to point to.
476 public static Uri buildChannelUri(long channelId) { argument
477 return ContentUris.withAppendedId(Channels.CONTENT_URI, channelId);
494 * @param channelId The ID of the channel whose logo is pointed to.
496 public static Uri buildChannelLogoUri(long channelId) { argument
497 return buildChannelLogoUri(buildChannelUri(channelId));
580 * @param channelId The ID of the channel to return programs for.
582 public static Uri buildProgramsUriForChannel(long channelId) { argument
584 .appendQueryParameter(PARAM_CHANNEL, String.valueOf(channelId)).build();
603 * @param channelId Th
611 buildProgramsUriForChannel(long channelId, long startTime, long endTime) argument
659 buildPreviewProgramsUriForChannel(long channelId) argument
751 requestChannelBrowsable(Context context, long channelId) argument
[all...]
/frameworks/support/compat/tests/java/android/support/v4/app/
H A DNotificationCompatTest.java112 String channelId = "new ID";
114 .setChannelId(channelId)
117 assertEquals(channelId, NotificationCompat.getChannelId(n));
125 String channelId = "new ID";
126 Notification n = new NotificationCompat.Builder(mActivityTestRule.getActivity(), channelId)
129 assertEquals(channelId, NotificationCompat.getChannelId(n));
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DNetworkNotificationManager.java204 final String channelId = highPriority ? SystemNotificationChannels.NETWORK_ALERTS :
206 Notification.Builder builder = new Notification.Builder(mContext, channelId)
226 builder.extend(new Notification.TvExtender().setChannelId(channelId));
/frameworks/base/services/tests/notification/src/com/android/server/notification/
H A DNotificationRecordTest.java74 private final String channelId = "channel"; field in class:NotificationRecordTest
76 new NotificationChannel(channelId, "test", NotificationManager.IMPORTANCE_DEFAULT);
163 builder.setChannelId(channelId);
421 assertEquals(channelId,
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/
H A DASensorManager.cpp289 ASensorManager* manager, int channelId) {
295 int channelId,int rate) {

Completed in 531 milliseconds

12