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

12

/frameworks/base/core/java/android/bluetooth/
H A DBluetoothHealthCallback.java59 * @param channelId The id associated with the channel. This id will be used in future calls
65 int channelId) {
68 + "ChannelId:" + channelId);
63 onHealthChannelStateChange(BluetoothHealthAppConfiguration config, BluetoothDevice device, int prevState, int newState, ParcelFileDescriptor fd, int channelId) argument
H A DBluetoothHealth.java286 * @param channelId The channel id associated with the channel
290 BluetoothHealthAppConfiguration config, int channelId) {
294 return service.disconnectChannel(device, config, channelId);
441 ParcelFileDescriptor fd, int channelId) {
443 channelId);
289 disconnectChannel(BluetoothDevice device, BluetoothHealthAppConfiguration config, int channelId) argument
439 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/main/java/androidx/tvprovider/media/tv/
H A DPreviewChannelHelper.java96 * TV content provider for you and returns a channelId. Next you must use the channelId
102 * TvContractCompat.requestChannelBrowsable(context,channelId)
106 * permission through the following intent. So take the channelId returned by
112 * intent.putExtra(TvContractCompat.EXTRA_CHANNEL_ID, channelId);
122 * @return channelId or -1 if insertion fails. This is the id the system assigns to your
133 long channelId = ContentUris.parseId(channelUri);
134 boolean logoAdded = addChannelLogo(channelId, channel);
137 deletePreviewChannel(channelId);
139 + channelId
205 getPreviewChannel(long channelId) argument
227 updatePreviewChannel(long channelId, @NonNull PreviewChannel update) argument
250 updatePreviewChannelInternal(long channelId, @NonNull PreviewChannel upgrade) argument
265 addChannelLogo(long channelId, @NonNull PreviewChannel channel) argument
354 deletePreviewChannel(long channelId) argument
[all...]
H A DChannelLogoUtils.java67 * @param channelId the ID of the target channel with which the fetched logo should be
77 public static boolean storeChannelLogo(@NonNull Context context, long channelId, argument
109 return fetchedLogo != null && storeChannelLogo(context, channelId, fetchedLogo);
117 * @param channelId the ID of the target channel with which the given logo should be associated
125 public static boolean storeChannelLogo(@NonNull Context context, long channelId, argument
128 Uri localUri = TvContract.buildChannelLogoUri(channelId);
143 * @param channelId the ID of the channel whose logo is supposed to be loaded
150 public static Bitmap loadChannelLogo(@NonNull Context context, long channelId) { argument
154 TvContract.buildChannelLogoUri(channelId)));
157 Log.i(TAG, "Channel logo for channel (ID:" + channelId
[all...]
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 DPreviewProgram.java218 * @param channelId The value of {@link PreviewPrograms#COLUMN_CHANNEL_ID for the program.
221 public Builder setChannelId(long channelId) { argument
222 mValues.put(PreviewPrograms.COLUMN_CHANNEL_ID, channelId);
H A DProgram.java244 * @param channelId The value of {@link Programs#COLUMN_CHANNEL_ID for the program.
247 public Builder setChannelId(long channelId) { argument
248 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.java43 NotificationChannel getNotificationChannel(String pkg, int uid, String channelId, boolean includeDeleted); argument
44 void deleteNotificationChannel(String pkg, int uid, String channelId); argument
45 void permanentlyDeleteNotificationChannel(String pkg, int uid, String channelId); argument
/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.aidl76 NotificationChannel getNotificationChannel(String pkg, String channelId);
77 NotificationChannel getNotificationChannelForPackage(String pkg, int uid, String channelId, boolean includeDeleted);
78 void deleteNotificationChannel(String pkg, String channelId);
/frameworks/support/tv-provider/src/androidTest/java/androidx/tvprovider/media/tv/
H A DPreviewChannelHelperTest.java67 private static PreviewProgram.Builder createFullyPopulatedPreviewProgram(long channelId) { argument
71 .setChannelId(channelId)
286 long channelId = helper.publishDefaultChannel(builder.build());
287 PreviewChannel channelFromTvProvider = getPreviewChannel(helper, channelId);
318 long channelId = helper.publishChannel(builder.build());
319 PreviewChannel channelFromTvProvider = getPreviewChannel(helper, channelId);
327 * PreviewChannel channelFromTvProvider = helper.getPreviewChannel(channelId);
334 long channelId) {
342 channel = helper.getPreviewChannel(channelId);
382 long channelId
333 getPreviewChannel(PreviewChannelHelper helper, long channelId) argument
[all...]
/frameworks/native/include/android/
H A Dsensor.h574 * \param channelId channel id (a positive integer) returned from
578 void ASensorManager_destroyDirectChannel(ASensorManager* manager, int channelId);
600 * int channelId = ...;
609 * \param channelId channel id (a positive integer) returned from
616 ASensorManager* manager, ASensor const* sensor, int channelId, int rate);
/frameworks/native/include_sensor/android/
H A Dsensor.h574 * \param channelId channel id (a positive integer) returned from
578 void ASensorManager_destroyDirectChannel(ASensorManager* manager, int channelId);
600 * int channelId = ...;
609 * \param channelId channel id (a positive integer) returned from
616 ASensorManager* manager, ASensor const* sensor, int channelId, int rate);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DFrameworkFacade.java205 * @param channelId ID of the notification channel
208 public Notification.Builder makeNotificationBuilder(Context context, String channelId) { argument
209 return new Notification.Builder(context, channelId);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/
H A DNotificationChannelController.java113 public static NotificationChannel getChannel(String channelId, Context context) { argument
115 .getNotificationChannel(channelId);
/frameworks/base/core/java/android/app/usage/
H A DUsageStatsManagerInternal.java65 * @param channelId The ID of the NotificationChannel to which the notification was posted
68 public abstract void reportInterruptiveNotification(String packageName, String channelId, argument
/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/base/services/core/java/com/android/server/connectivity/
H A DNetworkNotificationManager.java207 final String channelId = highPriority ? SystemNotificationChannels.NETWORK_ALERTS :
209 Notification.Builder builder = new Notification.Builder(mContext, channelId)
229 builder.extend(new Notification.TvExtender().setChannelId(channelId));
/frameworks/base/packages/ExtServices/src/android/ext/services/notification/
H A DAssistant.java220 String channelId = mLiveNotifications.remove(sbn.getKey());
221 String key = getKey(sbn.getPackageName(), sbn.getUserId(), channelId);
278 protected String getKey(String pkg, int userId, String channelId) { argument
279 return pkg + "|" + userId + "|" + channelId;
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/
H A DASensorManager.cpp292 ASensorManager* manager, int channelId) {
298 int channelId,int rate) {

Completed in 189 milliseconds

12