/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/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 | 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);
|
H A D | RequestBuilder.java | 95 RequestBuilder(int channel, boolean supportExtendedApdu) { argument 96 mChannel = channel;
|
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...] |
/frameworks/base/core/java/android/se/omapi/ |
H A D | Channel.java | 34 * Instances of this class represent an ISO/IEC 7816-4 channel opened to a 35 * Secure Element. It can be either a logical channel or the basic channel. They 51 @NonNull ISecureElementChannel channel) { 52 if (service == null || session == null || channel == null) { 57 mChannel = channel; 61 * Closes this channel to the Secure Element. If the method is called when 62 * the channel is already closed, this method will be ignored. The close() 64 * before closing the channel. 72 Log.e(TAG, "Error closing channel", 50 Channel(@onNull SEService service, @NonNull Session session, @NonNull ISecureElementChannel channel) argument [all...] |
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
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);
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/apdu/ |
H A D | LogicalChannelMocker.java | 36 /** Utility to set up mocks for communication with UICC through logical channel. */ 42 * @return The mock channel number. 64 public static void mockSendToLogicalChannel(CommandsInterface mockCi, int channel, argument 91 }).when(mockCi).iccTransmitApduLogicalChannel(eq(channel), anyInt(), anyInt(), anyInt(), 95 public static void mockCloseLogicalChannel(CommandsInterface mockCi, int channel) { argument 102 }).when(mockCi).iccCloseLogicalChannel(eq(channel), response.capture());
|
/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 " 48 // Check if the display_manager_ has a defunct channel. 50 ALOGE("DisplayManagerService::OnChannelOpen: Found defunct channel %d with " 69 pdx::Message& /*message*/, const std::shared_ptr<pdx::Channel>& channel) { 70 // Unregister the display manager when the channel closes. 71 if (display_manager_ == channel) 77 auto channel = std::static_pointer_cast<DisplayManager>(message.GetChannel()); local 68 OnChannelClose( pdx::Message& , const std::shared_ptr<pdx::Channel>& channel) argument
|
H A D | vsync_service.cpp | 60 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
|
/frameworks/native/services/vr/bufferhubd/ |
H A D | detached_buffer_channel.cpp | 134 std::unique_ptr<ProducerChannel> channel = ProducerChannel::Create( local 137 if (!channel) { 145 service()->SetChannel(channel_id, std::move(channel)); 147 // Technically, this should never fail, as we just pushed the channel. Note 151 "channel: %s.",
|
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/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/bluetooth/ |
H A D | BluetoothMasInstance.java | 29 public BluetoothMasInstance(int id, String name, int channel, int msgTypes) { argument 32 mChannel = channel;
|
/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 | 40 void createNotificationChannel(String pkg, int uid, NotificationChannel channel, argument 42 void updateNotificationChannel(String pkg, int uid, NotificationChannel channel, boolean fromUser); argument
|
/frameworks/support/tv-provider/src/main/java/androidx/tvprovider/media/tv/ |
H A D | PreviewChannelHelper.java | 52 * update or remove programs in a channel. You do not need to know anything about Content 93 * Publishing a channel to the TV home screen is a two step process: first, you add the 94 * channel to the TV content provider; second, you make the channel browsable (i.e. visible). 95 * {@link #publishChannel(PreviewChannel) This method} adds the channel to the 97 * to make the channel browsable. 99 * There are two ways you can make a channel browsable: 101 * a) For your first channel, simply ask the system to make the channel browsable: 104 * b) For any additional channel beyon 125 publishChannel(@onNull PreviewChannel channel) argument 168 publishDefaultChannel(@onNull PreviewChannel channel) argument 265 addChannelLogo(long channelId, @NonNull PreviewChannel channel) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | NotificationChannelGroup.java | 59 * 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);
|
/frameworks/base/core/java/android/hardware/radio/ |
H A D | TunerAdapter.java | 155 public int tune(int channel, int subChannel) { argument 157 mTuner.tune(ProgramSelector.createAmFmSelector(mBand, channel, subChannel));
|
/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 | 100 InputMethodSessionCallbackWrapper(Context context, InputChannel channel, argument 103 mChannel = channel; 298 public void createSession(InputChannel channel, IInputSessionCallback callback) { argument 300 channel, callback));
|
/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/base/packages/ExtServices/tests/src/android/ext/services/notification/ |
H A D | AssistantTest.java | 123 private StatusBarNotification generateSbn(String pkg, int uid, NotificationChannel channel, argument 125 Notification n = new Notification.Builder(mContext, channel.getId()) 136 private Ranking generateRanking(StatusBarNotification sbn, NotificationChannel channel) { argument 138 when(mockRanking.getChannel()).thenReturn(channel); 139 when(mockRanking.getImportance()).thenReturn(channel.getImportance()); 145 private void almostBlockChannel(String pkg, int uid, NotificationChannel channel) { argument 147 dismissBadNotification(pkg, uid, channel, String.valueOf(i)); 151 private void dismissBadNotification(String pkg, int uid, NotificationChannel channel, argument 153 StatusBarNotification sbn = generateSbn(pkg, uid, channel, tag, null); 154 mAssistant.setFakeRanking(generateRanking(sbn, channel)); [all...] |
/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
|