/packages/apps/Settings/src/com/android/settings/spa/network/ |
D | NetworkCellularGroupProvider.kt | 124 callsSelectedId.intValue = defaultVoiceSubId in <lambda>() 125 textsSelectedId.intValue = defaultSmsSubId in <lambda>() 126 mobileDataSelectedId.intValue = defaultDataSubId in <lambda>() 127 nonDdsRemember.intValue = nonDds in <lambda>() 211 val isAutoDataEnabled by remember(nonDds.intValue) { in MobileDataSectionImpl() 213 subId = nonDds.intValue, in MobileDataSectionImpl() 218 val mobileDataStateChanged by remember(mobileDataSelectedId.intValue) { in MobileDataSectionImpl() 219 TelephonyRepository(context).isDataEnabledFlow(mobileDataSelectedId.intValue) in MobileDataSectionImpl() 231 mobileDataSelectedId.intValue, in MobileDataSectionImpl() 237 if (nonDds.intValue != SubscriptionManager.INVALID_SUBSCRIPTION_ID) { in MobileDataSectionImpl() [all …]
|
D | SimOnboardingPrimarySim.kt | 85 callsSelectedId.intValue = onboardingService.targetPrimarySimCalls in <lambda>() 86 textsSelectedId.intValue = onboardingService.targetPrimarySimTexts in <lambda>() 87 mobileDataSelectedId.intValue = onboardingService.targetPrimarySimMobileData in <lambda>() 97 callsSelectedId.intValue = it in <lambda>() 101 textsSelectedId.intValue = it in <lambda>() 105 mobileDataSelectedId.intValue = it in <lambda>()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/hvac/ |
D | HvacController.java | 208 if (isHvacPowerDependentPropAndNotAvailable(propertyId.intValue(), targetAreaId)) { in setHvacProperty() 216 propertyId.intValue(), targetAreaId); in setHvacProperty() 232 if (isHvacPowerDependentPropAndNotAvailable(propertyId.intValue(), targetAreaId)) { in setHvacProperty() 240 propertyId.intValue(), targetAreaId); in setHvacProperty() 256 if (isHvacPowerDependentPropAndNotAvailable(propertyId.intValue(), targetAreaId)) { in setHvacProperty() 264 propertyId.intValue(), targetAreaId); in setHvacProperty() 305 ArrayList<Integer> supportedAreaIds = getAreaIdsFromTargetAreaId(propId.intValue(), in registerHvacViews() 306 targetAreaId.intValue()); in registerHvacViews() 308 addHvacViewToMap(propId.intValue(), areaId.intValue(), hvacView); in registerHvacViews() 336 int areaIdToFind = areaId.intValue(); in registerHvacViews() [all …]
|
/packages/modules/Uwb/service/java/com/android/server/uwb/secure/csml/ |
D | ConfigurationParams.java | 352 configParamsTlv.getByte(RANGING_METHOD).intValue()); in fromBytes() 355 configParamsBuilder.setStsConfig(configParamsTlv.getByte(STS_CONFIG).intValue()); in fromBytes() 359 configParamsTlv.getByte(MULTI_NODE_MODE).intValue()); in fromBytes() 365 configParamsBuilder.setScheduleMode(configParamsTlv.getByte(SCHEDULED_MODE).intValue()); in fromBytes() 378 configParamsBuilder.setChannel(configParamsTlv.getByte(CHANNEL).intValue()); in fromBytes() 381 configParamsBuilder.setRframeConfig(configParamsTlv.getByte(RFRAME_CONFIG).intValue()); in fromBytes() 385 configParamsTlv.getByte(CC_CONSTRAINT_LENGTH).intValue()); in fromBytes() 388 configParamsBuilder.setPrfMode(configParamsTlv.getByte(PRF_MODE).intValue()); in fromBytes() 392 configParamsTlv.getByte(SP0_PHY_SET).intValue()); in fromBytes() 396 configParamsTlv.getByte(SP1_PHY_SET).intValue()); in fromBytes() [all …]
|
/packages/apps/Camera2/src/com/android/camera/settings/ |
D | ResolutionUtil.java | 294 int numerator = Math.max(width.intValue(), height.intValue()) / gcd.intValue(); in reduce() 295 int denominator = Math.min(width.intValue(), height.intValue()) / gcd.intValue(); in reduce() 338 int denominator = Math.min(width.intValue(), height.intValue()) / gcd.intValue(); in aspectRatioDenominator()
|
/packages/modules/OnDevicePersonalization/tests/frameworktests/src/android/adservices/ondevicepersonalization/ |
D | OnDevicePersonalizationFrameworkClassesTest.java | 89 5, result2.getRequestLogRecord().getRows().get(0).getAsInteger("a").intValue()); in testExecuteOutput() 178 5, result.getRequestLogRecord().getRows().get(0).getAsInteger("a").intValue()); in testEventInput() 205 assertEquals(3, result2.getEventLogRecord().getData().getAsInteger("a").intValue()); in testEventOutput() 230 assertEquals(5, logRecord.getRows().get(0).getAsInteger("a").intValue()); in testRequestLogRecord() 231 assertEquals(6, logRecord.getRows().get(1).getAsInteger("b").intValue()); in testRequestLogRecord() 248 assertEquals(5, logRecord.getData().getAsInteger("a").intValue()); in testEventLogRecord() 250 .get(0).getAsInteger("a").intValue()); in testEventLogRecord() 265 5, data.getRequestLogRecord().getRows().get(0).getAsInteger("a").intValue()); in testWebTriggerOutput() 276 5, result2.getRequestLogRecord().getRows().get(0).getAsInteger("a").intValue()); in testWebTriggerOutput()
|
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/ |
D | UsbDeviceFilter.java | 131 int intValue = -1; in read() local 140 intValue = Integer.parseInt(value, radix); in read() 146 vendorId = intValue; in read() 148 productId = intValue; in read() 150 deviceClass = intValue; in read() 152 deviceSubclass = intValue; in read() 154 deviceProtocol = intValue; in read()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/ |
D | TransitionUtils.java | 46 animator.setIntValues(Float.valueOf(startAlpha.getFloat() * 255).intValue(), in createActivityFadeInAnimator() 47 Float.valueOf(endAlpha.getFloat() * 255).intValue()); in createActivityFadeInAnimator() 66 animator.setIntValues(Float.valueOf(startAlpha.getFloat() * 255).intValue(), in createActivityFadeOutAnimator() 67 Float.valueOf(endAlpha.getFloat() * 255).intValue()); in createActivityFadeOutAnimator()
|
/packages/modules/OnDevicePersonalization/tests/cts/endtoend/src/com/android/ondevicepersonalization/cts/e2e/ |
D | DataClassesTest.java | 75 5, data.getRequestLogRecord().getRows().get(0).getAsInteger("a").intValue()); in testExecuteOutput() 127 assertEquals(3, output.getEventLogRecord().getData().getAsInteger("a").intValue()); in testEventOutput() 195 assertEquals(5, logRecord.getRows().get(0).getAsInteger("a").intValue()); in testRequestLogRecord() 196 assertEquals(6, logRecord.getRows().get(1).getAsInteger("b").intValue()); in testRequestLogRecord() 214 assertEquals(5, logRecord.getData().getAsInteger("a").intValue()); in testEventLogRecord() 216 .get(0).getAsInteger("a").intValue()); in testEventLogRecord() 252 5, data.getRequestLogRecord().getRows().get(0).getAsInteger("a").intValue()); in testWebTriggerOutput()
|
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/wear/ |
D | StreamingPacketFileTest.java | 135 assertEquals(0, posCaptor.getValue().intValue()); in enqueueOutboundPacket() 136 assertEquals(totalLen, lenCaptor.getValue().intValue()); in enqueueOutboundPacket() 180 assertEquals(2, posCaptor.getValue().intValue()); in onInboundPacket() 181 assertEquals(len1, lenCaptor.getValue().intValue()); in onInboundPacket() 193 assertEquals(2, posCaptor.getValue().intValue()); in onInboundPacket() 194 assertEquals(len2, lenCaptor.getValue().intValue()); in onInboundPacket() 239 assertEquals(2, posCaptor.getValue().intValue()); in onReadReady_preambleData() 240 assertEquals(len1, lenCaptor.getValue().intValue()); in onReadReady_preambleData()
|
/packages/services/Iwlan/src/com/google/android/iwlan/epdg/ |
D | EpdgSaProposal.java | 237 .mapToInt(Integer::intValue) in getDhGroups() 241 return mProposedDhGroups.stream().mapToInt(Integer::intValue).toArray(); in getDhGroups() 245 return VALID_DH_GROUPS.stream().mapToInt(Integer::intValue).toArray(); in getSupportedDhGroups() 254 .mapToInt(Integer::intValue) in getIntegrityAlgos() 258 return mProposedIntegrityAlgos.stream().mapToInt(Integer::intValue).toArray(); in getIntegrityAlgos() 262 return VALID_INTEGRITY_ALGOS.stream().mapToInt(Integer::intValue).toArray(); in getSupportedIntegrityAlgos()
|
D | EpdgIkeSaProposal.java | 46 .mapToInt(Integer::intValue) in getPrfAlgos() 50 return mProposedPrfAlgos.stream().mapToInt(Integer::intValue).toArray(); in getPrfAlgos() 54 return VALID_PRF_ALGOS.stream().mapToInt(Integer::intValue).toArray(); in getSupportedPrfAlgos()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarDiagnosticManagerTest.java | 449 .intValue()); in testLiveFrameRead() 454 .intValue()); in testLiveFrameRead() 459 .intValue()); in testLiveFrameRead() 491 .intValue()); in testLiveFrameEvent() 544 .intValue()); in testFuelSystemStatus() 547 liveFrame.getFuelSystemStatus().intValue()); in testFuelSystemStatus() 572 .intValue()); in testSecondaryAirStatus() 575 liveFrame.getSecondaryAirStatus().intValue()); in testSecondaryAirStatus() 693 liveFrame.getSystemIntegerSensor(IntegerSensorIndex.FUEL_TYPE).intValue()); in testFuelType() 694 assertEquals(FuelType.BIFUEL_RUNNING_LPG, liveFrame.getFuelType().intValue()); in testFuelType() [all …]
|
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/async/ |
D | BufferedFileTest.java | 133 assertEquals(0, posCaptor.getValue().intValue()); in enqueueOutboundData() 134 assertEquals(totalLen, lenCaptor.getValue().intValue()); in enqueueOutboundData() 166 assertEquals(0, posCaptor.getValue().intValue()); in enqueueOutboundData_combined() 167 assertEquals(totalLen, lenCaptor.getValue().intValue()); in enqueueOutboundData_combined() 216 assertEquals(0, posCaptor.getValue().intValue()); in enableWriteEvents() 217 assertEquals(data1And2Len, lenCaptor.getValue().intValue()); in enableWriteEvents() 230 assertEquals(data1And2Len, posCaptor.getValue().intValue()); in enableWriteEvents() 231 assertEquals(outboundBufferSize - data1And2Len, lenCaptor.getValue().intValue()); in enableWriteEvents()
|
/packages/modules/StatsD/framework/test/unittests/src/android/os/ |
D | StatsDimensionsValueTest.java | 34 int intValue = 123; in testConversionFromStructuredParcel() local 57 sdvp.tupleValue[1].intValue = intValue; in testConversionFromStructuredParcel() 86 assertThat(sdvChildren.get(1).getIntValue()).isEqualTo(intValue); in testConversionFromStructuredParcel()
|
/packages/modules/Connectivity/tests/common/java/android/net/metrics/ |
D | DhcpErrorEventTest.kt | 53 val intValue = it.getInt(null) in testToString() constant 54 val stringValue = DhcpErrorEvent(intValue).toString() in testToString() 55 assertTrue("Invalid string for error 0x%08X (field %s): %s".format(intValue, it.name, in testToString()
|
D | ValidationProbeEventTest.kt | 66 val intValue = it.getInt(null) in testGetProbeName() constant 67 val stringValue = ValidationProbeEvent.getProbeName(intValue) in testGetProbeName()
|
/packages/services/Car/tools/emulator/ |
D | diagnostic_injector.py | 92 for intValue in event['intValues']: 93 builder.addIntSensor(intValue['id'], intValue['value'])
|
/packages/modules/Uwb/androidx_backend/src/androidx/core/uwb/backend/impl/ |
D | UwbClient.java | 71 .stream().mapToInt(Integer::intValue).toArray(); in getRangingCapabilities() 73 .stream().mapToInt(Integer::intValue).toArray(); in getRangingCapabilities() 75 .stream().mapToInt(Integer::intValue).toArray(); in getRangingCapabilities() 77 .stream().mapToInt(Integer::intValue).toArray(); in getRangingCapabilities() 79 .stream().mapToInt(Integer::intValue).toArray(); in getRangingCapabilities()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/data/ |
D | SelectionTest.java | 74 assertThat(mSelection.getSelectedItemOrder(item1).getValue().intValue()).isEqualTo(1); in testAddSelectedItem_orderedSelection() 75 assertThat(mSelection.getSelectedItemOrder(item2).getValue().intValue()).isEqualTo(2); in testAddSelectedItem_orderedSelection() 107 assertThat(mSelection.getSelectedItemOrder(item1).getValue().intValue()).isEqualTo(1); in testDeleteSelectedItem_orderedSelection() 108 assertThat(mSelection.getSelectedItemOrder(item2).getValue().intValue()).isEqualTo(2); in testDeleteSelectedItem_orderedSelection() 109 assertThat(mSelection.getSelectedItemOrder(item3).getValue().intValue()).isEqualTo(3); in testDeleteSelectedItem_orderedSelection() 113 assertThat(mSelection.getSelectedItemOrder(item2).getValue().intValue()).isEqualTo(1); in testDeleteSelectedItem_orderedSelection() 114 assertThat(mSelection.getSelectedItemOrder(item3).getValue().intValue()).isEqualTo(2); in testDeleteSelectedItem_orderedSelection() 118 assertThat(mSelection.getSelectedItemOrder(item2).getValue().intValue()).isEqualTo(1); in testDeleteSelectedItem_orderedSelection()
|
/packages/modules/Connectivity/tests/common/java/android/net/ |
D | OemNetworkPreferencesTest.java | 117 assertEquals(networkPreferences.get(TEST_PACKAGE).intValue(), TEST_PREF); in testAddNetworkPreferenceOverwritesPriorPreference() 123 assertEquals(networkPreferences.get(TEST_PACKAGE).intValue(), newPref); in testAddNetworkPreferenceOverwritesPriorPreference() 152 assertEquals(networkPreferences.get(TEST_PACKAGE).intValue(), TEST_PREF); in testConstructorByOemNetworkPreferencesSetsValue()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mcp/ |
D | MediaControlGattServiceTest.java | 236 .intValue()); in testGattServerFullInitialState() 250 .intValue()); in testGattServerFullInitialState() 260 characteristic.getIntValue(BluetoothGattCharacteristic.FORMAT_UINT8, 0).intValue()); in testGattServerFullInitialState() 268 characteristic.getIntValue(BluetoothGattCharacteristic.FORMAT_UINT8, 0).intValue()); in testGattServerFullInitialState() 298 characteristic.getIntValue(BluetoothGattCharacteristic.FORMAT_SINT8, 0).intValue()); in testGattServerFullInitialState() 308 characteristic.getIntValue(BluetoothGattCharacteristic.FORMAT_SINT8, 0).intValue()); in testGattServerFullInitialState() 369 characteristic.getIntValue(BluetoothGattCharacteristic.FORMAT_UINT8, 0).intValue()); in testGattServerFullInitialState() 380 .intValue()); in testGattServerFullInitialState() 403 .intValue()); in testGattServerFullInitialState() 497 characteristic.getIntValue(BluetoothGattCharacteristic.FORMAT_UINT8, 0).intValue()); in testUpdatePlayerState() [all …]
|
/packages/modules/AppSearch/testing/safeparceltests/src/android/app/appsearch/safeparcel/ |
D | TestParcelable.java | 40 public TestParcelable(int intValue, float floatValue, String stringValue) { in TestParcelable() argument 41 mInt = intValue; in TestParcelable()
|
/packages/modules/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/spe/logging/ |
D | JobServiceLogger.java | 511 int intValue; in convertLongToInteger() local 516 intValue = Integer.MIN_VALUE; in convertLongToInteger() 518 intValue = Integer.MAX_VALUE; in convertLongToInteger() 520 intValue = (int) longVal; in convertLongToInteger() 523 return intValue; in convertLongToInteger()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | TetheringConfigurationTest.java | 331 assertEquals(TYPE_ETHERNET, upstreamIterator.next().intValue()); in testNoDefinedUpstreamTypesAddsEthernet() 338 assertEquals(TYPE_MOBILE, upstreamIterator.next().intValue()); in testNoDefinedUpstreamTypesAddsEthernet() 340 assertEquals(TYPE_MOBILE_HIPRI, upstreamIterator.next().intValue()); in testNoDefinedUpstreamTypesAddsEthernet() 354 assertEquals(TYPE_ETHERNET, upstreamIterator.next().intValue()); in testDefinedUpstreamTypesSansEthernetAddsEthernet() 356 assertEquals(TYPE_WIFI, upstreamIterator.next().intValue()); in testDefinedUpstreamTypesSansEthernetAddsEthernet() 358 assertEquals(TYPE_MOBILE_HIPRI, upstreamIterator.next().intValue()); in testDefinedUpstreamTypesSansEthernetAddsEthernet() 372 assertEquals(TYPE_WIFI, upstreamIterator.next().intValue()); in testDefinedUpstreamTypesWithEthernetDoesNotAddEthernet() 374 assertEquals(TYPE_ETHERNET, upstreamIterator.next().intValue()); in testDefinedUpstreamTypesWithEthernetDoesNotAddEthernet() 376 assertEquals(TYPE_MOBILE_HIPRI, upstreamIterator.next().intValue()); in testDefinedUpstreamTypesWithEthernetDoesNotAddEthernet()
|