/frameworks/base/lowpan/java/android/net/lowpan/ |
H A D | ILowpanEnergyScanCallback.aidl | 21 oneway void onEnergyScanResult(int channel, int rssi);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/apdu/ |
H A D | ApduCommand.java | 26 public final int channel; field in class:ApduCommand 47 ApduCommand(int channel, int cla, int ins, int p1, int p2, int p3, String cmdHex) { argument 48 this.channel = channel; 59 return "ApduCommand(channel=" + channel + ", cla=" + cla + ", ins=" + ins + ", p1=" + p1
|
H A D | ApduSender.java | 34 * This class sends a list of APDU commands to an AID on a UICC. A logical channel will be opened 62 // Lock for accessing mChannelOpened. We only allow to open a single logical channel at any 68 * @param aid The AID that will be used to open a logical channel to. 81 * @param requestProvider Will be called after a logical channel is opened successfully. This is 83 * if any error happens when opening a logical channel. 97 new ApduException("Logical channel has already been opened."), 107 int channel = openChannelResponse.getChannel(); 109 if (channel == IccOpenLogicalChannelResponse.INVALID_CHANNEL 115 new ApduException("Failed to open logical channel opened for AID: " 120 RequestBuilder builder = new RequestBuilder(channel, mSupportExtendedApd 193 getCompleteResponse( int channel, IccIoResult lastResponse, @Nullable ByteArrayOutputStream responseBuilder, AsyncResultCallback<IccIoResult> resultCallback, Handler handler) argument 234 closeAndReturn( int channel, @Nullable byte[] response, @Nullable Throwable exception, AsyncResultCallback<byte[]> resultCallback, Handler handler) argument [all...] |
H A D | CloseLogicalChannelInvocation.java | 28 * Invokes {@link CommandsInterface#iccCloseLogicalChannel(int, Message)}. This takes a channel id 29 * (Integer) as the input and return a boolean to indicate if closing the logical channel is 44 protected void sendRequestMessage(Integer channel, Message msg) { argument 45 Rlog.v(LOG_TAG, "Channel: " + channel); 46 mCi.iccCloseLogicalChannel(channel, msg);
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | NotificationChannelTest.java | 44 NotificationChannel channel = 47 channel.writeToParcel(parcel, 0); 50 assertEquals(channel, channel1); 55 NotificationChannel channel = new NotificationChannel("a", "ab", IMPORTANCE_DEFAULT); 56 assertEquals(false, channel.isBlockableSystem()); 57 channel.setBlockableSystem(true); 58 assertEquals(true, channel.isBlockableSystem()); 63 NotificationChannel channel = new NotificationChannel("a", "ab", IMPORTANCE_DEFAULT); 64 channel.setVibrationPattern(new long[0]); 69 channel [all...] |
H A D | ImportanceExtractorTest.java | 63 private NotificationRecord getNotificationRecord(NotificationChannel channel) { argument 73 NotificationRecord r = new NotificationRecord(getContext(), sbn, channel); 88 NotificationChannel channel = 91 NotificationRecord r = getNotificationRecord(channel); 107 NotificationChannel channel = 110 NotificationRecord r = getNotificationRecord(channel);
|
H A D | NotificationIntrusivenessExtractorTest.java | 43 NotificationChannel channel = new NotificationChannel("a", "a", IMPORTANCE_LOW); 51 NotificationRecord r = new NotificationRecord(getContext(), sbn, channel); 58 NotificationChannel channel = new NotificationChannel("a", "a", IMPORTANCE_DEFAULT); 69 NotificationRecord r = new NotificationRecord(getContext(), sbn, channel); 76 NotificationChannel channel = new NotificationChannel("a", "a", IMPORTANCE_DEFAULT); 88 NotificationRecord r = new NotificationRecord(getContext(), sbn, channel);
|
H A D | RankingHelperTest.java | 298 for (NotificationChannel channel : channels) { 299 if (channel.getId().equals(id)) { 300 return channel; 496 NotificationChannel channel = 498 channel.setSound(SOUND_URI, mAudioAttributes); 499 mHelper.createNotificationChannel(PKG, UID, channel, true, false); 501 ByteArrayOutputStream baos = writeXmlAndPurge(PKG, UID, true, channel.getId()); 522 NotificationChannel channel = 524 channel.setSound(SOUND_URI, mAudioAttributes); 525 mHelper.createNotificationChannel(PKG, UID, channel, tru [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/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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/ |
H A D | EuiccCardTest.java | 170 int channel = mockLogicalChannelResponses("BF3E065A041A2B3C4D9000"); 197 verifyStoreData(channel, "BF3E035C015A"); 202 int channel = mockLogicalChannelResponses( 214 verifyStoreData(channel, "BF2D0D5C0B5A909192B79F709599BF76"); 220 int channel = mockLogicalChannelResponses( 231 verifyStoreData(channel, "BF2D0D5C0B5A909192B79F709599BF76"); 236 int channel = mockLogicalChannelResponses("BF2D8184A08181E37F" 277 verifyStoreData(channel, "BF2D1BA00C5A0A896700000000004523015C0B5A909192B79F709599BF76"); 282 int channel = mockLogicalChannelResponses("BF32038001009000"); 289 verifyStoreData(channel, "BF3211A00C5A0A896700000000004523018101F 987 verifyStoreData(int channel, String command) argument [all...] |
/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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/apdu/ |
H A D | ApduSenderTest.java | 109 int channel = LogicalChannelMocker.mockOpenLogicalChannelResponse(mMockCi, "A1A1A19000"); 110 LogicalChannelMocker.mockCloseLogicalChannel(mMockCi, channel); 120 verify(mMockCi).iccCloseLogicalChannel(eq(channel), any()); 135 assertNull("Request provider should not be called when failed to open channel.", 146 int channel = LogicalChannelMocker.mockOpenLogicalChannelResponse(mMockCi, "9000"); 147 LogicalChannelMocker.mockSendToLogicalChannel(mMockCi, channel, "A1A1A19000"); 148 LogicalChannelMocker.mockCloseLogicalChannel(mMockCi, channel); 155 verify(mMockCi).iccTransmitApduLogicalChannel(eq(channel), eq(channel | 10), eq(1), eq(2), 164 int channel [all...] |
/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 try (WifiP2pManager.Channel channel = new WifiP2pManager.Channel(mContextMock, 64 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/support/tv-provider/src/androidTest/java/androidx/tvprovider/media/tv/ |
H A D | PreviewChannelTest.java | 81 thrown.expectMessage("Need channel name. " 89 final String description = "This is a test preview channel"; 92 PreviewChannel channel = new PreviewChannel.Builder() 98 assertEquals(displayName, channel.getDisplayName()); 99 assertEquals(description, channel.getDescription()); 100 assertEquals(uri, channel.getAppLinkIntentUri()); 101 assertNotNull(channel.getLogo(mContext)); 102 assertNull(channel.getPackageName()); 103 assertNull(channel.getInternalProviderDataByteArray()); 104 assertNull(channel [all...] |
/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(); 106 if (channel->channel_type() == BufferHubChannel::kDetachedBufferType) { 107 BufferHubChannel::BufferInfo info = channel->GetBufferInfo(); 154 for (const auto& channel : channels) { 155 if (channel->channel_type() == BufferHubChannel::kProducerQueueType) { 156 BufferHubChannel::BufferInfo info = channel->GetBufferInfo(); 187 for (const auto& channel : channels) { 188 if (channel 232 auto channel = message.GetChannel<BufferHubChannel>(); local 335 std::unique_ptr<DetachedBufferChannel> channel = local [all...] |
/frameworks/base/media/jni/soundpool/ |
H A D | SoundPool.cpp | 99 void SoundPool::addToRestartList(SoundChannel* channel) argument 103 mRestart.push_back(channel); 108 void SoundPool::addToStopList(SoundChannel* channel) argument 112 mStop.push_back(channel); 132 SoundChannel* channel; local 133 ALOGV("Getting channel from stop list"); 135 channel = *iter; 138 if (channel != 0) { 140 channel->stop(); 147 SoundChannel* channel; local 252 SoundChannel* channel; local 288 SoundChannel* channel = NULL; local 326 moveToFront_l(SoundChannel* channel) argument 341 SoundChannel* channel = findChannel(channelID); local 352 SoundChannel* channel = &mChannelPool[i]; local 361 SoundChannel* channel = findChannel(channelID); local 385 SoundChannel* channel = &mChannelPool[i]; local 394 SoundChannel* channel = findChannel(channelID); local 407 SoundChannel* channel = findChannel(channelID); local 417 SoundChannel* channel = findChannel(channelID); local 427 SoundChannel* channel = findChannel(channelID); local 437 SoundChannel* channel = findChannel(channelID); local 444 done_l(SoundChannel* channel) argument 873 SoundChannel* channel = static_cast<SoundChannel*>((void *)((unsigned long)user & ~1)); local [all...] |
/frameworks/native/libs/ui/tests/ |
H A D | GraphicBuffer_test.cpp | 46 pdx::LocalChannelHandle channel{nullptr, 1234}; 47 EXPECT_TRUE(channel.valid()); 49 std::unique_ptr<DetachedBufferHandle> handle = DetachedBufferHandle::Create(std::move(channel)); 50 EXPECT_FALSE(channel.valid());
|
/frameworks/base/core/java/com/android/internal/view/ |
H A D | InputBindResult.java | 65 * is not yet established on top of the IPC channel.</p> 67 * <p>Some of fields such as {@link #channel} is not yet available.</p> 80 * <p>Some of fields such as {@link #channel} is not yet available.</p> 157 * The input channel used to send input events to this IME. 159 public final InputChannel channel; field in class:InputBindResult 182 channel = _channel; 192 channel = InputChannel.CREATOR.createFromParcel(source); 194 channel = null; 219 if (channel != null) { 221 channel [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/support/webkit/src/androidTest/java/androidx/webkit/ |
H A D | PostMessageTest.java | 73 // Acks each received message from the message channel with a seq number. 149 // Create a message channel and make sure it can be used for data transfer to/from js. 156 final WebMessagePortCompat[] channel = mOnUiThread.createWebMessageChannelCompat(); 158 new WebMessageCompat(WEBVIEW_MESSAGE, new WebMessagePortCompat[]{channel[1]}); 166 channel[0].postMessage(new WebMessageCompat(WEBVIEW_MESSAGE + i)); 168 channel[0].setWebMessageCallback(new WebMessageCallbackCompat() { 189 final WebMessagePortCompat[] channel = mOnUiThread.createWebMessageChannelCompat(); 191 new WebMessageCompat(WEBVIEW_MESSAGE, new WebMessagePortCompat[]{channel[1]}); 197 channel[0].close(); 198 channel[ [all...] |
/frameworks/av/media/libeffects/dynamicsproc/ |
H A D | EffectDynamicsProcessing.cpp | 387 int32_t channel) { 391 dp_fx::DPChannel *pChannel = pContext->mPDynamics->getChannel(channel); 392 ALOGE_IF(pChannel == NULL, "DPChannel NULL. invalid channel %d", channel); 396 static dp_fx::DPEq* DP_getEq(DynamicsProcessingContext *pContext, int32_t channel, 398 dp_fx::DPChannel *pChannel = DP_getChannel(pContext, channel); 408 static dp_fx::DPEqBand* DP_getEqBand(DynamicsProcessingContext *pContext, int32_t channel, 410 dp_fx::DPEq *pEq = DP_getEq(pContext, channel, eqType); 419 static dp_fx::DPMbc* DP_getMbc(DynamicsProcessingContext *pContext, int32_t channel) { 420 dp_fx::DPChannel * pChannel = DP_getChannel(pContext, channel); [all...] |
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | RankingHelper.java | 77 private static final String TAG_CHANNEL = "channel"; 261 NotificationChannel channel = new NotificationChannel(id, 264 channel.populateFromXmlForRestore(parser, mContext); 266 channel.populateFromXml(parser); 268 r.channels.put(id, channel); 336 // O apps should not have the default channel. 340 // Otherwise, this app should have the default channel. 351 // Keep the default channel until upgraded. 367 // Keep the default channel until upgraded. 372 NotificationChannel channel; 602 createNotificationChannel(String pkg, int uid, NotificationChannel channel, boolean fromTargetApp, boolean hasDndAccess) argument 685 clearLockedFields(NotificationChannel channel) argument 1412 getChannelLog(NotificationChannel channel, String pkg) argument [all...] |
/frameworks/base/core/java/android/se/omapi/ |
H A D | Session.java | 37 * communication channel with an Applet in the Secure Element. 38 * This channel can be the basic channel or a logical channel. 122 * Close any channel opened on this session. 140 * Get an access to the basic channel, as defined in the ISO/IEC 7816-4 specification (the 142 * If the AID is null, it means no Applet is to be selected on this channel and the default 144 * Once this channel has been opened by a device application, it is considered as "locked" 146 * channel is closed. Some Secure Elements (like the UICC) might always keep the basic channel [all...] |