Home
last modified time | relevance | path

Searched refs:mDeviceName (Results 1 – 24 of 24) sorted by relevance

/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/api/external/
DCompanionDevice.java33 private final String mDeviceName; field in CompanionDevice
51 mDeviceName = deviceName; in CompanionDevice()
65 return mDeviceName; in getDeviceName()
89 dest.writeString(mDeviceName); in writeToParcel()
104 && Objects.equals(mDeviceName, companionDevice.getDeviceName()) in equals()
111 return Objects.hash(mDeviceId, mDeviceName, mIsActiveUser, mHasSecureChannel); in hashCode()
117 + ", deviceName=" + mDeviceName in toString()
126 return new ConnectedDevice(mDeviceId, mDeviceName, mIsActiveUser, mHasSecureChannel); in toConnectedDevice()
DAssociatedDevice.java33 private final String mDeviceName; field in AssociatedDevice
41 mDeviceName = deviceName; in AssociatedDevice()
66 return mDeviceName; in getDeviceName()
82 dest.writeString(mDeviceName); in writeToParcel()
97 && Objects.equals(device.mDeviceName, mDeviceName) in equals()
103 return Objects.hash(mDeviceId, mDeviceAddress, mDeviceName, mIsConnectionEnabled); in hashCode()
/packages/apps/Settings/src/com/android/settings/development/
DAdbDeviceNamePreferenceController.java40 private String mDeviceName; field in AdbDeviceNamePreferenceController
51 mDeviceName = Settings.Global.getString(mContext.getContentResolver(), in displayPreference()
53 if (mDeviceName == null) { in displayPreference()
54 mDeviceName = Build.MODEL; in displayPreference()
60 return mDeviceName; in getSummary()
72 clipboard.setPrimaryClip(ClipData.newPlainText("text", mDeviceName)); in copy()
75 mDeviceName); in copy()
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/model/
DConnectedDevice.java31 private final String mDeviceName; field in ConnectedDevice
48 mDeviceName = deviceName; in ConnectedDevice()
62 return mDeviceName; in getDeviceName()
87 && Objects.equals(mDeviceName, connectedDevice.mDeviceName) in equals()
94 return Objects.hash(mDeviceId, mDeviceName, mBelongsToActiveUser, mHasSecureChannel); in hashCode()
DAssociatedDevice.java33 private final String mDeviceName; field in AssociatedDevice
50 mDeviceName = deviceName; in AssociatedDevice()
69 return mDeviceName; in getDeviceName()
88 && Objects.equals(mDeviceName, associatedDevice.mDeviceName) in equals()
94 return Objects.hash(mDeviceId, mDeviceAddress, mDeviceName, mIsConnectionEnabled); in hashCode()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DDeviceNamePreferenceController.java47 private String mDeviceName; field in DeviceNamePreferenceController
76 mDeviceName = Settings.Global.getString(mContext.getContentResolver(), in initializeDeviceName()
78 if (mDeviceName == null) { in initializeDeviceName()
79 mDeviceName = Build.MODEL; in initializeDeviceName()
85 return mDeviceName; in getSummary()
128 mDeviceName = deviceName; in setDeviceName()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/
DDeviceNamePreferenceController.java47 private String mDeviceName; field in DeviceNamePreferenceController
76 mDeviceName = Settings.Global.getString(mContext.getContentResolver(), in initializeDeviceName()
78 if (mDeviceName == null) { in initializeDeviceName()
79 mDeviceName = Build.MODEL; in initializeDeviceName()
85 return mDeviceName; in getSummary()
128 mDeviceName = deviceName; in setDeviceName()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothAccessoryFragment.java84 private String mDeviceName; field in BluetoothAccessoryFragment
125 mDeviceName = bundle.getString(ARG_ACCESSORY_NAME); in onCreate()
128 mDeviceName = getString(R.string.accessory_options); in onCreate()
200 screen.setTitle(mDeviceName); in onCreatePreferences()
203 ChangeNameFragment.prepareArgs(mChangeNamePref.getExtras(), mDeviceName, mDeviceImgId); in onCreatePreferences() local
208 mUnpairPref.getExtras(), mDevice, mDeviceName, mDeviceImgId); in onCreatePreferences() local
238 mDeviceName = deviceName; in renameDevice()
243 ChangeNameFragment.prepareArgs(mChangeNamePref.getExtras(), mDeviceName, mDeviceImgId); in renameDevice() local
245 mUnpairPref.getExtras(), mDevice, mDeviceName, mDeviceImgId); in renameDevice() local
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/inputmethod/
DPhysicalKeyboardFragment.java167 pref.setTitle(hardKeyboardDeviceInfo.mDeviceName); in updateHardKeyboards()
282 int result = collator.compare(a.mDeviceName, b.mDeviceName); in getHardKeyboards()
298 public final String mDeviceName; field in PhysicalKeyboardFragment.HardKeyboardDeviceInfo
308 mDeviceName = TextUtils.emptyIfNull(deviceName); in HardKeyboardDeviceInfo()
321 if (!TextUtils.equals(mDeviceName, that.mDeviceName)) { in equals()
DPhysicalKeyboardPreferenceController.java108 summaries.add(info.mDeviceName); in updateSummary()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DPhysicalKeyboardFragment.java167 pref.setTitle(hardKeyboardDeviceInfo.mDeviceName); in updateHardKeyboards()
282 int result = collator.compare(a.mDeviceName, b.mDeviceName); in getHardKeyboards()
298 public final String mDeviceName; field in PhysicalKeyboardFragment.HardKeyboardDeviceInfo
308 mDeviceName = TextUtils.emptyIfNull(deviceName); in HardKeyboardDeviceInfo()
321 if (!TextUtils.equals(mDeviceName, that.mDeviceName)) { in equals()
DPhysicalKeyboardPreferenceController.java108 summaries.add(info.mDeviceName); in updateSummary()
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/activity/
DAssociatedDeviceDetails.java30 private final String mDeviceName; field in AssociatedDeviceDetails
39 mDeviceName = device.getDeviceName(); in AssociatedDeviceDetails()
53 return mDeviceName; in getDeviceName()
75 return new AssociatedDevice(mDeviceId, mDeviceAddress, mDeviceName, mIsConnectionEnabled); in getAssociatedDevice()
DAssociatedDeviceDetailFragment.java40 private TextView mDeviceName; field in AssociatedDeviceDetailFragment
54 mDeviceName = view.findViewById(R.id.device_name); in onViewCreated()
76 mDeviceName.setText(deviceDetails.getDeviceName()); in setDeviceDetails()
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
DUsbDeviceSettings.java30 private String mDeviceName; field in UsbDeviceSettings
54 mDeviceName = deviceName; in setDeviceName()
58 return mDeviceName; in getDeviceName()
88 + ", name=" + mDeviceName + ", handler=" + mHandler.toString() + ", aoap=" + mAoap in toString()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppTransferActivity.java259 tmp = getString(R.string.download_line1, mTransInfo.mDeviceName); in customizeViewContent()
278 tmp = getString(R.string.upload_line1, mTransInfo.mDeviceName); in customizeViewContent()
319 mTransInfo.mDeviceName)); in customizeViewContent()
326 tmp = getString(R.string.upload_fail_line1, mTransInfo.mDeviceName); in customizeViewContent()
334 mTransInfo.mDeviceName)); in customizeViewContent()
375 msg = getString(R.string.bt_toast_3, mTransInfo.mDeviceName); in onClick()
377 msg = getString(R.string.bt_toast_6, mTransInfo.mDeviceName); in onClick()
DBluetoothOppIncomingFileConfirmActivity.java132 ((TextView) view.findViewById(R.id.from_content)).setText(mTransInfo.mDeviceName); in createView()
209 mTransInfo.mDeviceName)); in onTimeout()
DBluetoothOppTransferInfo.java60 String mDeviceName; // bt device name field in BluetoothOppTransferInfo
DBluetoothOppUtility.java132 info.mDeviceName = BluetoothOppManager.getInstance(context).getDeviceName(remoteDevice); in fillRecord()
382 "Insert contentUri: " + contentUri + " to device: " + transInfo.mDeviceName); in retryTransfer()
DBluetoothOppNotification.java594 info.mDeviceName, info.mFileName))) in updateIncomingFileConfirmNotification()
/packages/apps/Car/libs/car-messenger-common/src/com/android/car/messenger/common/
DConversationNotificationInfo.java43 private final String mDeviceName; field in ConversationNotificationInfo
104 this.mDeviceName = deviceName; in ConversationNotificationInfo()
121 return mDeviceName; in getDeviceName()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothPairingController.java61 private String mDeviceName; field in BluetoothPairingController
84 mDeviceName = mBluetoothManager.getCachedDeviceManager().getName(mDevice); in BluetoothPairingController()
143 return mDeviceName; in getDeviceName()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/
DBluetoothPairingController.java63 private String mDeviceName; field in BluetoothPairingController
87 mDeviceName = mBluetoothManager.getCachedDeviceManager().getName(mDevice); in BluetoothPairingController()
152 return mDeviceName; in getDeviceName()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothPairingController.java63 private String mDeviceName; field in BluetoothPairingController
87 mDeviceName = mBluetoothManager.getCachedDeviceManager().getName(mDevice); in BluetoothPairingController()
152 return mDeviceName; in getDeviceName()