Home
last modified time | relevance | path

Searched refs:getDeviceType (Results 1 – 25 of 40) sorted by relevance

12

/packages/apps/TV/tuner/src/com/android/tv/tuner/hdhomerun/
DHdHomeRunDevice.java81 public int getDeviceType() { in getDeviceType() method in HdHomeRunDevice
144 hash = hash * 31 + getDeviceType(); in hashCode()
158 && getDeviceType() == rhs.getDeviceType() in equals()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/data/
DUwbConfigTest.java246 assertEquals(controleeParams.getDeviceType(), RANGING_DEVICE_TYPE_CONTROLEE); in testGetOpenSessionParams()
269 assertEquals(controllerParams.getDeviceType(), RANGING_DEVICE_TYPE_CONTROLEE); in testGetOpenSessionParams()
295 assertEquals(controleeParams.getDeviceType(), RANGING_DEVICE_TYPE_CONTROLEE); in testGetOpenSessionParamsForDynamicStsIndKey()
329 assertEquals(controleeParams.getDeviceType(), RANGING_DEVICE_TYPE_CONTROLEE); in testPacsControllerProfileForProvSTSIndKey()
/packages/modules/HealthFitness/tests/unittests/src/android/healthconnect/internal/datatypes/
DMindfulSessionRecordInternalTest.java179 assertThat(decodedRecord.getDeviceType()).isEqualTo(DEVICE_TYPE_WATCH); in writeToParcel_populateUsing_allFieldsSet()
218 assertThat(decodedRecord.getDeviceType()).isEqualTo(DEVICE_TYPE_UNKNOWN); in writeToParcel_populateUsing_optionalFieldsNotSet()
274 assertThat(internalRecord.getDeviceType()).isEqualTo(DEVICE_TYPE_WATCH); in mindfulnessSessionRecord_toInternalRecord_allFieldsSet()
311 assertThat(internalRecord.getDeviceType()).isEqualTo(DEVICE_TYPE_UNKNOWN); in mindfulnessSessionRecord_toInternalRecord_optionalFieldsNotSet()
/packages/modules/Uwb/service/java/com/android/server/uwb/params/
DFiraEncoder.java75 int deviceType = params.getDeviceType(); in getTlvBufferFromFiraOpenSessionParams()
132 tlvBufferBuilder.putByte(ConfigParam.DEVICE_TYPE, (byte) params.getDeviceType()); in getTlvBufferFromFiraOpenSessionParams()
280 if (params.getDeviceType() == FiraParams.RANGING_DEVICE_TYPE_CONTROLEE) { in configureStsParameters()
288 if (params.getDeviceType() == FiraParams.RANGING_DEVICE_TYPE_CONTROLEE) { in configureStsParameters()
/packages/modules/HealthFitness/framework/java/android/health/connect/internal/datatypes/
DRecordInternal.java235 public int getDeviceType() { in getDeviceType() method in RecordInternal
294 .setType(getDeviceType()) in buildMetaData()
/packages/modules/Connectivity/remoteauth/service/java/com/android/server/remoteauth/connectivity/
DDiscoveryFilter.java57 public @DeviceType int getDeviceType() { in getDeviceType() method in DiscoveryFilter
DCdmConnectivityManager.java92 String deviceProfile = getDeviceProfileFromType(discoveryFilter.getDeviceType()); in startDiscoveryAsync()
/packages/apps/Settings/src/com/android/settings/wifi/slice/
DWifiSliceItem.java71 mInstantHotspotDeviceType = ((HotspotNetworkEntry) wifiEntry).getDeviceType(); in WifiSliceItem()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/p2p/
DWifiP2pWfdInfoTest.java66 assertEquals(WifiP2pWfdInfo.DEVICE_TYPE_WFD_SOURCE, info.getDeviceType()); in testSettersGetters()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DDeviceGridState.java81 public @DeviceType int getDeviceType() { in getDeviceType() method in DeviceGridState
/packages/modules/Uwb/service/support_lib/test/
DFiraTests.java226 assertEquals(params.getDeviceType(), deviceType); in testOpenSessionParams()
691 assertEquals(deviceType, params.getDeviceType()); in testSpecificationParams()
717 assertEquals(deviceType, fromBundle.getDeviceType()); in testSpecificationParams()
748 assertEquals(deviceType, fromCopy.getDeviceType()); in testSpecificationParams()
/packages/modules/Connectivity/nearby/tests/cts/fastpair/src/android/nearby/cts/
DPresenceDeviceTest.java69 assertThat(device.getDeviceType()).isEqualTo(DEVICE_TYPE); in testBuilder()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/
DUwbMetricsTest.java173 when(mFiraParams.getDeviceType()).thenReturn(FiraParams.RANGING_DEVICE_TYPE_CONTROLLER); in setUp()
309 when(mFiraParams.getDeviceType()).thenReturn(FiraParams.RANGING_DEVICE_TYPE_CONTROLEE); in testLogRangingSessionInitFiraInvalidParams()
/packages/modules/Wifi/framework/java/android/net/wifi/p2p/
DWifiP2pWfdInfo.java300 public int getDeviceType() { in getDeviceType() method in WifiP2pWfdInfo
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/storage/datatypehelpers/
DDeviceInfoHelper.java87 int deviceType = recordInternal.getDeviceType(); in populateDeviceInfoId()
/packages/apps/TvSystemUI/src/com/android/systemui/tv/media/
DTvMediaOutputController.java102 int mediaDeviceType = mediaDevice.getDeviceType(); in getDevicePriorityGroup()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiEntryPreference.java161 updateHotspotIcon(((HotspotNetworkEntry) mWifiEntry).getDeviceType()); in refresh()
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbSessionManager.java323 && uwbSession.getDeviceType() == DEVICE_TYPE_CONTROLLER; in handleRangingResultErrorStreakTimers()
1102 int deviceType = firaOpenSessionParams.getDeviceType(); in suspendRangingPreconditionCheck()
1119 int deviceType = firaOpenSessionParams.getDeviceType(); in sessionUpdateMulticastListCmdPreconditioncheck()
1400 int deviceType = uwbSession.getDeviceType(); in handleSetHybridSessionControllerConfiguration()
1503 int deviceType = uwbSession.getDeviceType(); in handleSetHybridSessionControleeConfiguration()
2743 this.mDeviceType = firaParams.getDeviceType(); in UwbSession()
3004 public int getDeviceType() { in getDeviceType() method in UwbSessionManager.UwbSession
/packages/modules/Connectivity/nearby/framework/java/android/nearby/
DPresenceDevice.java115 public int getDeviceType() { in getDeviceType() method in PresenceDevice
/packages/apps/Settings/src/com/android/settings/network/
DInternetPreferenceController.java176 drawIcon(getHotspotIconResource(((HotspotNetworkEntry) entry).getDeviceType())); in updateHotspotNetwork()
/packages/modules/Uwb/androidx_backend/tests/src/androidx/core/uwb/backend/impl/internal/
DRangingControleeTest.java164 assertEquals(params.getDeviceType(), FiraParams.RANGING_DEVICE_TYPE_CONTROLEE);
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DWifiEntryPreferenceTest.java298 when(mHotspotNetworkEntry.getDeviceType()).thenReturn(deviceType); in refresh_itsHotspotNetworkEntry_shouldUpdateHotspotIcon()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DAdapterProperties.java664 int deviceType = mRemoteDevices.getDeviceProperties(device).getDeviceType(); in cleanupPrevBondRecordsFor()
681 mRemoteDevices.getDeviceProperties(existingDevice).getDeviceType(); in cleanupPrevBondRecordsFor()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/params/
DFiraDecoderTest.java236 assertEquals(firaSpecificationParams.getDeviceType(), RANGING_DEVICE_TYPE_CONTROLLER); in verifyFiraSpecificationVersion2()
/packages/apps/Launcher3/src/com/android/launcher3/
DInvariantDeviceProfile.java267 @DeviceType int defaultDeviceType = defaultInfo.getDeviceType(); in InvariantDeviceProfile()
276 @DeviceType int deviceType = myInfo.getDeviceType(); in InvariantDeviceProfile()
340 @DeviceType int deviceType = displayInfo.getDeviceType(); in initGrid()

12