/frameworks/native/libs/vr/libpdx_uds/ |
H A D | channel_manager.cpp | 16 auto channel = channels_.find(handle); local 17 if (channel == channels_.end()) { 18 ALOGE("Invalid channel handle: %d", handle); 20 channels_.erase(channel); 38 auto channel = channels_.find(handle); local 39 return channel != channels_.end() ? &channel->second : nullptr;
|
/frameworks/base/services/tests/notification/src/com/android/server/notification/ |
H A D | ImportanceExtractorTest.java | 62 private NotificationRecord getNotificationRecord(NotificationChannel channel) { argument 72 NotificationRecord r = new NotificationRecord(getContext(), sbn, channel); 87 NotificationChannel channel = 90 NotificationRecord r = getNotificationRecord(channel); 106 NotificationChannel channel = 109 NotificationRecord r = getNotificationRecord(channel);
|
/frameworks/base/core/java/com/android/internal/view/ |
H A D | InputBindResult.java | 36 * The input channel used to send input events to this IME. 38 public final InputChannel channel; field in class:InputBindResult 59 channel = _channel; 68 channel = InputChannel.CREATOR.createFromParcel(source); 70 channel = null; 94 if (channel != null) { 96 channel.writeToParcel(dest, flags); 123 return channel != null ? channel.describeContents() : 0;
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | IccOpenLogicalChannelResponse.java | 28 * Indicates an invalid channel. 33 * Possible status values returned by open channel command. 35 * STATUS_NO_ERROR: Open channel command returned successfully. 38 * STATUS_UNKNOWN_ERROR: Unknown error in open channel command. 54 public IccOpenLogicalChannelResponse(int channel, int status, byte[] selectResponse) { argument 55 mChannel = channel; 76 * @return the channel id.
|
/frameworks/native/libs/vr/libvrflinger/ |
H A D | display_manager_service.cpp | 29 "DisplayManager::SetNotificationPending: Failed to modify channel " 61 pdx::Message& /*message*/, const std::shared_ptr<pdx::Channel>& channel) { 62 // Unregister the display manager when the channel closes. 63 if (display_manager_ == channel) 68 auto channel = std::static_pointer_cast<DisplayManager>(message.GetChannel()); local 60 OnChannelClose( pdx::Message& , const std::shared_ptr<pdx::Channel>& channel) argument
|
H A D | vsync_service.cpp | 62 const std::shared_ptr<Channel>& channel) { 63 auto client = std::static_pointer_cast<VSyncChannel>(channel); 61 OnChannelClose(pdx::Message& , const std::shared_ptr<Channel>& channel) argument
|
/frameworks/opt/net/wifi/libwifi_system/ |
H A D | hostapd_manager.cpp | 129 int channel, 134 if (channel < 0) { 135 channel = kDefaultApChannel; 182 "channel=%d\n" 190 channel, 191 (channel <= 14) ? 'g' : 'a', 125 CreateHostapdConfig( const string& interface_name, const vector<uint8_t> ssid, bool is_hidden, int channel, EncryptionType encryption_type, const vector<uint8_t> passphrase) argument
|
/frameworks/wilhelm/src/itf/ |
H A D | IMIDIMuteSolo.cpp | 22 static SLresult IMIDIMuteSolo_SetChannelMute(SLMIDIMuteSoloItf self, SLuint8 channel, argument 27 if (channel > 15) { 31 SLuint16 mask = 1 << channel; 45 static SLresult IMIDIMuteSolo_GetChannelMute(SLMIDIMuteSoloItf self, SLuint8 channel, argument 50 if (channel > 15 || (NULL == pMute)) { 57 *pMute = (mask >> channel) & 1; 65 static SLresult IMIDIMuteSolo_SetChannelSolo(SLMIDIMuteSoloItf self, SLuint8 channel, argument 70 if (channel > 15) { 74 SLuint16 mask = 1 << channel; 88 static SLresult IMIDIMuteSolo_GetChannelSolo(SLMIDIMuteSoloItf self, SLuint8 channel, argument [all...] |
/frameworks/av/services/radio/ |
H A D | RadioHalLegacy.cpp | 166 int RadioHalLegacy::Tuner::tune(unsigned int channel, unsigned int sub_channel) argument 171 return mHalTuner->tune(mHalTuner, channel, sub_channel);
|
H A D | RadioHalHidl.cpp | 197 int RadioHalHidl::Tuner::tune(unsigned int channel, unsigned int sub_channel) argument 204 mHalTuner->tune(channel, sub_channel); 316 Return<void> RadioHalHidl::Tuner::newMetadata(uint32_t channel, uint32_t subChannel, argument 324 HidlUtils::convertMetaDataFromHal(&event.metadata, metadata, channel, subChannel);
|
/frameworks/base/core/java/android/app/ |
H A D | NotificationChannelGroup.java | 58 * Creates a notification channel group. 105 * Returns the id of this channel. 112 * Returns the user visible name of this channel. 130 public void addChannel(NotificationChannel channel) { argument 131 mChannels.add(channel);
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothMasInstance.java | 29 public BluetoothMasInstance(int id, String name, int channel, int msgTypes) { argument 32 mChannel = channel;
|
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | RankingConfig.java | 39 void createNotificationChannel(String pkg, int uid, NotificationChannel channel, argument 41 void updateNotificationChannel(String pkg, int uid, NotificationChannel channel); argument
|
/frameworks/native/services/vr/bufferhubd/ |
H A D | producer_queue_channel.cpp | 109 "channel: %s", 127 "ProducerQueueChannel::OnCreateConsumerQueue: Failed to set channel: " 206 // channel, and returning its file handle back to the client. 207 // buffer_id is the id of the producer channel of BufferHubBuffer. 212 ALOGE("ProducerQueueChannel::AllocateBuffer: failed to push channel: %s", 244 "ProducerQueueChannel::AllocateBuffer: failed to set producer channel " 267 // Notify each consumer channel about the new buffer. 301 void ProducerQueueChannel::AddConsumer(ConsumerQueueChannel* channel) { argument 302 consumer_channels_.push_back(channel); 305 void ProducerQueueChannel::RemoveConsumer(ConsumerQueueChannel* channel) { argument [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
H A D | NoBandChannelHelper.java | 27 * ChannelHelper that offers channel manipulation utilities when the channels in a band are not 40 public boolean settingsContainChannel(WifiScanner.ScanSettings settings, int channel) { argument 43 if (settings.channels[i].frequency == channel) { 89 public boolean containsChannel(int channel) { argument 90 return mAllChannels || mChannels.contains(channel);
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
H A D | WifiApConfigStoreTest.java | 88 String ssid, String preSharedKey, int keyManagement, int band, int channel) { 94 config.apChannel = channel; 144 40 /* AP channel */); 164 40 /* AP channel */); 191 40 /* AP channel */); 87 setupApConfig( String ssid, String preSharedKey, int keyManagement, int band, int channel) argument
|
/frameworks/av/media/libstagefright/ |
H A D | AACExtractor.cpp | 155 uint8_t profile, sf_index, channel, header[2]; local 166 channel = (header[0] & 0x1) << 2 | (header[1] >> 6); 168 mMeta = MakeAACCodecSpecificData(profile, sf_index, channel);
|
/frameworks/av/radio/ |
H A D | IRadio.cpp | 149 virtual status_t tune(uint32_t channel, uint32_t subChannel) argument 153 data.writeUint32(channel); 289 uint32_t channel = data.readUint32(); local 291 status_t status = tune(channel, subChannel);
|
H A D | Radio.cpp | 198 status_t Radio::tune(unsigned int channel, unsigned int subChannel) argument 204 return mIRadio->tune(channel, subChannel);
|
/frameworks/base/core/java/android/hardware/radio/ |
H A D | RadioModule.java | 76 public native int tune(int channel, int subChannel); argument
|
H A D | RadioTuner.java | 119 * Step up or down by one channel spacing. 125 * selected supports sub channel (e.g HD Radio). N/A otherwise. 146 * selected supports sub channel (e.g HD Radio). N/A otherwise. 165 * @param channel the specific channel or frequency to tune to. 166 * @param subChannel the specific sub-channel to tune to. N/A if the selected configuration 179 public abstract int tune(int channel, int subChannel); argument
|
/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 | 87 InputMethodSessionCallbackWrapper(Context context, InputChannel channel, argument 90 mChannel = channel; 264 public void createSession(InputChannel channel, IInputSessionCallback callback) { argument 266 channel, callback));
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/hardware/ |
H A D | FakeSensorManager.java | 118 protected void destroyDirectChannelImpl(SensorDirectChannel channel) { argument 123 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...] |