Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapService.java218 private final void startRfcommSocketListeners(int masId) { in startRfcommSocketListeners() argument
219 if(masId == -1) { in startRfcommSocketListeners()
224 BluetoothMapMasInstance masInst = mMasInstances.get(masId); // returns null for -1 in startRfcommSocketListeners()
228 Log.w(TAG, "startRfcommSocketListeners(): Invalid MasId: " + masId); in startRfcommSocketListeners()
290 private void stopObexServerSessions(int masId) { in stopObexServerSessions() argument
295 if(masId != -1) { in stopObexServerSessions()
298 if(masInst.getMasId() != masId && masInst.isStarted()) { in stopObexServerSessions()
310 BluetoothMapMasInstance masInst = mMasInstances.get(masId); // returns null for -1 in stopObexServerSessions()
313 } else if(masId == -1) { in stopObexServerSessions()
447 private void onConnectHandler(int masId) { in onConnectHandler() argument
[all …]
DBluetoothMnsObexClient.java102 MnsSdpSearchInfo (boolean isSearchON, int masId, int notification) { in MnsSdpSearchInfo() argument
104 lastMasId = masId; in MnsSdpSearchInfo()
223 public synchronized void handleRegistration(int masId, int notificationStatus){ in handleRegistration() argument
224 if(D) Log.d(TAG, "handleRegistration( " + masId + ", " + notificationStatus + ")"); in handleRegistration()
227 mRegisteredMasIds.delete(masId); in handleRegistration()
228 if (mMnsLstRegRqst != null && mMnsLstRegRqst.lastMasId == masId) { in handleRegistration()
241 mRegisteredMasIds.put(masId, true); // We don't use the value for anything in handleRegistration()
258 msg.arg1 = masId; in handleRegistration()
DBluetoothMapMasInstance.java118 int masId, in BluetoothMapMasInstance() argument
128 mMasInstanceId = masId; in BluetoothMapMasInstance()
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/
DMockMasInstance.java11 public MockMasInstance(int masId, int remoteFeatureMask) { in MockMasInstance() argument
13 this.mMasId = masId; in MockMasInstance()
/packages/apps/Bluetooth/src/com/android/bluetooth/sdp/
DSdpManager.java99 private native int sdpCreateMapMasRecordNative(String serviceName, int masId, in sdpCreateMapMasRecordNative() argument
524 public int createMapMasRecord(String serviceName, int masId, in createMapMasRecord() argument
530 return sdpCreateMapMasRecordNative(serviceName, masId, rfcommChannel, in createMapMasRecord()