/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/libeffects/dynamicsproc/ |
H A D | EffectDynamicsProcessing.cpp | 387 int32_t channel) { 391 dp_fx::DPChannel *pChannel = pContext->mPDynamics->getChannel(channel); 392 ALOGE_IF(pChannel == NULL, "DPChannel NULL. invalid channel %d", channel); 396 static dp_fx::DPEq* DP_getEq(DynamicsProcessingContext *pContext, int32_t channel, 398 dp_fx::DPChannel *pChannel = DP_getChannel(pContext, channel); 408 static dp_fx::DPEqBand* DP_getEqBand(DynamicsProcessingContext *pContext, int32_t channel, 410 dp_fx::DPEq *pEq = DP_getEq(pContext, channel, eqType); 419 static dp_fx::DPMbc* DP_getMbc(DynamicsProcessingContext *pContext, int32_t channel) { 420 dp_fx::DPChannel * pChannel = DP_getChannel(pContext, channel); [all...] |
/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...] |
H A D | NuPlayer2CCDecoder.h | 78 size_t getTrackIndex(int32_t trackType, size_t channel, bool *trackAdded);
|
/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...] |
H A D | NuPlayerCCDecoder.h | 78 size_t getTrackIndex(int32_t trackType, size_t channel, bool *trackAdded);
|
/frameworks/base/config/ |
H A D | boot-image-profile.txt | [all...] |
/frameworks/base/core/java/android/app/ |
H A D | INotificationManager.aidl | 75 void updateNotificationChannelForPackage(String pkg, int uid, in NotificationChannel channel); 123 void updateNotificationChannelFromPrivilegedListener(in INotificationListener token, String pkg, in UserHandle user, in NotificationChannel channel);
|
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;
|
H A D | BluetoothSocket.java | 136 private int mPort; /* RFCOMM channel or L2CAP psm */ 200 throw new IOException("Invalid RFCOMM channel: " + port); 399 int channel = readInt(mSocketIS); 400 if (channel <= 0) { 403 mPort = channel; 459 int channel = readInt(mSocketIS); 465 if (DBG) Log.d(TAG, "bindListen(): channel=" + channel + ", mPort=" + mPort); 467 mPort = channel; 468 } // else ASSERT(mPort == channel) [all...] |
/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...] |
H A D | Session.java | 37 * communication channel with an Applet in the Secure Element. 38 * This channel can be the basic channel or a logical channel. 122 * Close any channel opened on this session. 140 * Get an access to the basic channel, as defined in the ISO/IEC 7816-4 specification (the 142 * If the AID is null, it means no Applet is to be selected on this channel and the default 144 * Once this channel has been opened by a device application, it is considered as "locked" 146 * channel is closed. Some Secure Elements (like the UICC) might always keep the basic channel [all...] |
/frameworks/base/core/java/android/service/notification/ |
H A D | INotificationListener.aidl | 42 void onNotificationChannelModification(String pkgName, in UserHandle user, in NotificationChannel channel, int modificationType);
|
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...] |