Home
last modified time | relevance | path

Searched refs:mChannel (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/
DBidirectionalAsyncChannel.java37 private AsyncChannel mChannel; field in BidirectionalAsyncChannel
49 mChannel = new AsyncChannel(); in connect()
57 mChannel.sendMessage(AsyncChannel.CMD_CHANNEL_FULL_CONNECTION); in connect()
62 mChannel = null; in connect()
71 mChannel = null; in connect()
80 mChannel.connect(null, rawMessageHandler, messenger); in connect()
86 mChannel.sendMessage(AsyncChannel.CMD_CHANNEL_DISCONNECT); in disconnect()
88 mChannel = null; in disconnect()
94 mChannel.sendMessage(msg); in sendMessage()
/frameworks/base/omapi/java/android/se/omapi/
DChannel.java46 private final ISecureElementChannel mChannel; field in Channel
57 mChannel = channel; in Channel()
70 mChannel.close(); in close()
90 return !mChannel.isClosed(); in isOpen()
108 return mChannel.isBasicChannel(); in isBasicChannel()
168 byte[] response = mChannel.transmit(command); in transmit()
207 response = mChannel.getSelectResponse(); in getSelectResponse()
249 return mChannel.selectNext(); in selectNext()
/frameworks/base/telephony/java/android/telephony/
DIccOpenLogicalChannelResponse.java45 private final int mChannel; field in IccOpenLogicalChannelResponse
55 mChannel = channel; in IccOpenLogicalChannelResponse()
64 mChannel = in.readInt(); in IccOpenLogicalChannelResponse()
79 return mChannel; in getChannel()
103 out.writeInt(mChannel); in writeToParcel()
128 return "Channel: " + mChannel + " Status: " + mStatus; in toString()
/frameworks/base/media/java/android/media/audiofx/
DDynamicsProcessing.java1247 private final Channel[] mChannel; field in DynamicsProcessing.Config
1282 mChannel = new Channel[mChannelCount]; in Config()
1288 mChannel[ch] = new Channel(channel[ch]); //copy create in Config()
1316 if (mChannelCount != cfg.mChannel.length) { in Config()
1318 mChannelCount + " !=" + cfg.mChannel.length); in Config()
1324 mChannel = new Channel[channelCount]; in Config()
1327 mChannel[ch] = new Channel(cfg.mChannel[ch]); in Config()
1330 mChannel[ch] = new Channel(cfg.mChannel[mChannelCount-1]); in Config()
1356 for (int ch = 0; ch < mChannel.length; ch++) { in toString()
1358 sb.append(mChannel[ch].toString()); in toString()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationHistoryFilter.java28 private String mChannel; field in NotificationHistoryFilter
38 return mChannel; in getChannel()
81 private String mChannel = null; field in NotificationHistoryFilter.Builder
102 mChannel = channel; in setChannel()
120 filter.mChannel = mChannel; in build()
DNotificationRecordExtractorData.java35 private final NotificationChannel mChannel; field in NotificationRecordExtractorData
63 mChannel = channel; in NotificationRecordExtractorData()
86 || !Objects.equals(mChannel, r.getChannel()) in hasDiffForRankingLocked()
109 || !Objects.equals(mChannel, r.getChannel()) in hasDiffForLoggingLocked()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/apdu/
DRequestBuilder.java42 private final int mChannel; field in RequestBuilder
51 mCommands.add(new ApduCommand(mChannel, cla, ins, p1, p2, p3, cmdHex)); in addApdu()
59 mCommands.add(new ApduCommand(mChannel, cla, ins, p1, p2, cmdHex.length() / 2, cmdHex)); in addApdu()
67 mCommands.add(new ApduCommand(mChannel, cla, ins, p1, p2, 0, "")); in addApdu()
96 mChannel = channel; in RequestBuilder()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNotificationEntryTest.java78 private NotificationChannel mChannel = Mockito.mock(NotificationChannel.class); field in NotificationEntryTest
92 .setChannel(mChannel) in setup()
98 doReturn(false).when(mChannel).isBlockable(); in setup()
111 doReturn(true).when(mChannel).isBlockable(); in testBlockableEntryWhenCritical()
120 doReturn(true).when(mChannel).isBlockable(); in testBlockableEntryWhenCriticalAndChannelNotBlockable()
121 doReturn(true).when(mChannel).isImportanceLockedByCriticalDeviceFunction(); in testBlockableEntryWhenCriticalAndChannelNotBlockable()
129 doReturn(false).when(mChannel).isBlockable(); in testNonBlockableEntryWhenCriticalAndChannelNotBlockable()
130 doReturn(true).when(mChannel).isImportanceLockedByCriticalDeviceFunction(); in testNonBlockableEntryWhenCriticalAndChannelNotBlockable()
168 doReturn(true).when(mChannel).isImportanceLockedByCriticalDeviceFunction(); in testIsExemptFromDndVisualSuppression_system()
169 doReturn(false).when(mChannel).isBlockable(); in testIsExemptFromDndVisualSuppression_system()
[all …]
/frameworks/native/libs/input/
DInputTransport.cpp527 : mChannel(channel), mInputVerifier(mChannel->getName()) {} in InputPublisher()
540 mChannel->getName().c_str(), KeyEvent::actionToString(action), in publishKeyEvent()
546 mChannel->getName().c_str(), __func__, seq, eventId, deviceId, in publishKeyEvent()
571 return mChannel->sendMessage(&msg); in publishKeyEvent()
585 mChannel->getName().c_str(), in publishMotionEvent()
604 mChannel->getName().c_str(), __func__, seq, eventId, deviceId, in publishMotionEvent()
618 mChannel->getName().c_str(), pointerCount); in publishMotionEvent()
661 return mChannel->sendMessage(&msg); in publishMotionEvent()
667 mChannel->getName().c_str(), toString(hasFocus))); in publishFocusEvent()
669 mChannel->getName().c_str(), __func__, seq, eventId, toString(hasFocus)); in publishFocusEvent()
[all …]
DInputConsumerNoResampling.cpp181 : mChannel(channel), mLooper(looper), mCallbacks(callbacks), mFdEvents(0) { in InputConsumerNoResampling()
212 LOG(INFO) << "The channel was hung up or an error occurred: " << mChannel->getName(); in handleReceiveCallback()
238 const status_t result = mChannel->sendMessage(&outboundMsg); in processOutboundEvents()
255 LOG(FATAL) << "Failed to send outbound event on channel '" << mChannel->getName() in processOutboundEvents()
281 return (!mBatches.empty()) || mChannel->probablyHasInput(); in probablyHasInput()
306 mLooper->addFd(mChannel->getFd(), 0, events, mCallback, nullptr); in setFdEvents()
308 mLooper->removeFd(mChannel->getFd()); in setFdEvents()
366 status_t result = mChannel->receiveMessage(&msg); in readAllMessages()
385 LOG(FATAL) << "Got a dead object for " << mChannel->getName(); in readAllMessages()
389 LOG(FATAL) << "Got a bad value for " << mChannel->getName(); in readAllMessages()
[all …]
DInputConsumer.cpp201 mChannel(channel), in InputConsumer()
203 mChannel->getName().c_str(), this)), in InputConsumer()
205 mChannel->getName().c_str(), this)), in InputConsumer()
224 mChannel->getName().c_str(), toString(consumeBatches), frameTime); in consume()
238 status_t result = mChannel->receiveMessage(&mMsg); in consume()
255 mChannel->getName().c_str(), *outSeq); in consume()
273 mChannel->getName().c_str(), *outSeq); in consume()
285 mChannel->getName().c_str()); in consume()
310 mChannel->getName().c_str(), *outSeq); in consume()
323 mChannel->getName().c_str()); in consume()
[all …]
/frameworks/base/core/java/android/inputmethodservice/
DIInputMethodSessionWrapper.java64 InputChannel mChannel; field in IInputMethodSessionWrapper
72 mChannel = channel; in IInputMethodSessionWrapper()
163 if (mChannel != null) { in doFinishSession()
164 mChannel.dispose(); in doFinishSession()
165 mChannel = null; in doFinishSession()
DIInputMethodWrapper.java119 final InputChannel mChannel; field in IInputMethodWrapper.InputMethodSessionCallbackWrapper
125 mChannel = channel; in InputMethodSessionCallbackWrapper()
134 new IInputMethodSessionWrapper(mContext, session, mChannel); in sessionCreated()
137 if (mChannel != null) { in sessionCreated()
138 mChannel.dispose(); in sessionCreated()
/frameworks/native/services/sensorservice/
DSensorEventConnection.cpp49 mChannel = new BitTube(mService->mSocketBufferSize); in SensorEventConnection()
239 mChannel->getSendFd()); in updateLooperRegistrationLocked()
240 looper->removeFd(mChannel->getSendFd()); mHasLooperCallbacks = false; } in updateLooperRegistrationLocked()
259 ALOGD_IF(DEBUG_CONNECTIONS, "removeFd fd=%d", mChannel->getSendFd()); in updateLooperRegistrationLocked()
260 looper->removeFd(mChannel->getSendFd()); in updateLooperRegistrationLocked()
268 int ret = looper->addFd(mChannel->getSendFd(), 0, looper_flags, this, nullptr); in updateLooperRegistrationLocked()
270 ALOGD_IF(DEBUG_CONNECTIONS, "%p addFd fd=%d", this, mChannel->getSendFd()); in updateLooperRegistrationLocked()
273 ALOGE("Looper::addFd failed ret=%d fd=%d", ret, mChannel->getSendFd()); in updateLooperRegistrationLocked()
406 ssize_t size = SensorEventQueue::write(mChannel, in sendEvents()
575 ssize_t size = SensorEventQueue::write(mChannel, &flushCompleteEvent, 1); in sendPendingFlushEventsLocked()
[all …]
/frameworks/base/media/java/android/media/tv/ad/
DITvAdSessionWrapper.java72 private InputChannel mChannel; field in ITvAdSessionWrapper
79 mChannel = channel; in ITvAdSessionWrapper()
107 if (mChannel != null) { in executeMessage()
108 mChannel.dispose(); in executeMessage()
109 mChannel = null; in executeMessage()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/
DRankingBuilder.java46 private NotificationChannel mChannel = null; field in RankingBuilder
77 mChannel = ranking.getChannel(); in RankingBuilder()
108 mChannel, in build()
241 mChannel = channel; in setChannel()
/frameworks/av/media/libeffects/dynamicsproc/dsp/
DDPBase.cpp250 mChannel.resize(mChannelCount); in init()
252 mChannel[ch].init(0, preEqInUse, preEqBandCount, mbcInUse, mbcBandCount, in init()
259 if (!mInitialized || channelIndex < 0 || channelIndex >= mChannel.size()) { in getChannel()
262 return & mChannel[channelIndex]; in getChannel()
/frameworks/native/include/input/
DInputConsumerNoResampling.h94 std::string getName() { return mChannel->getName(); } in getName()
99 std::shared_ptr<InputChannel> mChannel;
DInputConsumer.h44 inline std::shared_ptr<InputChannel> getChannel() { return mChannel; } in getChannel()
112 std::shared_ptr<InputChannel> mChannel; variable
/frameworks/base/media/java/android/media/tv/
DITvInputSessionWrapper.java93 private InputChannel mChannel; field in ITvInputSessionWrapper
101 mChannel = channel; in ITvInputSessionWrapper()
135 if (mChannel != null) { in executeMessage()
136 mChannel.dispose(); in executeMessage()
137 mChannel = null; in executeMessage()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DBubbleExtractorTest.java77 NotificationChannel mChannel; field in BubbleExtractorTest
103 mChannel = new NotificationChannel(CHANNEL_ID, CHANNEL_ID, IMPORTANCE_DEFAULT); in setUp()
104 when(mConfig.getNotificationChannel(PKG, UID, CHANNEL_ID, false)).thenReturn(mChannel); in setUp()
131 NotificationRecord r = new NotificationRecord(getContext(), sbn, mChannel); in getNotificationRecord()
159 mChannel.setAllowBubbles(channel); in setUpBubblesEnabled()
DNotificationAttentionHelperTest.java161 private NotificationChannel mChannel; field in NotificationAttentionHelperTest
242 mChannel = new NotificationChannel("test", "test", IMPORTANCE_HIGH); in setUp()
466 mChannel.setSound(Settings.System.DEFAULT_NOTIFICATION_URI, in getNotificationRecord()
470 mChannel.setSound(CUSTOM_SOUND, CUSTOM_ATTRIBUTES); in getNotificationRecord()
473 mChannel.setSound(null, null); in getNotificationRecord()
480 mChannel.setVibrationPattern(CUSTOM_VIBRATION); in getNotificationRecord()
482 mChannel.enableVibration(true); in getNotificationRecord()
484 mChannel.setVibrationPattern(null); in getNotificationRecord()
485 mChannel.enableVibration(false); in getNotificationRecord()
494 mChannel.enableLights(true); in getNotificationRecord()
[all …]
/frameworks/av/media/codec2/sfplugin/
DCCodec.cpp942 : mChannel(new CCodecBufferChannel(std::make_shared<CCodecCallbackImpl>(this))), in CCodec()
950 return mChannel; in getBufferChannel()
1018 mChannel->setComponent(comp); in allocate()
1105 mChannel->setMetaMode(CCodecBufferChannel::MODE_ANW); in configure()
1808 mChannel->resetBuffersPixelFormat((config->mDomain & Config::IS_ENCODER) ? true : false); in configure()
1992 status_t err = mChannel->setInputSurface(surface); in setupInputSurface()
2148 err2 = mChannel->start(inputFormat, outputFormat, buffersBoundToCodec); in start()
2170 err2 = mChannel->prepareInitialInputBuffers(&clientInputBuffers); in start()
2179 mChannel->requestInitialInputBuffers(std::move(clientInputBuffers)); in start()
2205 mChannel->reset(); in initiateStop()
[all …]
/frameworks/base/media/java/android/media/tv/interactive/
DITvInteractiveAppSessionWrapper.java111 private InputChannel mChannel; field in ITvInteractiveAppSessionWrapper
118 mChannel = channel; in ITvInteractiveAppSessionWrapper()
139 if (mChannel != null) { in executeMessage()
140 mChannel.dispose(); in executeMessage()
141 mChannel = null; in executeMessage()
/frameworks/native/services/surfaceflinger/Scheduler/
DEventThread.cpp199 mChannel(gui::BitTube::DefaultSize) {} in EventThreadConnection()
213 if (mChannel.initCheck() != NO_ERROR) { in stealReceiveChannel()
217 outChannel->setReceiveFd(mChannel.moveReceiveFd()); in stealReceiveChannel()
218 outChannel->setSendFd(base::unique_fd(dup(mChannel.getSendFd()))); in stealReceiveChannel()
259 auto size = DisplayEventReceiver::sendEvents(&mChannel, mPendingEvents.data(), in postEvent()
265 auto size = DisplayEventReceiver::sendEvents(&mChannel, &event, 1); in postEvent()

12