/aosp12/frameworks/av/media/utils/ |
H A D | SchedulingPolicyService.cpp | 37 sp<ISchedulingPolicyService> sps = sSchedulingPolicyService; in requestPriority() local 39 if (sps == 0) { in requestPriority() 45 sps = interface_cast<ISchedulingPolicyService>(binder); in requestPriority() 47 sSchedulingPolicyService = sps; in requestPriority() 50 ret = sps->requestPriority(pid, tid, prio, isForApp, asynchronous); in requestPriority() 66 sp<ISchedulingPolicyService> sps = sSchedulingPolicyService; in requestCpusetBoost() local 68 if (sps == 0) { in requestCpusetBoost() 73 sps = interface_cast<ISchedulingPolicyService>(binder); in requestCpusetBoost() 75 sSchedulingPolicyService = sps; in requestCpusetBoost() 78 ret = sps->requestCpusetBoost(enable, client); in requestCpusetBoost()
|
/aosp12/system/extras/simpleperf/ |
H A D | CallChainJoiner.cpp | 92 sps.resize(chain.size()); in AddCallChain() 97 sps.push_back(top->sp); in AddCallChain() 196 MoveToBinaryFormat(sps.data(), ip_count, p); in WriteCallChain() 226 sps.resize(ip_count); in ReadCallChain() 254 sps.resize(ip_count); in ReadCallChainInReverseOrder() 291 CHECK_EQ(ips.size(), sps.size()); in AddCallChain() 297 if (sps[i] < sps[i - 1]) { in AddCallChain() 300 } else if (sps[i] == sps[i - 1]) { in AddCallChain() 302 for (size_t j = i; j > 0 && sps[j - 1] == sps[i]; --j) { in AddCallChain() 342 std::vector<uint64_t> sps; in JoinCallChains() local [all …]
|
H A D | CallChainJoiner_test.cpp | 181 std::vector<uint64_t> sps; in TEST_F() local 190 ASSERT_EQ(sps, std::vector<uint64_t>({1, 2, 3})); in TEST_F() 194 ASSERT_EQ(sps, std::vector<uint64_t>({1, 2, 3, 4, 5})); in TEST_F() 203 ASSERT_EQ(sps, std::vector<uint64_t>({3, 4, 5})); in TEST_F() 212 ASSERT_EQ(sps, std::vector<uint64_t>({1, 4})); in TEST_F() 216 ASSERT_EQ(sps, std::vector<uint64_t>({1, 4, 5})); in TEST_F() 220 ASSERT_FALSE(joiner.GetNextCallChain(pid, tid, type, ips, sps)); in TEST_F() 241 std::vector<uint64_t> sps; in TEST_F() local 242 ASSERT_TRUE(joiner.GetNextCallChain(pid, tid, type, ips, sps)); in TEST_F() 247 ASSERT_EQ(sps, std::vector<uint64_t>({1})); in TEST_F() [all …]
|
H A D | CallChainJoiner.h | 73 void AddCallChain(pid_t tid, std::vector<uint64_t>& ips, std::vector<uint64_t>& sps); 155 const std::vector<uint64_t>& sps); 158 std::vector<uint64_t>& sps);
|
H A D | OfflineUnwinder.cpp | 244 std::vector<uint64_t>* ips, std::vector<uint64_t>* sps) { in UnwindCallChain() argument 251 sps->clear(); in UnwindCallChain() 290 sps->push_back(frame.sp); in UnwindCallChain() 305 sps->push_back(sp_reg_value); in UnwindCallChain()
|
H A D | record.cpp | 1171 sps = reinterpret_cast<uint64_t*>(p); in CallChainRecord() 1178 const std::vector<uint64_t>& sps) { in CallChainRecord() argument 1179 CHECK_EQ(ips.size(), sps.size()); in CallChainRecord() 1197 this->sps = reinterpret_cast<uint64_t*>(p); in CallChainRecord() 1198 MoveToBinaryFormat(sps.data(), sps.size(), p); in CallChainRecord() 1224 PrintIndented(indent + 1, "ip 0x%" PRIx64 ", sp 0x%" PRIx64 "\n", ips[i], sps[i]); in DumpData() 1261 callchain.sps = reinterpret_cast<uint64_t*>(p); in UnwindingResultRecord() 1271 const std::vector<uint64_t>& sps) { in UnwindingResultRecord() argument 1277 CHECK_EQ(ips.size(), sps.size()); in UnwindingResultRecord() 1303 MoveToBinaryFormat(sps.data(), sps.size(), p); in UnwindingResultRecord() [all …]
|
H A D | record.h | 583 uint64_t* sps; member 588 const std::vector<uint64_t>& ips, const std::vector<uint64_t>& sps); 605 uint64_t* sps = nullptr; member 613 const std::vector<uint64_t>& ips, const std::vector<uint64_t>& sps);
|
H A D | cmd_record.cpp | 364 const std::vector<uint64_t>& sps); 1577 std::vector<uint64_t> sps; in UnwindRecord() local 1579 r.GetValidStackSize(), &ips, &sps)) { in UnwindRecord() 1589 r.GetValidStackSize(), &ips, &sps)) { in UnwindRecord() 1593 if (keep_failed_unwinding_result_ && !KeepFailedUnwindingResult(r, ips, sps)) { in UnwindRecord() 1599 CallChainJoiner::ORIGINAL_OFFLINE, ips, sps)) { in UnwindRecord() 1608 const std::vector<uint64_t>& sps) { in KeepFailedUnwindingResult() argument 1613 r.time_data.time, result, r.regs_user_data, r.stack_user_data, ips, sps)); in KeepFailedUnwindingResult() 1717 std::vector<uint64_t> sps; in JoinCallChains() local 1718 if (!callchain_joiner_->GetNextCallChain(pid, tid, type, ips, sps)) { in JoinCallChains()
|
H A D | OfflineUnwinder_impl.h | 43 std::vector<uint64_t>* sps) override;
|
H A D | OfflineUnwinder.h | 65 std::vector<uint64_t>* sps) = 0;
|
H A D | cmd_debug_unwind.cpp | 281 std::vector<uint64_t> sps; in UnwindRecord() local 283 &sps)) { in UnwindRecord() 296 fprintf(out_fp_, "sp_%zu: 0x%" PRIx64 "\n", id, sps[i]); in UnwindRecord() 541 fprintf(out_fp_, "unwinding_sp_%zu: 0x%" PRIx64 "\n", id, unwinding_r.callchain.sps[i]); in ReportUnwindingResult()
|
H A D | sample_tree.h | 112 std::vector<uint64_t> sps; in ProcessSampleRecord() local 114 r.GetValidStackSize(), &user_ips, &sps)) { in ProcessSampleRecord()
|
H A D | cmd_monitor.cpp | 605 std::vector<uint64_t> sps; in UnwindRecord() local 607 r.GetValidStackSize(), &ips, &sps)) { in UnwindRecord()
|
/aosp12/bionic/libc/kernel/uapi/linux/ |
H A D | v4l2-controls.h | 1027 …sps) ((sps)->profile_idc == 100 || (sps)->profile_idc == 110 || (sps)->profile_idc == 122 || (sps)… argument
|
H A D | kvm.h | 619 struct kvm_ppc_one_seg_page_size sps[KVM_PPC_PAGE_SIZES_MAX_SZ]; member
|
/aosp12/frameworks/base/core/java/android/view/inputmethod/ |
H A D | BaseInputConnection.java | 88 Object[] sps = text.getSpans(0, text.length(), Object.class); in removeComposingSpans() local 89 if (sps != null) { in removeComposingSpans() 90 for (int i=sps.length-1; i>=0; i--) { in removeComposingSpans() 91 Object o = sps[i]; in removeComposingSpans() 105 final Object[] sps = text.getSpans(start, end, Object.class); in setComposingSpans() local 106 if (sps != null) { in setComposingSpans() 107 for (int i=sps.length-1; i>=0; i--) { in setComposingSpans() 108 final Object o = sps[i]; in setComposingSpans()
|
/aosp12/hardware/interfaces/power/stats/1.0/default/ |
H A D | PowerStats.cpp | 256 uint32_t sps = std::min(samplingRate, MAX_SAMPLING_RATE); in streamEnergyData() local 257 uint32_t numSamples = timeMs * sps / 1000; in streamEnergyData() 264 std::thread pollThread = std::thread([this, sps, numSamples]() { in streamEnergyData() 265 uint64_t sleepTimeUs = 1000000 / sps; in streamEnergyData()
|
/aosp12/frameworks/av/media/libstagefright/rtsp/ |
H A D | ARTPWriter.cpp | 1203 int32_t sps, pps; in sendAVCData() local 1205 if (mediaBuf->meta_data().findInt32(kKeySps, &sps) || in sendAVCData()
|
/aosp12/frameworks/base/core/api/ |
H A D | current.txt | 22597 …field public static final String KEY_PREPEND_HEADER_TO_SYNC_FRAMES = "prepend-sps-pps-to-idr-frame…
|