/packages/modules/StatsD/statsd/src/logd/ |
D | LogEvent.cpp | 81 void LogEvent::parseInt32(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations) { in parseInt32() argument 83 addToValues(pos, depth, value, last); in parseInt32() 87 void LogEvent::parseInt64(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations) { in parseInt64() argument 89 addToValues(pos, depth, value, last); in parseInt64() 93 void LogEvent::parseString(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations) { in parseString() argument 103 addToValues(pos, depth, value, last); in parseString() 107 void LogEvent::parseFloat(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations) { in parseFloat() argument 109 addToValues(pos, depth, value, last); in parseFloat() 113 void LogEvent::parseBool(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations) { in parseBool() argument 116 addToValues(pos, depth, value, last); in parseBool() [all …]
|
D | LogEvent.h | 238 void parseInt32(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations); 239 void parseInt64(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations); 240 void parseString(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations); 241 void parseFloat(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations); 242 void parseBool(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations); 243 void parseByteArray(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations); 244 void parseKeyValuePairs(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations); 245 void parseAttributionChain(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations); 246 void parseArray(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations); 303 void addToValues(int32_t* pos, int32_t depth, T& value, bool* last) { in addToValues() argument [all …]
|
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/ |
D | db_utilities_indexing.cpp | 36 void db_LeanPartitionOnPivot(double pivot,double *dest,const double *source,long first,long last,lo… in db_LeanPartitionOnPivot() argument 45 s_top=source+last; in db_LeanPartitionOnPivot() 47 d_top=dest+last; in db_LeanPartitionOnPivot() 62 long last=nr_elements-1; in db_LeanQuickSelect() local 76 for(;last-first>2;) in db_LeanQuickSelect() 78 pivot=db_TripleMedian(source[first],source[last],source[(first+last)/2]); in db_LeanQuickSelect() 79 db_LeanPartitionOnPivot(pivot,dest,source,first,last,&first_equal,&last_equal); in db_LeanQuickSelect() 81 if(first_equal>pos) last=first_equal-1; in db_LeanQuickSelect() 95 pivot=db_TripleMedian(source[first],source[last],source[(first+last)/2]); in db_LeanQuickSelect()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | BinaryDictDecoderUtils.java | 335 PtNodeInfo last = null; in getWordAtPositionWithoutParentAddress() local 346 if (null == last) continue; in getWordAtPositionWithoutParentAddress() 347 builder.append(new String(last.mCharacters, 0, last.mCharacters.length)); in getWordAtPositionWithoutParentAddress() 348 dictDecoder.setPosition(last.mChildrenAddress); in getWordAtPositionWithoutParentAddress() 350 groupPos = last.mChildrenAddress + BinaryDictIOUtils.getPtNodeCountSize(i); in getWordAtPositionWithoutParentAddress() 351 last = null; in getWordAtPositionWithoutParentAddress() 354 last = info; in getWordAtPositionWithoutParentAddress() 356 if (0 == i && BinaryDictIOUtils.hasChildrenAddress(last.mChildrenAddress)) { in getWordAtPositionWithoutParentAddress() 357 builder.append(new String(last.mCharacters, 0, last.mCharacters.length)); in getWordAtPositionWithoutParentAddress() 358 dictDecoder.setPosition(last.mChildrenAddress); in getWordAtPositionWithoutParentAddress() [all …]
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settingslib/enterprise/ |
D | EnterprisePrivacyFeatureProviderImplTest.java | 65 Date last = mProvider.getLastBugReportRequestTime(); in testGetLastBugReportRequestTime_ok() local 66 assertWithMessage("getLastBugReportRequestTime()").that(last).isNotNull(); in testGetLastBugReportRequestTime_ok() 67 assertWithMessage("getLastBugReportRequestTime().getTime()").that(last.getTime()) in testGetLastBugReportRequestTime_ok() 84 Date last = mProvider.getLastNetworkLogRetrievalTime(); in testGetLastNetworkLogRetrievalTime_ok() local 85 assertWithMessage("getLastNetworkLogRetrievalTime()").that(last).isNotNull(); in testGetLastNetworkLogRetrievalTime_ok() 86 assertWithMessage("getLastNetworkLogRetrievalTime().getTime()").that(last.getTime()) in testGetLastNetworkLogRetrievalTime_ok() 103 Date last = mProvider.getLastSecurityLogRetrievalTime(); in testGetLastSecurityLogRetrievalTime_ok() local 104 assertWithMessage("getLastSecurityLogRetrievalTime()").that(last).isNotNull(); in testGetLastSecurityLogRetrievalTime_ok() 105 assertWithMessage("getLastSecurityLogRetrievalTime().getTime()").that(last.getTime()) in testGetLastSecurityLogRetrievalTime_ok()
|
/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/ |
D | Blend.cpp | 1196 MosaicFrame *last = frames[frames_size-1]; in SelectRelevantFrames() local 1201 double midX = last->width / 2.0; in SelectRelevantFrames() 1202 double midY = last->height / 2.0; in SelectRelevantFrames() 1234 relevant_frames[relevant_frames_size] = last; in SelectRelevantFrames() 1249 MosaicFrame *last = frames[frames_size-1]; in ComputeBlendParameters() local 1252 double lxpos = last->trs[0][2], lypos = last->trs[1][2]; in ComputeBlendParameters() 1257 double midX = last->width / 2.0; in ComputeBlendParameters() 1258 double midY = last->height / 2.0; in ComputeBlendParameters() 1298 if (is360) m_wb.theta = asin(last->trs[1][0]); in ComputeBlendParameters() 1335 z = ProjZ(last->trs, 0.0, midY, 1.0); in ComputeBlendParameters() [all …]
|
D | Delaunay.cpp | 590 int CDelaunay::constructList(EdgePointer last, int width, int height) argument 596 c = (int) ((curr = (EdgePointer) ((last & ~3))) >> 1); 598 for (last -= 4; last >= 0; last -= 4) { 599 src = orig(last); 600 nex = dest(last);
|
/packages/inputmethods/LatinIME/tools/EditTextVariations/src/com/android/inputmethod/tools/edittextvariations/ |
D | EchoingTextWatcher.java | 75 final String last = s.subSequence(len - 1, len).toString(); in onTextChanged() local 76 final char lastChar = last.charAt(0); in onTextChanged() 78 final String lowerCase = last.toLowerCase(Locale.getDefault()); in onTextChanged() 81 final String upperCase = last.toUpperCase(Locale.getDefault()); in onTextChanged()
|
/packages/services/Car/car-lib/ |
D | Android.bp | 105 name: "android-car-last-released-api", 109 …cmd: "cp -f $$(echo $(in) | tr \" \" \"\\n\" | sort -n | tail -1) $(genDir)/last-released-api.txt", 111 "last-released-api.txt", 116 name: "android-car-last-released-system-api", 120 …cmd: "cp -f $$(echo $(in) | tr \" \" \"\\n\" | sort -n | tail -1) $(genDir)/last-released-system-a… 122 "last-released-system-api.txt", 134 api_file: ":android-car-last-released-api", 165 api_file: ":android-car-last-released-system-api", 235 previous_api: ":android-car-last-released-api",
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/widget/ |
D | RecyclerViewExtensions.kt | 27 val last = getChildAt(count - 1) constant 30 && getChildAdapterPosition(last) == itemCount - 1 32 && isFullyVisible(last)
|
/packages/modules/DnsResolver/ |
D | res_stats.cpp | 55 time_t last = 0; in android_net_res_stats_aggregate() local 100 last = stats->samples[stats->sample_next - 1].at; in android_net_res_stats_aggregate() 102 last = stats->samples[stats->sample_count - 1].at; in android_net_res_stats_aggregate() 105 *last_sample_time = last; in android_net_res_stats_aggregate()
|
/packages/apps/Dialer/java/com/android/contacts/common/util/ |
D | StopWatch.java | 65 long last = start; in stopAndLog() local 70 sb.append((current - last)); in stopAndLog() 72 last = current; in stopAndLog()
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | StopWatch.java | 74 long last = start; in stopAndLog() local 79 sb.append((current - last)); in stopAndLog() 81 last = current; in stopAndLog()
|
/packages/modules/adb/ |
D | socket_test.cpp | 52 int last[2]; in TEST_F() local 60 ASSERT_EQ(0, adb_socketpair(last)) << strerror(errno); in TEST_F() 83 asocket* end = create_local_socket(unique_fd(last[0])); in TEST_F() 93 ASSERT_TRUE(ReadFdExactly(last[1], &write_buffer[0], write_buffer.size())); in TEST_F() 98 ASSERT_EQ(0, adb_close(last[1])); in TEST_F()
|
D | SYNC.TXT | 21 when debugging. The last four bytes are a Little-Endian integer, with various 43 4. A four-byte integer representing last modified time. 51 The remote file name is split into two parts separated by the last 67 to the last modified time for the file. The server responds to this last
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
D | NinePatchTexture.java | 303 int last = 0; in stretch() local 305 if ((x[i] - x[last]) < 1f) continue; in stretch() 306 x[++last] = x[i]; in stretch() 307 u[last] = u[i]; in stretch() 309 return last + 1; in stretch()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | FocusManager.java | 333 int last = mScope.layout.findLastVisibleItemPosition(); in findPagedTargetPosition() local 335 int pageSize = last - first + 1; in findPagedTargetPosition() 349 if (current < last) { in findPagedTargetPosition() 351 return last; in findPagedTargetPosition() 612 long last = mLastEvent.getEventTime(); in run() local 614 if ((now - last) > SEARCH_TIMEOUT) { in run()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
D | itoatest.cpp | 78 T i = 1, last; in Verify() local 86 last = i; in Verify() 88 } while (last < i); in Verify()
|
D | valuetest.cpp | 866 for (unsigned last = first; last <= n; last++) { in TEST() local 871 itr = x.Erase(x.Begin() + first, x.Begin() + last); in TEST() 872 if (last == n) in TEST() 877 size_t removeCount = last - first; in TEST() 1160 for (unsigned last = first; last <= n; last++) { in TEST() local 1165 itr = x.EraseMember(x.MemberBegin() + first, x.MemberBegin() + last); in TEST() 1166 if (last == n) in TEST() 1171 size_t removeCount = last - first; in TEST()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/ |
D | document.h | 1192 MemberIterator last(data_.o.members + (data_.o.size - 1)); 1193 if (data_.o.size > 1 && m != last) { 1195 *m = *last; 1227 MemberIterator EraseMember(ConstMemberIterator first, ConstMemberIterator last) { 1232 RAPIDJSON_ASSERT(first <= last); 1233 RAPIDJSON_ASSERT(last <= MemberEnd()); 1236 for (MemberIterator itr = pos; itr != last; ++itr) 1238 std::memmove(&*pos, &*last, (MemberEnd() - last) * sizeof(Member)); 1239 data_.o.size -= (last - first); 1428 ValueIterator Erase(ConstValueIterator first, ConstValueIterator last) { [all …]
|
/packages/modules/NeuralNetworks/common/types/include/nnapi/ |
D | SharedMemory.h | 74 GeneralResult<std::vector<base::unique_fd>> dupFds(ForwardFdIt first, ForwardFdIt last) { in dupFds() argument 76 fds.reserve(std::distance(first, last)); in dupFds() 77 for (; first != last; ++first) { in dupFds()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/info/ |
D | HistogramView.java | 113 float last = 0; in drawHistogram() local 125 last = x; in drawHistogram() 128 mHistoPath.lineTo(last, h); in drawHistogram()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | SplineMath.java | 32 int last = curve.length - 1; in calculatetCurve() local 33 curve[last][0] = (float) (points[points.length - 1][0]); in calculatetCurve() 34 curve[last][1] = (float) (points[points.length - 1][1]); in calculatetCurve()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_audio/ |
D | ContentControlIdKeeper.java | 59 } else if (sAssignedCcidList.last() < CCID_MAX) { in acquireCcid() 60 ccid = sAssignedCcidList.last() + 1; in acquireCcid()
|
/packages/apps/ThemePicker/tests/src/com/android/customization/model/picker/quickaffordance/data/repository/ |
D | KeyguardQuickAffordancePickerRepositoryTest.kt | 80 assertThat(values.last()).isTrue() in isFeatureEnabled - enabled() 96 assertThat(values.last()).isFalse() in isFeatureEnabled - not enabled()
|