/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/hardware/ |
H A D | FakeSensorManager.java | 140 protected void destroyDirectChannelImpl(SensorDirectChannel channel) { argument 145 protected int configureDirectChannelImpl(SensorDirectChannel channel, Sensor s, int rate) { argument
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
H A D | colorspace.cpp | 30 uint8 channel[4]; member in union:Rgba 48 color.channel[kRed] = clamp(y + static_cast<int>(1.402 * v)); 49 color.channel[kGreen] = clamp(y - static_cast<int>(0.344 * u + 0.714 * v)); 50 color.channel[kBlue] = clamp(y + static_cast<int>(1.772 * u)); 51 color.channel[kAlpha] = 0xFF; 103 color_out.channel[kRed] = color_in.channel[kGreen]; 104 color_out.channel[kGreen] = color_in.channel[kBlue]; 105 color_out.channel[kBlu [all...] |
/frameworks/native/libs/vr/libpdx/ |
H A D | client.cpp | 59 Client::Client(std::unique_ptr<ClientChannel> channel) argument 60 : channel_{std::move(channel)} {}
|
H A D | client_tests.cpp | 61 explicit SimpleClient(std::unique_ptr<ClientChannel> channel) argument 62 : BASE{std::move(channel)} {} 84 explicit FailingClient(std::unique_ptr<ClientChannel> channel, int error_code) argument 85 : BASE{std::move(channel)} { 120 std::unique_ptr<MockClientChannel> channel = 123 on_connect_callback_(channel.get()); 124 return Status<std::unique_ptr<ClientChannel>>{std::move(channel)};
|
H A D | service_tests.cpp | 92 void(Message& message, const std::shared_ptr<Channel>& channel)); 123 info->channel = nullptr; 173 info.channel = test_channel.get(); 201 info.channel = test_channel.get(); 224 auto channel = std::make_shared<Channel>(); local 225 EXPECT_CALL(*service_, OnChannelOpen(Ref(message))).WillOnce(Return(channel)); 226 EXPECT_CALL(*endpoint(), SetChannel(kTestCid, channel.get())) 238 auto channel = std::make_shared<Channel>(); local 239 info.channel = channel 770 std::shared_ptr<Channel> channel; local 782 std::shared_ptr<Channel> channel; local 802 std::shared_ptr<Channel> channel; local [all...] |
/frameworks/native/libs/vr/libvrflinger/ |
H A D | display_service.cpp | 116 const std::shared_ptr<Channel>& channel) { 117 if (auto surface = std::static_pointer_cast<DisplaySurface>(channel)) { 223 // Creates a new DisplaySurface and associates it with this channel. This may 224 // only be done once per channel. 227 // A surface may only be created once per channel. 234 // Use the channel id as the unique surface id. 315 // channel. 115 OnChannelClose(pdx::Message& message, const std::shared_ptr<Channel>& channel) argument
|
/frameworks/native/services/vr/bufferhubd/ |
H A D | producer_channel.cpp | 262 "ProducerChannel::CreateConsumer: Failed to push consumer channel: %s", 285 "ProducerChannel::CreateConsumer: failed to set new consumer channel: " 366 ALOGE("ProducerChanneL::OnGain: Already in gained state: channel=%d", 407 "channel: %s", 418 std::unique_ptr<DetachedBufferChannel> channel = local 422 if (!channel) { 428 service()->SetChannel(channel_id, std::move(channel)); 430 // Technically, this should never fail, as we just pushed the channel. Note 434 "channel: %s.", 528 void ProducerChannel::OnConsumerOrphaned(ConsumerChannel* channel) { argument 553 AddConsumer(ConsumerChannel* channel) argument 557 RemoveConsumer(ConsumerChannel* channel) argument [all...] |
H A D | producer_queue_channel.cpp | 111 "channel: %s", 129 "ProducerQueueChannel::OnCreateConsumerQueue: Failed to set channel: " 208 // channel, and returning its file handle back to the client. 209 // buffer_id is the id of the producer channel of BufferHubBuffer. 214 ALOGE("ProducerQueueChannel::AllocateBuffer: failed to push channel: %s", 246 "ProducerQueueChannel::AllocateBuffer: failed to set producer channel " 269 // Notify each consumer channel about the new buffer. 303 void ProducerQueueChannel::AddConsumer(ConsumerQueueChannel* channel) { argument 304 consumer_channels_.push_back(channel); 307 void ProducerQueueChannel::RemoveConsumer(ConsumerQueueChannel* channel) { argument [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
H A D | ChannelHelper.java | 27 * 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 D | KnownBandsChannelHelper.java | 27 * ChannelHelper that offers channel manipulation utilities when the channels in a band are known. 117 public boolean settingsContainChannel(WifiScanner.ScanSettings settings, int channel) { argument 125 if (settingsChannels[i].frequency == channel) { 134 * When the max channels value is satisfied this implementation will always create a channel 147 * Contains all bands, including those that were added because an added channel was in that 169 public boolean containsChannel(int channel) { argument 170 return mChannels.contains(channel);
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
H A D | WifiApConfigStoreTest.java | 99 String ssid, String preSharedKey, int keyManagement, int band, int channel) { 105 config.apChannel = channel; 167 40 /* AP channel */); 187 40 /* AP channel */); 214 40 /* AP channel */); 238 40 /* AP channel */); 245 WifiApConfigStore.AP_CHANNEL_DEFAULT /* AP channel */); 269 40 /* AP channel */); 294 40 /* AP channel */); 301 WifiApConfigStore.AP_CHANNEL_DEFAULT /* AP channel */); 98 setupApConfig( String ssid, String preSharedKey, int keyManagement, int band, int channel) argument [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/ |
H A D | TestUtils.java | 105 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/wilhelm/src/android/util/ |
H A D | AacAdtsExtractor.cpp | 108 uint8_t profile, sf_index, channel, header[2]; local 123 channel = (header[0] & 0x1) << 2 | (header[1] >> 6); 125 SL_LOGV("AacAdtsExtractor has found sr=%d channel=%d", sr, channel); 128 MakeAACCodecSpecificData(*mMeta, profile, sf_index, channel);
|
/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/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
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | NotificationGutsManager.java | 119 * 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/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | NotificationRecordTest.java | 90 private final String channelId = "channel"; 91 NotificationChannel channel = field in class:NotificationRecordTest 142 channel.setSound(CUSTOM_SOUND, CUSTOM_ATTRIBUTES); 145 channel.setSound(null, null); 153 channel.setVibrationPattern(CUSTOM_CHANNEL_VIBRATION); 161 channel.setLightColor(Color.BLUE); 163 channel.enableLights(true); 165 channel.enableLights(false); 237 channel.setSound(CUSTOM_SOUND, CUSTOM_ATTRIBUTES); 243 NotificationRecord record = new NotificationRecord(mMockContext, sbn, channel); [all...] |
/frameworks/native/libs/ui/ |
H A D | GraphicBuffer.cpp | 494 status_t GraphicBuffer::setDetachedBufferHandle(std::unique_ptr<DetachedBufferHandle> channel) { argument 496 ALOGW("setDetachedBuffer: there is already a BufferHub channel associated with this " 500 mDetachedBufferHandle = std::move(channel);
|
/frameworks/native/libs/vr/libbufferhub/ |
H A D | buffer_hub_client.cpp | 61 "BufferHub::CreateConsumer: Failed to create consumer channel: %s", 245 BufferConsumer::BufferConsumer(LocalChannelHandle channel) argument 246 : BASE(std::move(channel)) { 256 LocalChannelHandle channel) { 258 ALOGD_IF(TRACE, "BufferConsumer::Import: channel=%d", channel.value()); 259 return BufferConsumer::Create(std::move(channel)); 473 BufferProducer::BufferProducer(LocalChannelHandle channel) argument 474 : BASE(std::move(channel)) { 620 LocalChannelHandle channel) { 255 Import( LocalChannelHandle channel) argument 619 Import( LocalChannelHandle channel) argument [all...] |
/frameworks/native/libs/vr/libbufferhubqueue/ |
H A D | buffer_hub_queue_client.cpp | 132 // A temporary consumer queue client to pull its channel parcelable. 575 std::unique_ptr<pdx::ClientChannel> channel = TakeChannel(); local 576 ProducerQueueParcelable queue_parcelable(channel->TakeChannelParcelable()); 579 // resources backing the queue; while the original client channel of this
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/ |
H A D | EuiccCardTest.java | 170 int channel = mockLogicalChannelResponses("BF3E065A041A2B3C4D9000"); 197 verifyStoreData(channel, "BF3E035C015A"); 202 int channel = mockLogicalChannelResponses( 214 verifyStoreData(channel, "BF2D0D5C0B5A909192B79F709599BF76"); 220 int channel = mockLogicalChannelResponses( 231 verifyStoreData(channel, "BF2D0D5C0B5A909192B79F709599BF76"); 236 int channel = mockLogicalChannelResponses("BF2D8184A08181E37F" 277 verifyStoreData(channel, "BF2D1BA00C5A0A896700000000004523015C0B5A909192B79F709599BF76"); 282 int channel = mockLogicalChannelResponses("BF32038001009000"); 289 verifyStoreData(channel, "BF3211A00C5A0A896700000000004523018101F 987 verifyStoreData(int channel, String command) 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/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
|