/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/devicestate/ |
H A D | OverrideRequestControllerTest.java | 65 assertEquals(mStatusListener.getLastStatus(request).intValue(), STATUS_ACTIVE); in addRequest() 75 assertEquals(mStatusListener.getLastStatus(firstRequest).intValue(), STATUS_ACTIVE); in addRequest_suspendExistingRequest() 82 assertEquals(mStatusListener.getLastStatus(secondRequest).intValue(), STATUS_ACTIVE); in addRequest_suspendExistingRequest() 96 assertEquals(mStatusListener.getLastStatus(secondRequest).intValue(), STATUS_ACTIVE); in addRequest_cancelActiveRequest() 102 assertEquals(mStatusListener.getLastStatus(firstRequest).intValue(), STATUS_ACTIVE); in addRequest_cancelActiveRequest() 115 assertEquals(mStatusListener.getLastStatus(secondRequest).intValue(), STATUS_ACTIVE); in addRequest_cancelSuspendedRequest() 120 assertEquals(mStatusListener.getLastStatus(secondRequest).intValue(), STATUS_ACTIVE); in addRequest_cancelSuspendedRequest() 135 assertEquals(mStatusListener.getLastStatus(secondRequest).intValue(), STATUS_ACTIVE); in handleBaseStateChanged() 141 assertEquals(mStatusListener.getLastStatus(firstRequest).intValue(), STATUS_ACTIVE); in handleBaseStateChanged() 160 assertEquals(mStatusListener.getLastStatus(firstRequest).intValue(), STATUS_ACTIVE); in handleProcessDied() [all …]
|
/aosp12/hardware/google/pixel/pixelstats/ |
H A D | StatsHelper.cpp | 58 tmp.set<VendorAtomValue::intValue>(speakerImpedance.impedance()); in reportSpeakerImpedance() 77 tmp.set<VendorAtomValue::intValue>(speakerHealthStat.impedance()); in reportSpeakerHealthStat() 81 tmp.set<VendorAtomValue::intValue>(speakerHealthStat.excursion()); in reportSpeakerHealthStat() 83 tmp.set<VendorAtomValue::intValue>(speakerHealthStat.heartbeat()); in reportSpeakerHealthStat() 100 tmp.set<VendorAtomValue::intValue>(slowIo.operation()); in reportSlowIo() 102 tmp.set<VendorAtomValue::intValue>(slowIo.count()); in reportSlowIo() 122 tmp.set<VendorAtomValue::intValue>(chargeCycles[bucketIdx]); in reportChargeCycles() 140 tmp.set<VendorAtomValue::intValue>(failure.hardware_type()); in reportHardwareFailed() 142 tmp.set<VendorAtomValue::intValue>(failure.hardware_location()); in reportHardwareFailed() 144 tmp.set<VendorAtomValue::intValue>(failure.failure_code()); in reportHardwareFailed() [all …]
|
H A D | MitigationStatsReporter.cpp | 98 tmp.set<VendorAtomValue::intValue>(last_cap.batoilo_cap); in logMitigationStatsPerHour() 100 tmp.set<VendorAtomValue::intValue>(last_cap.vdroop1_cap); in logMitigationStatsPerHour() 102 tmp.set<VendorAtomValue::intValue>(last_cap.vdroop2_cap); in logMitigationStatsPerHour() 104 tmp.set<VendorAtomValue::intValue>(last_cap.smpl_warn_cap); in logMitigationStatsPerHour() 106 tmp.set<VendorAtomValue::intValue>(last_cap.ocp_cpu1_cap); in logMitigationStatsPerHour() 108 tmp.set<VendorAtomValue::intValue>(last_cap.ocp_cpu2_cap); in logMitigationStatsPerHour() 110 tmp.set<VendorAtomValue::intValue>(last_cap.ocp_gpu_cap); in logMitigationStatsPerHour() 112 tmp.set<VendorAtomValue::intValue>(last_cap.ocp_tpu_cap); in logMitigationStatsPerHour() 114 tmp.set<VendorAtomValue::intValue>(last_cap.soft_ocp_cpu1_cap); in logMitigationStatsPerHour() 118 tmp.set<VendorAtomValue::intValue>(last_cap.soft_ocp_gpu_cap); in logMitigationStatsPerHour() [all …]
|
H A D | BatteryEEPROMReporter.cpp | 151 val.set<VendorAtomValue::intValue>(hist.full_cap); in reportEvent() 153 val.set<VendorAtomValue::intValue>(hist.esr); in reportEvent() 155 val.set<VendorAtomValue::intValue>(hist.rslow); in reportEvent() 157 val.set<VendorAtomValue::intValue>(hist.soh); in reportEvent() 163 val.set<VendorAtomValue::intValue>(hist.cc_soc); in reportEvent() 165 val.set<VendorAtomValue::intValue>(hist.sys_soc); in reportEvent() 167 val.set<VendorAtomValue::intValue>(hist.msoc); in reportEvent() 169 val.set<VendorAtomValue::intValue>(hist.batt_soc); in reportEvent() 171 val.set<VendorAtomValue::intValue>(hist.reserve); in reportEvent() 173 val.set<VendorAtomValue::intValue>(hist.max_temp); in reportEvent() [all …]
|
H A D | SysfsCollector.cpp | 452 tmp.set<VendorAtomValue::intValue>(lifetimeA); in logUFSLifetime() 454 tmp.set<VendorAtomValue::intValue>(lifetimeB); in logUFSLifetime() 456 tmp.set<VendorAtomValue::intValue>(lifetimeC); in logUFSLifetime() 568 tmp.set<VendorAtomValue::intValue>(dirty); in logF2fsStats() 570 tmp.set<VendorAtomValue::intValue>(free); in logF2fsStats() 572 tmp.set<VendorAtomValue::intValue>(cp_calls_fg); in logF2fsStats() 574 tmp.set<VendorAtomValue::intValue>(cp_calls_bg); in logF2fsStats() 576 tmp.set<VendorAtomValue::intValue>(gc_calls_fg); in logF2fsStats() 578 tmp.set<VendorAtomValue::intValue>(gc_calls_bg); in logF2fsStats() 584 tmp.set<VendorAtomValue::intValue>(vblocks); in logF2fsStats() [all …]
|
/aosp12/art/test/569-checker-pattern-replacement/src-multidex/ |
H A D | Derived.java | 22 public Derived(int intValue) { in Derived() argument 23 super(intValue); in Derived() 35 public Derived(int intValue, double doubleValue, Object objectValue) { in Derived() argument 36 super(intValue, doubleValue, objectValue); in Derived() 41 Derived(int intValue, double doubleValue, Object objectValue, String stringValue) { in Derived() argument 42 super(intValue, doubleValue, objectValue, stringValue); in Derived() 56 public Derived(int intValue, double doubleValue, Object objectValue, float floatValue) { in Derived() argument 57 super(intValue, doubleValue, objectValue); in Derived()
|
H A D | Base.java | 24 Base(int intValue) { in Base() argument 25 intField = intValue; in Base() 39 Base(int intValue, double doubleValue, Object objectValue) { in Base() argument 40 intField = intValue; in Base() 45 Base(int intValue, double doubleValue, Object objectValue, String stringValue) { in Base() argument 47 intField = intValue; in Base() 62 Base(int intValue, long unused) { in Base() argument 63 this(intValue, 0.0, null); in Base()
|
H A D | DerivedWithFinalField.java | 22 DerivedWithFinalField(int intValue) { in DerivedWithFinalField() argument 23 super(intValue); in DerivedWithFinalField() 32 DerivedWithFinalField(int intValue, double doubleValue) { in DerivedWithFinalField() argument 33 super(intValue); in DerivedWithFinalField()
|
/aosp12/art/test/569-checker-pattern-replacement/src/ |
H A D | Main.java | 367 public static double constructBase(int intValue) { in constructBase() argument 368 Base b = new Base(intValue); in constructBase() 492 Base b = new Base(intValue, doubleValue, objectValue); in constructBase() 635 Base b = new Base(intValue, placeholder); in constructBase() 675 public static double constructDerived(int intValue) { in constructDerived() argument 676 Derived d = new Derived(intValue); in constructDerived() 781 Derived d = new Derived(intValue, doubleValue, objectValue); in constructDerived() 908 public static int constructBaseWithFinalField(int intValue) { in constructBaseWithFinalField() argument 909 BaseWithFinalField b = new BaseWithFinalField(intValue); in constructBaseWithFinalField() 1113 public static int constructDerivedInSecondDex(int intValue) { in constructDerivedInSecondDex() argument [all …]
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | GestureLauncherServiceTest.java | 300 assertEquals(1, tapCounts.get(0).intValue()); in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOffInteractive() 301 assertEquals(2, tapCounts.get(1).intValue()); in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOffInteractive() 345 assertEquals(1, tapCounts.get(0).intValue()); in testInterceptPowerKeyDown_intervalMidBoundsCameraPowerGestureOffInteractive() 348 assertEquals(2, tapCounts.get(1).intValue()); in testInterceptPowerKeyDown_intervalMidBoundsCameraPowerGestureOffInteractive() 392 assertEquals(1, tapCounts.get(0).intValue()); in testInterceptPowerKeyDown_intervalOutOfBoundsCameraPowerGestureOffInteractive() 393 assertEquals(1, tapCounts.get(1).intValue()); in testInterceptPowerKeyDown_intervalOutOfBoundsCameraPowerGestureOffInteractive() 442 assertEquals(1, tapCounts.get(0).intValue()); in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOnInteractiveSetupComplete() 443 assertEquals(2, tapCounts.get(1).intValue()); in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOnInteractiveSetupComplete() 499 assertEquals(1, tapCounts.get(0).intValue()); in testInterceptPowerKeyDown_fiveInboundPresses_cameraAndEmergencyEnabled_bothLaunch() 500 assertEquals(2, tapCounts.get(1).intValue()); in testInterceptPowerKeyDown_fiveInboundPresses_cameraAndEmergencyEnabled_bothLaunch() [all …]
|
/aosp12/hardware/google/pixel/health/ |
H A D | StatsHelper.cpp | 56 tmp.set<VendorAtomValue::intValue>(batteryHealthSnapshot.type()); in reportBatteryHealthSnapshot() 58 tmp.set<VendorAtomValue::intValue>(batteryHealthSnapshot.temperature_deci_celsius()); in reportBatteryHealthSnapshot() 60 tmp.set<VendorAtomValue::intValue>(batteryHealthSnapshot.voltage_micro_volt()); in reportBatteryHealthSnapshot() 62 tmp.set<VendorAtomValue::intValue>(batteryHealthSnapshot.current_micro_amps()); in reportBatteryHealthSnapshot() 64 tmp.set<VendorAtomValue::intValue>(batteryHealthSnapshot.open_circuit_micro_volt()); in reportBatteryHealthSnapshot() 66 tmp.set<VendorAtomValue::intValue>(batteryHealthSnapshot.resistance_micro_ohm()); in reportBatteryHealthSnapshot() 68 tmp.set<VendorAtomValue::intValue>(batteryHealthSnapshot.level_percent()); in reportBatteryHealthSnapshot() 85 tmp.set<VendorAtomValue::intValue>(batteryCausedShutdown.last_recorded_micro_volt()); in reportBatteryCausedShutdown()
|
/aosp12/art/test/610-arraycopy/src/ |
H A D | Main.java | 25 expectEquals(0, ((Integer)a[0]).intValue()); in main() 26 expectEquals(0, ((Integer)a[1]).intValue()); in main() 27 expectEquals(1, ((Integer)a[2]).intValue()); in main() 28 expectEquals(2, ((Integer)a[3]).intValue()); in main() 29 expectEquals(4, ((Integer)a[4]).intValue()); in main()
|
/aosp12/system/tools/aidl/tests/golden_output/aidl-test-interface-ndk_platform-source/gen/include/aidl/android/aidl/tests/ |
H A D | ParcelableForToString.h | 27 int32_t intValue = 0; variable 55 …intValue, intArray, longValue, longArray, doubleValue, doubleArray, floatValue, floatArray, byteVa… 58 …intValue, intArray, longValue, longArray, doubleValue, doubleArray, floatValue, floatArray, byteVa… 61 …intValue, intArray, longValue, longArray, doubleValue, doubleArray, floatValue, floatArray, byteVa… 64 …intValue, intArray, longValue, longArray, doubleValue, doubleArray, floatValue, floatArray, byteVa… 67 …intValue, intArray, longValue, longArray, doubleValue, doubleArray, floatValue, floatArray, byteVa… 70 …intValue, intArray, longValue, longArray, doubleValue, doubleArray, floatValue, floatArray, byteVa… 77 os << "intValue: " << ::android::internal::ToString(intValue); in toString()
|
/aosp12/system/tools/aidl/tests/golden_output/aidl-test-interface-cpp-source/gen/include/android/aidl/tests/ |
H A D | ParcelableForToString.h | 25 …intValue, intArray, longValue, longArray, doubleValue, doubleArray, floatValue, floatArray, byteVa… 28 …intValue, intArray, longValue, longArray, doubleValue, doubleArray, floatValue, floatArray, byteVa… 31 …intValue, intArray, longValue, longArray, doubleValue, doubleArray, floatValue, floatArray, byteVa… 34 …intValue, intArray, longValue, longArray, doubleValue, doubleArray, floatValue, floatArray, byteVa… 37 …intValue, intArray, longValue, longArray, doubleValue, doubleArray, floatValue, floatArray, byteVa… 40 …intValue, intArray, longValue, longArray, doubleValue, doubleArray, floatValue, floatArray, byteVa… 43 int32_t intValue = int32_t(0); variable 75 os << "intValue: " << ::android::internal::ToString(intValue); in toString()
|
/aosp12/frameworks/hardware/interfaces/stats/aidl/vts/functional/ |
H A D | VtsHalStatsTargetTest.cpp | 49 tmp.set<VendorAtomValue::intValue>(7); in TEST_P() 55 tmp.set<VendorAtomValue::intValue>(3); in TEST_P() 70 tmp.set<VendorAtomValue::intValue>(7); in TEST_P() 76 tmp.set<VendorAtomValue::intValue>(3); in TEST_P() 91 tmp.set<VendorAtomValue::intValue>(7); in TEST_P() 97 tmp.set<VendorAtomValue::intValue>(3); in TEST_P() 112 tmp.set<VendorAtomValue::intValue>(7); in TEST_P() 118 tmp.set<VendorAtomValue::intValue>(3); in TEST_P()
|
/aosp12/art/test/952-invoke-custom/src/ |
H A D | TestVariableArityLinkerMethod.java | 159 @Constant(intValue = 101), 184 @Constant(intValue = 102), 240 @Constant(intValue = +1), 241 @Constant(intValue = -1), 242 @Constant(intValue = +2), 243 @Constant(intValue = -2) 409 constantArgumentsForBootstrapMethod = {@Constant(intValue = 103), @Constant(intValue = 104)} 431 @Constant(intValue = 103), 434 @Constant(intValue = 42) 465 constantArgumentsForBootstrapMethod = {@Constant(intValue = 103), @Constant(intValue = 42)} [all …]
|
H A D | TestLinkerMethodMultipleArgumentTypes.java | 55 @Constant(intValue = -1), 56 @Constant(intValue = 1), 57 @Constant(intValue = (int) 'a'), 58 @Constant(intValue = 1024), 59 @Constant(intValue = 1),
|
/aosp12/system/netd/server/ |
H A D | RouteController.cpp | 514 fwmark.intValue, mask.intValue, IIF_LOOPBACK, OIF_NONE, uidStart, uidEnd); in modifyVpnUidRangeRule() 536 mask.intValue); in modifyVpnSystemPermissionRule() 614 fwmark.intValue, mask.intValue, IIF_LOOPBACK, OIF_NONE, INVALID_UID, in modifyImplicitNetworkRule() 653 fwmark.intValue, mask.intValue)) { in addLegacyRouteRules() 657 ROUTE_TABLE_LEGACY_NETWORK, fwmark.intValue, mask.intValue)) { in addLegacyRouteRules() 666 fwmark.intValue, mask.intValue); in addLegacyRouteRules() 684 fwmark.intValue, mask.intValue); in addLocalNetworkRules() 767 table, fwmark.intValue, mask.intValue, IIF_LOOPBACK, OIF_NONE, uidStart, in modifyUidNetworkRule() 886 FR_ACT_UNREACHABLE, RT_TABLE_UNSPEC, fwmark.intValue, mask.intValue, in modifyUidUnreachableRule() 909 RT_TABLE_UNSPEC, fwmark.intValue, mask.intValue, IIF_LOOPBACK, OIF_NONE, in modifyUidDefaultUnreachableRule() [all …]
|
/aosp12/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/ |
H A D | ImsConfigImplTest.java | 127 assertEquals(TEST_KEY, callbackResult.first.intValue()); in testIntCaching() 128 assertEquals(TEST_INT_VALUE, callbackResult.second.intValue()); in testIntCaching() 131 assertEquals(TEST_KEY, mConfigUT.latestIntConfig.first.intValue()); in testIntCaching() 132 assertEquals(TEST_INT_VALUE, mConfigUT.latestIntConfig.second.intValue()); in testIntCaching() 156 assertEquals(TEST_KEY, callbackResult.first.intValue()); in testStringCaching() 160 assertEquals(TEST_KEY, mConfigUT.latestStringConfig.first.intValue()); in testStringCaching()
|
/aosp12/art/test/004-UnsafeTest/src/ |
H A D | Main.java | 115 int intValue = 12345678; in testGetAndPutAndCAS() local 119 unsafe.putInt(t, intOffset, intValue); in testGetAndPutAndCAS() 120 check(t.intVar, intValue, "Unsafe.putInt(Object, long, int)"); in testGetAndPutAndCAS() 121 check(unsafe.getInt(t, intOffset), intValue, "Unsafe.getInt(Object, long)"); in testGetAndPutAndCAS() local 142 if (!unsafe.compareAndSwapInt(t, intOffset, intValue, 0)) { in testGetAndPutAndCAS() 218 int intValue = 12345678; in testGetAndPutVolatile() local 224 unsafe.putIntVolatile(tv, volatileIntOffset, intValue); in testGetAndPutVolatile() 225 check(tv.volatileIntVar, intValue, "Unsafe.putIntVolatile(Object, long, int)"); in testGetAndPutVolatile() 227 intValue, in testGetAndPutVolatile() local
|
/aosp12/system/netd/include/ |
H A D | Fwmark.h | 25 uint32_t intValue; member 33 constexpr Fwmark() : intValue(0) {} in Fwmark() 38 return m.intValue; in getUidBillingMask()
|
/aosp12/frameworks/base/packages/SettingsProvider/src/android/provider/settings/validators/ |
H A D | InclusiveIntegerRangeValidator.java | 41 final int intValue = Integer.parseInt(value); in validate() local 42 return intValue >= mMin && intValue <= mMax; in validate()
|
/aosp12/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/eapaka/ |
H A D | MasterKey.java | 283 int tmpA = new BigInteger(doFunctionS(5, bytesA)).intValue(); in doFunctionG() 285 int tmpE = new BigInteger(bytesE).intValue(); in doFunctionG() 286 int tmpW = new BigInteger(bytesW[i]).intValue(); in doFunctionG() 318 return BytesConverter.convertIntegerTo4Bytes(iA.add(iB).intValue()); in addTwoBytes() 327 int value = new BigInteger(dataX).intValue(); in doFunctionS() 331 return BytesConverter.convertIntegerTo4Bytes(result.intValue()); in doFunctionS() 340 return BytesConverter.convertIntegerTo4Bytes(result.intValue()); in doXor() 367 return result.intValue(); in doFunctionF()
|
/aosp12/hardware/interfaces/automotive/vehicle/2.0/default/tests/fuzzer/ |
H A D | VehicleManager_fuzzer.cpp | 291 int32_t intValue = mFuzzedDataProvider->ConsumeIntegral<int32_t>(); in invokeVmsUtils() local 298 VmsOffers offers = {intValue, {VmsLayerOffering(VmsLayer(1, 0, 2))}}; in invokeVmsUtils() 302 offers = {intValue, offering}; in invokeVmsUtils() 309 const VmsLayerAndPublisher layer_and_publisher(VmsLayer(2, 0, 1), intValue); in invokeVmsUtils() 319 hidl_vec<int32_t>{toInt(VmsMessageType::PUBLISHER_ID_RESPONSE), intValue}; in invokeVmsUtils() 323 hidl_vec<int32_t>{toInt(kSubscriptionMessageType[subscriptionMsgType]), intValue}; in invokeVmsUtils() 327 isSequenceNumberNewer(*message, intValue + 1); in invokeVmsUtils() 333 message = createStartSessionMessage(intValue, intValue + 1); in invokeVmsUtils() 337 hidl_vec<int32_t>{toInt(kAvailabilityMessageType[availabilityMsgType]), intValue}; in invokeVmsUtils() 338 isAvailabilitySequenceNumberNewer(*message, intValue + 1); in invokeVmsUtils() [all …]
|
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/ |
H A 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()
|