Home | History | Annotate | Download | only in connserv

Lines Matching refs:block

78                     HfpClientDeviceBlock block = null;
79 if ((block = createBlockForDevice(device)) == null) {
80 Log.w(TAG, "Block already exists for device " + device + " ignoring.");
89 HfpClientDeviceBlock block = mDeviceBlocks.remove(device);
90 if (block == null) {
91 Log.w(TAG, "Disconnect for device but no block " + device);
94 block.cleanup();
95 // Block should be subsequently garbage collected
96 block = null;
103 HfpClientDeviceBlock block = findBlockForDevice(call.getDevice());
104 if (block == null) {
105 Log.w(TAG, "Call changed but no block for device " + device);
112 block.handleCall(call);
190 HfpClientDeviceBlock block = findBlockForHandle(connectionManagerAccount);
191 if (block == null) {
199 return block.onCreateIncomingConnection(call);
209 HfpClientDeviceBlock block = findBlockForHandle(connectionManagerAccount);
210 if (block == null) {
215 return block.onCreateOutgoingConnection(request.getAddress());
227 HfpClientDeviceBlock block = findBlockForHandle(connectionManagerAccount);
228 if (block == null) {
236 return block.onCreateUnknownConnection(call);
255 HfpClientDeviceBlock block = findBlockForDevice(bd1);
256 block.onConference(connection1, connection2);
283 // Creation of the block takes care of initializing the phone account and
285 HfpClientDeviceBlock block = createBlockForDevice(device);
299 // Block management functions
301 Log.d(TAG, "Creating block for device " + device);
307 HfpClientDeviceBlock block = new HfpClientDeviceBlock(this, device, mHeadsetProfile);
308 mDeviceBlocks.put(device, block);
309 return block;
313 Log.d(TAG, "Finding block for device " + device + " blocks " + mDeviceBlocks);
321 Log.d(TAG, "Finding block for handle " + handle + " device " + btAddr);