/system/extras/perfprofd/ |
D | perf_data_converter.cc | 11 RangeTarget(uint64 start, uint64 end, uint64 to) in RangeTarget() 12 : start(start), end(end), to(to) {} in RangeTarget() 15 if (start != r.start) { in operator <() 16 return start < r.start; in operator <() 23 uint64 start; member 65 uint64 start = event.branch_stack[i].to.offset(); in RawPerfDataToAndroidPerfProfile() local 69 if (end < start || end - start > (1 << 20)) { in RawPerfDataToAndroidPerfProfile() 70 LOG(WARNING) << "Bogus LBR data: " << start << "->" << end; in RawPerfDataToAndroidPerfProfile() 74 RangeTarget(start, end, to)]++; in RawPerfDataToAndroidPerfProfile() 120 range_samples->set_start(range_count.first.start); in RawPerfDataToAndroidPerfProfile()
|
/system/bt/osi/src/ |
D | thread.c | 79 struct start_arg start; in thread_new_sized() local 80 start.start_sem = semaphore_new(0); in thread_new_sized() 81 if (!start.start_sem) in thread_new_sized() 85 start.thread = ret; in thread_new_sized() 86 start.error = 0; in thread_new_sized() 87 pthread_create(&ret->pthread, NULL, run_thread, &start); in thread_new_sized() 88 semaphore_wait(start.start_sem); in thread_new_sized() 89 semaphore_free(start.start_sem); in thread_new_sized() 91 if (start.error) in thread_new_sized() 185 struct start_arg *start = start_arg; in run_thread() local [all …]
|
/system/core/libbacktrace/ |
D | BacktraceMap.cpp | 40 if (addr >= it->start && addr < it->end) { in FillIn() 49 unsigned long int start; local 60 &start, &end, permissions, &name_pos) != 3) { 67 &start, &end, permissions, &name_pos) != 3) { 72 map->start = start; 91 reinterpret_cast<void*>(map->start), reinterpret_cast<void*>(map->end), 150 return map1.start < map2.start;
|
D | UnwindMap.cpp | 56 map.start = unw_map.start; in GenerateMap() 99 map.start = unw_map.start; in GenerateMap()
|
/system/core/logd/ |
D | LogReader.cpp | 66 log_time start(log_time::EPOCH); in onDataAvailable() local 71 start.strptime(cp + sizeof(_start) - 1, "%s.%q"); in onDataAvailable() 121 if (start != log_time::EPOCH) { in onDataAvailable() 126 log_time &start; in onDataAvailable() member in LogReader::onDataAvailable::LogFindStart 132 … LogFindStart(unsigned logMask, pid_t pid, log_time &start, uint64_t &sequence, bool isMonotonic) : in onDataAvailable() argument 136 start(start), in onDataAvailable() 146 if (me->start == element->getRealTime()) { in onDataAvailable() 152 if (me->start < element->getRealTime()) { in onDataAvailable() 166 } logFindStart(logMask, pid, start, sequence, in onDataAvailable() 167 logbuf().isMonotonic() && android::isMonotonic(start)); in onDataAvailable()
|
D | LogTimes.cpp | 30 uint64_t start, uint64_t timeout) : in LogTimeEntry() argument 43 mStart(start), in LogTimeEntry() 135 uint64_t start = me->mStart; in threadStart() local 154 logbuf.flushTo(client, start, privileged, security, FilterFirstPass, me); in threadStart() 157 start = logbuf.flushTo(client, start, privileged, security, FilterSecondPass, me); in threadStart() 161 if (start == LogBufferElement::FLUSH_ERROR) { in threadStart() 166 me->mStart = start + 1; in threadStart()
|
/system/sepolicy/tools/sepolicy-analyze/ |
D | neverallow.c | 27 char *start, *id; in read_typeset() local 92 start = p; in read_typeset() 96 if (p == start) in read_typeset() 99 len = p - start; in read_typeset() 100 if (len == keyword_size && !strncmp(start, keyword, keyword_size)) { in read_typeset() 110 memcpy(id, start, len); in read_typeset() 190 char *id, *start; in read_classperms() local 237 start = p; in read_classperms() 241 if (p == start) in read_classperms() 244 id = calloc(1, p - start + 1); in read_classperms() [all …]
|
/system/core/debuggerd/test/ |
D | tombstone_test.cpp | 100 map.start = 0x123456789abcd000UL; in TEST_F() 103 map.start = 0x1234000; in TEST_F() 132 map.start = 0x123456789abcd000UL; in TEST_F() 135 map.start = 0x1234000; in TEST_F() 169 map.start = 0x123456789abcd000UL; in TEST_F() 172 map.start = 0x1234000; in TEST_F() 208 map.start = 0xa234000; in TEST_F() 212 map.start = 0xa334000; in TEST_F() 218 map.start = 0xa434000; in TEST_F() 225 map.start = 0xa534000; in TEST_F() [all …]
|
/system/core/debuggerd/ |
D | utility.cpp | 143 uintptr_t start = 0; local 150 start = ((addr + (page_size - 1)) & ~(page_size - 1)) - addr; 151 if (start == 0 || start >= MEMORY_BYTES_TO_DUMP) { 163 size_t bytes2 = backtrace->Read(addr + start + bytes, reinterpret_cast<uint8_t*>(data) + bytes, 164 sizeof(data) - bytes - start); 181 size_t total_bytes = start + bytes; 189 if (current >= start && current + sizeof(uintptr_t) <= total_bytes) {
|
/system/extras/zram-perf/ |
D | zram-perf.cpp | 18 int start = rand(); in fillPageRand() local 20 page[i] = start+i; in fillPageRand() 75 chrono::time_point<chrono::high_resolution_clock> start, end; in benchSequentialRead() local 80 start = chrono::high_resolution_clock::now(); in benchSequentialRead() 92 size_t duration = chrono::duration_cast<chrono::microseconds>(end - start).count(); in benchSequentialRead() 96 chrono::time_point<chrono::high_resolution_clock> start, end; in benchSequentialWrite() local 101 start = chrono::high_resolution_clock::now(); in benchSequentialWrite() 114 size_t duration = chrono::duration_cast<chrono::microseconds>(end - start).count(); in benchSequentialWrite()
|
/system/core/fastboot/ |
D | engine.cpp | 69 double start; member 96 fprintf(stderr,"OKAY [%7.3fs]\n", (split - a->start)); in cb_default() 97 a->start = split; in cb_default() 128 a->start = -1; in queue_action() 212 cur_product, a->prod, (split - a->start)); in cb_check() 213 a->start = split; in cb_check() 223 fprintf(stderr,"OKAY [%7.3fs]\n", (split - a->start)); in cb_check() 224 a->start = split; in cb_check() 344 double start = -1; in fb_execute_queue() local 346 a->start = now(); in fb_execute_queue() [all …]
|
/system/extras/tests/ext4/ |
D | rand_emmc_perf.c | 39 struct timeval start; member 73 timersub(&stats_buf[i].end, &stats_buf[i].start, &t); in print_stats() 100 timersub(&stats_buf[i].end, &stats_buf[i].start, &t); /* Xi */ in print_stats() 124 gettimeofday(&stats_buf[i].start, NULL); in stats_test() 148 struct timeval start, end, res; in perf_test() local 154 gettimeofday(&start, NULL); in perf_test() 170 timersub(&end, &start, &res); in perf_test() 177 timersub(&end, &start, &res); in perf_test()
|
/system/extras/slideshow/ |
D | slideshow.cpp | 89 int64_t start; in main() local 122 start = android::uptimeMillis(); in main() 133 timeout_remaining -= android::uptimeMillis() - start; in main() 142 start = android::uptimeMillis(); in main() 151 if (android::uptimeMillis() - start >= LAST_TIMEOUT_MS) { in main()
|
/system/extras/puncture_fs/ |
D | puncture_fs.c | 60 static u64 get_random_num(const u64 start, const u64 end) { in get_random_num() argument 61 if (end - start <= 0) in get_random_num() 62 return start; in get_random_num() 64 if ((end - start) > 0x7FFFFFFF) in get_random_num() 65 return start + (((u64)random() << 31) | (u64)random()) % (end - start); in get_random_num() 66 return start + (random() % (end - start)); in get_random_num()
|
/system/extras/tests/sdcard/ |
D | sysutil.cpp | 77 int readStringFromFile(const char *filename, char *const start, size_t size, bool must_exist=true) in readStringFromFile() argument 79 if (NULL == start || size == 0) in readStringFromFile() 83 char *end = start; in readStringFromFile() 140 return end - start; in readStringFromFile() 146 int writeStringToFile(const char *filename, const char *start, bool must_exist=true) in writeStringToFile() argument 160 const size_t len = strlen(start); in writeStringToFile() 167 ssize_t s = write(fd, start, size); in writeStringToFile() 179 start += s; in writeStringToFile() 446 char *start = reinterpret_cast<char *>(&pid); in writePidAndWaitForReply() local 453 ssize_t s = write(writefd, start, size); in writePidAndWaitForReply() [all …]
|
D | sdcard_perf_test.cpp | 296 testCase->openTimer()->start(); in readData() 324 testCase->readTimer()->start(); in readData() 401 testCase->testTimer()->start(); in testRead() 422 testCase->openTimer()->start(); in writeData() 435 testCase->truncateTimer()->start(); in writeData() 457 testCase->writeTimer()->start(); in writeData() 475 testCase->syncTimer()->start(); in writeData() 481 testCase->syncTimer()->start(); in writeData() 500 testCase->testTimer()->start(); in testWrite() 536 testCase->testTimer()->start(); in testOpenCreate() [all …]
|
/system/extras/showmap/ |
D | showmap.cpp | 13 unsigned start; member 44 unsigned long start; in parse_header() local 50 if (sscanf(line, "%lx-%lx %*s %*x %*x:%*x %*d%n", &start, &end, &name_pos) != 2) { in parse_header() 62 if (prev && start == prev->end && is_library(prev->name)) { in parse_header() 80 info->start = start; in parse_header() 123 return a->start < b->start in order_before() 124 || (a->start == b->start && a->end < b->end); in order_before() 248 printf("%08x %08x ", mi->start, mi->end); in print_mi()
|
/system/media/camera/tests/ |
D | camera_metadata_tests_fake_vendor.h | 164 unsigned int start, end; in get_fakevendor_tag_count() local 169 start = fakevendor_section_bounds[section][0]; in get_fakevendor_tag_count() 171 count += end - start; in get_fakevendor_tag_count() 178 unsigned int start, end, tag; in get_fakevendor_tags() local 182 start = fakevendor_section_bounds[section][0]; in get_fakevendor_tags() 184 for (tag = start; tag < end; tag++) { in get_fakevendor_tags()
|
/system/core/toolbox/ |
D | start_stop.cpp | 16 static int start_stop(bool start, int argc, char* argv[]) { in start_stop() argument 18 const char* property = start ? "ctl.start" : "ctl.stop"; in start_stop() 24 if (start) { in start_stop()
|
/system/extras/tests/lib/testUtil/ |
D | testUtil.c | 266 struct timespec start, current, delta; in testDelay() local 270 clock_gettime(CLOCK_MONOTONIC, &start); in testDelay() 277 delta = tsDelta(&start, ¤t); in testDelay() 292 struct timespec start, current, delta; in testDelaySpin() local 295 clock_gettime(CLOCK_MONOTONIC, &start); in testDelaySpin() 302 delta = tsDelta(&start, ¤t); in testDelaySpin() 325 const unsigned char *ptr = buf, *start = buf; in testXDump() local 330 if (((ptr - start) % bytesPerLine) == 0) { in testXDump() 337 (long long) (ptr - start) + xDumpOffset); in testXDump()
|
/system/extras/tests/workloads/ |
D | feedly-chrome.sh | 47 echo Feedly start time = ${t}ms 52 echo Chrome start time = ${t}ms 66 handleError Feedly took too long to start: $t v $feedlySwitchToTime: $? 109 echo Avg start times: feedly: ${feedlyAve}ms
|
/system/core/libsparse/ |
D | backed_block.c | 145 struct backed_block_list *to, struct backed_block *start, in backed_block_list_move() argument 150 if (start == NULL) { in backed_block_list_move() 151 start = from->data_blocks; in backed_block_list_move() 155 for (end = start; end && end->next; end = end->next) in backed_block_list_move() 159 if (start == NULL || end == NULL) { in backed_block_list_move() 165 if (from->data_blocks == start) { in backed_block_list_move() 169 if (bb->next == start) { in backed_block_list_move() 177 to->data_blocks = start; in backed_block_list_move() 181 if (!bb->next || bb->next->block > start->block) { in backed_block_list_move() 183 bb->next = start; in backed_block_list_move()
|
/system/connectivity/shill/init/ |
D | shill-start-user-session.conf | 22 start on start-user-session
|
/system/netd/server/binder/android/net/ |
D | UidRange.cpp | 35 UidRange::UidRange(int32_t start, int32_t stop) { in UidRange() argument 36 ALOG_ASSERT(start <= stop, "start UID must be less than or equal to stop UID"); in UidRange() 37 mStart = start; in UidRange()
|
/system/extras/memory_replay/ |
D | NativeInfo.cpp | 42 uintptr_t start, end; in GetNativeInfo() local 46 &start, &end, &name_pos) == 2) { in GetNativeInfo() 49 total_va_bytes += end - start; in GetNativeInfo()
|