Home
last modified time | relevance | path

Searched refs:ns (Results 1 – 25 of 300) sorted by relevance

12345678910>>...12

/aosp12/frameworks/native/libs/input/tests/
H A DVelocityTracker_test.cpp519 { 920980765511ns, {{671.31, 994.68}} }, in TEST_F()
520 { 920980906000ns, {{672.00, 993.00}} }, in TEST_F()
521 { 920989261000ns, {{715.00, 903.00}} }, in TEST_F()
650 { 170983201000ns, {{557.00, 533.00}} }, in TEST_F()
651 { 171000668000ns, {{556.00, 534.00}} }, in TEST_F()
652 { 171007359750ns, {{554.73, 535.27}} }, in TEST_F()
653 { 171011197000ns, {{554.00, 536.00}} }, in TEST_F()
654 { 171017660000ns, {{552.00, 540.00}} }, in TEST_F()
655 { 171024201831ns, {{549.97, 544.73}} }, in TEST_F()
656 { 171027333000ns, {{549.00, 547.00}} }, in TEST_F()
[all …]
/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/
H A DVsyncConfigurationTest.cpp67 EXPECT_EQ(offsets.late.sfWorkDuration, 10'500'000ns); in TEST_F()
68 EXPECT_EQ(offsets.late.appWorkDuration, 20'500'000ns); in TEST_F()
73 EXPECT_EQ(offsets.early.sfWorkDuration, 16'000'000ns); in TEST_F()
74 EXPECT_EQ(offsets.early.appWorkDuration, 16'500'000ns); in TEST_F()
92 EXPECT_EQ(offsets.late.sfWorkDuration, 10'500'000ns); in TEST_F()
93 EXPECT_EQ(offsets.late.appWorkDuration, 20'500'000ns); in TEST_F()
98 EXPECT_EQ(offsets.early.sfWorkDuration, 16'000'000ns); in TEST_F()
99 EXPECT_EQ(offsets.early.appWorkDuration, 16'500'000ns); in TEST_F()
130 EXPECT_EQ(offsets.hwcMinWorkDuration, 0ns); in TEST_F()
151 EXPECT_EQ(offsets.late.sfWorkDuration, 10'500'000ns); in TEST_F()
[all …]
/aosp12/frameworks/rs/tests/java_api/Refocus/dataExtraction/
H A DN5.txt9 …9:27:06.465 20903-20903/com.example.xinyiwang.refocus D/RefocusFilterd1new﹕ Initialize: 7692709 ns
10 …209 20903-20903/com.example.xinyiwang.refocus D/RefocusFilterd1new﹕ UnpackInputImage: 744708645 ns
15 …7:07.387 20903-20903/com.example.xinyiwang.refocus D/RefocusFilterd1new﹕ MarkLayerMask: 4345677 ns
24 …7:10.008 20903-20903/com.example.xinyiwang.refocus D/RefocusFilterd1new﹕ MarkLayerMask: 4137918 ns
33 …27:12.212 20903-20903/com.example.xinyiwang.refocus D/RefocusFilterd1new﹕ MarkLayerMask: 636667 ns
42 …27:13.680 20903-20903/com.example.xinyiwang.refocus D/RefocusFilterd1new﹕ MarkLayerMask: 645729 ns
50 …7:14.138 20903-20903/com.example.xinyiwang.refocus D/RefocusFilterd1new﹕ MarkLayerMask: 3115521 ns
58 …7:15.690 20903-20903/com.example.xinyiwang.refocus D/RefocusFilterd1new﹕ MarkLayerMask: 4180729 ns
83 …9:27:28.015 20903-20903/com.example.xinyiwang.refocus D/RefocusFilterd1new﹕ Initialize: 8358281 ns
155 …9:29:39.781 20903-20903/com.example.xinyiwang.refocus D/RefocusFilterd1new﹕ Initialize: 2504999 ns
[all …]
/aosp12/system/linkerconfig/contents/namespace/
H A Dsphal.cc37 Namespace ns("sphal", variable
40 ns.AddSearchPath("/odm/${LIB}");
41 ns.AddSearchPath("/vendor/${LIB}");
42 ns.AddSearchPath("/vendor/${LIB}/egl");
43 ns.AddSearchPath("/vendor/${LIB}/hw");
45 ns.AddPermittedPath("/odm/${LIB}");
46 ns.AddPermittedPath("/vendor/${LIB}");
52 ns.AddSearchPath("/system/${LIB}");
53 ns.AddPermittedPath("/system/${LIB}");
72 ns.GetLink("vndk").AddSharedLib(
[all …]
H A Dvndk.cc50 Namespace ns(name,
72 ns.AddSearchPath(lib_path + "/vndk-sp");
74 ns.AddSearchPath(lib_path + "/vndk");
83 ns.AddPermittedPath("/odm/${LIB}/hw");
84 ns.AddPermittedPath("/odm/${LIB}/egl");
85 ns.AddPermittedPath("/vendor/${LIB}/hw");
97 ns.AddSearchPath(lib_path);
103 ns.GetLink(ctx.GetSystemNamespaceName())
106 ns.GetLink(ctx.GetSystemNamespaceName())
112 ns.GetLink("vndk_in_system")
[all …]
H A Drs.cc30 Namespace ns( variable
33 ns.AddSearchPath("/odm/${LIB}/vndk-sp");
34 ns.AddSearchPath("/vendor/${LIB}/vndk-sp");
37 ns.AddSearchPath("/odm/${LIB}");
38 ns.AddSearchPath("/vendor/${LIB}");
40 ns.AddPermittedPath("/odm/${LIB}");
41 ns.AddPermittedPath("/vendor/${LIB}");
42 ns.AddPermittedPath("/system/vendor/${LIB}");
43 ns.AddPermittedPath("/data");
47 ns.GetLink(ctx.GetSystemNamespaceName())
[all …]
H A Dvendordefault.cc34 ns.AddSearchPath("/odm/${LIB}");
35 ns.AddSearchPath("/vendor/${LIB}");
36 ns.AddSearchPath("/vendor/${LIB}/hw");
37 ns.AddSearchPath("/vendor/${LIB}/egl");
39 ns.AddPermittedPath("/odm");
40 ns.AddPermittedPath("/vendor");
41 ns.AddPermittedPath("/system/vendor");
43 ns.GetLink(ctx.GetSystemNamespaceName())
49 ns.GetLink("vndk_in_system")
53 ns.AddRequires(std::vector{"libneuralnetworks.so"});
[all …]
H A Dsystemdefault.cc32 void SetupSystemPermittedPaths(Namespace* ns) { in SetupSystemPermittedPaths() argument
78 ns->AddPermittedPath(path); in SetupSystemPermittedPaths()
93 Namespace ns("default", variable
97 ns.AddSearchPath("/system/${LIB}");
98 ns.AddSearchPath(system_ext + "/${LIB}");
102 ns.AddSearchPath(product + "/${LIB}");
105 ns.AddSearchPath("/vendor/${LIB}");
106 ns.AddSearchPath("/odm/${LIB}");
110 SetupSystemPermittedPaths(&ns);
113 ns.AddRequires(ctx.GetSystemRequireLibs());
[all …]
H A Dvndkinsystem.cc39 Namespace ns("vndk_in_system", variable
44 ns.AddSearchPath("/system/${LIB}");
45 ns.AddSearchPath(Var("SYSTEM_EXT") + "/${LIB}");
47 ns.AddSearchPath(Var("PRODUCT") + "/${LIB}");
51 ns.AddAllowedLib(Var("VNDK_USING_CORE_VARIANT_LIBRARIES"));
60 ns.GetLink(ctx.GetSystemNamespaceName())
63 ns.GetLink(ctx.GetSystemNamespaceName())
66 ns.GetLink("vndk").AllowAllSharedLibs();
67 ns.AddRequires(std::vector{"libneuralnetworks.so"});
69 return ns;
H A Dunrestricteddefault.cc29 Namespace ns("default", /*is_isolated=*/false, /*is_visible=*/true); variable
31 ns.AddSearchPath("/system/${LIB}");
32 ns.AddSearchPath(Var("SYSTEM_EXT") + "/${LIB}");
33 ns.AddSearchPath("/odm/${LIB}");
34 ns.AddSearchPath("/vendor/${LIB}");
35 ns.AddSearchPath(Var("PRODUCT") + "/${LIB}");
37 ns.AddRequires(ctx.GetSystemRequireLibs());
38 ns.AddProvides(ctx.GetSystemProvideLibs());
39 return ns;
H A Dsystem.cc31 Namespace ns("system", /*is_isolated=*/false, /*is_visible=*/false); variable
32 ns.AddSearchPath("/system/${LIB}");
33 ns.AddSearchPath(Var("SYSTEM_EXT") + "/${LIB}");
35 ns.AddSearchPath(Var("PRODUCT") + "/${LIB}");
38 SetupSystemPermittedPaths(&ns);
40 ns.AddRequires(ctx.GetSystemRequireLibs());
41 ns.AddProvides(ctx.GetSystemProvideLibs());
42 return ns;
H A Dapexplatform.cc34 Namespace ns("system", /*is_isolated=*/true, /*is_visible=*/true); variable
36 ns.AddSearchPath("/system/${LIB}");
37 ns.AddSearchPath(Var("SYSTEM_EXT") + "/${LIB}");
39 ns.AddSearchPath(Var("PRODUCT") + "/${LIB}");
42 SetupSystemPermittedPaths(&ns);
44 ns.AddProvides(ctx.GetSystemProvideLibs());
45 ns.AddRequires(ctx.GetSystemRequireLibs());
47 return ns;
H A Dproductdefault.cc29 Namespace ns("default", /*is_isolated=*/true, /*is_visible=*/true); variable
31 ns.AddSearchPath(Var("PRODUCT", "product") + "/${LIB}");
32 ns.AddPermittedPath(Var("PRODUCT", "product"));
34 ns.GetLink(ctx.GetSystemNamespaceName())
37 ns.GetLink("vndk").AddSharedLib({Var("VNDK_SAMEPROCESS_LIBRARIES_PRODUCT"),
40 ns.GetLink("vndk_in_system")
43 ns.AddRequires(std::vector{
46 return ns;
/aosp12/system/linkerconfig/modules/
H A Dsection.cc58 for (auto& ns : namespaces_) { in WriteConfig() local
59 ns.WriteConfig(writer); in WriteConfig()
75 for (auto& ns : namespaces_) { in Resolve() local
81 ns.GetName(), in Resolve()
84 providers[lib] = ns.GetName(); in Resolve()
98 for (auto& ns : namespaces_) { in Resolve() local
99 if (ns.GetName() == name) { in Resolve()
122 auto& ns = *iter; in Resolve() local
138 ns.GetLink(it->second.ns).AddSharedLib(it->second.shared_libs); in Resolve()
153 for (auto& ns : namespaces_) { in GetNamespace() local
[all …]
H A Dnamespace.cc31 auto apex_name = ns.GetApexSource(); in VerifyIfApexNamespaceContainsAllSharedLink()
37 const auto& links = ns.Links(); in VerifyIfApexNamespaceContainsAllSharedLink()
43 ns.GetName()); in VerifyIfApexNamespaceContainsAllSharedLink()
56 ns.AddSearchPath(apex_info.path + "/${LIB}"); in InitializeWithApex()
57 ns.AddPermittedPath(apex_info.path + "/${LIB}"); in InitializeWithApex()
58 ns.AddPermittedPath("/system/${LIB}"); in InitializeWithApex()
60 ns.AddPermittedPath(permitted_path); in InitializeWithApex()
63 ns.AddPermittedPath("/apex"); in InitializeWithApex()
65 ns.AddProvides(apex_info.provide_libs); in InitializeWithApex()
66 ns.AddRequires(apex_info.require_libs); in InitializeWithApex()
[all …]
/aosp12/art/libnativeloader/
H A Dnative_loader.cpp106 if (!ns.ok()) { in GetNativeloaderExtraLibsNamespace()
107 return ns.error(); in GetNativeloaderExtraLibsNamespace()
133 if (!ns.ok()) { in TryLoadNativeloaderExtraLib()
134 return ns.error(); in TryLoadNativeloaderExtraLib()
156 if (!ns.ok()) { in CreateClassLoaderNamespaceLocked()
157 return ns; in CreateClassLoaderNamespaceLocked()
163 return ns; in CreateClassLoaderNamespaceLocked()
199 if (!ns.ok()) { in CreateClassLoaderNamespace()
257 NativeLoaderNamespace* ns; in OpenNativeLibrary() local
275 ns = *isolated_ns; in OpenNativeLibrary()
[all …]
/aosp12/system/linkerconfig/modules/tests/
H A Dnamespace_test.cc85 ns.WriteConfig(writer); in TEST()
96 ns.WriteConfig(writer); in TEST()
105 ns.AddAllowedLib("allowed_libs_path1"); in TEST()
106 ns.AddAllowedLib("allowed_libs_path2"); in TEST()
107 ns.WriteConfig(writer); in TEST()
117 Namespace ns("test_namespace"); in TEST() local
119 ns.GetLink(link).AddSharedLib("lib"); in TEST()
123 ns.WriteConfig(writer); in TEST()
135 Namespace ns("test_namespace"); in TEST() local
136 ns.SetApexSource("com.android.test"); in TEST()
[all …]
H A Dmodules_testbase.h24 Namespace ns(name, is_isolated, is_visible); in CreateNamespaceWithPaths()
25 ns.AddSearchPath("/search_path1"); in CreateNamespaceWithPaths()
26 ns.AddSearchPath("/apex/search_path2"); in CreateNamespaceWithPaths()
27 ns.AddPermittedPath("/permitted_path1"); in CreateNamespaceWithPaths()
28 ns.AddPermittedPath("/apex/permitted_path2"); in CreateNamespaceWithPaths()
30 return ns; in CreateNamespaceWithPaths()
37 Namespace ns = CreateNamespaceWithPaths(name, is_isolated, is_visible); in CreateNamespaceWithLinks() local
38 auto& link = ns.GetLink(target_1); in CreateNamespaceWithLinks()
41 ns.GetLink(target_2).AllowAllSharedLibs(); in CreateNamespaceWithLinks()
42 return ns; in CreateNamespaceWithLinks()
/aosp12/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
H A DTetheringInterfaceUtils.java42 public static @Nullable InterfaceSet getTetheringInterfaces(UpstreamNetworkState ns) { in getTetheringInterfaces() argument
43 if (ns == null) { in getTetheringInterfaces()
47 final LinkProperties lp = ns.linkProperties; in getTetheringInterfaces()
49 final String if6 = getIPv6Interface(ns); in getTetheringInterfaces()
58 public static @Nullable String getIPv6Interface(UpstreamNetworkState ns) { in getIPv6Interface() argument
74 (ns != null) && (ns.network != null) in getIPv6Interface()
75 && (ns.linkProperties != null) && (ns.networkCapabilities != null) in getIPv6Interface()
77 && ns.linkProperties.hasIpv6DnsServer() in getIPv6Interface()
79 && ns.linkProperties.hasGlobalIpv6Address() in getIPv6Interface()
81 && ns.networkCapabilities.hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR); in getIPv6Interface()
[all …]
H A DUpstreamNetworkMonitor.java322 return typeStatePair.ns; in selectPreferredUpstreamType()
415 mNetworkMap.put(network, ns); in updateLinkProperties()
416 return ns; in updateLinkProperties()
421 if (ns != null) { in handleLinkProp()
456 if (ns == null) { in maybeHandleNetworkSwitch()
590 public UpstreamNetworkState ns = null; field in UpstreamNetworkMonitor.TypeStatePair
616 result.ns = value; in findFirstAvailableUpstreamByType()
638 return (ns != null) && isCellular(ns.networkCapabilities); in isCellular()
647 return (ns != null) && (ns.networkCapabilities != null) in hasCapability()
652 return (ns != null) && (ns.networkCapabilities != null) && (ns.linkProperties != null) in isNetworkUsableAndNotCellular()
[all …]
/aosp12/frameworks/av/media/libnbaio/
H A DMonoPipe.cpp91 uint32_t ns; in write() local
103 ns = written * ( 500000000 / Format_sampleRate(mFormat)); in write()
121 ns = count * (1350000000 / Format_sampleRate(mFormat)); in write()
123 if (ns > 999999999) { in write()
124 ns = 999999999; in write()
140 if ((long) ns > nsec) { in write()
141 ns -= nsec; in write()
143 ns = 0; in write()
147 if (ns > 0) { in write()
148 const struct timespec req = {0, static_cast<long>(ns)}; in write()
[all …]
/aosp12/bionic/libc/dns/resolv/
H A Dres_send.c226 int ns; in res_ourserver_p() local
231 for (ns = 0; ns < statp->nscount; ns++) { in res_ourserver_p()
244 for (ns = 0; ns < statp->nscount; ns++) { in res_ourserver_p()
401 for (ns = 0; ns < statp->nscount; ns++) { in res_nsend()
434 for (ns = 0; ns < statp->nscount; ns++) { in res_nsend()
462 for (ns = 0; ns < lastns; ns++) { in res_nsend()
466 statp->nsaddr_list[ns] = statp->nsaddr_list[ns + 1]; in res_nsend()
467 EXT(statp).nssocks[ns] = EXT(statp).nssocks[ns + 1]; in res_nsend()
468 EXT(statp).nstimes[ns] = EXT(statp).nstimes[ns + 1]; in res_nsend()
488 for (ns = 0; ns < statp->nscount; ns++) { in res_nsend()
[all …]
/aosp12/system/linkerconfig/contents/tests/configuration/include/
H A Dconfigurationtest.h25 inline void TraverseLink(const Namespace& ns, std::unordered_set<std::string>& visible_ns) { in TraverseLink() argument
26 if (visible_ns.count(ns.name) != 0) { in TraverseLink()
30 visible_ns.insert(ns.name); in TraverseLink()
32 for (auto& [_, link] : ns.links) { in TraverseLink()
39 for (auto& [_, ns] : section.namespaces) { in ValidateAllNamespacesAreVisible()
40 if (ns.name == "default" || ns.is_visible) { in ValidateAllNamespacesAreVisible()
41 TraverseLink(ns, visible_ns); in ValidateAllNamespacesAreVisible()
45 for (auto& [_, ns] : section.namespaces) { in ValidateAllNamespacesAreVisible()
46 EXPECT_EQ(1u, visible_ns.count(ns.name)) in ValidateAllNamespacesAreVisible()
47 << "Namespace " << ns.name << " is not visible from section " << section.name; in ValidateAllNamespacesAreVisible()
/aosp12/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
H A DFullScoreTest.kt65 val ns = FullScore(50, 0L /* policy */, KEEP_CONNECTED_NONE) regex
66 assertEquals(10, ns.legacyInt) // -40 penalty for not being validated
67 assertEquals(50, ns.legacyIntAsValidated)
75 val validatedNs = ns.withPolicies(validated = true)
79 val chosenNs = ns.withPolicies(onceChosen = true)
112 val ns = FullScore(50, 0L /* policy */, KEEP_CONNECTED_NONE) regex
113 assertFalse(ns.hasPolicy(POLICY_IS_VALIDATED))
114 assertFalse(ns.hasPolicy(POLICY_IS_VPN))
115 assertFalse(ns.hasPolicy(POLICY_EVER_USER_SELECTED))
116 assertFalse(ns.hasPolicy(POLICY_ACCEPT_UNVALIDATED))
[all …]
/aosp12/bionic/benchmarks/
H A DREADME.md118 BM_stdlib_strtoll 27.7 ns 27.7 ns 25290525
119 BM_stdlib_strtoll 27.7 ns 27.7 ns 25290525
120 BM_stdlib_strtoll 27.7 ns 27.7 ns 25290525
121 BM_stdlib_strtoll 27.8 ns 27.7 ns 25290525
122 BM_stdlib_strtoll_mean 27.7 ns 27.7 ns 4
123 BM_stdlib_strtoll_median 27.7 ns 27.7 ns 4
124 BM_stdlib_strtoll_stddev 0.023 ns 0.023 ns 4
152 BM_stdlib_strtoll 64.2 ns 63.6 ns 11017493
159 BM_stdlib_strtoll 21.8 ns 21.7 ns 33167103
169 BM_stdlib_strtoll 64.3 ns 63.6 ns 10998697
[all …]

12345678910>>...12