Home
last modified time | relevance | path

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

123

/packages/services/Car/tools/emulator/
Duser_action_generator.py124 def _adjustContinuousProperty(self, prop, begin, end, listener): argument
132 if begin < end:
133 begin = areaConfig.min if begin < areaConfig.min else begin
136 begin = areaConfig.max if begin > areaConfig.max else begin
139 for value in self._range(begin, end):
152 def _range(self, begin, end): argument
153 if begin < end:
154 i = begin
159 i = begin
/packages/apps/Nfc/nci/jni/
DHciEventManager.cpp108 return std::vector<uint8_t>(berTlv.begin() + 1, berTlv.end()); in getDataFromBerTlv()
112 return std::vector<uint8_t>(berTlv.begin() + 2, berTlv.end()); in getDataFromBerTlv()
117 return std::vector<uint8_t>(berTlv.begin() + 3, berTlv.end()); in getDataFromBerTlv()
122 return std::vector<uint8_t>(berTlv.begin() + 4, berTlv.end()); in getDataFromBerTlv()
128 return std::vector<uint8_t>(berTlv.begin() + 5, berTlv.end()); in getDataFromBerTlv()
163 std::vector<uint8_t> aid(event_buff.begin() + 2, in nfaHciCallback()
164 event_buff.begin() + aidlen + 2); in nfaHciCallback()
170 std::vector<uint8_t> berTlv(event_buff.begin() + berTlvStart, in nfaHciCallback()
DRouteDataSet.cpp139 for (it = mDefaultRouteDatabase.begin(); it != mDefaultRouteDatabase.end(); in deleteDatabase()
144 for (it = mSecElemRouteDatabase.begin(); it != mSecElemRouteDatabase.end(); in deleteDatabase()
497 for (Database::iterator iter = db->begin(); iter != db->end(); iter++) { in printDiagnostic()
518 for (Database::iterator iter2 = db->begin(); iter2 != db->end(); iter2++) { in printDiagnostic()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarInstancesHelper.java159 protected void performInstanceExpansion(long begin, long end, String localTimezone, in performInstanceExpansion() argument
330 dates = rp.expand(eventTime, recur, begin, end); in performInstanceExpansion()
386 if ((dtendMillis < begin) || (dtstartMillis > end)) { in performInstanceExpansion()
530 protected void expandInstanceRangeLocked(long begin, long end, String localTimezone) { in expandInstanceRangeLocked() argument
537 Log.v(TAG, "Expanding events between " + begin + " and " + end); in expandInstanceRangeLocked()
540 Cursor entries = getEntries(begin, end); in expandInstanceRangeLocked()
542 performInstanceExpansion(begin, end, localTimezone, entries); in expandInstanceRangeLocked()
560 private Cursor getEntries(long begin, long end) { in getEntries() argument
565 String beginString = String.valueOf(begin); in getEntries()
589 String.valueOf(begin - MAX_ASSUMED_DURATION), in getEntries()
[all …]
DMetaData.java170 public void write(String timezone, long begin, long end, int startDay, int endDay) { in write() argument
174 writeLocked(timezone, begin, end); in write()
194 public void writeLocked(String timezone, long begin, long end) { in writeLocked() argument
198 values.put(CalendarMetaData.MIN_INSTANCE, begin); in writeLocked()
214 mFields.minInstance = begin; in writeLocked()
/packages/apps/Dialer/java/com/android/dialer/common/
DMathUtil.java30 public static int lerp(int begin, int end, float percent) { in lerp() argument
31 return (int) (begin * (1 - percent) + end * percent); in lerp()
42 public static float lerp(float begin, float end, float percent) { in lerp() argument
43 return begin * (1 - percent) + end * percent; in lerp()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java339 long begin; field in CalendarProvider2Test.DumpInstances
345 begin = time.toMillis(false /* use isDst */); in DumpInstances()
351 Cursor cursor = queryInstances(begin, end); in execute()
363 long begin; field in CalendarProvider2Test.QueryNumInstances
369 begin = time.toMillis(false /* use isDst */); in QueryNumInstances()
376 Cursor cursor = queryInstances(begin, end); in execute()
391 long begin; field in CalendarProvider2Test.VerifyAllInstances
397 begin = time.toMillis(false /* use isDst */); in VerifyAllInstances()
416 Cursor cursor = queryInstances(begin, end); in execute()
432 long begin = cursor.getLong(beginColumn); in execute() local
[all …]
/packages/modules/DnsResolver/
DDnsTlsServer.cpp44 std::begin(x.s6_addr), std::end(x.s6_addr), in operator <()
45 std::begin(y.s6_addr), std::end(y.s6_addr)); in operator <()
50 std::begin(x.s6_addr), std::end(x.s6_addr), in operator ==()
51 std::begin(y.s6_addr), std::end(y.s6_addr)); in operator ==()
Dresolv_tls_unit_test.cpp244 std::reverse(std::begin(mResponses), std::end(mResponses)); in sendResponses()
922 EXPECT_EQ(bytevec(a0.begin() + 2, a0.end()), bytevec(d0.begin() + 2, d0.end())); in TEST()
923 EXPECT_EQ(bytevec(a1.begin() + 2, a1.end()), bytevec(d1.begin() + 2, d1.end())); in TEST()
924 EXPECT_EQ(bytevec(a2.begin() + 2, a2.end()), bytevec(d2.begin() + 2, d2.end())); in TEST()
948 EXPECT_EQ(bytevec(answer.begin() + 2, answer.end()), in TEST()
949 bytevec(result.response.begin() + 2, result.response.end())); in TEST()
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/
Dbiginteger.h224 void AppendDecimal64(const char* begin, const char* end) { in AppendDecimal64() argument
225 uint64_t u = ParseUint64(begin, end); in AppendDecimal64()
229 unsigned exp = static_cast<unsigned>(end - begin); in AppendDecimal64()
239 static uint64_t ParseUint64(const char* begin, const char* end) { in ParseUint64() argument
241 for (const char* p = begin; p != end; ++p) { in ParseUint64()
/packages/apps/Test/connectivity/sl4n/rapidjson/test/perftest/
Dmisctest.cpp783 char* begin = ss.PutBegin(); in itoa_Writer_InsituStringStreamVerify() local
786 ss.PutEnd(begin); in itoa_Writer_InsituStringStreamVerify()
818 char* begin = ss.PutBegin(); in itoa_Writer_InsituStringStream() local
820 length += ss.PutEnd(begin); in itoa_Writer_InsituStringStream()
850 char* begin = ss.PutBegin(); in itoa64_Writer_InsituStringStreamVerify() local
853 ss.PutEnd(begin); in itoa64_Writer_InsituStringStreamVerify()
885 char* begin = ss.PutBegin(); in itoa64_Writer_InsituStringStream() local
887 length += ss.PutEnd(begin); in itoa64_Writer_InsituStringStream()
/packages/apps/Dialer/java/com/android/incallui/answer/impl/hint/
DDotAnswerHint.java259 float begin, in createUniformScaleAnimator() argument
264 float scaleBegin = begin / original; in createUniformScaleAnimator()
278 View target, float begin, float end, long duration, long delay, Interpolator interpolator) { in createAlphaAnimator() argument
279 Animator alpha = ObjectAnimator.ofFloat(target, View.ALPHA, begin, end); in createAlphaAnimator()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/dpp/
DWifiDppUtils.java150 int begin = 0; in removeFirstAndLastDoubleQuotes() local
152 if (str.charAt(begin) == '\"') { in removeFirstAndLastDoubleQuotes()
153 begin++; in removeFirstAndLastDoubleQuotes()
158 return str.substring(begin, end+1); in removeFirstAndLastDoubleQuotes()
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
Drapidjson.h619 size_t PutEnd(Ch* begin) { return static_cast<size_t>(dst_ - begin); }
622 Ch* Push(size_t count) { Ch* begin = dst_; dst_ += count; return begin; }
/packages/inputmethods/LatinIME/native/jni/src/utils/
Dint_array_view.h88 AK_FORCE_INLINE const int *begin() const { in begin() function
97 return std::find(begin(), end(), value) != end(); in contains()
133 return std::vector<int>(begin(), end()); in toVector()
/packages/apps/Settings/src/com/android/settings/wifi/dpp/
DWifiDppUtils.java158 int begin = 0; in removeFirstAndLastDoubleQuotes() local
160 if (str.charAt(begin) == '\"') { in removeFirstAndLastDoubleQuotes()
161 begin++; in removeFirstAndLastDoubleQuotes()
166 return str.substring(begin, end+1); in removeFirstAndLastDoubleQuotes()
/packages/apps/Calendar/src/com/android/calendar/alerts/
DAlarmScheduler.java202 long begin = instancesCursor.getLong(INSTANCES_INDEX_BEGIN); in queryNextReminderAndSchedule() local
207 localStartTime = Utils.convertAlldayUtcToLocal(timeObj, begin, in queryNextReminderAndSchedule()
210 localStartTime = begin; in queryNextReminderAndSchedule()
DAlertUtils.java98 public static Intent buildEventViewIntent(Context c, long eventId, long begin, long end) {
104 i.putExtra(CalendarContract.EXTRA_EVENT_BEGIN_TIME, begin);
/packages/apps/TV/tests/tunerscripts/
Dusbtuner-test.sh46 adb shell dumpsys meminfo -d --package com.android.tv.tuner > meminfo-begin.txt
94 sed -n 33,46p meminfo-begin.txt | cut -f 2 -d ":" -s | awk '{print $1}'
/packages/apps/Dialer/java/com/android/incallui/
DInCallOrientationEventListener.java79 private static boolean isWithinRange(int value, int begin, int end) { in isWithinRange() argument
80 return value >= begin && value < end; in isWithinRange()
/packages/apps/Camera2/src/com/android/camera/widget/
DFilmstripLayout.java291 private void runAnimation(float begin, float end) { in runAnimation() argument
295 if (begin == end) { in runAnimation()
300 mFilmstripAnimator.setFloatValues(begin, end); in runAnimation()
/packages/apps/Test/connectivity/sl4n/rapidjson/example/serialize/
Dserialize.cpp122 …for (std::vector<Dependent>::const_iterator dependentItr = dependents_.begin(); dependentItr != de… in Serialize()
150 …for (std::vector<Employee>::const_iterator employeeItr = employees.begin(); employeeItr != employe… in main()
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder.cpp189 buffer_cur = std::copy(std::next(name.begin(), pos), std::next(name.begin(), dot_pos), in write()
290 return std::copy(rdata.begin(), rdata.end(), buffer_cur); in write()
669 auto found = std::find_if(header->additionals.begin(), header->additionals.end(), in hasOptPseudoRR()
847 rdata.insert(rdata.end(), label.begin(), label.end()); in fillRdata()
1022 std::copy(it->second.begin(), it->second.end(), response); in makeResponseFromBinaryPacket()
/packages/modules/DnsResolver/tests/
Dresolv_gold_test.cpp163 std::vector<uint8_t>(m.query().begin(), m.query().end()), in SetupMappings()
164 std::vector<uint8_t>(m.response().begin(), m.response().end())); in SetupMappings()
396 std::begin(name), std::end(name), [](char ch) { return !std::isalnum(ch); }, '_'); in Name()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
Dlanguage_model_dict_content.h98 EntryIterator begin() const { in begin() function
99 return EntryIterator(mTrieMapRange.begin(), mHasHistoricalInfo); in begin()

123