Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppManager.java257 String deviceName; in getDeviceName() local
259 deviceName = BluetoothOppPreference.getInstance(mContext).getName(device); in getDeviceName()
261 if (deviceName == null && mAdapter != null) { in getDeviceName()
262 deviceName = device.getName(); in getDeviceName()
265 if (deviceName == null) { in getDeviceName()
266 deviceName = mContext.getString(R.string.unknown_device); in getDeviceName()
269 return deviceName; in getDeviceName()
DBluetoothOppTransferAdapter.java98 String deviceName = BluetoothOppManager.getInstance(context).getDeviceName(remoteDevice); in bindView() local
99 tv.setText(deviceName); in bindView()
107 tv.setText(BluetoothOppUtility.getStatusDescription(mContext, status, deviceName)); in bindView()
DBluetoothOppReceiver.java105 String deviceName = mOppManager.getDeviceName(remoteDevice); in onReceive() local
110 deviceName); in onReceive()
112 toastMsg = context.getString(R.string.bt_toast_4, deviceName); in onReceive()
DBluetoothOppUtility.java252 public static String getStatusDescription(Context context, int statusCode, String deviceName) { in getStatusDescription() argument
273 ret = context.getString(R.string.bt_sm_2_1, deviceName); in getStatusDescription()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothPermissionRequest.java80 String deviceName = mDevice != null ? mDevice.getName() : null; in onReceive() local
83 context.getString(R.string.bluetooth_connection_notif_message, deviceName), in onReceive()