Home
last modified time | relevance | path

Searched refs:lower (Results 1 – 25 of 72) sorted by relevance

123

/packages/modules/Connectivity/tests/integration/src/com/android/server/net/integrationtests/
DNetworkStatsIntegrationTest.kt493 lower: BareStats, in <lambda>()
496 assertNonTaggedStatsIncreases(before, after, lower, upper) in <lambda>()
497 assertTaggedStatsIncreases(before, after, lower, upper) in <lambda>()
503 lower: BareStats, in <lambda>()
506 assertNonTaggedStatsIncreases(before, after, lower, upper) in <lambda>()
513 lower: BareStats, in <lambda>()
521 lower, in <lambda>()
531 lower + lower.reverse(), in <lambda>()
539 lower, in <lambda>()
547 lower, in <lambda>()
[all …]
/packages/modules/GeoTZ/s2storage/src/readonly/java/com/android/storage/table/packed/read/
DPackedTableReader.java191 int lower = 0; in findLongValueEntry() local
193 return binarySearch(lower, upper, entryMatcher); in findLongValueEntry()
196 private Entry binarySearch(int lower, int upper, LongValueEntryMatcher entryMatcher) { in binarySearch() argument
197 while (lower <= upper) { in binarySearch()
198 int mid = (lower + upper) / 2; in binarySearch()
205 lower = mid + 1; in binarySearch()
310 int lower, upper; in findNearbyEntry() local
312 lower = 0; in findNearbyEntry()
315 lower = mIndex; in findNearbyEntry()
318 return binarySearch(lower, upper, entryMatcher); in findNearbyEntry()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DPreconditions.java50 public static int checkArgumentInRange(int value, int lower, int upper, in checkArgumentInRange() argument
52 if (value < lower) { in checkArgumentInRange()
55 "%s is out of range of [%d, %d] (too low)", valueName, lower, upper)); in checkArgumentInRange()
59 "%s is out of range of [%d, %d] (too high)", valueName, lower, upper)); in checkArgumentInRange()
/packages/modules/NeuralNetworks/runtime/test/fuzzing/
DRandomGraphGeneratorUtils.h274 inline std::enable_if_t<nnIsFloat<T>, T> getUniform(T lower, T upper) { in getUniform() argument
275 float nextLower = std::nextafter(static_cast<float>(lower), std::numeric_limits<float>::max()); in getUniform()
280 inline std::enable_if_t<nnIsFloat<T>, T> getUniformNonZero(T lower, T upper, T zeroPoint) { in getUniformNonZero() argument
284 std::uniform_real_distribution<float> dis(lower, upper); in getUniformNonZero()
296 inline std::enable_if_t<std::is_integral_v<T>, T> getUniform(T lower, T upper) { in getUniform() argument
309 std::uniform_int_distribution<int16_t> dis(lower, upper); in getUniform()
312 std::uniform_int_distribution<T> dis(lower, upper); in getUniform()
317 inline std::enable_if_t<std::is_integral_v<T>, T> getUniformNonZero(T lower, T upper, T zeroPoint) { in getUniformNonZero() argument
319 const T value = getUniform(lower, upper); in getUniformNonZero()
DRandomVariable.h42 RandomVariableRange(int lower, int upper) : mChoices(upper - lower + 1) { in RandomVariableRange() argument
43 std::iota(mChoices.begin(), mChoices.end(), lower); in RandomVariableRange()
60 void setRange(int lower, int upper);
112 RandomVariableBase(int lower, int upper);
145 RandomVariable(int lower, int upper);
179 void setRange(int lower, int upper);
DRandomVariable.cpp43 RandomVariableBase::RandomVariableBase(int lower, int upper) in RandomVariableBase() argument
46 range(lower, upper), in RandomVariableBase()
65 void RandomVariableRange::setRange(int lower, int upper) { in setRange() argument
67 auto head = lower == kInvalidValue ? mChoices.begin() in setRange()
68 : std::lower_bound(mChoices.begin(), mChoices.end(), lower); in setRange()
117 RandomVariable::RandomVariable(int lower, int upper) : mVar(new RandomVariableBase(lower, upper)) { in RandomVariable() argument
148 void RandomVariable::setRange(int lower, int upper) { in setRange() argument
150 NN_FUZZER_LOG << "Set range [" << lower << ", " << upper << "] on var" << mVar->index; in setRange()
152 mVar->range.setRange(lower, upper); in setRange()
176 static inline void fillRange(std::set<int>* range, int lower, int upper) { in fillRange() argument
[all …]
/packages/apps/Settings/src/com/android/settings/datausage/lib/
DNetworkCycleDataRepository.kt57 startTime = range.lower, in queryUsage()
59 usage = networkStatsRepository.querySummaryForDevice(range.lower, range.upper), in queryUsage()
64 Range(it.lower.toInstant().toEpochMilli(), it.upper.toInstant().toEpochMilli()) in queryUsage()
70 startTime = timeRange.lower, in queryUsage()
DNetworkCycleBucketRepository.kt57 startTime = range.lower,
59 usage = buckets.filterTime(range.lower, range.upper).aggregate()?.usage ?: 0,
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/
DLocaleUtils.java117 private static boolean isAlphabetSequence(final String text, final int lower, final int upper) { in isAlphabetSequence() argument
119 if (length < lower || length > upper) { in isAlphabetSequence()
130 private static boolean isDigitSequence(final String text, final int lower, final int upper) { in isDigitSequence() argument
132 if (length < lower || length > upper) { in isDigitSequence()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/util/
DHexEncodingTest.java53 assertEquals(lower(expected), actualLower); in testEncodeByte()
64 String encodedLower = lower((String) testCase[1]); in testEncodeBytes()
123 private static String lower(String string) { in lower() method in HexEncodingTest
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DTrafficStatsTest.java39 private void assertInRange(String tag, long value, long lower, long upper) { in assertInRange() argument
40 if (lower > upper) { in assertInRange()
41 fail("lower must be less than or equal to upper: [" + lower + "," + upper + "]"); in assertInRange()
43 final Range range = new Range(lower, upper); in assertInRange()
44 assertTrue(tag + ": " + value + " is not within range [" + lower + ", " + upper + "]", in assertInRange()
DPacProxyManagerTest.java202 private void assertInRange(int value, int lower, int upper) { in assertInRange() argument
203 final Range range = new Range(lower, upper); in assertInRange()
204 assertTrue(value + "is not within range [" + lower + ", " + upper + "]", in assertInRange()
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/
DScheduledRecordingTest.java121 private void assertOverLapping(boolean expected, long lower, long upper, ScheduledRecording r) { in assertOverLapping() argument
122 assertWithMessage("isOverlapping(Range(" + lower + "," + upper + "), recording " + r) in assertOverLapping()
123 .that(r.isOverLapping(new Range<>(lower, upper))) in assertOverLapping()
/packages/services/DeviceAsWebcam/res/raw/
DREADME.md67 "<physical-camera-id-1>" : ["<zoom-ratio-range-lower-1>", "<zoom-ratio-range-upper-1>"],
68 "<physical-camera-id-2>" : ["<zoom-ratio-range-lower-2>", "<zoom-ratio-range-upper-2>"],
72 "<physical-camera-id-3>" : ["<zoom-ratio-range-lower-3>", "<zoom-ratio-range-upper-3>"],
73 "<physical-camera-id-4>" : ["<zoom-ratio-range-lower-4>", "<zoom-ratio-range-upper-4>"],
/packages/providers/ContactsProvider/src/com/android/providers/contacts/sqlite/
DSqlChecker.java87 final String lower = token.toLowerCase(); in throwIfContainsToken() local
88 if (mInvalidTokens.contains(lower) || lower.startsWith(PRIVATE_PREFIX)) { in throwIfContainsToken()
/packages/modules/Bluetooth/system/tools/scripts/
Ddump_hearingaid_audio.py562 if not (arg.no_start.lower() == "true" or arg.no_start.lower() == "false"):
570 if arg.no_start.lower() == "true":
581 if arg.no_start.lower() == "true":
594 if arg.full_debug.lower() == "true":
597 elif arg.simple_debug.lower() == "true":
/packages/modules/Wifi/
Dwifi_upload_hook.py39 line = line.strip().lower()
89 line = line.strip().lower()
/packages/apps/TV/tests/robotests/src/com/android/tv/data/
DGenreItemTest.java92 private void assertInRange(int value, int lower, int upper) { in assertInRange() argument
93 assertThat(value >= lower && value <= upper).isTrue(); in assertInRange()
/packages/modules/NeuralNetworks/common/include/
DLegacyUtils.h244 inline size_t getSizeFromInts(int lower, int higher) { in getSizeFromInts() argument
245 return (uint32_t)(lower) + ((uint64_t)(uint32_t)(higher) << 32); in getSizeFromInts()
/packages/apps/Settings/tests/spa_unit/src/com/android/settings/network/telephony/
DDataUsagePreferenceControllerTest.kt149 NetworkUsageData(AllTimeRange.lower, AllTimeRange.upper, 1L) in <lambda>()
165 NetworkUsageData(AllTimeRange.lower, AllTimeRange.upper, 0L) in <lambda>()
/packages/modules/Bluetooth/system/blueberry/decorators/
Dandroid_bluetooth_client_decorator.py47 return re.sub('([a-z0-9])([A-Z])', r'\1_\2', s1).lower()
/packages/modules/Bluetooth/system/blueberry/tests/sl4a_sl4a/lib/
Dsl4a_sl4a_base_test.py80 if getprop_result is None or ("full" not in getprop_result.lower()):
86 if getprop_result is None or ("full" not in getprop_result.lower()):
Dgatt_connected_base_test.py169 if event['data']['serviceUuid'].lower() != uuid.lower():
/packages/modules/ExtServices/java/src/android/ext/services/notification/
DREADME.md11 lower in the shade), If ExtServices fails, framework just shows all notifications.
/packages/modules/AdServices/adservices/tests/unittest/service-core/assets/msmt_e2e_tests/attribution_scope/
Dattribution_scope_smaller_attribution_scope_limit_deactivation.json195 // Given S1 was deactivated and S3 has lower priority, this should match to S2.

123