Searched refs:channel (Results 76 - 100 of 196) sorted by relevance

12345678

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationGutsManager.java119 * channel.
122 final NotificationChannel channel, ExpandableNotificationRow row) {
127 if (channel != null) {
128 intent.putExtra(EXTRA_FRAGMENT_ARG_KEY, channel.getId());
264 onSettingsClick = (View v, NotificationChannel channel, int appUid) -> {
268 startAppNotificationSettingsActivity(packageName, appUid, channel, row);
277 row.getEntry().channel,
121 startAppNotificationSettingsActivity(String packageName, final int appUid, final NotificationChannel channel, ExpandableNotificationRow row) argument
/frameworks/av/media/libmediaplayer2/nuplayer2/
H A DNuPlayer2CCDecoder.cpp41 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 DNuPlayer2CCDecoder.h78 size_t getTrackIndex(int32_t trackType, size_t channel, bool *trackAdded);
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerCCDecoder.cpp40 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 DNuPlayerCCDecoder.h78 size_t getTrackIndex(int32_t trackType, size_t channel, bool *trackAdded);
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothSocket.java136 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...]
H A DBluetoothDevice.java1561 * 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...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
H A DAsyncSensorManager.java92 protected void destroyDirectChannelImpl(SensorDirectChannel channel) { argument
97 protected int configureDirectChannelImpl(SensorDirectChannel channel, Sensor s, int rate) { argument
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DNotificationAdjustmentExtractorTest.java108 NotificationChannel channel = new NotificationChannel("a", "a", IMPORTANCE_LOW);
115 return new NotificationRecord(getContext(), sbn, channel);
H A DBuzzBeepBlinkTest.java251 NotificationChannel channel =
263 channel.setSound(Settings.System.DEFAULT_NOTIFICATION_URI,
267 channel.setSound(CUSTOM_SOUND, CUSTOM_ATTRIBUTES);
270 channel.setSound(null, null);
277 channel.setVibrationPattern(CUSTOM_VIBRATION);
279 channel.enableVibration(true);
287 channel.enableLights(true);
307 NotificationRecord r = new NotificationRecord(context, sbn, channel);
901 NotificationChannel channel = new NotificationChannel("test", "test", IMPORTANCE_HIGH);
902 channel
[all...]
H A DNotificationManagerServiceTest.java319 private NotificationRecord generateNotificationRecord(NotificationChannel channel, int id, argument
321 Notification.Builder nb = new Notification.Builder(mContext, channel.getId())
329 return new NotificationRecord(mContext, sbn, channel);
332 private NotificationRecord generateNotificationRecord(NotificationChannel channel) { argument
333 return generateNotificationRecord(channel, null);
336 private NotificationRecord generateNotificationRecord(NotificationChannel channel, argument
338 if (channel == null) {
339 channel = mTestNotificationChannel;
341 Notification.Builder nb = new Notification.Builder(mContext, channel.getId())
349 return new NotificationRecord(mContext, sbn, channel);
[all...]
/frameworks/native/libs/sensor/
H A DISensorEventConnection.cpp127 sp<BitTube> channel(getSensorChannel());
128 channel->writeToParcel(reply);
/frameworks/base/core/java/android/inputmethodservice/
H A DIInputMethodWrapper.java100 InputMethodSessionCallbackWrapper(Context context, InputChannel channel, argument
103 mChannel = channel;
298 public void createSession(InputChannel channel, IInputSessionCallback callback) { argument
300 channel, callback));
/frameworks/base/media/java/android/media/tv/
H A DITvInputSessionWrapper.java82 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
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
H A DTestUtils.java105 int channel, byte[] peer, String interfaceName, byte[] pmk, String passphrase,
104 initiateDataPath(short transactionId, int peerId, int channelRequestType, int channel, byte[] peer, String interfaceName, byte[] pmk, String passphrase, boolean isOutOfBand, Capabilities capabilities) argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DUiccCard.java266 public void iccCloseLogicalChannel(int channel, Message response) { argument
268 mUiccProfile.iccCloseLogicalChannel(channel, response);
281 public void iccTransmitApduLogicalChannel(int channel, int cla, int command, argument
284 mUiccProfile.iccTransmitApduLogicalChannel(channel, cla, command, p1, p2, p3,
/frameworks/native/libs/vr/libpdx_uds/private/uds/
H A Dservice_endpoint.h43 Status<void> SetChannel(int channel_id, Channel* channel) override;
48 Channel* channel,
51 Channel** channel) override;
104 // Test helper method to register a new channel identified by |channel_fd|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
H A DChannelHelper.java27 * ChannelHelper offers an abstraction for channel manipulation utilities allowing operation to be
36 * The estimated period spent scanning each channel. This is used for estimating scan duration.
48 * Return true if the specified channel is expected for a scan with the given settings
50 public abstract boolean settingsContainChannel(WifiScanner.ScanSettings settings, int channel); argument
64 * Update the channel information that this object has. The source of the update is
79 * Add a channel to the collection
81 public abstract void addChannel(int channel); argument
87 * @return true if the collection contains the supplied channel
89 public abstract boolean containsChannel(int channel); argument
111 * Retrieves a list of channels from the band which are missing in the channel collectio
[all...]
H A DBackgroundScanScheduler.java94 * had channel 5 with periods of 15 seconds and 25 seconds then channel 5 would be scanned
127 * This class is an intermediate representation for scheduling. This maintins the channel
170 // maintaining the correct channel collection, so recreate the channel
578 for (Integer channel : currentBucketChannels) {
579 currentBucketSettings.channels[chanIdx++] = new WifiScanner.ChannelSpec(channel);
597 for (Integer channel : targetBucketChannels) {
598 targetBucketSettings.channels[chanIdx++] = new WifiScanner.ChannelSpec(channel);
683 * cumulative channel acros
[all...]
/frameworks/support/tv-provider/src/androidTest/java/androidx/tvprovider/media/tv/
H A DPreviewChannelHelperTest.java336 PreviewChannel channel = null;
342 channel = helper.getPreviewChannel(channelId);
343 logoReady = null != channel.getLogo(mContext);
345 return channel;
384 PreviewChannel channel = builder.build();
385 assertTrue(channelsEqual(channel, channelFromTvProvider));
388 .setDisplayName(channel.getDisplayName())
389 .setAppLinkIntentUri(channel.getAppLinkIntentUri())
393 assertFalse(channelsEqual(channel, channelFromTvProvider));
408 protected void updatePreviewChannelInternal(long channelId, PreviewChannel channel) {
[all...]
/frameworks/rs/tests/lldb/tests/harness/
H A Dutil_android.py696 channel = multiprocessing.Queue()
700 args=(command, channel)
710 return_code, output = channel.get(True, timeout)
723 def _handle_remote_request(command, channel):
726 It executes the given command and reports the result into the channel.
733 channel: the channel to communicate with the caller process.
735 channel.put(UtilAndroid._execute_command_local(command))
/frameworks/base/services/core/java/com/android/server/
H A DPersistentDataBlockService.java344 FileChannel channel = outputStream.getChannel();
346 channel.position(getBlockDeviceSize() - 1);
351 channel.write(data);
628 FileChannel channel = outputStream.getChannel();
630 channel.position(getBlockDeviceSize() - 1 - FRP_CREDENTIAL_RESERVED_SIZE);
631 channel.write(data);
/frameworks/av/media/extractors/aac/
H A DAACExtractor.cpp141 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/base/core/java/android/hardware/radio/
H A DRadioTuner.java121 * 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
/frameworks/base/core/tests/BroadcastRadioTests/src/android/hardware/radio/tests/functional/
H A DRadioTunerTest.java290 int channel = mFmBandConfig.getLowerLimit() + mFmBandConfig.getSpacing();
293 int ret = mRadioTuner.tune(channel, 0);
299 assertEquals(channel, infoc.getValue().getChannel());
306 assertEquals(channel, info[0].getChannel());

Completed in 909 milliseconds

12345678