Home
last modified time | relevance | path

Searched refs:mChannel (Results 1 – 25 of 33) 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/core/java/android/bluetooth/
DBluetoothServerSocket.java75 private int mChannel; field in BluetoothServerSocket
89 mChannel = port; in BluetoothServerSocket()
111 mChannel = port; in BluetoothServerSocket()
133 mChannel = mSocket.getPort(); in BluetoothServerSocket()
173 if (DBG) Log.d(TAG, "BluetoothServerSocket:close() called. mChannel=" + mChannel); in close()
198 return mChannel; in getChannel()
212 return mChannel; in getPsm()
230 mChannel = newChannel; in setChannel()
255 sb.append(" Channel: ").append(mChannel); in toString()
DBluetoothMasInstance.java26 private final int mChannel; field in BluetoothMasInstance
32 mChannel = channel; in BluetoothMasInstance()
46 return mId + (mChannel << 8) + (mMsgTypes << 16); in hashCode()
51 return Integer.toString(mId) + ":" + mName + ":" + mChannel + ":" in toString()
76 out.writeInt(mChannel); in writeToParcel()
96 return mChannel; in getChannel()
/frameworks/base/core/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/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/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/lowpan/java/android/net/lowpan/
DLowpanEnergyScanResult.java28 private int mChannel = UNKNOWN; field in LowpanEnergyScanResult
34 return mChannel; in getChannel()
42 mChannel = x; in setChannel()
51 return "LowpanEnergyScanResult(channel: " + mChannel + ", maxRssi:" + mMaxRssi + ")"; in toString()
DLowpanIdentity.java124 mIdentity.mChannel = x; in setChannel()
143 private int mChannel = UNSPECIFIED_CHANNEL; field in LowpanIdentity
172 return mChannel; in getChannel()
193 if (mChannel != UNSPECIFIED_CHANNEL) { in toString()
194 sb.append(", Channel:").append(mChannel); in toString()
210 && mChannel == rhs.mChannel; in equals()
216 Arrays.hashCode(mRawName), mType, Arrays.hashCode(mXpanid), mPanid, mChannel); in hashCode()
232 dest.writeInt(mChannel); in writeToParcel()
/frameworks/base/media/java/android/media/
DMiniThumbFile.java52 private FileChannel mChannel; field in MiniThumbFile
125 mChannel = mMiniThumbFile.getChannel(); in miniThumbDataFile()
162 lock = mChannel.lock(pos, 1 + 8, true); in getMagic()
165 if (mChannel.read(mBuffer, pos) == 9) { in getMagic()
198 lock = mChannel.lock(pos, BYTES_PER_MINTHUMB, false); in eraseMiniThumb()
201 if (mChannel.read(mBuffer, pos) == 9) { in eraseMiniThumb()
213 mChannel.write(mEmptyBuffer, pos); in eraseMiniThumb()
257 lock = mChannel.lock(pos, BYTES_PER_MINTHUMB, false); in saveMiniThumbToFile()
258 mChannel.write(mBuffer, pos); in saveMiniThumbToFile()
293 lock = mChannel.lock(pos, BYTES_PER_MINTHUMB, true); in getMiniThumbFromFile()
[all …]
/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/opt/net/lowpan/libandroid_net_lowpan/
DLowpanIdentity.cpp71 return mChannel; in getChannel()
108 mIdentity.mChannel = value; in setChannel()
121 LowpanIdentity::LowpanIdentity() : mPanid(UNSPECIFIED_PANID), mChannel(UNSPECIFIED_CHANNEL) { in LowpanIdentity()
136 RETURN_IF_FAILED(parcel->writeInt32(mChannel)); in writeToParcel()
155 RETURN_IF_FAILED(parcel->readInt32(&mChannel)); in readFromParcel()
179 if (lhs.mChannel != rhs.mChannel) { in operator ==()
/frameworks/native/libs/input/
DInputTransport.cpp236 mChannel(channel) { in InputPublisher()
258 mChannel->getName().c_str(), seq, in publishKeyEvent()
281 return mChannel->sendMessage(&msg); in publishKeyEvent()
310 mChannel->getName().c_str(), seq, in publishMotionEvent()
322 mChannel->getName().c_str(), pointerCount); in publishMotionEvent()
349 return mChannel->sendMessage(&msg); in publishMotionEvent()
355 mChannel->getName().c_str()); in receiveFinishedSignal()
359 status_t result = mChannel->receiveMessage(&msg); in receiveFinishedSignal()
367 mChannel->getName().c_str(), msg.header.type); in receiveFinishedSignal()
379 mChannel(channel), mMsgDeferred(false) { in InputConsumer()
[all …]
/frameworks/native/services/sensorservice/
DSensorEventConnection.cpp37 mChannel = new BitTube(mService->mSocketBufferSize); in SensorEventConnection()
174 mChannel->getSendFd()); in updateLooperRegistrationLocked()
175 looper->removeFd(mChannel->getSendFd()); mHasLooperCallbacks = false; } in updateLooperRegistrationLocked()
194 ALOGD_IF(DEBUG_CONNECTIONS, "removeFd fd=%d", mChannel->getSendFd()); in updateLooperRegistrationLocked()
195 looper->removeFd(mChannel->getSendFd()); in updateLooperRegistrationLocked()
203 int ret = looper->addFd(mChannel->getSendFd(), 0, looper_flags, this, NULL); in updateLooperRegistrationLocked()
205 ALOGD_IF(DEBUG_CONNECTIONS, "%p addFd fd=%d", this, mChannel->getSendFd()); in updateLooperRegistrationLocked()
208 ALOGE("Looper::addFd failed ret=%d fd=%d", ret, mChannel->getSendFd()); in updateLooperRegistrationLocked()
362 ssize_t size = SensorEventQueue::write(mChannel, in sendEvents()
445 ssize_t size = SensorEventQueue::write(mChannel, &flushCompleteEvent, 1); in sendPendingFlushEventsLocked()
[all …]
DSensorEventConnection.h130 sp<BitTube> mChannel; variable
/frameworks/base/core/java/android/inputmethodservice/
DIInputMethodSessionWrapper.java58 InputChannel mChannel; field in IInputMethodSessionWrapper
66 mChannel = channel; in IInputMethodSessionWrapper()
146 if (mChannel != null) { in doFinishSession()
147 mChannel.dispose(); in doFinishSession()
148 mChannel = null; in doFinishSession()
DIInputMethodWrapper.java97 final InputChannel mChannel; field in IInputMethodWrapper.InputMethodSessionCallbackWrapper
103 mChannel = channel; in InputMethodSessionCallbackWrapper()
112 new IInputMethodSessionWrapper(mContext, session, mChannel); in sessionCreated()
115 if (mChannel != null) { in sessionCreated()
116 mChannel.dispose(); in sessionCreated()
/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/base/services/core/java/com/android/server/
DNsdService.java413 clientInfo.mChannel.sendMessage(NsdManager.SERVICE_FOUND, 0, in handleNativeEvent()
419 clientInfo.mChannel.sendMessage(NsdManager.SERVICE_LOST, 0, in handleNativeEvent()
424 clientInfo.mChannel.sendMessage(NsdManager.DISCOVER_SERVICES_FAILED, in handleNativeEvent()
430 clientInfo.mChannel.sendMessage(NsdManager.REGISTER_SERVICE_SUCCEEDED, in handleNativeEvent()
435 clientInfo.mChannel.sendMessage(NsdManager.REGISTER_SERVICE_FAILED, in handleNativeEvent()
475 clientInfo.mChannel.sendMessage(NsdManager.RESOLVE_SERVICE_FAILED, in handleNativeEvent()
485 clientInfo.mChannel.sendMessage(NsdManager.RESOLVE_SERVICE_FAILED, in handleNativeEvent()
493 clientInfo.mChannel.sendMessage(NsdManager.RESOLVE_SERVICE_FAILED, in handleNativeEvent()
500 clientInfo.mChannel.sendMessage(NsdManager.RESOLVE_SERVICE_SUCCEEDED, in handleNativeEvent()
503 clientInfo.mChannel.sendMessage(NsdManager.RESOLVE_SERVICE_FAILED, in handleNativeEvent()
[all …]
/frameworks/base/media/java/android/media/tv/
DITvInputSessionWrapper.java78 private InputChannel mChannel; field in ITvInputSessionWrapper
86 mChannel = channel; in ITvInputSessionWrapper()
120 if (mChannel != null) { in executeMessage()
121 mChannel.dispose(); in executeMessage()
122 mChannel = null; in executeMessage()
DTvInputManager.java1731 private InputChannel mChannel;
1754 mChannel = channel;
2336 if (mChannel == null) {
2383 if (mChannel != null) {
2385 mSender = new TvInputEventSender(mChannel, mHandler.getLooper());
2479 if (mChannel != null) {
2485 mChannel.dispose();
2486 mChannel = null;
/frameworks/native/include/input/
DInputTransport.h201 inline sp<InputChannel> getChannel() { return mChannel; } in getChannel()
267 sp<InputChannel> mChannel;
282 inline sp<InputChannel> getChannel() { return mChannel; } in getChannel()
350 sp<InputChannel> mChannel; variable
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DServiceIntentSender.java40 final NotificationChannel mChannel = new NotificationChannel( in ServiceIntentSender() local
47 notificationManager.createNotificationChannel(mChannel); in ServiceIntentSender()
/frameworks/native/services/surfaceflinger/
DEventThread.cpp379 : count(-1), mEventThread(eventThread), mChannel(gui::BitTube::DefaultSize) {} in Connection()
392 outChannel->setReceiveFd(mChannel.moveReceiveFd()); in stealReceiveChannel()
406 ssize_t size = DisplayEventReceiver::sendEvents(&mChannel, &event, 1); in postEvent()
/frameworks/opt/net/lowpan/libandroid_net_lowpan/include/android/net/lowpan/
DLowpanIdentity.h64 int32_t mChannel; variable
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java149 private NotificationChannel mChannel; field in NotificationRecord
185 mChannel = channel; in NotificationRecord()
215 Uri sound = mChannel.getSound(); in calculateSound()
877 mChannelIdLogTag = shortenTag(mChannel.getId()); in getChannelIdLogTag()
895 return mChannel; in getChannel()
907 mChannel = channel; in updateNotificationChannel()

12