Home
last modified time | relevance | path

Searched full:stat (Results 1 – 25 of 16906) sorted by relevance

12345678910>>...677

/aosp_15_r20/external/apache-commons-math/src/main/java/org/apache/commons/math3/stat/inference/
H A DTestUtils.java17 package org.apache.commons.math3.stat.inference;
33 import org.apache.commons.math3.stat.descriptive.StatisticalSummary;
68 * @see org.apache.commons.math3.stat.inference.TTest#homoscedasticT(double[], double[])
76 …ommons.math3.stat.inference.TTest#homoscedasticT(org.apache.commons.math3.stat.descriptive.Statist…
85 …* @see org.apache.commons.math3.stat.inference.TTest#homoscedasticTTest(double[], double[], double)
95 * @see org.apache.commons.math3.stat.inference.TTest#homoscedasticTTest(double[], double[])
103 …mons.math3.stat.inference.TTest#homoscedasticTTest(org.apache.commons.math3.stat.descriptive.Stati…
112 * @see org.apache.commons.math3.stat.inference.TTest#pairedT(double[], double[])
121 * @see org.apache.commons.math3.stat.inference.TTest#pairedTTest(double[], double[], double)
131 * @see org.apache.commons.math3.stat.inference.TTest#pairedTTest(double[], double[])
[all …]
/aosp_15_r20/external/tensorflow/tensorflow/core/profiler/utils/
H A Dxplane_builder_test.cc44 *xplane_builder.GetOrCreateStatMetadata("bool stat"), kBoolStat); in TEST()
46 *xplane_builder.GetOrCreateStatMetadata("int32 stat"), kInt32Stat); in TEST()
48 *xplane_builder.GetOrCreateStatMetadata("int64 stat"), kInt64Stat); in TEST()
50 *xplane_builder.GetOrCreateStatMetadata("uint32 stat"), kUint32Stat); in TEST()
52 *xplane_builder.GetOrCreateStatMetadata("uint64 stat"), kUint64Stat); in TEST()
54 *xplane_builder.GetOrCreateStatMetadata("string stat"), kStringStat); in TEST()
56 *xplane_builder.GetOrCreateStatMetadata("float stat"), kFloatStat); in TEST()
58 *xplane_builder.GetOrCreateStatMetadata("double stat"), kDoubleStat); in TEST()
60 *xplane_builder.GetOrCreateStatMetadata("ref stat"), in TEST()
69 xevent.ForEachStat([&](const XStatVisitor& stat) { in TEST() argument
[all …]
H A Dxplane_builder.h49 // NOTE: A stat shouldn't have existed for the given metadata.
50 // Adds a stat for the given metadata and sets its value.
56 // Adds or finds a stat for the given metadata and sets its value.
62 // Adds a stat by copying a stat from another XPlane. Does not check if a stat
69 // Same as above but overrides an existing stat with the same metadata.
97 for (XStat& stat : *stats_owner_->mutable_stats()) { in ForEachStat()
98 for_each_stat(&stat); in ForEachStat()
103 for (auto& stat : *stats_owner_->mutable_stats()) { in GetStat()
104 if (stat.metadata_id() == stat_metadata.id()) { in GetStat()
105 return &stat; in GetStat()
[all …]
/aosp_15_r20/external/cronet/third_party/apache-portable-runtime/src/locks/unix/
H A Dthread_rwlock.c29 apr_status_t stat; in thread_rwlock_cleanup() local
31 stat = pthread_rwlock_destroy(&rwlock->rwlock); in thread_rwlock_cleanup()
33 if (stat) { in thread_rwlock_cleanup()
34 stat = errno; in thread_rwlock_cleanup()
37 return stat; in thread_rwlock_cleanup()
44 apr_status_t stat; in apr_thread_rwlock_create() local
49 if ((stat = pthread_rwlock_init(&new_rwlock->rwlock, NULL))) { in apr_thread_rwlock_create()
51 stat = errno; in apr_thread_rwlock_create()
53 return stat; in apr_thread_rwlock_create()
66 apr_status_t stat; in apr_thread_rwlock_rdlock() local
[all …]
/aosp_15_r20/build/soong/ui/terminal/
H A Dstatus_test.go30 calls func(stat status.StatusOutput)
97 stat := NewStatusOutput(smart, "", false, false, false)
98 tt.calls(stat)
99 stat.Flush()
108 stat := NewStatusOutput(simple, "", false, false, false)
109 tt.calls(stat)
110 stat.Flush()
119 stat := NewStatusOutput(smart, "", true, false, false)
120 tt.calls(stat)
121 stat.Flush()
[all …]
/aosp_15_r20/external/flatbuffers/tests/
H A Dmonster_test.grpc.fb.h38 …onst flatbuffers::grpc::Message<Monster>& request, flatbuffers::grpc::Message<Stat>* response) = 0;
39 …std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< flatbuffers::grpc::Message<Stat>>> As… in AsyncStore()
40 …r< ::grpc::ClientAsyncResponseReaderInterface< flatbuffers::grpc::Message<Stat>>>(AsyncStoreRaw(co… in AsyncStore()
42 …std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< flatbuffers::grpc::Message<Stat>>> Pr… in PrepareAsyncStore()
43 …r< ::grpc::ClientAsyncResponseReaderInterface< flatbuffers::grpc::Message<Stat>>>(PrepareAsyncStor… in PrepareAsyncStore()
45 …ster>>> Retrieve(::grpc::ClientContext* context, const flatbuffers::grpc::Message<Stat>& request) { in Retrieve()
48 …Retrieve(::grpc::ClientContext* context, const flatbuffers::grpc::Message<Stat>& request, ::grpc::… in AsyncRetrieve()
51 …Retrieve(::grpc::ClientContext* context, const flatbuffers::grpc::Message<Stat>& request, ::grpc::… in PrepareAsyncRetrieve()
54 …ter>>> GetMaxHitPoint(::grpc::ClientContext* context, flatbuffers::grpc::Message<Stat>* response) { in GetMaxHitPoint()
57 …GetMaxHitPoint(::grpc::ClientContext* context, flatbuffers::grpc::Message<Stat>* response, ::grpc:… in AsyncGetMaxHitPoint()
[all …]
H A Dmonster_test_generated.grpc.fb.h38 …onst flatbuffers::grpc::Message<Monster>& request, flatbuffers::grpc::Message<Stat>* response) = 0;
39 …std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< flatbuffers::grpc::Message<Stat>>> As… in AsyncStore()
40 …r< ::grpc::ClientAsyncResponseReaderInterface< flatbuffers::grpc::Message<Stat>>>(AsyncStoreRaw(co… in AsyncStore()
42 …std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< flatbuffers::grpc::Message<Stat>>> Pr… in PrepareAsyncStore()
43 …r< ::grpc::ClientAsyncResponseReaderInterface< flatbuffers::grpc::Message<Stat>>>(PrepareAsyncStor… in PrepareAsyncStore()
45 …ster>>> Retrieve(::grpc::ClientContext* context, const flatbuffers::grpc::Message<Stat>& request) { in Retrieve()
48 …Retrieve(::grpc::ClientContext* context, const flatbuffers::grpc::Message<Stat>& request, ::grpc::… in AsyncRetrieve()
51 …Retrieve(::grpc::ClientContext* context, const flatbuffers::grpc::Message<Stat>& request, ::grpc::… in PrepareAsyncRetrieve()
54 …ter>>> GetMaxHitPoint(::grpc::ClientContext* context, flatbuffers::grpc::Message<Stat>* response) { in GetMaxHitPoint()
57 …GetMaxHitPoint(::grpc::ClientContext* context, flatbuffers::grpc::Message<Stat>* response, ::grpc:… in AsyncGetMaxHitPoint()
[all …]
/aosp_15_r20/external/flatbuffers/tests/monster_test_suffix/filesuffix_only/
H A Dmonster_test.grpc.fb.h38 …onst flatbuffers::grpc::Message<Monster>& request, flatbuffers::grpc::Message<Stat>* response) = 0;
39 …std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< flatbuffers::grpc::Message<Stat>>> As… in AsyncStore()
40 …r< ::grpc::ClientAsyncResponseReaderInterface< flatbuffers::grpc::Message<Stat>>>(AsyncStoreRaw(co… in AsyncStore()
42 …std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< flatbuffers::grpc::Message<Stat>>> Pr… in PrepareAsyncStore()
43 …r< ::grpc::ClientAsyncResponseReaderInterface< flatbuffers::grpc::Message<Stat>>>(PrepareAsyncStor… in PrepareAsyncStore()
45 …ster>>> Retrieve(::grpc::ClientContext* context, const flatbuffers::grpc::Message<Stat>& request) { in Retrieve()
48 …Retrieve(::grpc::ClientContext* context, const flatbuffers::grpc::Message<Stat>& request, ::grpc::… in AsyncRetrieve()
51 …Retrieve(::grpc::ClientContext* context, const flatbuffers::grpc::Message<Stat>& request, ::grpc::… in PrepareAsyncRetrieve()
54 …ter>>> GetMaxHitPoint(::grpc::ClientContext* context, flatbuffers::grpc::Message<Stat>* response) { in GetMaxHitPoint()
57 …GetMaxHitPoint(::grpc::ClientContext* context, flatbuffers::grpc::Message<Stat>* response, ::grpc:… in AsyncGetMaxHitPoint()
[all …]
/aosp_15_r20/external/flatbuffers/tests/monster_test_suffix/
H A Dmonster_test.grpc.fb.h38 …onst flatbuffers::grpc::Message<Monster>& request, flatbuffers::grpc::Message<Stat>* response) = 0;
39 …std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< flatbuffers::grpc::Message<Stat>>> As… in AsyncStore()
40 …r< ::grpc::ClientAsyncResponseReaderInterface< flatbuffers::grpc::Message<Stat>>>(AsyncStoreRaw(co… in AsyncStore()
42 …std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< flatbuffers::grpc::Message<Stat>>> Pr… in PrepareAsyncStore()
43 …r< ::grpc::ClientAsyncResponseReaderInterface< flatbuffers::grpc::Message<Stat>>>(PrepareAsyncStor… in PrepareAsyncStore()
45 …ster>>> Retrieve(::grpc::ClientContext* context, const flatbuffers::grpc::Message<Stat>& request) { in Retrieve()
48 …Retrieve(::grpc::ClientContext* context, const flatbuffers::grpc::Message<Stat>& request, ::grpc::… in AsyncRetrieve()
51 …Retrieve(::grpc::ClientContext* context, const flatbuffers::grpc::Message<Stat>& request, ::grpc::… in PrepareAsyncRetrieve()
54 …ter>>> GetMaxHitPoint(::grpc::ClientContext* context, flatbuffers::grpc::Message<Stat>* response) { in GetMaxHitPoint()
57 …GetMaxHitPoint(::grpc::ClientContext* context, flatbuffers::grpc::Message<Stat>* response, ::grpc:… in AsyncGetMaxHitPoint()
[all …]
/aosp_15_r20/external/flatbuffers/tests/monster_test_suffix/ext_only/
H A Dmonster_test.grpc.fb.h38 …onst flatbuffers::grpc::Message<Monster>& request, flatbuffers::grpc::Message<Stat>* response) = 0;
39 …std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< flatbuffers::grpc::Message<Stat>>> As… in AsyncStore()
40 …r< ::grpc::ClientAsyncResponseReaderInterface< flatbuffers::grpc::Message<Stat>>>(AsyncStoreRaw(co… in AsyncStore()
42 …std::unique_ptr< ::grpc::ClientAsyncResponseReaderInterface< flatbuffers::grpc::Message<Stat>>> Pr… in PrepareAsyncStore()
43 …r< ::grpc::ClientAsyncResponseReaderInterface< flatbuffers::grpc::Message<Stat>>>(PrepareAsyncStor… in PrepareAsyncStore()
45 …ster>>> Retrieve(::grpc::ClientContext* context, const flatbuffers::grpc::Message<Stat>& request) { in Retrieve()
48 …Retrieve(::grpc::ClientContext* context, const flatbuffers::grpc::Message<Stat>& request, ::grpc::… in AsyncRetrieve()
51 …Retrieve(::grpc::ClientContext* context, const flatbuffers::grpc::Message<Stat>& request, ::grpc::… in PrepareAsyncRetrieve()
54 …ter>>> GetMaxHitPoint(::grpc::ClientContext* context, flatbuffers::grpc::Message<Stat>* response) { in GetMaxHitPoint()
57 …GetMaxHitPoint(::grpc::ClientContext* context, flatbuffers::grpc::Message<Stat>* response, ::grpc:… in AsyncGetMaxHitPoint()
[all …]
/aosp_15_r20/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DRcsStats.java393 SipDelegateStats stat = new SipDelegateStats(); in getDefaultSipDelegateStat() local
394 stat.dimension = RANDOM.nextInt(); in getDefaultSipDelegateStat()
395 stat.carrierId = getCarrierId(subId); in getDefaultSipDelegateStat()
396 stat.slotId = getSlotId(subId); in getDefaultSipDelegateStat()
397 return stat; in getDefaultSipDelegateStat()
884 /** Create a new atom when RCS client stat changed. */
900 /** Update or create new atom when RCS ACS stat changed. */
1257 * and in case of failure, the cached stat is deleted. in onUceEventStats()
1290 /** Update duration a created Ims Registration Desc Stat atom when Un publish event happened. */
1512 LastSipDelegateStat stat = null; in getLastSipDelegateStat() local
[all …]
/aosp_15_r20/external/toybox/toys/other/
H A Dstat.c1 /* stat.c : display file or file system status
5 USE_STAT(NEWTOY(stat, "<1c:(format)fLt", TOYFLAG_BIN))
7 config STAT
8 bool stat
11 usage: stat [-tfL] [-c FORMAT] FILE...
47 struct stat st;
49 } stat;
76 struct stat *stat = (struct stat *)&TT.stat; in print_stat() local
78 if (type == 'a') out('o', stat->st_mode&~S_IFMT); in print_stat()
82 mode_to_string(stat->st_mode, str); in print_stat()
[all …]
/aosp_15_r20/system/extras/simpleperf/doc/
H A Dexecutable_commands_reference.md15 Simpleperf has three main commands: stat, record and report.
17 The stat command gives a summary of how many events have happened in the profiled processes in a
48 The stat command: profiles processes and prints counter summary.
62 Below describes the most frequently used commands, which are list, stat, record and report.
90 ## The stat command
92 The stat command is used to get event counter values of the profiled processes. By passing options,
97 # Stat using default events (cpu-cycles,instructions,...), and monitor process 7394 for 10 seconds.
98 $ simpleperf stat -p 7394 --duration 10
114 ### Select events to stat
119 # Stat event cpu-cycles.
[all …]
/aosp_15_r20/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/inference/
H A DTestUtils.java17 package org.apache.commons.math.stat.inference;
21 import org.apache.commons.math.stat.descriptive.StatisticalSummary;
156 * @see org.apache.commons.math.stat.inference.TTest#homoscedasticT(double[], double[])
164 ….commons.math.stat.inference.TTest#homoscedasticT(org.apache.commons.math.stat.descriptive.Statist…
173 … * @see org.apache.commons.math.stat.inference.TTest#homoscedasticTTest(double[], double[], double)
182 * @see org.apache.commons.math.stat.inference.TTest#homoscedasticTTest(double[], double[])
190 …ommons.math.stat.inference.TTest#homoscedasticTTest(org.apache.commons.math.stat.descriptive.Stati…
199 * @see org.apache.commons.math.stat.inference.TTest#pairedT(double[], double[])
207 * @see org.apache.commons.math.stat.inference.TTest#pairedTTest(double[], double[], double)
216 * @see org.apache.commons.math.stat.inference.TTest#pairedTTest(double[], double[])
[all …]
/aosp_15_r20/external/flatbuffers/tests/MyGame/Example/
H A DMonsterStorageGrpc.java40 MyGame.Example.Stat> METHOD_STORE = getStoreMethod();
43 MyGame.Example.Stat> getStoreMethod;
59 private static volatile FlatbuffersUtils.FBExtactor<MyGame.Example.Stat> extractorOfStat;
60 private static FlatbuffersUtils.FBExtactor<MyGame.Example.Stat> getExtractorOfStat() { in getExtractorOfStat()
64 extractorOfStat = new FlatbuffersUtils.FBExtactor<MyGame.Example.Stat>() { in getExtractorOfStat()
65 public MyGame.Example.Stat extract (ByteBuffer buffer) { in getExtractorOfStat()
66 return MyGame.Example.Stat.getRootAsStat(buffer); in getExtractorOfStat()
75 MyGame.Example.Stat> getStoreMethod() { in getStoreMethod()
76 io.grpc.MethodDescriptor<MyGame.Example.Monster, MyGame.Example.Stat> getStoreMethod; in getStoreMethod()
81 io.grpc.MethodDescriptor.<MyGame.Example.Monster, MyGame.Example.Stat>newBuilder() in getStoreMethod()
[all …]
/aosp_15_r20/external/tensorflow/tensorflow/core/platform/cloud/
H A Dgcs_file_system_test.cc82 0 /* max bytes */, 0 /* max staleness */, 0 /* stat cache max age */, in TEST()
83 0 /* stat cache max entries */, 0 /* matching paths cache max age */, in TEST()
129 0 /* max bytes */, 0 /* max staleness */, 0 /* stat cache max age */, in TEST()
130 0 /* stat cache max entries */, 0 /* matching paths cache max age */, in TEST()
177 0 /* max bytes */, 0 /* max staleness */, 0 /* stat cache max age */, in TEST()
178 0 /* stat cache max entries */, 0 /* matching paths cache max age */, in TEST()
224 0 /* max bytes */, 0 /* max staleness */, 0 /* stat cache max age */, in TEST()
225 0 /* stat cache max entries */, 0 /* matching paths cache max age */, in TEST()
265 0 /* max bytes */, 0 /* max staleness */, 0 /* stat cache max age */, in TEST()
266 0 /* stat cache max entries */, 0 /* matching paths cache max age */, in TEST()
[all …]
/aosp_15_r20/frameworks/base/services/core/java/com/android/server/power/batterysaver/
H A DBatterySavingStats.java113 static class Stat { class in BatterySavingStats
169 final SparseArray<Stat> mStats = new SparseArray<>();
235 * @return {@link Stat} fo a given state.
238 Stat getStat(int stateIndex) { in getStat()
240 Stat stat = mStats.get(stateIndex); in getStat() local
241 if (stat == null) { in getStat()
242 stat = new Stat(); in getStat()
243 mStats.put(stateIndex, stat); in getStat()
245 return stat; in getStat()
250 * @return {@link Stat} fo a given state triplet.
[all …]
/aosp_15_r20/external/flatbuffers/grpc/tests/
H A DJavaGrpcTest.java19 import MyGame.Example.Stat;
54 public void store(Monster request, io.grpc.stub.StreamObserver<Stat> responseObserver) { in store()
60 Stat stat = GameFactory.createStat("Hello " + request.name(), 100, 10); in store() local
61 responseObserver.onNext(stat); in store()
66 public void retrieve(Stat request, io.grpc.stub.StreamObserver<Monster> responseObserver) { in retrieve()
76 public StreamObserver<Monster> getMaxHitPoint(final StreamObserver<Stat> responseObserver) { in getMaxHitPoint()
81 … public StreamObserver<Monster> getMinMaxHitPoints(final StreamObserver<Stat> responseObserver) { in getMinMaxHitPoints()
85 …private StreamObserver<Monster> computeMinMax(final StreamObserver<Stat> responseObserver, final b… in computeMinMax()
119Stat maxHpStat = GameFactory.createStat(maxHpMonsterName.get(), maxHp.get(), maxHpCount.get()); in computeMinMax()
124Stat minHpStat = GameFactory.createStat(minHpMonsterName.get(), minHp.get(), minHpCount.get()); in computeMinMax()
[all …]
/aosp_15_r20/external/chromium-trace/catapult/dependency_manager/dependency_manager/
H A Ddependency_manager_util_unittest.py7 import stat
31 os.chmod(self.read_only_path, stat.S_IRUSR)
36 os.chmod(self.writable_path, stat.S_IRUSR | stat.S_IWUSR)
41 os.chmod(self.executable_path, stat.S_IRWXU)
46 os.chmod(self.sub_read_only_path, stat.S_IRUSR)
51 os.chmod(self.sub_writable_path, stat.S_IRUSR | stat.S_IWUSR)
56 os.chmod(self.sub_executable_path, stat.S_IRWXU)
87 stat.S_IRUSR & stat.S_IMODE(os.stat(read_only_path).st_mode))
89 stat.S_IRUSR & stat.S_IMODE(os.stat(sub_read_only_path).st_mode))
91 stat.S_IRUSR & stat.S_IMODE(os.stat(writable_path).st_mode))
[all …]
/aosp_15_r20/bionic/tests/headers/posix/
H A Dsys_stat_h.c29 #include <sys/stat.h>
34 TYPE(struct stat); in sys_stat_h()
36 STRUCT_MEMBER(struct stat, unsigned long long, st_dev); in sys_stat_h()
38 STRUCT_MEMBER(struct stat, dev_t, st_dev); in sys_stat_h()
41 STRUCT_MEMBER(struct stat, unsigned long long, st_ino); in sys_stat_h()
43 STRUCT_MEMBER(struct stat, ino_t, st_ino); in sys_stat_h()
46 STRUCT_MEMBER(struct stat, unsigned int, st_mode); in sys_stat_h()
48 STRUCT_MEMBER(struct stat, mode_t, st_mode); in sys_stat_h()
52 STRUCT_MEMBER(struct stat, unsigned long, st_nlink); in sys_stat_h()
54 STRUCT_MEMBER(struct stat, nlink_t, st_nlink); in sys_stat_h()
[all …]
/aosp_15_r20/cts/tests/tests/os/src/android/os/cts/
H A DStatFsTest.java30 StatFs stat = new StatFs(path.getPath()); in testStatFs() local
32 assertTrue(stat.getBlockSize() > 0); in testStatFs()
33 assertTrue(stat.getBlockCount() > 0); in testStatFs()
34 assertTrue(stat.getFreeBlocks() >= stat.getAvailableBlocks()); in testStatFs()
35 assertTrue(stat.getAvailableBlocks() > 0); in testStatFs()
37 assertTrue(stat.getBlockSizeLong() > 0); in testStatFs()
38 assertTrue(stat.getBlockCountLong() > 0); in testStatFs()
39 assertTrue(stat.getFreeBlocksLong() >= stat.getAvailableBlocksLong()); in testStatFs()
40 assertTrue(stat.getAvailableBlocksLong() > 0); in testStatFs()
42 assertTrue(stat.getFreeBytes() > 0); in testStatFs()
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/rustix/src/
Dprocfs.rs25 SeekFrom, Stat, CWD, PROC_SUPER_MAGIC,
52 proc_stat: Option<&Stat>, in check_proc_entry() argument
53 ) -> io::Result<Stat> { in check_proc_entry() argument
58 /// Check a subdirectory of "/proc" for anomalies, using the provided `Stat`.
62 entry_stat: Stat, in check_proc_entry_with_stat() argument
63 proc_stat: Option<&Stat>, in check_proc_entry_with_stat() argument
64 ) -> io::Result<Stat> { in check_proc_entry_with_stat() argument
125 fn check_proc_root(entry: BorrowedFd<'_>, stat: &Stat) -> io::Result<()> { in check_proc_root()
128 assert_eq!(FileType::from_raw_mode(stat.st_mode), FileType::Directory); in check_proc_root()
131 if stat.st_ino != PROC_ROOT_INO { in check_proc_root()
[all …]
/aosp_15_r20/external/cronet/third_party/apache-portable-runtime/src/threadproc/unix/
H A Dthread.c43 apr_status_t stat; in apr_threadattr_create() local
47 stat = pthread_attr_init(&(*new)->attr); in apr_threadattr_create()
49 if (stat == 0) { in apr_threadattr_create()
55 stat = errno; in apr_threadattr_create()
58 return stat; in apr_threadattr_create()
70 apr_status_t stat; local
74 if ((stat = pthread_attr_setdetachstate(&attr->attr, &arg)) == 0) {
76 if ((stat = pthread_attr_setdetachstate(&attr->attr,
83 stat = errno;
86 return stat;
[all …]
/aosp_15_r20/hardware/interfaces/wifi/aidl/default/tests/
H A Daidl_struct_util_unit_tests.cpp142 link.stat.beacon_rx = rand(); in TEST_F()
144 link.stat.link_id = rand() % 16; in TEST_F()
145 link.stat.state = states[rand() % sizeof(states)]; in TEST_F()
147 link.stat.radio = rand() % 4; in TEST_F()
148 link.stat.frequency = rand(); in TEST_F()
150 link.stat.rssi_mgmt = (rand() % 128) * -1; in TEST_F()
151 link.stat.ac[legacy_hal::WIFI_AC_BE].rx_mpdu = rand(); in TEST_F()
152 link.stat.ac[legacy_hal::WIFI_AC_BE].tx_mpdu = rand(); in TEST_F()
153 link.stat.ac[legacy_hal::WIFI_AC_BE].mpdu_lost = rand(); in TEST_F()
154 link.stat.ac[legacy_hal::WIFI_AC_BE].retries = rand(); in TEST_F()
[all …]
/aosp_15_r20/frameworks/base/libs/hwui/service/
H A DGraphicsStatsService.cpp29 #include <sys/stat.h>
123 struct stat sb; in parseFromFile()
385 void mergeStat(const protos::GraphicsStatsProto& stat);
398 void GraphicsStatsService::Dump::mergeStat(const protos::GraphicsStatsProto& stat) { in mergeStat() argument
399 auto dumpKey = std::make_tuple(static_cast<uid_t>(stat.uid()), stat.package_name(), in mergeStat()
400 stat.version_code()); in mergeStat()
403 mStats[dumpKey] = stat; in mergeStat()
406 summary->set_total_frames(summary->total_frames() + stat.summary().total_frames()); in mergeStat()
407 summary->set_janky_frames(summary->janky_frames() + stat.summary().janky_frames()); in mergeStat()
409 stat.summary().missed_vsync_count()); in mergeStat()
[all …]

12345678910>>...677