Home
last modified time | relevance | path

Searched refs:masId (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DBluetoothMapService.java211 private void startSocketListeners(int masId) { in startSocketListeners() argument
212 if (masId == -1) { in startSocketListeners()
217 BluetoothMapMasInstance masInst = mMasInstances.get(masId); // returns null for -1 in startSocketListeners()
221 Log.w(TAG, "startSocketListeners(): Invalid MasId: " + masId); in startSocketListeners()
303 private void stopObexServerSessions(int masId) { in stopObexServerSessions() argument
308 if (masId != -1) { in stopObexServerSessions()
311 if (masInst.getMasId() != masId && masInst.isStarted()) { in stopObexServerSessions()
323 BluetoothMapMasInstance masInst = mMasInstances.get(masId); // returns null for -1 in stopObexServerSessions()
326 } else if (masId == -1) { in stopObexServerSessions()
485 private void onConnectHandler(int masId) { in onConnectHandler() argument
[all …]
DBluetoothMnsObexClient.java100 MnsSdpSearchInfo(boolean isSearchON, int masId, int notification) { in MnsSdpSearchInfo() argument
102 lastMasId = masId; in MnsSdpSearchInfo()
229 public synchronized void handleRegistration(int masId, int notificationStatus) { in handleRegistration() argument
230 Log.d(TAG, "handleRegistration( " + masId + ", " + notificationStatus + ")"); in handleRegistration()
233 mRegisteredMasIds.delete(masId); in handleRegistration()
234 if (mMnsLstRegRqst != null && mMnsLstRegRqst.lastMasId == masId) { in handleRegistration()
247 mRegisteredMasIds.put(masId, true); // We don't use the value for anything in handleRegistration()
264 msg.arg1 = masId; in handleRegistration()
DBluetoothMapMasInstance.java123 int masId, in BluetoothMapMasInstance() argument
133 mMasInstanceId = masId; in BluetoothMapMasInstance()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/map/
DBluetoothMapServiceTest.java111 int masId = mService.getNextMasId(); in getNextMasId_isInRange() local
112 assertThat(masId).isAtMost(0xff); in getNextMasId_isInRange()
113 assertThat(masId).isAtLeast(1); in getNextMasId_isInRange()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/sdp/
DSdpManagerNativeInterface.java91 int masId, in createMapMasRecord() argument
101 serviceName, masId, rfcommChannel, l2capPsm, version, msgTypes, features); in createMapMasRecord()
396 int masId, in sdpCreateMapMasRecordNative() argument