Home
last modified time | relevance | path

Searched refs:ran (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/wakelock/
DWakeLockTest.java74 boolean[] ran = new boolean[1]; in wakeLock_wrap()
77 ran[0] = true; in wakeLock_wrap()
81 assertFalse(ran[0]); in wakeLock_wrap()
85 assertTrue(ran[0]); in wakeLock_wrap()
/frameworks/base/libs/hwui/tests/unit/
DCommonPoolTests.cpp31 std::atomic_bool ran(false); in TEST() local
32 CommonPool::post([&ran] { ran = true; }); in TEST()
33 for (int i = 0; !ran && i < 1000; i++) { in TEST()
36 EXPECT_TRUE(ran) << "Failed to flip atomic after 1 second"; in TEST()
DThreadBaseTests.cpp44 std::atomic_bool ran(false); in TEST() local
45 queue().post([&ran]() { ran = true; }); in TEST()
46 for (int i = 0; !ran && i < 1000; i++) { in TEST()
49 ASSERT_TRUE(ran) << "Failed to flip atomic after 1 second"; in TEST()
/frameworks/base/telephony/java/com/android/internal/telephony/
DOperatorInfo.java95 int ran) { in OperatorInfo() argument
97 mRan = ran; in OperatorInfo()
112 int ran) { in OperatorInfo() argument
114 mRan = ran; in OperatorInfo()
/frameworks/base/telephony/java/android/telephony/
DRadioAccessSpecifier.java73 public RadioAccessSpecifier(int ran, int[] bands, int[] channels) { in RadioAccessSpecifier() argument
74 this.mRadioAccessNetwork = ran; in RadioAccessSpecifier()
DTelephonyManager.java7801 boolean persistSelection, @AccessNetworkConstants.RadioAccessNetworkType int ran) { in setNetworkSelectionModeManual() argument
7803 "" /* operatorAlphaShort */, operatorNumeric, ran), persistSelection); in setNetworkSelectionModeManual()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DKeyguardBouncerTest.java269 final boolean[] ran = {false}; in testStartPreHideAnimation_notifiesView()
270 final Runnable r = () -> ran[0] = true; in testStartPreHideAnimation_notifiesView()
272 Assert.assertTrue("Callback should have been invoked", ran[0]); in testStartPreHideAnimation_notifiesView()
274 ran[0] = false; in testStartPreHideAnimation_notifiesView()
278 Assert.assertFalse("Callback should have been deferred", ran[0]); in testStartPreHideAnimation_notifiesView()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCommandInterface.java347 public void setNetworkSelectionModeManual(String operatorNumeric, int ran, Message response) { in setNetworkSelectionModeManual() argument
649 SignalThresholdInfo signalThresholdInfo, int ran, Message result) { in setSignalStrengthReportingCriteria() argument
654 int hysteresisUlKbps, int[] thresholdsDlKbps, int[] thresholdsUlKbps, int ran, in setLinkCapacityReportingCriteria() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipCommandInterface.java348 public void setNetworkSelectionModeManual(String operatorNumeric, int ran, Message response) { in setNetworkSelectionModeManual() argument
649 SignalThresholdInfo signalThresholdInfo, int ran, Message result) { in setSignalStrengthReportingCriteria() argument
654 int hysteresisUlKbps, int[] thresholdsDlKbps, int[] thresholdsUlKbps, int ran, in setLinkCapacityReportingCriteria() argument
/frameworks/base/cmds/am/proto/
Dinstrumentation_data.proto46 * The command ran successfully. This does not imply that the tests passed.
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCommandsInterface.java1417 void setNetworkSelectionModeManual(String operatorNumeric, int ran, Message response); in setNetworkSelectionModeManual() argument
2321 void setSignalStrengthReportingCriteria(SignalThresholdInfo signalThresholdInfo, int ran, in setSignalStrengthReportingCriteria() argument
2340 int hysteresisUlKbps, int[] thresholdsDlKbps, int[] thresholdsUlKbps, int ran, in setLinkCapacityReportingCriteria() argument
DRIL.java2373 public void setNetworkSelectionModeManual(String operatorNumeric, int ran, Message result) { in setNetworkSelectionModeManual() argument
2379 int halRan = convertAntToRan(ran); in setNetworkSelectionModeManual()
4899 int ran, Message result) { in setSignalStrengthReportingCriteria() argument
4921 convertAntToHalAnt(ran)); in setSignalStrengthReportingCriteria()
4937 convertAntToHalAnt(ran)); in setSignalStrengthReportingCriteria()
4961 int hysteresisUlKbps, int[] thresholdsDlKbps, int[] thresholdsUlKbps, int ran, in setLinkCapacityReportingCriteria() argument
4977 primitiveArrayToArrayList(thresholdsUlKbps), convertAntToHalAnt(ran)); in setLinkCapacityReportingCriteria()
4981 if (ran == AccessNetworkType.NGRAN) { in setLinkCapacityReportingCriteria()
4987 primitiveArrayToArrayList(thresholdsUlKbps), convertAntToHalAnt(ran)); in setLinkCapacityReportingCriteria()
DGsmCdmaPhone.java3952 int signalStrengthMeasure, int[] thresholds, int ran, boolean isEnabled) { in setSignalStrengthReportingCriteria() argument
3955 ran, null); in setSignalStrengthReportingCriteria()
3959 public void setLinkCapacityReportingCriteria(int[] dlThresholds, int[] ulThresholds, int ran) { in setLinkCapacityReportingCriteria() argument
3961 REPORTING_HYSTERESIS_KBPS, dlThresholds, ulThresholds, ran, null); in setLinkCapacityReportingCriteria()
DPhone.java4137 int signalStrengthMeasure, int[] thresholds, int ran, boolean isEnabled) { in setSignalStrengthReportingCriteria() argument
4142 public void setLinkCapacityReportingCriteria(int[] dlThresholds, int[] ulThresholds, int ran) { in setLinkCapacityReportingCriteria() argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSimulatedCommandsVerifier.java963 public void setNetworkSelectionModeManual(String operatorNumeric, int ran, Message response) { in setNetworkSelectionModeManual() argument
1404 int ran, Message result) { in setSignalStrengthReportingCriteria() argument
1409 int hysteresisUlKbps, int[] thresholdsDlKbps, int[] thresholdsUlKbps, int ran, in setLinkCapacityReportingCriteria() argument
DSimulatedCommands.java1431 public void setNetworkSelectionModeManual(String operatorNumeric, int ran, Message result) { in setNetworkSelectionModeManual() argument
2320 int ran, Message result) { in setSignalStrengthReportingCriteria() argument
2325 int hysteresisUlKbps, int[] thresholdsDlKbps, int[] thresholdsUlKbps, int ran, in setLinkCapacityReportingCriteria() argument
/frameworks/base/core/proto/android/server/
Djobscheduler.proto527 // The total amount of time the app ran in its respective bucket window size.
531 // The total amount of time the app ran in the last
556 // The number of jobs that ran in at least the last
568 // The number of {@link TimingSession}s that ran in at least the last
588 // The number of background jobs that ran during this session.
/frameworks/base/cmds/statsd/src/
Datoms.proto2963 // Volume that ran out of storage.