Searched refs:channel (Results 26 - 50 of 172) sorted by relevance

1234567

/frameworks/base/services/core/java/com/android/server/notification/
H A DRankingHelper.java70 private static final String TAG_CHANNEL = "channel";
228 NotificationChannel channel = new NotificationChannel(id,
231 channel.populateFromXmlForRestore(parser, mContext);
233 channel.populateFromXml(parser);
235 r.channels.put(id, channel);
303 // O apps should not have the default channel.
307 // Otherwise, this app should have the default channel.
318 // Keep the default channel until upgraded.
334 // Keep the default channel until upgraded.
339 NotificationChannel channel;
532 createNotificationChannel(String pkg, int uid, NotificationChannel channel, boolean fromTargetApp) argument
595 clearLockedFields(NotificationChannel channel) argument
1154 getChannelLog(NotificationChannel channel, String pkg) argument
[all...]
H A DRankingConfig.java39 void createNotificationChannel(String pkg, int uid, NotificationChannel channel, argument
41 void updateNotificationChannel(String pkg, int uid, NotificationChannel channel, boolean fromUser); argument
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothMasInstance.java29 public BluetoothMasInstance(int id, String name, int channel, int msgTypes) { argument
32 mChannel = channel;
/frameworks/base/telephony/java/android/telephony/
H A DIccOpenLogicalChannelResponse.java28 * 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/wilhelm/src/itf/
H A DIOutputMixExt.cpp214 unsigned channel;
215 for (channel = 0; channel < STEREO_CHANNELS; ++channel) {
216 float gain = track->mGains[channel];
217 gains[channel] = gain;
226 summaries[channel] = summary;
445 unsigned channel;
446 for (channel = 0; channel < STEREO_CHANNEL
[all...]
/frameworks/base/services/tests/notification/src/com/android/server/notification/
H A DNotificationRecordTest.java74 private final String channelId = "channel";
75 NotificationChannel channel = field in class:NotificationRecordTest
135 channel.setSound(CUSTOM_SOUND, CUSTOM_ATTRIBUTES);
138 channel.setSound(null, null);
146 channel.setVibrationPattern(CUSTOM_CHANNEL_VIBRATION);
154 channel.setLightColor(Color.BLUE);
156 channel.enableLights(true);
158 channel.enableLights(false);
238 channel.setSound(CUSTOM_SOUND, CUSTOM_ATTRIBUTES);
244 NotificationRecord record = new NotificationRecord(mMockContext, sbn, channel);
[all...]
H A DBadgeExtractorTest.java62 NotificationChannel channel = new NotificationChannel("a", "a", importanceHigh);
63 channel.setShowBadge(showBadge);
64 when(mConfig.getNotificationChannel(mPkg, mUid, "a", false)).thenReturn(channel);
75 NotificationRecord r = new NotificationRecord(getContext(), sbn, channel);
H A DNotificationChannelExtractorTest.java58 NotificationChannel channel = new NotificationChannel("a", "a", IMPORTANCE_LOW);
65 NotificationRecord r = new NotificationRecord(getContext(), sbn, channel);
/frameworks/native/libs/vr/libpdx/private/pdx/
H A Dservice.h41 // System message sent when a new client channel is open.
43 // System message sent when a channel is closed.
54 * Base class of service-side per-channel context classes.
62 * Utility to get a shared_ptr reference from the channel context pointer.
187 * Update the channel event bits with the given clear and set masks.
192 * Create a new channel and push it as a file descriptor to the client. See
196 int flags, const std::shared_ptr<Channel>& channel, int* channel_id);
199 * Create a new channel and push it as a file descriptor to the client. See
203 Service* service, int flags, const std::shared_ptr<Channel>& channel,
207 * Check whether the |ref| is a reference to channel t
[all...]
H A Dmock_service_endpoint.h14 MOCK_METHOD2(SetChannel, Status<void>(int channel_id, Channel* channel));
20 Channel* channel, int* channel_id));
23 Channel** channel));
/frameworks/native/libs/vr/libpdx_uds/
H A Dservice_framework_tests.cpp72 // The test service creates a TestChannel for every client (channel) that
89 // Test service that creates a TestChannel for each channel and responds to test
98 const std::shared_ptr<Channel>& channel) override {
99 if (test_channel_ == channel)
128 // Set the test channel to the TestChannel for the current channel. Other
134 // Return the channel id for the current channel.
138 // Return the channel id for the test channel
156 std::shared_ptr<TestChannel> channel; variable
183 auto channel = std::make_shared<TestChannel>(-1); variable
193 auto channel = std::make_shared<TestChannel>(-1); variable
302 CheckChannelIdArgument(BorrowedChannelHandle channel) argument
311 CheckChannelObjectArgument(BorrowedChannelHandle channel) argument
320 CheckChannelFromOtherService(BorrowedChannelHandle channel) argument
403 TestClient(LocalChannelHandle channel) argument
[all...]
/frameworks/opt/net/wifi/libwifi_system/
H A Dhostapd_manager.cpp133 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/base/lowpan/java/android/net/lowpan/
H A DLowpanScanner.java83 * 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/packages/SystemUI/src/com/android/systemui/util/leak/
H A DLeakReporter.java84 NotificationChannel channel = new NotificationChannel("leak", "Leak Alerts",
86 channel.enableVibration(true);
88 notiMan.createNotificationChannel(channel);
89 Notification.Builder builder = new Notification.Builder(mContext, channel.getId())
/frameworks/native/services/vr/bufferhubd/
H A Dproducer_channel.h22 // The producer channel is owned by a single app that writes into buffers and
23 // calls POST when drawing is complete. This channel has a set of consumer
55 void OnConsumerOrphaned(ConsumerChannel* channel);
57 void AddConsumer(ConsumerChannel* channel);
58 void RemoveConsumer(ConsumerChannel* channel);
111 ProducerChannel(BufferHubService* service, int channel, uint32_t width,
H A Dproducer_queue_channel.h26 // Returns a handle for the service channel, as well as the size of the
46 void AddConsumer(ConsumerQueueChannel* channel);
47 void RemoveConsumer(ConsumerQueueChannel* channel);
57 // Returns the remote channel handle and the slot number for the newly
H A Dproducer_channel.cpp226 "ProducerChannel::CreateConsumer: Failed to push consumer channel: %s",
249 "ProducerChannel::CreateConsumer: failed to set new consumer channel: "
330 ALOGE("ProducerChanneL::OnGain: Already in gained state: channel=%d",
437 void ProducerChannel::OnConsumerOrphaned(ConsumerChannel* channel) { argument
441 const uint64_t consumer_state_bit = channel->consumer_state_bit();
506 void ProducerChannel::AddConsumer(ConsumerChannel* channel) { argument
507 consumer_channels_.push_back(channel);
510 void ProducerChannel::RemoveConsumer(ConsumerChannel* channel) { argument
512 std::find(consumer_channels_.begin(), consumer_channels_.end(), channel));
513 active_consumer_bit_mask_ &= ~channel
[all...]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
H A DApConfigUtilTest.java47 * Frequency to channel map. This include some frequencies used outside the US.
120 * Verify frequency to channel conversion for all possible frequencies.
132 * Verify frequency to channel conversion failed for an invalid frequency.
140 * Verify default channel is used when picking a 2G channel without
150 * Verify a 2G channel is selected from the list of allowed channels.
154 int channel = ApConfigUtil.chooseApChannel(
156 assertTrue(mAllowed2GChannels.contains(channel));
160 * Verify a 5G channel is selected from the list of allowed channels.
164 int channel
[all...]
/frameworks/base/core/java/android/service/notification/
H A DINotificationListener.aidl40 void onNotificationChannelModification(String pkgName, in UserHandle user, in NotificationChannel channel, int modificationType);
/frameworks/base/media/java/android/media/tv/
H A DITvInputService.aidl32 void createSession(in InputChannel channel, in ITvInputSessionCallback callback,
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
H A DNotificationTestList.java675 NotificationChannel channel = new NotificationChannel("v. noisy",
676 "channel for sound and a custom vibration", IMPORTANCE_DEFAULT);
677 channel.enableVibration(true);
678 channel.setVibrationPattern(new long[] {
682 mNM.createNotificationChannel(channel);
738 NotificationChannel channel = new NotificationChannel("blue",
740 channel.enableLights(true);
741 channel.setLightColor(0xff0000ff);
742 mNM.createNotificationChannel(channel);
755 NotificationChannel channel
[all...]
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/
H A Dbuffer_hub_client.h26 // Create a new consumer channel that is attached to the producer. Returns
27 // a file descriptor for the new channel or a negative error code.
119 explicit BufferHubBuffer(LocalChannelHandle channel);
177 // Imports a bufferhub producer channel, assuming ownership of its handle.
178 static std::unique_ptr<BufferProducer> Import(LocalChannelHandle channel);
278 // Constructs a channel to persistent buffer by name only. The buffer must
282 // Imports the given file handle to a producer channel, taking ownership.
283 explicit BufferProducer(LocalChannelHandle channel);
300 static std::unique_ptr<BufferConsumer> Import(LocalChannelHandle channel);
361 explicit BufferConsumer(LocalChannelHandle channel);
[all...]
/frameworks/native/libs/vr/libpdx/
H A Dservice_tests.cpp92 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 Ddisplay_manager_service.cpp29 "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
/frameworks/base/core/java/com/android/internal/view/
H A DIInputMethod.aidl44 void createSession(in InputChannel channel, IInputSessionCallback callback);

Completed in 1483 milliseconds

1234567