Home
last modified time | relevance | path

Searched refs:mDeviceId (Results 1 – 23 of 23) sorted by relevance

/packages/apps/Car/libs/car-messenger-common/src/com/android/car/messenger/common/
DCompositeKey.java27 private final String mDeviceId; field in CompositeKey
31 mDeviceId = deviceId; in CompositeKey()
46 return Objects.equals(mDeviceId, that.mDeviceId) in equals()
57 return mDeviceId.equals(deviceId); in matches()
62 return Objects.hash(mDeviceId, mSubKey); in hashCode()
68 getClass().getSimpleName(), mDeviceId, mSubKey); in toString()
73 return mDeviceId; in getDeviceId()
DConversationNotificationInfo.java44 private final String mDeviceId; field in ConversationNotificationInfo
105 this.mDeviceId = deviceId; in ConversationNotificationInfo()
126 return mDeviceId; in getDeviceId()
DMessage.java37 private final String mDeviceId; field in Message
122 this.mDeviceId = deviceId; in Message()
146 return mDeviceId; in getDeviceId()
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/ble/
DCarBlePeripheralManager.java161 if (connectedDevice == null || !deviceId.equals(connectedDevice.mDeviceId)) { in disconnectDevice()
179 if (UUID.fromString(device.mDeviceId).equals(deviceId)) { in connectToDevice()
331 connectedDevice.mDeviceId = deviceId; in setDeviceId()
427 deviceId = connectedDevice.mDeviceId;
446 if (connectedDevice == null || connectedDevice.mDeviceId == null) {
449 mStorage.updateAssociatedDeviceName(connectedDevice.mDeviceId, deviceName);
485 if (connectedDevice != null && connectedDevice.mDeviceId != null) {
487 connectedDevice.mDeviceId));
497 if (connectedDevice == null || connectedDevice.mDeviceId == null) {
502 String deviceId = connectedDevice.mDeviceId;
[all …]
DSecureBleChannel.java96 private String mDeviceId; field in SecureBleChannel
137 if (mDeviceId != null) { in processHandshakeUnknown()
149 mDeviceId = deviceId.toString(); in processHandshakeUnknown()
150 if (mIsReconnect && !hasEncryptionKey(mDeviceId)) { in processHandshakeUnknown()
155 notifyCallback(callback -> callback.onDeviceIdReceived(mDeviceId)); in processHandshakeUnknown()
195 if (mDeviceId == null) { in processHandshakeResumingSession()
202 byte[] previousKey = mStorage.getEncryptionKey(mDeviceId); in processHandshakeResumingSession()
226 mStorage.saveEncryptionKey(mDeviceId, newKey.asBytes()); in processHandshakeResumingSession()
317 mStorage.saveEncryptionKey(mDeviceId, localKey.asBytes()); in notifyOutOfBandAccepted()
319 if (mDeviceId == null) { in notifyOutOfBandAccepted()
DCarBleManager.java108 String deviceId = device.mDeviceId; in sendMessage()
160 if (deviceId.equals(device.mDeviceId)) { in getConnectedDevice()
202 String mDeviceId; field in CarBleManager.BleDevice
DCarBleCentralManager.java235 if (device.mDeviceId != null) { in deviceDisconnected()
236 mCallbacks.invoke(callback -> callback.onDeviceDisconnected(device.mDeviceId)); in deviceDisconnected()
238 logd(TAG, "Device with id " + device.mDeviceId + " disconnected with state " + status in deviceDisconnected()
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/api/external/
DCompanionDevice.java31 private final String mDeviceId; field in CompanionDevice
50 mDeviceId = deviceId; in CompanionDevice()
59 return mDeviceId; in getDeviceId()
88 dest.writeString(mDeviceId); in writeToParcel()
103 return Objects.equals(mDeviceId, companionDevice.getDeviceId()) in equals()
111 return Objects.hash(mDeviceId, mDeviceName, mIsActiveUser, mHasSecureChannel); in hashCode()
116 return "CompanionDevice{deviceId=" + mDeviceId in toString()
126 return new ConnectedDevice(mDeviceId, mDeviceName, mIsActiveUser, mHasSecureChannel); in toConnectedDevice()
DAssociatedDevice.java29 private final String mDeviceId; field in AssociatedDevice
39 mDeviceId = deviceId; in AssociatedDevice()
56 return mDeviceId; in getDeviceId()
80 dest.writeString(mDeviceId); in writeToParcel()
95 return Objects.equals(device.mDeviceId, mDeviceId) in equals()
103 return Objects.hash(mDeviceId, mDeviceAddress, mDeviceName, mIsConnectionEnabled); in hashCode()
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/api/internal/trust/
DTrustedDevice.java30 private final String mDeviceId; field in TrustedDevice
37 mDeviceId = deviceId; in TrustedDevice()
49 return mDeviceId; in getDeviceId()
74 return Objects.equals(mDeviceId, device.mDeviceId); in equals()
79 return Objects.hash(mDeviceId); in hashCode()
89 dest.writeString(mDeviceId); in writeToParcel()
/packages/apps/Car/libs/connected-device-lib/src/com/android/car/connecteddevice/model/
DConnectedDevice.java29 private final String mDeviceId; field in ConnectedDevice
47 mDeviceId = deviceId; in ConnectedDevice()
56 return mDeviceId; in getDeviceId()
86 return Objects.equals(mDeviceId, connectedDevice.mDeviceId) in equals()
94 return Objects.hash(mDeviceId, mDeviceName, mBelongsToActiveUser, mHasSecureChannel); in hashCode()
DAssociatedDevice.java29 private final String mDeviceId; field in AssociatedDevice
48 mDeviceId = deviceId; in AssociatedDevice()
57 return mDeviceId; in getDeviceId()
86 return Objects.equals(mDeviceId, associatedDevice.mDeviceId) in equals()
94 return Objects.hash(mDeviceId, mDeviceAddress, mDeviceName, mIsConnectionEnabled); in hashCode()
/packages/apps/TV/tuner/src/com/android/tv/tuner/hdhomerun/
DHdHomeRunDevice.java32 private int mDeviceId; field in HdHomeRunDevice
44 mDeviceId = parcel.readInt(); in HdHomeRunDevice()
62 mDeviceId = deviceId; in HdHomeRunDevice()
91 return mDeviceId; in getDeviceId()
123 return String.format("[%x-%d:%s]", mDeviceId, mTunerIndex, ipAddress); in toString()
135 out.writeInt(mDeviceId); in writeToParcel()
DHdHomeRunDiscover.java94 && deviceId != result.mDeviceId) { in findDevices()
276 int mDeviceId; field in HdHomeRunDiscover.HdHomeRunDiscoverDevice
288 && mDeviceId == o.mDeviceId; in equals()
297 result = 31 * result + mDeviceId; in hashCode()
399 result.mDeviceId = ByteBuffer.wrap(tagAndValue.second).getInt(); in receive()
400 if (DEBUG) Log.d(TAG, "Get Device ID: " + result.mDeviceId); in receive()
419 switch (result.mDeviceId >> 20) { in receive()
DHdHomeRunInterface.java68 fetchDeviceModel(discoveredDevice.mDeviceId, discoveredDevice.mIpAddress); in scanDevices()
70 Log.e(TAG, "Fetching device model failed: " + discoveredDevice.mDeviceId); in scanDevices()
86 discoveredDevice.mDeviceId, in scanDevices()
DHdHomeRunControlSocket.java130 mActualDeviceId = result.get(0).mDeviceId; in connectAndUpdateDeviceInfo()
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/activity/
DAssociatedDeviceDetails.java26 private final String mDeviceId; field in AssociatedDeviceDetails
37 mDeviceId = device.getDeviceId(); in AssociatedDeviceDetails()
47 return mDeviceId; in getDeviceId()
75 return new AssociatedDevice(mDeviceId, mDeviceAddress, mDeviceName, mIsConnectionEnabled); in getAssociatedDevice()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowInputDevice.java36 private int mDeviceId; field in ShadowInputDevice
60 return mDeviceId; in getId()
71 mDeviceId = id; in setId()
/packages/apps/TV/tuner/src/com/android/tv/tuner/dvb/
DDvbDeviceAccessor.java156 private final int mDeviceId; field in DvbDeviceAccessor.DvbDeviceInfoWrapper
176 mDeviceId = initDeviceId(); in DvbDeviceInfoWrapper()
200 return mDeviceId; in getDeviceId()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/event/
DHardwareKeyboardEventDecoder.java32 final int mDeviceId; field in HardwareKeyboardEventDecoder
35 mDeviceId = deviceId; in HardwareKeyboardEventDecoder()
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/trust/
DTrustedDeviceManager.java389 unlockUser(mPendingCredentials.mDeviceId, mPendingCredentials.mPhoneCredentials); in setTrustedDeviceAgentDelegate()
664 final String mDeviceId; field in TrustedDeviceManager.PendingCredentials
668 mDeviceId = deviceId; in PendingCredentials()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DRadioInfo.java182 private TextView mDeviceId; //DeviceId is the IMEI in GSM and the MEID in CDMA field in RadioInfo
416 mDeviceId = (TextView) findViewById(R.id.imei); in onCreate()
997 mDeviceId.setText(s); in updateProperties()
/packages/services/Telephony/src/com/android/phone/settings/
DRadioInfo.java220 private TextView mDeviceId; //DeviceId is the IMEI in GSM and the MEID in CDMA field in RadioInfo
487 mDeviceId = (TextView) findViewById(R.id.imei); in onCreate()
1196 mDeviceId.setText(s); in updateProperties()