Home
last modified time | relevance | path

Searched refs:mDeviceType (Results 1 – 16 of 16) sorted by relevance

/packages/modules/Connectivity/remoteauth/service/java/com/android/server/remoteauth/connectivity/
DDiscoveryFilter.java41 private @DeviceType int mDeviceType; field in DiscoveryFilter
47 this.mDeviceType = deviceType; in DiscoveryFilter()
58 return this.mDeviceType; in getDeviceType()
81 private @DeviceType int mDeviceType; field in DiscoveryFilter.Builder
99 mDeviceType = deviceType; in setDeviceType()
128 return new DiscoveryFilter(this.mDeviceType, this.mDeviceName, this.mPeerAddress); in build()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DDeviceGridState.java49 private final @DeviceType int mDeviceType; field in DeviceGridState
57 mDeviceType = deviceType; in DeviceGridState()
65 mDeviceType = idp.deviceType; in DeviceGridState()
77 mDeviceType = lp.get(DEVICE_TYPE); in DeviceGridState()
86 return mDeviceType; in getDeviceType()
117 DEVICE_TYPE.to(mDeviceType), in writeToPrefs()
155 + ", mDeviceType=" + mDeviceType in toString()
/packages/modules/Connectivity/nearby/framework/java/android/nearby/
DPresenceDevice.java74 private final int mDeviceType; field in PresenceDevice
116 return mDeviceType; in getDeviceType()
153 && mDeviceType == otherDevice.mDeviceType in equals()
180 mDeviceType, in hashCode()
195 mDeviceType = deviceType; in PresenceDevice()
221 dest.writeInt(mDeviceType); in writeToParcel()
306 private int mDeviceType; field in PresenceDevice.Builder
374 mDeviceType = deviceType; in setDeviceType()
419 mDeviceType, in build()
/packages/apps/TV/tuner/src/com/android/tv/tuner/hdhomerun/
DHdHomeRunDevice.java31 private int mDeviceType; field in HdHomeRunDevice
43 mDeviceType = parcel.readInt(); in HdHomeRunDevice()
61 mDeviceType = deviceType; in HdHomeRunDevice()
82 return mDeviceType; in getDeviceType()
134 out.writeInt(mDeviceType); in writeToParcel()
DHdHomeRunDiscover.java90 && deviceType != result.mDeviceType) { in findDevices()
275 int mDeviceType; field in HdHomeRunDiscover.HdHomeRunDiscoverDevice
287 && mDeviceType == o.mDeviceType in equals()
296 result = 31 * result + mDeviceType; in hashCode()
392 result.mDeviceType = ByteBuffer.wrap(tagAndValue.second).getInt(); in receive()
393 if (DEBUG) Log.d(TAG, "Get Device Type: " + result.mDeviceType); in receive()
DHdHomeRunInterface.java85 discoveredDevice.mDeviceType, in scanDevices()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/
DDeviceInfoHelper.java104 record.setDeviceType(deviceInfo.mDeviceType); in populateRecordWithValue()
173 deviceInfo.mDeviceType))); in insertIfNotPresent()
210 @DeviceType private final int mDeviceType; field in DeviceInfoHelper.DeviceInfo
215 mDeviceType = deviceType; in DeviceInfo()
221 result = 31 * result + (mModel != null ? mModel.hashCode() : 0) + mDeviceType; in hashCode()
245 return mDeviceType == deviceInfo.mDeviceType; in equals()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DAudioDeviceInfoBuilder.java35 private int mDeviceType = AudioDeviceInfo.TYPE_BUS; field in AudioDeviceInfoBuilder
49 mDeviceType = deviceType; in setType()
64 when(audioDeviceInfo.getType()).thenReturn(mDeviceType); in build()
68 .thenReturn(AudioDeviceInfo.convertDeviceTypeToInternalInputDevice(mDeviceType)); in build()
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/
DRecordInternal.java53 private int mDeviceType; field in RecordInternal
88 mDeviceType = parcel.readInt(); in populateUsing()
108 parcel.writeInt(mDeviceType); in writeToParcel()
236 return mDeviceType; in getDeviceType()
241 this.mDeviceType = deviceType; in setDeviceType()
/packages/modules/Uwb/ranging/rtt_backend/src/com/android/ranging/rtt/backend/
DRttRangingDevice.java66 private final DeviceType mDeviceType; field in RttRangingDevice
163 mDeviceType = deviceType; in RttRangingDevice()
203 new AwareAttachCallback(mDeviceType, mRttRangingParameters), mHandler)); in startRanging()
375 private final DeviceType mDeviceType;
379 mDeviceType = deviceType;
421 if (mDeviceType == DeviceType.PUBLISHER) {
423 } else if (mDeviceType == DeviceType.SUBSCRIBER) {
/packages/services/Car/tests/CarLibUnitTest/src/com/android/car/audio/
DAudioDeviceInfoBuilder.java29 private int mDeviceType = AudioDeviceInfo.TYPE_BUS; field in AudioDeviceInfoBuilder
53 mDeviceType = deviceType; in setType()
/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/fira/
DFiraSpecificationParams.java102 private final int mDeviceType; field in FiraSpecificationParams
246 mDeviceType = deviceType; in FiraSpecificationParams()
389 return mDeviceType; in getDeviceType()
472 bundle.putInt(KEY_DEVICE_TYPE, mDeviceType); in toBundle()
710 private int mDeviceType = RANGING_DEVICE_TYPE_CONTROLEE; field in FiraSpecificationParams.Builder
922 mDeviceType = value; in setDeviceType()
1002 mDeviceType = params.mDeviceType; in Builder()
1045 mDeviceType, in build()
DFiraOpenSessionParams.java54 @RangingDeviceType private final int mDeviceType; field in FiraOpenSessionParams
366 mDeviceType = deviceType; in FiraOpenSessionParams()
468 return mDeviceType; in getDeviceType()
863 bundle.putInt(KEY_DEVICE_TYPE, mDeviceType); in toBundle()
973 if (mDeviceType == FiraParams.RANGING_DEVICE_TYPE_CONTROLLER) { in toBundle()
1149 private final RequiredParam<Integer> mDeviceType = new RequiredParam<>(); field in FiraOpenSessionParams.Builder
1398 mDeviceType.set(builder.mDeviceType.get()); in Builder()
1489 mDeviceType.set(params.mDeviceType); in Builder()
1598 mDeviceType.set(deviceType); in setDeviceType()
2179 (mDeviceType.get() == RANGING_DEVICE_TYPE_CONTROLEE)) { in checkStsConfig()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DRemoteDevices.java360 @VisibleForTesting int mDeviceType; field in RemoteDevices.DeviceProperties
661 return mDeviceType; in getDeviceType()
671 this.mDeviceType = deviceType; in setDeviceType()
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbSessionManager.java2920 private int mDeviceType; field in UwbSessionManager.UwbSession
3014 this.mDeviceType = firaParams.getDeviceType(); in UwbSession()
3019 this.mDeviceType = -1; in UwbSession()
3259 return mDeviceType; in getDeviceType()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/
DBondStateMachineTest.java262 mDeviceProperties.mDeviceType = deviceType; in resetRemoteDevice()