/frameworks/av/media/extractors/aac/ |
H A D | AACExtractor.cpp | 141 uint8_t profile, sf_index, channel, header[2]; local 152 channel = (header[0] & 0x1) << 2 | (header[1] >> 6); 154 MakeAACCodecSpecificData(mMeta, profile, sf_index, channel);
|
/frameworks/av/media/libmediaplayer2/nuplayer2/ |
H A D | NuPlayer2CCDecoder.cpp | 41 bool getChannel(size_t *channel) const { 43 *channel = (mData1 >= 0x18 ? 1 : 0) + (mType ? 2 : 0); 162 // For CEA-608 CC1, field 0 channel 0 392 size_t channel; local 393 if (cc.getChannel(&channel)) { 394 mLine21Channels[cc_type] = channel; 397 getTrackIndex(kTrackTypeCEA608, channel, &trackAdded); 477 // return the track index for a given type and channel. 480 int32_t trackType, size_t channel, bool *trackAdded) { 481 CCTrack track(trackType, channel); 479 getTrackIndex( int32_t trackType, size_t channel, bool *trackAdded) argument [all...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerCCDecoder.cpp | 40 bool getChannel(size_t *channel) const { 42 *channel = (mData1 >= 0x18 ? 1 : 0) + (mType ? 2 : 0); 163 // For CEA-608 CC1, field 0 channel 0 393 size_t channel; local 394 if (cc.getChannel(&channel)) { 395 mLine21Channels[cc_type] = channel; 398 getTrackIndex(kTrackTypeCEA608, channel, &trackAdded); 478 // return the track index for a given type and channel. 481 int32_t trackType, size_t channel, bool *trackAdded) { 482 CCTrack track(trackType, channel); 480 getTrackIndex( int32_t trackType, size_t channel, bool *trackAdded) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | NotificationChannelGroup.java | 59 * Creates a notification channel group. 177 public void addChannel(NotificationChannel channel) { argument 178 mChannels.add(channel); 310 for (NotificationChannel channel : mChannels) { 311 channel.writeToProto(proto, NotificationChannelGroupProto.CHANNELS);
|
H A D | NotificationManager.java | 114 * This broadcast is only sent to the app that owns the channel that has changed. 128 * The value will be the {@link NotificationChannel#getId()} of the channel. 148 * The value will be {@code true} if this channel or group is now blocked and {@code false} if 149 * this channel or group is now unblocked. 157 * This broadcast is only sent to the app that owns the channel group that has changed. 481 * labels instead of appending account information to each channel's label. 491 * Creates multiple notification channel groups. 506 * Creates a notification channel that notifications can be posted to. 508 * This can also be used to restore a deleted channel and to update an existing channel' 528 createNotificationChannel(@onNull NotificationChannel channel) argument [all...] |
/frameworks/base/core/java/android/app/assist/ |
H A D | AssistStructure.java | 342 ParcelTransferReader(IBinder channel) { argument 343 mChannel = channel; 2303 // This object holds its data. We want to write a send channel that the 2310 // This object doesn't hold its data, so just propagate along its receive channel.
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothAdapter.java | 560 * a ServerSocket that auto assigns a channel number to the first 562 * The channel number assigned to this first Bluetooth Socket will 1915 * @param channel RFCOMM channel to listen on 1918 * permissions, or channel in use. 1921 public BluetoothServerSocket listenUsingRfcommOn(int channel) throws IOException { argument 1922 return listenUsingRfcommOn(channel, false, false); 1933 * <p>To auto assign a channel without creating a SDP record use 1934 * {@link #SOCKET_CHANNEL_AUTO_STATIC_NO_SDP} as channel number. 1936 * @param channel RFCOM 1945 listenUsingRfcommOn(int channel, boolean mitm, boolean min16DigitPin) argument [all...] |
H A D | BluetoothDevice.java | 1561 * outgoing connection to this remote device on given channel. 1578 * @param channel RFCOMM channel to connect to 1584 public BluetoothSocket createRfcommSocket(int channel) throws IOException { argument 1589 return new BluetoothSocket(BluetoothSocket.TYPE_RFCOMM, -1, true, true, this, channel, 1595 * outgoing connection to this remote device on given channel. 1612 * @param channel L2cap PSM/channel to connect to 1618 public BluetoothSocket createL2capSocket(int channel) throws IOException { argument 1619 return new BluetoothSocket(BluetoothSocket.TYPE_L2CAP, -1, true, true, this, channel, 1639 createInsecureL2capSocket(int channel) argument [all...] |
H A D | BluetoothMasInstance.java | 29 public BluetoothMasInstance(int id, String name, int channel, int msgTypes) { argument 32 mChannel = channel;
|
/frameworks/base/core/java/android/hardware/ |
H A D | SensorManager.java | 889 * Create a sensor direct channel backed by shared memory wrapped in MemoryFile object. 891 * The resulting channel can be used for delivering sensor events to native code, other 898 * to free up resource in sensor system associated with the direct channel. 903 * @throws UncheckedIOException if not able to create channel. 912 * Create a sensor direct channel backed by shared memory wrapped in HardwareBuffer object. 914 * The resulting channel can be used for delivering sensor events to native code, other 921 * to free up resource in sensor system associated with the direct channel. 926 * @throws UncheckedIOException if not able to create channel. 939 void destroyDirectChannel(SensorDirectChannel channel) { argument 940 destroyDirectChannelImpl(channel); 944 destroyDirectChannelImpl(SensorDirectChannel channel) argument 948 configureDirectChannel(SensorDirectChannel channel, Sensor sensor, int rateLevel) argument 953 configureDirectChannelImpl( SensorDirectChannel channel, Sensor s, int rate) argument [all...] |
H A D | SystemSensorManager.java | 526 SensorDirectChannel channel, Sensor sensor, int rate) { 527 if (!channel.isOpen()) { 528 throw new IllegalStateException("channel is closed"); 545 mNativeInstance, channel.getNativeHandle(), sensorHandle, rate); 579 new IOException("create MemoryFile direct channel failed " + id)); 604 new IOException("create HardwareBuffer direct channel failed " + id)); 614 protected void destroyDirectChannelImpl(SensorDirectChannel channel) { argument 615 if (channel != null) { 616 nativeDestroyDirectChannel(mNativeInstance, channel.getNativeHandle()); 621 * BaseEventQueue is the communication channel wit 525 configureDirectChannelImpl( SensorDirectChannel channel, Sensor sensor, int rate) argument [all...] |
/frameworks/base/core/java/android/hardware/radio/ |
H A D | RadioTuner.java | 121 * Step up or down by one channel spacing. 127 * selected supports sub channel (e.g HD Radio). N/A otherwise. 148 * selected supports sub channel (e.g HD Radio). N/A otherwise. 167 * @param channel the specific channel or frequency to tune to. 168 * @param subChannel the specific sub-channel to tune to. N/A if the selected configuration 183 public abstract int tune(int channel, int subChannel); argument
|
H A D | TunerAdapter.java | 155 public int tune(int channel, int subChannel) { argument 157 mTuner.tune(ProgramSelector.createAmFmSelector(mBand, channel, subChannel));
|
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | IInputMethodSessionWrapper.java | 62 InputMethodSession inputMethodSession, InputChannel channel) { 66 mChannel = channel; 67 if (channel != null) { 68 mReceiver = new ImeInputEventReceiver(channel, context.getMainLooper()); 61 IInputMethodSessionWrapper(Context context, InputMethodSession inputMethodSession, InputChannel channel) argument
|
H A D | IInputMethodWrapper.java | 100 InputMethodSessionCallbackWrapper(Context context, InputChannel channel, argument 103 mChannel = channel; 298 public void createSession(InputChannel channel, IInputSessionCallback callback) { argument 300 channel, callback));
|
/frameworks/base/core/java/android/se/omapi/ |
H A D | Channel.java | 34 * Instances of this class represent an ISO/IEC 7816-4 channel opened to a 35 * Secure Element. It can be either a logical channel or the basic channel. They 51 @NonNull ISecureElementChannel channel) { 52 if (service == null || session == null || channel == null) { 57 mChannel = channel; 61 * Closes this channel to the Secure Element. If the method is called when 62 * the channel is already closed, this method will be ignored. The close() 64 * before closing the channel. 72 Log.e(TAG, "Error closing channel", 50 Channel(@onNull SEService service, @NonNull Session session, @NonNull ISecureElementChannel channel) argument [all...] |
/frameworks/base/core/java/android/service/notification/ |
H A D | NotificationListenerService.java | 204 /** Notification was canceled by the user banning the channel. */ 463 * Implement this method to learn about notification channel modifications. 468 * @param pkg The package the channel belongs to. 470 * @param channel The channel that has changed. 476 NotificationChannel channel, @ChannelOrGroupModificationTypes int modificationType) { 481 * Implement this method to learn about notification channel group modifications. 700 * Updates a notification channel for a given package for a given user. This should only be used 701 * to reflect changes a user has made to the channel via the listener's user interface. 708 * @param pkg The package the channel belong 475 onNotificationChannelModified(String pkg, UserHandle user, NotificationChannel channel, @ChannelOrGroupModificationTypes int modificationType) argument 712 updateNotificationChannel(@onNull String pkg, @NonNull UserHandle user, @NonNull NotificationChannel channel) argument 1334 onNotificationChannelModification(String pkgName, UserHandle user, NotificationChannel channel, @ChannelOrGroupModificationTypes int modificationType) argument 1581 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, int userSentiment, boolean hidden) argument [all...] |
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | InputMethodManager.java | 452 if (res.channel != null && res.channel != mCurChannel) { 453 res.channel.dispose(); 461 setInputChannelLocked(res.channel); 896 void setInputChannelLocked(InputChannel channel) { argument 897 if (mCurChannel != channel) { 906 mCurChannel = channel; 1362 setInputChannelLocked(res.channel); 1368 } else if (res.channel != null && res.channel ! [all...] |
/frameworks/base/core/java/com/android/internal/view/ |
H A D | InputBindResult.java | 65 * is not yet established on top of the IPC channel.</p> 67 * <p>Some of fields such as {@link #channel} is not yet available.</p> 80 * <p>Some of fields such as {@link #channel} is not yet available.</p> 157 * The input channel used to send input events to this IME. 159 public final InputChannel channel; field in class:InputBindResult 182 channel = _channel; 192 channel = InputChannel.CREATOR.createFromParcel(source); 194 channel = null; 219 if (channel != null) { 221 channel [all...] |
/frameworks/base/lowpan/java/android/net/lowpan/ |
H A D | LowpanScanner.java | 83 * Sets the channel mask to use when scanning. 85 * @param mask The channel mask to use when scanning. If <code>null</code>, any previously set 86 * channel mask will be cleared and all channels not masked by the current regulatory zone 103 * Gets the current channel mask. 105 * @return the current channel mask, or <code>null</code> if no channel mask is currently set. 112 * Adds a channel to the channel mask used for scanning. 114 * <p>If a channel mask was previously <code>null</code>, a new one is created containing only 115 * this channel 121 addChannel(int channel) argument [all...] |
/frameworks/base/media/java/android/media/ |
H A D | JetPlayer.java | 85 private static final int JET_EVENT_CHAN_MASK = 0x0003c000; // mask for channel 89 private static final int JET_EVENT_CHAN_SHIFT = 14; // shift to get MIDI channel to bit 0 422 // JETCreator channel numbers start at 1, but the index starts at 0 504 * @param channel 4 bit unsigned value 509 short segment, byte track, byte channel, byte controller, byte value); 508 onJetEvent(JetPlayer player, short segment, byte track, byte channel, byte controller, byte value) argument
|
/frameworks/base/media/java/android/media/audiofx/ |
H A D | DynamicsProcessing.java | 36 * <p>The effect is instantiated and controlled by channels. Each channel has the same basic 38 * <p>The basic channel configuration is: 259 Channel channel = queryEngineByChannelIndex(ch); 260 config.setChannelTo(ch, channel); 1263 * @param channel array of Channel objects to be used for this configuration. 1270 Channel[] channel) { 1283 //check if channelconfig is null or has less channels than channel count. 1287 if (ch < channel.length) { 1288 mChannel[ch] = new Channel(channel[ch]); //copy create 1299 * greater than number of channels in cfg, the constructor will duplicate the last channel 1265 Config(int variant, float frameDurationMs, int channelCount, boolean preEqInUse, int preEqBandCount, boolean mbcInUse, int mbcBandCount, boolean postEqInUse, int postEqBandCount, boolean limiterInUse, Channel[] channel) argument 1452 setChannelTo(int channelIndex, Channel channel) argument 1475 setAllChannelsTo(Channel channel) argument 1688 setChannelTo(int channelIndex, Channel channel) argument 1706 setAllChannelsTo(Channel channel) argument 1775 setChannelTo(int channelIndex, Channel channel) argument 1779 setAllChannelsTo(Channel channel) argument 2122 updateEngineChannelByChannelIndex(int channelIndex, @NonNull Channel channel) argument [all...] |
/frameworks/base/media/java/android/media/tv/ |
H A D | ITvInputSessionWrapper.java | 82 InputChannel channel) { 86 mChannel = channel; 87 if (channel != null) { 88 mReceiver = new TvInputEventReceiver(channel, context.getMainLooper()); 81 ITvInputSessionWrapper(Context context, TvInputService.Session sessionImpl, InputChannel channel) argument
|
H A D | TvInputManager.java | 123 * the corresponding TV input is in the middle of tuning to a new channel. 315 * Activity action to set up channel sources i.e. 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, 1690 * Requests to make a channel browsabl 1751 Session(IBinder token, InputChannel channel, ITvInputManager service, int userId, int seq, SparseArray<SessionCallbackRecord> sessionCallbackRecordMap) argument [all...] |
/frameworks/base/media/jni/soundpool/ |
H A D | SoundPool.cpp | 99 void SoundPool::addToRestartList(SoundChannel* channel) argument 103 mRestart.push_back(channel); 108 void SoundPool::addToStopList(SoundChannel* channel) argument 112 mStop.push_back(channel); 132 SoundChannel* channel; local 133 ALOGV("Getting channel from stop list"); 135 channel = *iter; 138 if (channel != 0) { 140 channel->stop(); 147 SoundChannel* channel; local 252 SoundChannel* channel; local 288 SoundChannel* channel = NULL; local 326 moveToFront_l(SoundChannel* channel) argument 341 SoundChannel* channel = findChannel(channelID); local 352 SoundChannel* channel = &mChannelPool[i]; local 361 SoundChannel* channel = findChannel(channelID); local 385 SoundChannel* channel = &mChannelPool[i]; local 394 SoundChannel* channel = findChannel(channelID); local 407 SoundChannel* channel = findChannel(channelID); local 417 SoundChannel* channel = findChannel(channelID); local 427 SoundChannel* channel = findChannel(channelID); local 437 SoundChannel* channel = findChannel(channelID); local 444 done_l(SoundChannel* channel) argument 873 SoundChannel* channel = static_cast<SoundChannel*>((void *)((unsigned long)user & ~1)); local [all...] |