Home
last modified time | relevance | path

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

/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/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/core/java/android/bluetooth/
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()
73 out.writeInt(mChannel); in writeToParcel()
93 return mChannel; in getChannel()
DBluetoothServerSocket.java74 private int mChannel; field in BluetoothServerSocket
87 mChannel = port; in BluetoothServerSocket()
108 mChannel = port; in BluetoothServerSocket()
129 mChannel = mSocket.getPort(); in BluetoothServerSocket()
190 return mChannel; in getChannel()
208 mChannel = newChannel; in setChannel()
232 sb.append(" Channel: ").append(mChannel); in toString()
/frameworks/base/media/java/android/media/
DMiniThumbFile.java52 private FileChannel mChannel; field in MiniThumbFile
124 mChannel = mMiniThumbFile.getChannel(); in miniThumbDataFile()
160 lock = mChannel.lock(pos, 1 + 8, true); in getMagic()
163 if (mChannel.read(mBuffer, pos) == 9) { in getMagic()
207 lock = mChannel.lock(pos, BYTES_PER_MINTHUMB, false); in saveMiniThumbToFile()
208 mChannel.write(mBuffer, pos); in saveMiniThumbToFile()
243 lock = mChannel.lock(pos, BYTES_PER_MINTHUMB, true); in getMiniThumbFromFile()
244 int size = mChannel.read(mBuffer, pos); in getMiniThumbFromFile()
/frameworks/native/libs/input/
DInputTransport.cpp236 mChannel(channel) { in InputPublisher()
258 mChannel->getName().string(), seq, in publishKeyEvent()
281 return mChannel->sendMessage(&msg); in publishKeyEvent()
309 mChannel->getName().string(), seq, in publishMotionEvent()
321 mChannel->getName().string(), pointerCount); in publishMotionEvent()
347 return mChannel->sendMessage(&msg); in publishMotionEvent()
353 mChannel->getName().string()); in receiveFinishedSignal()
357 status_t result = mChannel->receiveMessage(&msg); in receiveFinishedSignal()
365 mChannel->getName().string(), msg.header.type); in receiveFinishedSignal()
377 mChannel(channel), mMsgDeferred(false) { in InputConsumer()
[all …]
/frameworks/native/services/sensorservice/
DSensorEventConnection.cpp36 mChannel = new BitTube(mService->mSocketBufferSize); in SensorEventConnection()
161 mChannel->getSendFd()); in updateLooperRegistrationLocked()
162 looper->removeFd(mChannel->getSendFd()); mHasLooperCallbacks = false; } in updateLooperRegistrationLocked()
181 ALOGD_IF(DEBUG_CONNECTIONS, "removeFd fd=%d", mChannel->getSendFd()); in updateLooperRegistrationLocked()
182 looper->removeFd(mChannel->getSendFd()); in updateLooperRegistrationLocked()
190 int ret = looper->addFd(mChannel->getSendFd(), 0, looper_flags, this, NULL); in updateLooperRegistrationLocked()
192 ALOGD_IF(DEBUG_CONNECTIONS, "%p addFd fd=%d", this, mChannel->getSendFd()); in updateLooperRegistrationLocked()
195 ALOGE("Looper::addFd failed ret=%d fd=%d", ret, mChannel->getSendFd()); in updateLooperRegistrationLocked()
329 ssize_t size = SensorEventQueue::write(mChannel, in sendEvents()
405 ssize_t size = SensorEventQueue::write(mChannel, &flushCompleteEvent, 1); in sendPendingFlushEventsLocked()
[all …]
DSensorEventConnection.h126 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.java84 final InputChannel mChannel; field in IInputMethodWrapper.InputMethodSessionCallbackWrapper
90 mChannel = channel; in InputMethodSessionCallbackWrapper()
99 new IInputMethodSessionWrapper(mContext, session, mChannel); in sessionCreated()
102 if (mChannel != null) { in sessionCreated()
103 mChannel.dispose(); in sessionCreated()
/frameworks/base/services/core/java/com/android/server/
DNsdService.java416 clientInfo.mChannel.sendMessage(NsdManager.SERVICE_FOUND, 0, in handleNativeEvent()
422 clientInfo.mChannel.sendMessage(NsdManager.SERVICE_LOST, 0, in handleNativeEvent()
427 clientInfo.mChannel.sendMessage(NsdManager.DISCOVER_SERVICES_FAILED, in handleNativeEvent()
433 clientInfo.mChannel.sendMessage(NsdManager.REGISTER_SERVICE_SUCCEEDED, in handleNativeEvent()
438 clientInfo.mChannel.sendMessage(NsdManager.REGISTER_SERVICE_FAILED, in handleNativeEvent()
478 clientInfo.mChannel.sendMessage(NsdManager.RESOLVE_SERVICE_FAILED, in handleNativeEvent()
488 clientInfo.mChannel.sendMessage(NsdManager.RESOLVE_SERVICE_FAILED, in handleNativeEvent()
496 clientInfo.mChannel.sendMessage(NsdManager.RESOLVE_SERVICE_FAILED, in handleNativeEvent()
503 clientInfo.mChannel.sendMessage(NsdManager.RESOLVE_SERVICE_SUCCEEDED, in handleNativeEvent()
506 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.java1728 private InputChannel mChannel;
1751 mChannel = channel;
2333 if (mChannel == null) {
2380 if (mChannel != null) {
2382 mSender = new TvInputEventSender(mChannel, mHandler.getLooper());
2476 if (mChannel != null) {
2482 mChannel.dispose();
2483 mChannel = null;
/frameworks/native/include/input/
DInputTransport.h200 inline sp<InputChannel> getChannel() { return mChannel; } in getChannel()
265 sp<InputChannel> mChannel;
280 inline sp<InputChannel> getChannel() { return mChannel; } in getChannel()
348 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/opt/net/wifi/service/java/com/android/server/wifi/
DRttService.java193 private final AsyncChannel mChannel; field in RttService.RttServiceImpl.ClientInfo
201 mChannel = channel; in ClientInfo()
234 mChannel.sendMessage(RttManager.CMD_OP_ENALBE_RESPONDER_SUCCEEDED, 0, key, config); in reportResponderEnableSucceed()
238 mChannel.sendMessage(RttManager.CMD_OP_ENALBE_RESPONDER_FAILED, reason, key); in reportResponderEnableFailed()
246 mChannel.sendMessage(RttManager.CMD_OP_SUCCEEDED, in reportResult()
258 mChannel.sendMessage(RttManager.CMD_OP_FAILED, key, reason, bundle); in reportFailed()
263 mChannel.sendMessage(RttManager.CMD_OP_ABORTED, 0, key); in reportAborted()
279 return "ClientInfo [uid=" + mUid + ", channel=" + mChannel + "]"; in toString()
/frameworks/base/core/java/android/hardware/radio/
DRadioManager.java1141 private final int mChannel; field in RadioManager.ProgramInfo
1151 mChannel = channel; in ProgramInfo()
1165 return mChannel; in getChannel()
1206 mChannel = in.readInt(); in ProgramInfo()
1232 dest.writeInt(mChannel); in writeToParcel()
1253 return "ProgramInfo [mChannel=" + mChannel + ", mSubChannel=" + mSubChannel in toString()
1264 result = prime * result + mChannel; in hashCode()
1281 if (mChannel != other.getChannel()) in equals()
/frameworks/native/services/surfaceflinger/
DEventThread.cpp391 : count(-1), mEventThread(eventThread), mChannel(gui::BitTube::DefaultSize) in Connection()
406 outChannel->setReceiveFd(mChannel.moveReceiveFd()); in stealReceiveChannel()
421 ssize_t size = DisplayEventReceiver::sendEvents(&mChannel, &event, 1); in postEvent()
DEventThread.h76 gui::BitTube mChannel; variable
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java126 private NotificationChannel mChannel; field in NotificationRecord
146 mChannel = channel; in NotificationRecord()
179 Uri sound = mChannel.getSound(); in calculateSound()
775 mChannelIdLogTag = shortenTag(mChannel.getId()); in getChannelIdLogTag()
797 return mChannel; in getChannel()
802 mChannel = channel; in updateNotificationChannel()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java177 private WifiAsyncChannel mChannel; field in WifiServiceImplTest.WifiAsyncChannelTester
192 mChannel = new WifiAsyncChannel(TAG); in connect()
193 mChannel.setWifiLog(mLog); in connect()
200 mChannel.sendMessage(AsyncChannel.CMD_CHANNEL_FULL_CONNECTION); in connect()
218 mChannel.connect(null, handler, messenger); in connect()
/frameworks/base/core/java/android/service/notification/
DNotificationListenerService.java1333 private NotificationChannel mChannel; field in NotificationListenerService.Ranking
1430 return mChannel; in getChannel()
1479 mChannel = channel; in populate()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DWifiScanningServiceImpl.java147 … client.mChannel.replyToMessage(msg, AsyncChannel.CMD_CHANNEL_FULLY_CONNECTED, in handleMessage()
166 client.mChannel.disconnect(); in handleMessage()
1931 private final AsyncChannel mChannel; field in WifiScanningServiceImpl.ExternalClientInfo
1940 mChannel = c; in ExternalClientInfo()
1947 mChannel.sendMessage(what, arg1, arg2, obj); in reportEvent()
/frameworks/base/core/java/android/app/assist/
DAssistStructure.java334 private final IBinder mChannel; field in AssistStructure.ParcelTransferReader
339 mChannel = channel; in ParcelTransferReader()
407 mChannel.transact(TRANSACTION_XFER, data, mCurParcel, 0); in fetchData()
/frameworks/av/media/libstagefright/codec2/include/
DC2Buffer.h827 } mChannel; member