/packages/modules/GeoTZ/s2storage/src/readonly/java/com/android/timezone/location/storage/table/packed/read/ |
D | PackedTableReader.java | 182 int lower = 0; in findLongValueEntry() local 184 return binarySearch(lower, upper, entryMatcher); in findLongValueEntry() 187 private Entry binarySearch(int lower, int upper, LongValueEntryMatcher entryMatcher) { in binarySearch() argument 188 while (lower <= upper) { in binarySearch() 189 int mid = (lower + upper) / 2; in binarySearch() 196 lower = mid + 1; in binarySearch() 301 int lower, upper; in findNearbyEntry() local 303 lower = 0; in findNearbyEntry() 306 lower = mIndex; in findNearbyEntry() 309 return binarySearch(lower, upper, entryMatcher); in findNearbyEntry()
|
/packages/modules/NeuralNetworks/runtime/test/fuzzing/ |
D | RandomVariable.h | 42 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);
|
D | RandomGraphGeneratorUtils.h | 274 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() 292 inline std::enable_if_t<std::is_integral_v<T>, T> getUniform(T lower, T upper) { in getUniform() argument 293 std::uniform_int_distribution<T> dis(lower, upper); in getUniform() 297 inline std::enable_if_t<std::is_integral_v<T>, T> getUniformNonZero(T lower, T upper, T zeroPoint) { in getUniformNonZero() argument 299 std::uniform_int_distribution<T> dis(lower, upper); in getUniformNonZero()
|
D | RandomVariable.cpp | 43 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/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/ |
D | LocaleUtils.java | 117 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/providers/MediaProvider/src/com/android/providers/media/util/ |
D | LongArray.java | 233 public static int checkArgumentInRange(int value, int lower, int upper, in checkArgumentInRange() argument 235 if (value < lower) { in checkArgumentInRange() 238 "%s is out of range of [%d, %d] (too low)", valueName, lower, upper)); in checkArgumentInRange() 242 "%s is out of range of [%d, %d] (too high)", valueName, lower, upper)); in checkArgumentInRange()
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/util/ |
D | HexEncodingTest.java | 53 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/apps/Settings/tests/robotests/src/com/android/settings/display/ |
D | PeakRefreshRatePreferenceControllerTest.java | 108 Display.Mode lower = new Display.Mode(0, 0, 0, DEFAULT_REFRESH_RATE - 1); in findPeakRefreshRate_moreThanOneHigherThanDefault() local 114 new Display.Mode[] {lower, def, higher, higher1})) in findPeakRefreshRate_moreThanOneHigherThanDefault() 117 new Display.Mode[] {lower, def, higher1, higher})) in findPeakRefreshRate_moreThanOneHigherThanDefault()
|
/packages/apps/TV/tests/robotests/src/com/android/tv/dvr/ |
D | ScheduledRecordingTest.java | 121 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/providers/ContactsProvider/src/com/android/providers/contacts/sqlite/ |
D | SqlChecker.java | 87 final String lower = token.toLowerCase(); in throwIfContainsToken() local 88 if (mInvalidTokens.contains(lower) || lower.startsWith(PRIVATE_PREFIX)) { in throwIfContainsToken()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | PacProxyManagerTest.java | 192 private void assertInRange(int value, int lower, int upper) { in assertInRange() argument 193 final Range range = new Range(lower, upper); in assertInRange() 194 assertTrue(value + "is not within range [" + lower + ", " + upper + "]", in assertInRange()
|
D | TrafficStatsTest.java | 39 private void assertInRange(String tag, long value, long lower, long upper) { in assertInRange() argument 40 final Range range = new Range(lower, upper); in assertInRange() 41 assertTrue(tag + ": " + value + " is not within range [" + lower + ", " + upper + "]", in assertInRange()
|
/packages/modules/common/tools/ |
D | finalize_sdk.py | 53 if module.lower() in dir.lower():
|
/packages/apps/TV/tests/robotests/src/com/android/tv/data/ |
D | GenreItemTest.java | 92 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/ |
D | LegacyUtils.h | 265 inline size_t getSizeFromInts(int lower, int higher) { in getSizeFromInts() argument 266 return (uint32_t)(lower) + ((uint64_t)(uint32_t)(higher) << 32); in getSizeFromInts()
|
/packages/modules/NeuralNetworks/tools/test_generator/ |
D | test_generator.py | 729 return value.lower() in ["float16", "int32", "quant8", "quant8_signed"] 733 self.name = self.targetType.lower() 808 assert RelaxedModeConverter.IsCompatible(isRelaxed.lower()) 813 return value.lower() in ["relaxed"] 828 self.targetLayout = targetLayout.lower() 835 return value.lower() in ["nhwc", "nchw"] 926 self.act = act.lower() 934 return value.lower() in ActivationConverter.actMap.keys()
|
/packages/services/BuiltInPrintService/jni/ipphelper/ |
D | ipphelper.c | 474 int lower, upper; in print_col() local 475 lower = ippGetRange(attr, i, &upper); in print_col() 478 ippTagString(ippGetValueTag(attr)), lower, upper); in print_col() 563 int lower, upper; in print_attr() local 564 lower = ippGetRange(attr, i, &upper); in print_attr() 566 ippTagString(ippGetValueTag(attr)), lower, upper); in print_attr()
|
/packages/modules/Wifi/ |
D | metrics_pdd_hook.py | 40 line = line.strip().lower()
|
/packages/modules/common/proto/ |
D | classpaths.proto | 37 // If the system's API level is lower than the value specified in this
|
/packages/modules/ArtPrebuilt/ |
D | update-art-module-prebuilts.py | 336 branch_name = PREBUILT_DESCR.lower().replace(" ", "-") + "-update"
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiMetricsTest.java | 1693 int lower = WifiMetrics.LOW_WIFI_SCORE - 8; in testScoreBeachEvents() local 1699 mWifiMetrics.incrementWifiScoreCount(TEST_IFACE_NAME, lower); // First breach in testScoreBeachEvents() 1700 for (int score = lower; score <= mid; score++) { in testScoreBeachEvents() 1711 assertEquals(lower, mDecodedProto.staEventList[0].lastScore); in testScoreBeachEvents() 1724 int lower = WifiMetrics.LOW_WIFI_USABILITY_SCORE - 8; in testWifiUsabilityScoreBreachEvents() local 1731 mWifiMetrics.incrementWifiUsabilityScoreCount(TEST_IFACE_NAME, 1, lower, 15); in testWifiUsabilityScoreBreachEvents() 1732 for (int score = lower; score <= mid; score++) { in testWifiUsabilityScoreBreachEvents() 1743 assertEquals(lower, mDecodedProto.staEventList[0].lastWifiUsabilityScore); in testWifiUsabilityScoreBreachEvents() 5449 int lower = WifiMetrics.LOW_WIFI_SCORE - 8; in wifiScoreBreachesLow() local 5456 mWifiMetrics.incrementWifiScoreCount(TEST_IFACE_NAME, lower); in wifiScoreBreachesLow() [all …]
|
/packages/modules/NeuralNetworks/common/include/nnapi/ |
D | TypeUtils.h | 62 size_t getOffsetFromInts(int lower, int higher);
|
/packages/modules/NeuralNetworks/common/ |
D | TypeUtils.cpp | 149 size_t getOffsetFromInts(int lower, int higher) { in getOffsetFromInts() argument 150 const int32_t lowBits = static_cast<int32_t>(lower); in getOffsetFromInts()
|
/packages/services/Car/tools/hidl_parser/ |
D | parser.py | 244 if self.value.lower().startswith("0x"):
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/ |
D | Cea708Parser.java | 269 offsetPacket = mCcPackets.lower(offsetPacket); in processClosedCaptions()
|