Searched defs:channel (Results 51 - 75 of 101) sorted by relevance

12345

/frameworks/av/media/libstagefright/wifi-display/source/
H A DWifiDisplaySource.cpp451 int32_t channel; local
452 CHECK(msg->findInt32("channel", &channel));
457 CHECK_LE(channel, 0xffu);
465 header[1] = channel;
/frameworks/base/core/java/android/app/
H A DNotificationManager.java393 * labels instead of appending account information to each channel's label.
403 * Creates multiple notification channel groups.
418 * Creates a notification channel that notifications can be posted to.
420 * This can also be used to restore a deleted channel and to update an existing channel's
424 * or in response to the user renaming this channel. For example, if a user has a channel
426 * to 'John Smith,' the channel can be renamed to match.
429 * @param channel the channel t
433 createNotificationChannel(@onNull NotificationChannel channel) argument
[all...]
/frameworks/base/core/java/android/hardware/
H A DSensorManager.java885 * Create a sensor direct channel backed by shared memory wrapped in MemoryFile object.
887 * The resulting channel can be used for delivering sensor events to native code, other
894 * to free up resource in sensor system associated with the direct channel.
907 * Create a sensor direct channel backed by shared memory wrapped in HardwareBuffer object.
909 * The resulting channel can be used for delivering sensor events to native code, other
916 * to free up resource in sensor system associated with the direct channel.
934 void destroyDirectChannel(SensorDirectChannel channel) { argument
935 destroyDirectChannelImpl(channel);
939 protected abstract void destroyDirectChannelImpl(SensorDirectChannel channel); argument
943 public int configureDirectChannel(SensorDirectChannel channel, Senso argument
948 configureDirectChannelImpl( SensorDirectChannel channel, Sensor s, int rate) argument
[all...]
H A DSystemSensorManager.java524 SensorDirectChannel channel, Sensor sensor, int rate) {
525 if (!channel.isOpen()) {
526 throw new IllegalStateException("channel is closed");
543 mNativeInstance, channel.getNativeHandle(), sensorHandle, rate);
577 new IOException("create MemoryFile direct channel failed " + id));
602 new IOException("create HardwareBuffer direct channel failed " + id));
612 protected void destroyDirectChannelImpl(SensorDirectChannel channel) { argument
613 if (channel != null) {
614 nativeDestroyDirectChannel(mNativeInstance, channel.getNativeHandle());
619 * BaseEventQueue is the communication channel wit
523 configureDirectChannelImpl( SensorDirectChannel channel, Sensor sensor, int rate) argument
[all...]
/frameworks/base/core/java/android/hardware/radio/
H A DRadioManager.java376 * @return the channel spacing.
712 * @return the channel spacing.
1149 ProgramInfo(int channel, int subChannel, boolean tuned, boolean stereo, argument
1151 mChannel = channel;
1160 /** Main channel expressed in units according to band type.
1162 * @return the program channel
1167 /** Sub channel ID. E.g 1 for HD radio HD1
1168 * @return the program sub channel
/frameworks/base/media/jni/soundpool/
H A DSoundPool.cpp102 void SoundPool::addToRestartList(SoundChannel* channel) argument
106 mRestart.push_back(channel);
111 void SoundPool::addToStopList(SoundChannel* channel) argument
115 mStop.push_back(channel);
135 SoundChannel* channel; local
136 ALOGV("Getting channel from stop list");
138 channel = *iter;
141 if (channel != 0) {
143 channel->stop();
150 SoundChannel* channel; local
255 SoundChannel* channel; local
291 SoundChannel* channel = NULL; local
329 moveToFront_l(SoundChannel* channel) argument
344 SoundChannel* channel = findChannel(channelID); local
355 SoundChannel* channel = &mChannelPool[i]; local
364 SoundChannel* channel = findChannel(channelID); local
388 SoundChannel* channel = &mChannelPool[i]; local
397 SoundChannel* channel = findChannel(channelID); local
410 SoundChannel* channel = findChannel(channelID); local
420 SoundChannel* channel = findChannel(channelID); local
430 SoundChannel* channel = findChannel(channelID); local
440 SoundChannel* channel = findChannel(channelID); local
447 done_l(SoundChannel* channel) argument
872 SoundChannel* channel = static_cast<SoundChannel*>((void *)((unsigned long)user & ~1)); local
[all...]
/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationRecord.java137 NotificationChannel channel)
146 mChannel = channel;
533 " channel=%s: %s)",
800 protected void updateNotificationChannel(NotificationChannel channel) { argument
801 if (channel != null) {
802 mChannel = channel;
136 NotificationRecord(Context context, StatusBarNotification sbn, NotificationChannel channel) argument
H A DRankingHelper.java69 private static final String TAG_CHANNEL = "channel";
220 NotificationChannel channel = new NotificationChannel(id,
222 channel.populateFromXml(parser);
223 r.channels.put(id, channel);
291 // O apps should not have the default channel.
295 // Otherwise, this app should have the default channel.
306 // Keep the default channel until upgraded.
322 // Keep the default channel until upgraded.
327 NotificationChannel channel;
328 channel
538 createNotificationChannel(String pkg, int uid, NotificationChannel channel, boolean fromTargetApp) argument
595 clearLockedFields(NotificationChannel channel) argument
1139 getChannelLog(NotificationChannel channel, String pkg) argument
[all...]
H A DNotificationManagerService.java1305 private void updateNotificationChannelInt(String pkg, int uid, NotificationChannel channel, argument
1307 if (channel.getImportance() == NotificationManager.IMPORTANCE_NONE) {
1309 cancelAllNotificationsInt(MY_UID, MY_PID, pkg, channel.getId(), 0, 0, true,
1313 mRankingHelper.updateNotificationChannel(pkg, uid, channel);
1316 mRankingHelper.getNotificationChannel(pkg, uid, channel.getId(), false);
1330 && channel.getId() != null
1331 && channel.getId().equals(r.getChannel().getId())) {
1660 final NotificationChannel channel = channels.get(i);
1661 Preconditions.checkNotNull(channel, "channel i
5254 notifyNotificationChannelChanged(final String pkg, final UserHandle user, final NotificationChannel channel, final int modificationType) argument
5353 notifyNotificationChannelChanged(ManagedServiceInfo info, final String pkg, final UserHandle user, final NotificationChannel channel, final int modificationType) argument
[all...]
/frameworks/native/libs/input/
H A DInputTransport.cpp10 // Log debug messages about channel messages (send message, receive message)
105 ALOGD("Input channel constructed: name='%s', fd=%d",
110 LOG_ALWAYS_FATAL_IF(result != 0, "channel '%s' ~ Could not make socket "
116 ALOGD("Input channel destroyed: name='%s', fd=%d",
128 ALOGE("channel '%s' ~ Could not create socket pair. errno=%d",
161 ALOGD("channel '%s' ~ error sending message of type %d, errno=%d", mName.string(),
175 ALOGD("channel '%s' ~ error sending message type %d, send was incomplete",
182 ALOGD("channel '%s' ~ sent message of type %d", mName.string(), msg->header.type);
196 ALOGD("channel '%s' ~ receive message failed, errno=%d", mName.string(), errno);
209 ALOGD("channel '
235 InputPublisher(const sp<InputChannel>& channel) argument
375 InputConsumer(const sp<InputChannel>& channel) argument
[all...]
/frameworks/native/libs/vr/libpdx_uds/
H A Dremote_method_tests.cpp694 // Get a new channel as an fd.
695 LocalChannelHandle channel; local
696 const int ret = client->PushChannel(&channel);
698 EXPECT_TRUE(channel.valid());
700 // Create a new client from the channel.
701 auto client2 = TestClient::Create(std::move(channel));
704 // Test that the new channel works.
/frameworks/opt/net/wifi/libwifi_hal/
H A Dhal_tool.cpp194 /* API to get available channel for RTT responder role */
196 wifi_channel_info* channel) {
195 wifi_rtt_get_available_channel_stub(wifi_interface_handle iface, wifi_channel_info* channel) argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DUiccCard.java590 public void iccCloseLogicalChannel(int channel, Message response) { argument
591 loglocal("Close Logical Channel: " + channel);
592 mCi.iccCloseLogicalChannel(channel,
599 public void iccTransmitApduLogicalChannel(int channel, int cla, int command, argument
601 mCi.iccTransmitApduLogicalChannel(channel, cla, command, p1, p2, p3,
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothAdapter.java534 * a ServerSocket that auto assigns a channel number to the first
536 * The channel number assigned to this first Bluetooth Socket will
1690 * @param channel RFCOMM channel to listen on
1693 * insufficient permissions, or channel in use.
1696 public BluetoothServerSocket listenUsingRfcommOn(int channel) throws IOException { argument
1697 return listenUsingRfcommOn(channel, false, false);
1708 * <p>To auto assign a channel without creating a SDP record use
1709 * {@link SOCKET_CHANNEL_AUTO_STATIC_NO_SDP} as channel number.
1710 * @param channel RFCOM
1718 listenUsingRfcommOn(int channel, boolean mitm, boolean min16DigitPin) argument
[all...]
H A DBluetoothDevice.java1397 * outgoing connection to this remote device on given channel.
1414 * @param channel RFCOMM channel to connect to
1420 public BluetoothSocket createRfcommSocket(int channel) throws IOException { argument
1425 return new BluetoothSocket(BluetoothSocket.TYPE_RFCOMM, -1, true, true, this, channel,
1431 * outgoing connection to this remote device on given channel.
1448 * @param channel L2cap PSM/channel to connect to
1454 public BluetoothSocket createL2capSocket(int channel) throws IOException { argument
1455 return new BluetoothSocket(BluetoothSocket.TYPE_L2CAP, -1, true, true, this, channel,
1475 createInsecureL2capSocket(int channel) argument
[all...]
/frameworks/base/core/java/android/service/notification/
H A DNotificationListenerService.java191 /** Notification was canceled by the user banning the channel. */
430 * Implement this method to learn about notification channel modifications.
435 * @param pkg The package the channel belongs to.
437 * @param channel The channel that has changed.
443 NotificationChannel channel, @ChannelOrGroupModificationTypes int modificationType) {
448 * Implement this method to learn about notification channel group modifications.
667 * Updates a notification channel for a given package for a given user. This should only be used
668 * to reflect changes a user has made to the channel via the listener's user interface.
675 * @param pkg The package the channel belong
442 onNotificationChannelModified(String pkg, UserHandle user, NotificationChannel channel, @ChannelOrGroupModificationTypes int modificationType) argument
679 updateNotificationChannel(@onNull String pkg, @NonNull UserHandle user, @NonNull NotificationChannel channel) argument
1267 onNotificationChannelModification(String pkgName, UserHandle user, NotificationChannel channel, @ChannelOrGroupModificationTypes int modificationType) argument
1465 populate(String key, int rank, boolean matchesInterruptionFilter, int visibilityOverride, int suppressedVisualEffects, int importance, CharSequence explanation, String overrideGroupKey, NotificationChannel channel, ArrayList<String> overridePeople, ArrayList<SnoozeCriterion> snoozeCriteria, boolean showBadge) argument
[all...]
/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethodManager.java432 if (res.channel != null && res.channel != mCurChannel) {
433 res.channel.dispose();
441 setInputChannelLocked(res.channel);
837 void setInputChannelLocked(InputChannel channel) { argument
838 if (mCurChannel != channel) {
847 mCurChannel = channel;
1301 setInputChannelLocked(res.channel);
1308 if (res.channel != null && res.channel !
[all...]
/frameworks/base/core/jni/
H A Dandroid_hardware_Radio.cpp326 ALOGV("%s channel %d tuned %d", __FUNCTION__, nProgramInfo->channel, nProgramInfo->tuned);
329 nProgramInfo->channel, nProgramInfo->sub_channel,
530 ALOGV("%s RADIO_EVENT_TUNED channel %d", __FUNCTION__, event->info.channel);
719 android_hardware_Radio_tune(JNIEnv *env, jobject thiz, jint channel, jint subChannel) argument
726 status_t status = module->tune((uint32_t)channel, (uint32_t)subChannel);
/frameworks/base/services/core/java/com/android/server/tv/
H A DTvInputManagerService.java658 IBinder sessionToken, InputChannel channel, int seq) {
660 client.onSessionCreated(inputId, sessionToken, channel, seq);
2455 // TODO: Consider adding this channel change in the watch log. When we do
2457 // be addressed. e.g. add a field which represents where the channel change
2715 // 1. The current TV input session is tuned to a new channel.
657 sendSessionTokenToClientLocked(ITvInputClient client, String inputId, IBinder sessionToken, InputChannel channel, int seq) argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsPhoneCommandInterface.java564 public void iccCloseLogicalChannel(int channel, Message response) {} argument
567 public void iccTransmitApduLogicalChannel(int channel, int cla, int instruction, argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipCommandInterface.java566 public void iccCloseLogicalChannel(int channel, Message response) { argument
570 public void iccTransmitApduLogicalChannel(int channel, int cla, int instruction, argument
/frameworks/base/media/java/android/media/tv/
H A DTvInputManager.java123 * the corresponding TV input is in the middle of tuning to a new channel.
315 * Activity action to set up channel sources i.e.&nbsp;TV inputs of type
376 * This is called when the channel of this session is changed by the underlying TV input
380 * @param channelUri The URI of a channel.
410 * channel.
519 * This is called when the recording session has been tuned to the given channel and is
522 * @param channelUri The URI of a channel.
879 public void onSessionCreated(String inputId, IBinder token, InputChannel channel,
889 session = new Session(token, channel, mService, mUserId, seq,
1687 * Requests to make a channel browsabl
1748 Session(IBinder token, InputChannel channel, ITvInputManager service, int userId, int seq, SparseArray<SessionCallbackRecord> sessionCallbackRecordMap) argument
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
H A DWifiAwareStateManager.java164 private static final String MESSAGE_BUNDLE_KEY_CHANNEL = "channel";
470 int channelRequestType, int channel, byte[] peer, String interfaceName, byte[] pmk,
477 msg.getData().putInt(MESSAGE_BUNDLE_KEY_CHANNEL, channel);
1375 int channel = data.getInt(MESSAGE_BUNDLE_KEY_CHANNEL);
1382 networkSpecifier, peerId, channelRequestType, channel, peer,
2077 int channel, byte[] peer, String interfaceName, byte[] pmk, String passphrase) {
2082 + ", channelRequestType=" + channelRequestType + ", channel=" + channel
2089 channelRequestType, channel, peer, interfaceName, pmk, passphrase, mCapabilities);
469 initiateDataPathSetup(WifiAwareNetworkSpecifier networkSpecifier, int peerId, int channelRequestType, int channel, byte[] peer, String interfaceName, byte[] pmk, String passphrase) argument
2075 initiateDataPathSetupLocal(short transactionId, WifiAwareNetworkSpecifier networkSpecifier, int peerId, int channelRequestType, int channel, byte[] peer, String interfaceName, byte[] pmk, String passphrase) argument
/frameworks/base/core/java/android/app/assist/
H A DAssistStructure.java338 ParcelTransferReader(IBinder channel) { argument
339 mChannel = channel;
2136 // This object holds its data. We want to write a send channel that the
2143 // This object doesn't hold its data, so just propagate along its receive channel.
/frameworks/base/services/core/java/com/android/server/
H A DInputMethodManagerService.java288 InputChannel channel; field in class:InputMethodManagerService.SessionState
297 + " channel " + channel
306 channel = _channel;
1156 InputChannel channel) {
1159 mChannel = channel;
1694 (session.channel != null ? session.channel.dup() : null),
1916 InputChannel channel) {
1923 method, session, channel);
1155 MethodCallback(InputMethodManagerService imms, IInputMethod method, InputChannel channel) argument
1915 onSessionCreated(IInputMethod method, IInputMethodSession session, InputChannel channel) argument
[all...]

Completed in 614 milliseconds

12345