Home
last modified time | relevance | path

Searched refs:distance (Results 1 – 19 of 19) sorted by relevance

/system/keymaster/include/keymaster/
Dserializable.h234 bool advance_read(int distance) { in advance_read() argument
235 if (static_cast<size_t>(read_position_ + distance) <= write_position_) { in advance_read()
236 read_position_ += distance; in advance_read()
242 bool advance_write(int distance) { in advance_write() argument
243 if (static_cast<size_t>(write_position_ + distance) <= buffer_size_) { in advance_write()
244 write_position_ += distance; in advance_write()
DList.h185 return size_t(distance(begin(), end())); in size()
273 ptrdiff_t distance( in distance() function
/system/teeui/test/example_config/
DREADME65 …"native-test-flag": "--powerButtonTop=<distance from the top of the power button to the top of the…
68 …"native-test-flag": "--powerButtonBottom=<distance from the bottom of the power button to the top …
71 …"native-test-flag": "--volUpButtonTop=<distance from the top of the UP volume button to the top of…
74 …"native-test-flag": "--volUpButtonBottom=<distance from the bottom of the UP power button to the t…
/system/tools/aidl/tests/
Dtest_util.cpp32 using std::distance;
138 while (frontier != output.crend() && distance(it, frontier) <= 3) { in PrintDiff()
/system/chre/apps/test/chqts/src/general_test/
Dbasic_wifi_test.cc553 if (result.rssi != 0 || result.distance != 0 || in validateRangingEvent()
562 if (result.distance > kMaxDistanceMillimeters) { in validateRangingEvent()
565 &result.distance); in validateRangingEvent()
/system/core/libutils/include/utils/
DList.h187 return size_t(distance(begin(), end())); in size()
275 ptrdiff_t distance( in distance() function
/system/chre/chre_api/include/chre_api/chre/
Dwifi.h645 uint32_t distance; member
/system/chre/chre_api/legacy/v1_2/chre/
Dwifi.h645 uint32_t distance; member
/system/chre/chre_api/legacy/v1_3/chre/
Dwifi.h645 uint32_t distance; member
/system/memory/libmeminfo/
Dsysmeminfo.cpp75 auto index = std::distance(tags, it); in ReadMemInfo()
/system/core/init/
Dinit_test.cpp173 ASSERT_EQ(1, std::distance(service_list.begin(), service_list.end())); in TEST()
/system/libvintf/
Dcheck_vintf.cpp291 if (std::distance(args.begin(), args.end()) > 1) { in getRuntimeInfo()
526 if (std::distance(rootdirs.begin(), rootdirs.end()) > 1) { in main()
/system/chre/apps/wifi_world/
Dwifi_world.cc153 LOGI(" distance: %" PRIu32 " mm", result.distance); in logChreRangingResult()
/system/update_engine/payload_generator/
Ddelta_diff_utils.cc359 int distance = LevenshteinDistance(new_file_name, pair.first); in GetOldFile() local
360 if (distance < min_distance) { in GetOldFile()
361 min_distance = distance; in GetOldFile()
/system/extras/verity/
Dhash_tree_builder.cpp276 << std::distance(level_blocks.begin(), iter); in CheckHashTree()
/system/core/fs_mgr/liblp/
Dutility.cpp275 partition.group_index = std::distance(new_group_ptrs.begin(), it); in UpdateMetadataForInPlaceSnapshot()
/system/tools/aidl/
Daidl_checkapi.cpp200 size_t old_index = std::distance(old_fields.begin(), found); in are_compatible_parcelables()
/system/chre/util/tests/
Darray_queue_test.cc472 typename traits::difference_type diff = std::distance(q.begin(), q.end()); in TEST()
/system/libhidl/base/include/hidl/
DHidlSupport.h367 auto size = std::distance(first, last); in hidl_vec()