/packages/modules/StatsD/statsd/src/logd/ |
D | LogEvent.cpp | 95 void LogEvent::parseInt32(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations) { in parseInt32() argument 97 addToValues(pos, depth, value, last); in parseInt32() 101 void LogEvent::parseInt64(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations) { in parseInt64() argument 103 addToValues(pos, depth, value, last); in parseInt64() 107 void LogEvent::parseString(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations) { in parseString() argument 117 addToValues(pos, depth, value, last); in parseString() 121 void LogEvent::parseFloat(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations) { in parseFloat() argument 123 addToValues(pos, depth, value, last); in parseFloat() 127 void LogEvent::parseBool(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations) { in parseBool() argument 130 addToValues(pos, depth, value, last); in parseBool() [all …]
|
D | LogEvent.h | 275 void parseInt32(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations); 276 void parseInt64(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations); 277 void parseString(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations); 278 void parseFloat(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations); 279 void parseBool(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations); 280 void parseByteArray(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations); 281 void parseKeyValuePairs(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations); 282 void parseAttributionChain(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations); 283 void parseArray(int32_t* pos, int32_t depth, bool* last, uint8_t numAnnotations); 345 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/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/core/selection/ |
D | GrantsAwareSelectionTest.kt | 170 val flow = emissions.last() in <lambda>() 212 .that(emissions.last()) in <lambda>() 214 assertWithMessage("Emitted flow has an unexpected size").that(emissions.last()).hasSize(6) in <lambda>() 250 .that(emissions.last()) in <lambda>() 290 val flow = emissions.last() in <lambda>() 339 val flow = emissions.last() in <lambda>() 372 .that(emissions.last()) in <lambda>() 383 .that(emissions.last()) in <lambda>() 413 .that(emissions.last()) in <lambda>() 424 .that(emissions.last()) in <lambda>() [all …]
|
D | SelectionImplTest.kt | 166 val flow = emissions.last() in <lambda>() 208 .that(emissions.last()) in <lambda>() 210 assertWithMessage("Emitted flow has an unexpected size").that(emissions.last()).hasSize(6) in <lambda>() 246 .that(emissions.last()) in <lambda>() 286 val flow = emissions.last() in <lambda>() 335 val flow = emissions.last() in <lambda>() 368 .that(emissions.last()) in <lambda>() 379 .that(emissions.last()) in <lambda>() 409 .that(emissions.last()) in <lambda>() 420 .that(emissions.last()) in <lambda>()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/payloadtoggle/ui/composable/ |
D | ShareouselLazyListPrefetchStrategy.kt | 54 val lastItem = layoutInfo.visibleItemsInfo.last() in onScroll() 82 else IntRange(visibleItems.first().index, visibleItems.last().index) in getVisibleRange() 90 visibleRange.first - lookAhead / 2..visibleRange.last + lookAhead / 2 in getVisibleRange() 92 visibleRange.first - lookBackward..visibleRange.last + lookAhead in getVisibleRange() 94 visibleRange.first - lookAhead..visibleRange.last + lookBackward in getVisibleRange()
|
/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 …]
|
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/core/configuration/ |
D | ConfigurationManagerTest.kt | 111 assertThat(emissions.last()) in testConfigurationEmitsFlagChanges() 166 assertThat(emissions.last()) in testConfigurationChangesAreBatched() 207 assertThat(emissions.last().action).isEqualTo("TEST_ACTION") in testSetIntentUpdatesConfiguration() 208 assertThat(emissions.last().intent).isNotNull() in testSetIntentUpdatesConfiguration() 244 assertThat(emissions.last().action).isEqualTo(MediaStore.ACTION_PICK_IMAGES) in testSetIntentSetsSelectionLimit() 245 assertThat(emissions.last().intent).isNotNull() in testSetIntentSetsSelectionLimit() 246 assertThat(emissions.last().selectionLimit) in testSetIntentSetsSelectionLimit()
|
/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/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/apps/Launcher3/src/com/android/launcher3/model/ |
D | FirstScreenBroadcastHelper.kt | 306 pendingCollectionItems.apply { remove(last()) } in <lambda>() 307 pendingHotseatItems.isNotEmpty() -> pendingHotseatItems.apply { remove(last()) } in <lambda>() 308 installedHotseatItems.isNotEmpty() -> installedHotseatItems.apply { remove(last()) } in <lambda>() 310 secondaryScreenInstalledWidgets.apply { remove(last()) } in <lambda>() 311 pendingWidgetItems.isNotEmpty() -> pendingWidgetItems.apply { remove(last()) } in <lambda>() 313 firstScreenInstalledWidgets.apply { remove(last()) } in <lambda>() 314 pendingWorkspaceItems.isNotEmpty() -> pendingWorkspaceItems.apply { remove(last()) } in <lambda>() 316 installedWorkspaceItems.apply { remove(last()) } in <lambda>()
|
/packages/modules/Virtualization/libs/capabilities/src/ |
D | caps.rs | 36 let e = Errno::last(); in drop_inheritable_caps() 40 let e = Errno::last(); in drop_inheritable_caps() 55 let e = Errno::last(); in drop_bounding_set()
|
/packages/services/Car/car_product/distant_display/apps/CarDistantDisplaySystemUI/src/com/android/systemui/car/distantdisplay/common/ |
D | DistantDisplayForegroundTaskMap.java | 42 TaskData last = null; in getTopTaskOnDisplay() local 44 if (value.mDisplayId == displayId) last = value; in getTopTaskOnDisplay() 46 return last; in getTopTaskOnDisplay()
|
/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/IntentResolver/tests/unit/src/com/android/intentresolver/contentpreview/payloadtoggle/domain/interactor/ |
D | CursorPreviewsInteractorTest.kt | 180 assertThat(cursorPreviewsRepository.previewsModel.value!!.previewModels.last().uri) in <lambda>() 191 assertThat(cursorPreviewsRepository.previewsModel.value!!.previewModels.last().uri) in <lambda>() 213 assertThat(cursorPreviewsRepository.previewsModel.value!!.previewModels.last().uri) in <lambda>() 224 assertThat(cursorPreviewsRepository.previewsModel.value!!.previewModels.last().uri) in <lambda>() 245 assertThat(cursorPreviewsRepository.previewsModel.value!!.previewModels.last().uri) in <lambda>() 267 assertThat(cursorPreviewsRepository.previewsModel.value!!.previewModels.last().uri) in <lambda>()
|
D | FetchPreviewsInteractorTest.kt | 203 assertThat(previewsModel.value!!.previewModels.last().uri) in loadMoreLeft_evictRight() 216 assertThat(previewsModel.value!!.previewModels.last().uri) in loadMoreLeft_evictRight() 238 assertThat(cursorPreviewsRepository.previewsModel.value!!.previewModels.last().uri) in loadMoreRight_evictLeft() 249 assertThat(cursorPreviewsRepository.previewsModel.value!!.previewModels.last().uri) in loadMoreRight_evictLeft() 269 assertThat(cursorPreviewsRepository.previewsModel.value!!.previewModels.last().uri) in noMoreRight_appendUnclaimedFromInitialSelection() 290 assertThat(cursorPreviewsRepository.previewsModel.value!!.previewModels.last().uri) in noMoreLeft_appendUnclaimedFromInitialSelection()
|
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/ |
D | QnsCallStatusTracker.java | 447 CallQualityBlock last = null; in onHandoverCompleted() local 451 last = prev.getLastCallQualityBlock(); in onHandoverCompleted() 457 if (last != null) { in onHandoverCompleted() 458 last.mDurationMillis = now - last.mCreatedElapsedTime; in onHandoverCompleted() 460 .add(new CallQualityBlock(last.mUpLinkLevel, last.mDownLinkLevel, now)); in onHandoverCompleted() 505 CallQualityBlock last = null; in callEnded() local 508 last = prev.getLastCallQualityBlock(); in callEnded() 510 if (last != null) { in callEnded() 511 last.mDurationMillis = now - last.mCreatedElapsedTime; in callEnded()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | EventLogArray.kt | 66 val last = (nextIndex + logs.size - 1) % logs.size in addLog() constant 68 if (isEntrySame(logs[last], type, event) && isEntrySame(logs[secondLast], type, event)) { in addLog() 69 logs[last]!!.update(type, event, extras) in addLog()
|
/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/modules/adb/ |
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
|
D | socket_test.cpp | 53 int last[2]; in TEST_F() local 61 ASSERT_EQ(0, adb_socketpair(last)) << strerror(errno); in TEST_F() 84 asocket* end = create_local_socket(unique_fd(last[0])); in TEST_F() 94 ASSERT_TRUE(ReadFdExactly(last[1], &write_buffer[0], write_buffer.size())); in TEST_F() 99 ASSERT_EQ(0, adb_close(last[1])); in TEST_F()
|