Searched refs:channel (Results 101 - 125 of 196) sorted by relevance

12345678

/frameworks/native/libs/vr/libvrflinger/
H A Dvsync_service.h63 const std::shared_ptr<pdx::Channel>& channel) override;
H A Dvsync_service.cpp60 const std::shared_ptr<Channel>& channel) {
61 auto client = std::static_pointer_cast<VSyncChannel>(channel);
59 OnChannelClose(pdx::Message& , const std::shared_ptr<Channel>& channel) argument
H A Ddisplay_service.h32 const std::shared_ptr<pdx::Channel>& channel) override;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/rtt/
H A DRttNative.java290 config.channel.width = halChannelWidthFromResponderChannelWidth(
292 config.channel.centerFreq = responder.frequency;
293 config.channel.centerFreq0 = responder.centerFreq0;
294 config.channel.centerFreq1 = responder.centerFreq1;
404 * Check to see whether the selected RTT channel bandwidth is supported by the device.
/frameworks/support/tv-provider/src/androidTest/java/androidx/tvprovider/media/tv/
H A DProgramTest.java109 Channel channel = new Channel.Builder()
114 Uri channelUri = resolver.insert(Channels.CONTENT_URI, channel.toContentValues());
131 Channel channel = new Channel.Builder()
136 Uri channelUri = resolver.insert(Channels.CONTENT_URI, channel.toContentValues());
H A DPreviewProgramTest.java112 Channel channel = new Channel.Builder()
117 Uri channelUri = resolver.insert(Channels.CONTENT_URI, channel.toContentValues());
135 Channel channel = new Channel.Builder()
140 Uri channelUri = resolver.insert(Channels.CONTENT_URI, channel.toContentValues());
369 // When we insert a channel using toContentValues() to the system, we drop some
/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationRecord.java174 NotificationChannel channel) {
185 mChannel = channel;
617 // expressed a preference for this channel
905 protected void updateNotificationChannel(NotificationChannel channel) { argument
906 if (channel != null) {
907 mChannel = channel;
1048 NotificationChannel channel = getChannel();
1049 if (channel != null) {
1050 visitGrantableUri(channel.getSound(), (channel
173 NotificationRecord(Context context, StatusBarNotification sbn, NotificationChannel channel) argument
[all...]
H A DNotificationManagerService.java1655 private void updateNotificationChannelInt(String pkg, int uid, NotificationChannel channel, argument
1657 if (channel.getImportance() == NotificationManager.IMPORTANCE_NONE) {
1659 cancelAllNotificationsInt(MY_UID, MY_PID, pkg, channel.getId(), 0, 0, true,
1667 cancelAllNotificationsInt(MY_UID, MY_PID, pkg, channel.getId(), 0, 0, true,
1674 mRankingHelper.getNotificationChannel(pkg, uid, channel.getId(), true);
1676 mRankingHelper.updateNotificationChannel(pkg, uid, channel, true);
1677 maybeNotifyChannelOwner(pkg, uid, preUpdate, channel);
1681 mRankingHelper.getNotificationChannel(pkg, uid, channel.getId(), false);
1708 Slog.w(TAG, "Can't notify app about channel change", e);
2220 final NotificationChannel channel
6766 notifyNotificationChannelChanged(final String pkg, final UserHandle user, final NotificationChannel channel, final int modificationType) argument
6859 notifyNotificationChannelChanged(ManagedServiceInfo info, final String pkg, final UserHandle user, final NotificationChannel channel, final int modificationType) argument
[all...]
/frameworks/base/core/java/android/app/
H A DNotificationChannelGroup.java59 * Creates a notification channel group.
177 public void addChannel(NotificationChannel channel) { argument
178 mChannels.add(channel);
310 for (NotificationChannel channel : mChannels) {
311 channel.writeToProto(proto, NotificationChannelGroupProto.CHANNELS);
H A DINotificationManager.aidl75 void updateNotificationChannelForPackage(String pkg, int uid, in NotificationChannel channel);
123 void updateNotificationChannelFromPrivilegedListener(in INotificationListener token, String pkg, in UserHandle user, in NotificationChannel channel);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/hardware/
H A DFakeSensorManager.java140 protected void destroyDirectChannelImpl(SensorDirectChannel channel) { argument
145 protected int configureDirectChannelImpl(SensorDirectChannel channel, Sensor s, int rate) { argument
/frameworks/native/libs/vr/libpdx/
H A Dclient.cpp59 Client::Client(std::unique_ptr<ClientChannel> channel) argument
60 : channel_{std::move(channel)} {}
H A Dclient_tests.cpp61 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)};
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiStateMachine.java1494 public boolean syncQueryPasspointIcon(AsyncChannel channel, long bssid, String fileName) { argument
1498 Message resultMsg = channel.sendMessageSynchronously(CMD_QUERY_OSU_ICON, bundle);
1504 public int matchProviderWithCurrentNetwork(AsyncChannel channel, String fqdn) { argument
1505 Message resultMsg = channel.sendMessageSynchronously(CMD_MATCH_PROVIDER_NETWORK, fqdn);
1516 public void deauthenticateNetwork(AsyncChannel channel, long holdoff, boolean ess) { argument
1564 public int syncAddOrUpdateNetwork(AsyncChannel channel, WifiConfiguration config) { argument
1565 Message resultMsg = channel.sendMessageSynchronously(CMD_ADD_OR_UPDATE_NETWORK, config);
1574 * @param channel
1578 public List<WifiConfiguration> syncGetConfiguredNetworks(int uuid, AsyncChannel channel) { argument
1579 Message resultMsg = channel
1589 syncGetPrivilegedConfiguredNetwork(AsyncChannel channel) argument
1597 syncGetMatchingWifiConfig(ScanResult scanResult, AsyncChannel channel) argument
1604 getAllMatchingWifiConfigs(ScanResult scanResult, AsyncChannel channel) argument
1620 syncGetMatchingOsuProviders(ScanResult scanResult, AsyncChannel channel) argument
1636 syncAddOrUpdatePasspointConfig(AsyncChannel channel, PasspointConfiguration config, int uid) argument
1652 syncRemovePasspointConfig(AsyncChannel channel, String fqdn) argument
1666 syncGetPasspointConfigs(AsyncChannel channel) argument
1680 syncStartSubscriptionProvisioning(int callingUid, OsuProvider provider, IProvisioningCallback callback, AsyncChannel channel) argument
1697 syncGetSupportedFeatures(AsyncChannel channel) argument
1715 syncGetLinkLayerStats(AsyncChannel channel) argument
1727 syncRemoveNetwork(AsyncChannel channel, int networkId) argument
1741 syncEnableNetwork(AsyncChannel channel, int netId, boolean disableOthers) argument
1755 syncDisableNetwork(AsyncChannel channel, int netId) argument
5893 syncInitialize(AsyncChannel channel) argument
[all...]
H A DWificondControl.java632 ChannelSettings channel = new ChannelSettings();
633 channel.frequency = freq;
634 settings.channelSettings.add(channel);
/frameworks/base/core/java/android/service/notification/
H A DNotificationListenerService.java204 /** Notification was canceled by the user banning the channel. */
463 * Implement this method to learn about notification channel modifications.
468 * @param pkg The package the channel belongs to.
470 * @param channel The channel that has changed.
476 NotificationChannel channel, @ChannelOrGroupModificationTypes int modificationType) {
481 * Implement this method to learn about notification channel group modifications.
700 * Updates a notification channel for a given package for a given user. This should only be used
701 * to reflect changes a user has made to the channel via the listener's user interface.
708 * @param pkg The package the channel belong
475 onNotificationChannelModified(String pkg, UserHandle user, NotificationChannel channel, @ChannelOrGroupModificationTypes int modificationType) argument
712 updateNotificationChannel(@onNull String pkg, @NonNull UserHandle user, @NonNull NotificationChannel channel) argument
1334 onNotificationChannelModification(String pkgName, UserHandle user, NotificationChannel channel, @ChannelOrGroupModificationTypes int modificationType) argument
1581 populate(String key, int rank, boolean matchesInterruptionFilter, int visibilityOverride, int suppressedVisualEffects, int importance, CharSequence explanation, String overrideGroupKey, NotificationChannel channel, ArrayList<String> overridePeople, ArrayList<SnoozeCriterion> snoozeCriteria, boolean showBadge, int userSentiment, boolean hidden) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationInfo.java128 void onClick(View v, NotificationChannel channel, int appUid); argument
190 throw new IllegalArgumentException("bindNotification requires at least one channel");
192 // Special behavior for the Default channel if no other channels have been defined.
226 // Set group information if this channel has an associated group.
437 NotificationChannel channel, int id, String tag) {
450 if (channel != null) {
451 intent.putExtra(Notification.EXTRA_CHANNEL_ID, channel.getId());
517 * Runnable to either update the given channel (with a new importance value) or, if no channel
549 // For notifications with more than one channel, updat
436 getAppSettingsIntent(PackageManager pm, String packageName, NotificationChannel channel, int id, String tag) argument
[all...]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DScanTestUtil.java375 for (WifiNative.ChannelSettings channel : expected.buckets[i].channels) {
376 expectedChannels.add(channel.frequency);
379 for (WifiNative.ChannelSettings channel : actual.buckets[i].channels) {
380 actualChannels.add(channel.frequency);
426 * Convert a list of channel frequencies to an array of equivalent WifiNative.ChannelSettings
/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethodManager.java452 if (res.channel != null && res.channel != mCurChannel) {
453 res.channel.dispose();
461 setInputChannelLocked(res.channel);
896 void setInputChannelLocked(InputChannel channel) { argument
897 if (mCurChannel != channel) {
906 mCurChannel = channel;
1362 setInputChannelLocked(res.channel);
1368 } else if (res.channel != null && res.channel !
[all...]
/frameworks/base/core/java/android/hardware/radio/
H A DTunerAdapter.java155 public int tune(int channel, int subChannel) { argument
157 mTuner.tune(ProgramSelector.createAmFmSelector(mBand, channel, subChannel));
/frameworks/native/include/input/
H A DInputTransport.h25 * The InputPublisher and InputConsumer each handle one end-point of an input channel.
132 * An input channel consists of a local unix domain socket used to send and receive
133 * input messages across processes. Each channel has a descriptive name for debugging purposes.
137 * The input channel is closed when all references to it are released.
158 * If the channel is full then the message is guaranteed not to have been sent at all.
160 * consumed some of the pending messages from the channel.
163 * Returns WOULD_BLOCK if the channel is full.
164 * Returns DEAD_OBJECT if the channel's peer has been closed.
165 * Other errors probably indicate that the channel is broken.
176 * Returns DEAD_OBJECT if the channel'
[all...]
/frameworks/base/core/java/android/hardware/
H A DSensorManager.java889 * Create a sensor direct channel backed by shared memory wrapped in MemoryFile object.
891 * The resulting channel can be used for delivering sensor events to native code, other
898 * to free up resource in sensor system associated with the direct channel.
903 * @throws UncheckedIOException if not able to create channel.
912 * Create a sensor direct channel backed by shared memory wrapped in HardwareBuffer object.
914 * The resulting channel can be used for delivering sensor events to native code, other
921 * to free up resource in sensor system associated with the direct channel.
926 * @throws UncheckedIOException if not able to create channel.
939 void destroyDirectChannel(SensorDirectChannel channel) { argument
940 destroyDirectChannelImpl(channel);
944 destroyDirectChannelImpl(SensorDirectChannel channel) argument
948 configureDirectChannel(SensorDirectChannel channel, Sensor sensor, int rateLevel) argument
953 configureDirectChannelImpl( SensorDirectChannel channel, Sensor s, int rate) argument
[all...]
H A DSystemSensorManager.java526 SensorDirectChannel channel, Sensor sensor, int rate) {
527 if (!channel.isOpen()) {
528 throw new IllegalStateException("channel is closed");
545 mNativeInstance, channel.getNativeHandle(), sensorHandle, rate);
579 new IOException("create MemoryFile direct channel failed " + id));
604 new IOException("create HardwareBuffer direct channel failed " + id));
614 protected void destroyDirectChannelImpl(SensorDirectChannel channel) { argument
615 if (channel != null) {
616 nativeDestroyDirectChannel(mNativeInstance, channel.getNativeHandle());
621 * BaseEventQueue is the communication channel wit
525 configureDirectChannelImpl( SensorDirectChannel channel, Sensor sensor, int rate) argument
[all...]
/frameworks/native/libs/vr/libpdx_uds/
H A Dservice_endpoint.cpp236 // Borrow the local channel handle before we move it into OnNewChannel().
242 // Send the channel socket fd to the client.
248 // Get the CHANNEL_OPEN message from client over the channel socket.
255 // happen over the channel socket.
265 Status<void> Endpoint::SetChannel(int channel_id, Channel* channel) { argument
270 channel_data->second.channel_state = channel;
288 "Endpoint::OnNewChannelLocked: Failed to add channel to endpoint: %s\n",
296 // Try new channel IDs until we find one which is not already in the map.
315 "Endpoint::ReenableEpollEvent: Failed to re-enable channel to "
341 "Endpoint::CloseChannelLocked: Failed to remove channel fro
425 PushChannel(Message* message, int , Channel* channel, int* channel_id) argument
[all...]
/frameworks/base/services/core/jni/BroadcastRadio/
H A DTuner.cpp295 uint32_t channel, subChannel; local
296 if (!utils::getLegacyChannel(selector, &channel, &subChannel)) {
298 "Can't tune to non-AM/FM channel with HAL<1.1");
301 convert::ThrowIfFailed(env, halTuner10->tune(channel, subChannel));

Completed in 394 milliseconds

12345678