/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); 46 auto channel = channels_.find(handle); local 47 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) 69 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
|
H A D | display_service.cpp | 114 const std::shared_ptr<Channel>& channel) { 115 if (auto surface = std::static_pointer_cast<DisplaySurface>(channel)) { 221 // Creates a new DisplaySurface and associates it with this channel. This may 222 // only be done once per channel. 225 // A surface may only be created once per channel. 232 // Use the channel id as the unique surface id. 313 // channel. 113 OnChannelClose(pdx::Message& message, const std::shared_ptr<Channel>& channel) argument
|
/frameworks/opt/net/wifi/libwifi_system/ |
H A D | hostapd_manager.cpp | 133 int channel, 138 if (channel < 0) { 139 channel = kDefaultApChannel; 186 "channel=%d\n" 194 channel, 195 (channel <= 14) ? 'g' : 'a', 129 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/base/core/java/android/app/ |
H A D | NotificationChannelGroup.java | 52 * Creates a notification channel group. 99 * Returns the id of this channel. 106 * Returns the user visible name of this channel. 122 public void addChannel(NotificationChannel channel) { argument 123 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/core/java/android/hardware/radio/ |
H A D | TunerAdapter.java | 145 public int tune(int channel, int subChannel) { argument 147 mTuner.tune(ProgramSelector.createAmFmSelector(mBand, channel, subChannel));
|
H A D | RadioTuner.java | 116 * Step up or down by one channel spacing. 122 * selected supports sub channel (e.g HD Radio). N/A otherwise. 143 * selected supports sub channel (e.g HD Radio). N/A otherwise. 162 * @param channel the specific channel or frequency to tune to. 163 * @param subChannel the specific sub-channel to tune to. N/A if the selected configuration 178 public abstract int tune(int channel, int subChannel); argument
|
/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/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, boolean fromUser); argument
|
/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/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/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/src/com/android/systemui/util/ |
H A D | AsyncSensorManager.java | 92 protected void destroyDirectChannelImpl(SensorDirectChannel channel) { argument 97 protected int configureDirectChannelImpl(SensorDirectChannel channel, Sensor s, int rate) { argument
|
/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...] |