/frameworks/base/lowpan/java/android/net/lowpan/ |
H A D | ILowpanEnergyScanCallback.aidl | 21 oneway void onEnergyScanResult(int channel, int rssi);
|
/frameworks/base/services/tests/notification/src/com/android/server/notification/ |
H A D | NotificationChannelTest.java | 43 NotificationChannel channel = 46 channel.writeToParcel(parcel, 0); 49 assertEquals(channel, channel1); 54 NotificationChannel channel = new NotificationChannel("a", "ab", IMPORTANCE_DEFAULT); 55 assertEquals(false, channel.isBlockableSystem()); 56 channel.setBlockableSystem(true); 57 assertEquals(true, channel.isBlockableSystem()); 62 NotificationChannel channel = new NotificationChannel("a", "ab", IMPORTANCE_DEFAULT); 63 channel.setVibrationPattern(new long[0]); 68 channel [all...] |
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);
|
H A D | NotificationIntrusivenessExtractorTest.java | 41 NotificationChannel channel = new NotificationChannel("a", "a", IMPORTANCE_LOW); 49 NotificationRecord r = new NotificationRecord(getContext(), sbn, channel); 56 NotificationChannel channel = new NotificationChannel("a", "a", IMPORTANCE_DEFAULT); 67 NotificationRecord r = new NotificationRecord(getContext(), sbn, channel); 74 NotificationChannel channel = new NotificationChannel("a", "a", IMPORTANCE_DEFAULT); 86 NotificationRecord r = new NotificationRecord(getContext(), sbn, channel);
|
H A D | RankingHelperTest.java | 456 NotificationChannel channel = 458 channel.setSound(SOUND_URI, mAudioAttributes); 459 mHelper.createNotificationChannel(PKG, UID, channel, true); 461 ByteArrayOutputStream baos = writeXmlAndPurge(PKG, UID, true, channel.getId()); 482 NotificationChannel channel = 484 channel.setSound(SOUND_URI, mAudioAttributes); 485 mHelper.createNotificationChannel(PKG, UID, channel, true); 486 ByteArrayOutputStream baos = writeXmlAndPurge(PKG, UID, true, channel.getId()); 491 PKG, UID, channel.getId(), false); 503 NotificationChannel channel [all...] |
/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/ |
H A D | BidirectionalAsyncChannelServer.java | 32 * Provides an interface for the server side implementation of a bidirectional channel as described 49 AsyncChannel channel = mClients.get(msg.replyTo); 52 if (channel != null) { 54 channel.replyToMessage(msg, 58 channel = new AsyncChannel(); 59 mClients.put(msg.replyTo, channel); 60 channel.connected(context, this, msg.replyTo); 61 channel.replyToMessage(msg, AsyncChannel.CMD_CHANNEL_FULLY_CONNECTED, 66 channel.disconnect();
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
H A D | RttServiceTest.java | 106 // Create and connect a bi-directional async channel. 108 BidirectionalAsyncChannel channel = new BidirectionalAsyncChannel(); 109 channel.connect(mLooper.getLooper(), mRttServiceImpl.getMessenger(null, new int[1]), 112 channel.assertConnected(); 113 return channel; 116 private void sendRangingRequestFailed(BidirectionalAsyncChannel channel, Handler handler, argument 118 Message message = sendRangingRequest(channel, handler, clientKey, params); 125 private Message sendRangingRequest(BidirectionalAsyncChannel channel, Handler handler, argument 131 channel.sendMessage(message); 139 private void sendEnableResponderSucceed(BidirectionalAsyncChannel channel, argument 151 sendEnableResponderFailed(BidirectionalAsyncChannel channel, Handler handler, int clientKey, int reason) argument 160 sendEnableResponder(BidirectionalAsyncChannel channel, Handler handler, int clientKey, ResponderConfig config) argument 174 sendDisableResponder(BidirectionalAsyncChannel channel, int key, boolean success) argument [all...] |
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiChannel.java | 40 /** channel number */ 43 /** is it a DFS channel? */ 75 WifiChannel channel = new WifiChannel(); 76 channel.freqMHz = in.readInt(); 77 channel.channelNum = in.readInt(); 78 channel.isDFS = in.readInt() != 0; 79 return channel;
|
H A D | ScanSettings.java | 34 /** channel set to scan. this can be null or empty, indicating a full scan */ 48 for (WifiChannel channel : channelSet) 49 if (!channel.isValid()) return false; 64 for (WifiChannel channel : channelSet) channel.writeToParcel(out, flags);
|
/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/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/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/wifi/tests/src/android/net/wifi/p2p/ |
H A D | WifiP2pManagerTest.java | 58 * Validate that on finalize we close the channel and flag a resource leakage. 62 WifiP2pManager.Channel channel = new WifiP2pManager.Channel(mContextMock, 65 leakageDetectorRule.assertUnreleasedResourceCount(channel, 1); 69 * Validate that when close is called on a channel it frees up resources (i.e. don't 74 WifiP2pManager.Channel channel = new WifiP2pManager.Channel(mContextMock, 77 channel.close(); 80 leakageDetectorRule.assertUnreleasedResourceCount(channel, 0);
|
/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/media/jni/soundpool/ |
H A D | SoundPool.cpp | 102 void SoundPool::addToRestartList(SoundChannel* channel) argument 106 mRestart.push_back(channel); 111 void SoundPool::addToStopList(SoundChannel* channel) argument 115 mStop.push_back(channel); 135 SoundChannel* channel; local 136 ALOGV("Getting channel from stop list"); 138 channel = *iter; 141 if (channel != 0) { 143 channel->stop(); 150 SoundChannel* channel; local 255 SoundChannel* channel; local 291 SoundChannel* channel = NULL; local 329 moveToFront_l(SoundChannel* channel) argument 344 SoundChannel* channel = findChannel(channelID); local 355 SoundChannel* channel = &mChannelPool[i]; local 364 SoundChannel* channel = findChannel(channelID); local 388 SoundChannel* channel = &mChannelPool[i]; local 397 SoundChannel* channel = findChannel(channelID); local 410 SoundChannel* channel = findChannel(channelID); local 420 SoundChannel* channel = findChannel(channelID); local 430 SoundChannel* channel = findChannel(channelID); local 440 SoundChannel* channel = findChannel(channelID); local 447 done_l(SoundChannel* channel) argument 872 SoundChannel* channel = static_cast<SoundChannel*>((void *)((unsigned long)user & ~1)); local [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/wificond/ |
H A D | ChannelSettings.java | 45 ChannelSettings channel = (ChannelSettings) rhs; 46 if (channel == null) { 49 return frequency == channel.frequency;
|
/frameworks/native/services/vr/bufferhubd/ |
H A D | buffer_hub.cpp | 69 for (const auto& channel : channels) { 70 if (channel->channel_type() == BufferHubChannel::kProducerType) { 71 BufferHubChannel::BufferInfo info = channel->GetBufferInfo(); 121 for (const auto& channel : channels) { 122 if (channel->channel_type() == BufferHubChannel::kProducerQueueType) { 123 BufferHubChannel::BufferInfo info = channel->GetBufferInfo(); 154 for (const auto& channel : channels) { 155 if (channel->channel_type() == BufferHubChannel::kConsumerQueueType) { 156 BufferHubChannel::BufferInfo info = channel->GetBufferInfo(); 174 for (const auto& channel 201 auto channel = message.GetChannel<BufferHubChannel>(); local 239 OnChannelClose(Message&, const std::shared_ptr<Channel>& channel) argument [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | AlertWindowNotification.java | 149 final NotificationChannel channel = 151 channel.enableLights(false); 152 channel.enableVibration(false); 153 channel.setBlockableSystem(true); 154 channel.setGroup(sChannelGroup.getId()); 155 mNotificationManager.createNotificationChannel(channel);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/ |
H A D | VoicemailNotificationSettingsUtil.java | 55 final NotificationChannel channel = NotificationChannelController.getChannel( 57 return (channel != null) ? channel.shouldVibrate() : getVibrationPreference(context); 76 final NotificationChannel channel = NotificationChannelController.getChannel( 78 return (channel != null) ? channel.getSound() : getRingTonePreference(context);
|
/frameworks/support/compat/java/android/support/v4/graphics/ |
H A D | TypefaceCompatUtil.java | 82 FileChannel channel = fis.getChannel(); 83 final long size = channel.size(); 84 return channel.map(FileChannel.MapMode.READ_ONLY, 0, size); 99 FileChannel channel = fis.getChannel(); 100 final long size = channel.size(); 101 return channel.map(FileChannel.MapMode.READ_ONLY, 0, size);
|
/frameworks/native/libs/vr/libpdx/private/pdx/ |
H A D | service_endpoint.h | 27 Channel* channel{nullptr}; 49 // Set the channel context for the given channel. 50 virtual Status<void> SetChannel(int channel_id, Channel* channel) = 0; 52 // Close a channel, signaling the client file object and freeing the channel 53 // id. Once closed, the client side of the channel always returns the error 57 // Update the event bits for the given channel (given by id), using the 62 // Create a new channel and push it as a file descriptor to the process 66 // instance associated with this channel i [all...] |
/frameworks/opt/net/wifi/libwifi_system/include/wifi_system/ |
H A D | hostapd_manager.h | 51 // |channel| is the WiFi channel (e.g. 6) or <0 for a default value. 60 int channel,
|
/frameworks/opt/net/wifi/libwifi_system/testlib/include/wifi_system_test/ |
H A D | mock_hostapd_manager.h | 37 int channel,
|
/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/native/libs/vr/libpdx/ |
H A D | service.cpp | 16 return info.channel ? info.channel->shared_from_this() 379 int flags, const std::shared_ptr<Channel>& channel, int* channel_id) { 382 return svc->PushChannel(this, flags, channel, channel_id); 389 Service* service, int flags, const std::shared_ptr<Channel>& channel, 392 return service->PushChannel(this, flags, channel, channel_id); 396 std::shared_ptr<Channel>* channel) const { 399 return svc->CheckChannel(this, ref, channel); 406 std::shared_ptr<Channel>* channel) const { 408 return service->CheckChannel(this, ref, channel); 378 PushChannel( int flags, const std::shared_ptr<Channel>& channel, int* channel_id) argument 388 PushChannel( Service* service, int flags, const std::shared_ptr<Channel>& channel, int* channel_id) argument 479 SetChannel(int channel_id, const std::shared_ptr<Channel>& channel) argument 533 PushChannel( Message* message, int flags, const std::shared_ptr<Channel>& channel, int* channel_id) argument [all...] |