Home
last modified time | relevance | path

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

/aosp12/frameworks/av/media/utils/
H A DSchedulingPolicyService.cpp37 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 DCallChainJoiner.cpp92 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 DCallChainJoiner_test.cpp181 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 DCallChainJoiner.h73 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 DOfflineUnwinder.cpp244 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 Drecord.cpp1171 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 Drecord.h583 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 Dcmd_record.cpp364 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 DOfflineUnwinder_impl.h43 std::vector<uint64_t>* sps) override;
H A DOfflineUnwinder.h65 std::vector<uint64_t>* sps) = 0;
H A Dcmd_debug_unwind.cpp281 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 Dsample_tree.h112 std::vector<uint64_t> sps; in ProcessSampleRecord() local
114 r.GetValidStackSize(), &user_ips, &sps)) { in ProcessSampleRecord()
H A Dcmd_monitor.cpp605 std::vector<uint64_t> sps; in UnwindRecord() local
607 r.GetValidStackSize(), &ips, &sps)) { in UnwindRecord()
/aosp12/bionic/libc/kernel/uapi/linux/
H A Dv4l2-controls.h1027sps) ((sps)->profile_idc == 100 || (sps)->profile_idc == 110 || (sps)->profile_idc == 122 || (sps)… argument
H A Dkvm.h619 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 DBaseInputConnection.java88 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 DPowerStats.cpp256 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 DARTPWriter.cpp1203 int32_t sps, pps; in sendAVCData() local
1205 if (mediaBuf->meta_data().findInt32(kKeySps, &sps) || in sendAVCData()
/aosp12/frameworks/base/core/api/
H A Dcurrent.txt22597 …field public static final String KEY_PREPEND_HEADER_TO_SYNC_FRAMES = "prepend-sps-pps-to-idr-frame…