Home
last modified time | relevance | path

Searched refs:Namespace (Results 1 – 25 of 96) sorted by relevance

1234

/aosp12/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
H A DLocalSocketAddress_NamespaceTest.java19 import android.net.LocalSocketAddress.Namespace;
25 assertEquals(Namespace.ABSTRACT, Namespace.valueOf("ABSTRACT")); in testValueOf()
26 assertEquals(Namespace.RESERVED, Namespace.valueOf("RESERVED")); in testValueOf()
27 assertEquals(Namespace.FILESYSTEM, Namespace.valueOf("FILESYSTEM")); in testValueOf()
31 Namespace[] expected = Namespace.values(); in testValues()
32 assertEquals(Namespace.ABSTRACT, expected[0]); in testValues()
33 assertEquals(Namespace.RESERVED, expected[1]); in testValues()
34 assertEquals(Namespace.FILESYSTEM, expected[2]); in testValues()
H A DLocalSocketAddressTest.java20 import android.net.LocalSocketAddress.Namespace;
29 assertEquals(Namespace.ABSTRACT, localSocketAddress.getNamespace()); in testNewLocalSocketAddressWithDefaultNamespace()
33 new LocalSocketAddress("name2", Namespace.ABSTRACT); in testNewLocalSocketAddressWithDefaultNamespace()
35 assertEquals(Namespace.ABSTRACT, localSocketAddress2.getNamespace()); in testNewLocalSocketAddressWithDefaultNamespace()
38 new LocalSocketAddress("name3", Namespace.FILESYSTEM); in testNewLocalSocketAddressWithDefaultNamespace()
40 assertEquals(Namespace.FILESYSTEM, localSocketAddress3.getNamespace()); in testNewLocalSocketAddressWithDefaultNamespace()
43 new LocalSocketAddress("name4", Namespace.RESERVED); in testNewLocalSocketAddressWithDefaultNamespace()
45 assertEquals(Namespace.RESERVED, localSocketAddress4.getNamespace()); in testNewLocalSocketAddressWithDefaultNamespace()
/aosp12/build/soong/android/
H A Dnamespace.go36 items []*Namespace
75 rootNamespace *Namespace
87 namespaceExportFilter func(*Namespace) bool
147 return mapVal.(*Namespace), true
235 …r) getNamespacesToSearchForModule(sourceNamespace blueprint.Namespace) (searchOrder []*Namespace) { argument
236 ns, ok := sourceNamespace.(*Namespace)
347 type Namespace struct { struct
354 visibleNamespaces []*Namespace argument
363 func NewNamespace(path string) *Namespace {
367 var _ blueprint.Namespace = (*Namespace)(nil)
[all …]
/aosp12/system/linkerconfig/modules/tests/
H A Dsection_test.cc97 std::vector<Namespace> namespaces; in TEST()
115 std::vector<Namespace> namespaces; in TEST()
126 std::vector<Namespace> namespaces; in TEST()
127 Namespace& foo = namespaces.emplace_back("foo"); in TEST()
130 Namespace& bar = namespaces.emplace_back("bar"); in TEST()
132 Namespace& baz = namespaces.emplace_back("baz"); in TEST()
156 std::vector<Namespace> namespaces; in TEST()
161 Namespace& bar = namespaces.emplace_back("bar"); in TEST()
174 std::vector<Namespace> namespaces; in TEST()
188 std::vector<Namespace> namespaces; in TEST()
[all …]
H A Dmodules_testbase.h22 inline Namespace CreateNamespaceWithPaths(const std::string& name, in CreateNamespaceWithPaths()
24 Namespace ns(name, is_isolated, is_visible); in CreateNamespaceWithPaths()
33 inline Namespace CreateNamespaceWithLinks(const std::string& name, in CreateNamespaceWithLinks()
37 Namespace ns = CreateNamespaceWithPaths(name, is_isolated, is_visible); in CreateNamespaceWithLinks()
/aosp12/build/blueprint/
H A Dname_interface.go42 type Namespace interface { interface
43 namespace(Namespace)
48 func (m *NamespaceMarker) namespace(Namespace) { argument
55 …NewModule(ctx NamespaceContext, group ModuleGroup, module Module) (namespace Namespace, err []erro…
58 ModuleFromName(moduleName string, namespace Namespace) (group ModuleGroup, found bool)
62 MissingDependencyError(depender string, dependerNamespace Namespace, depName string) (err error)
65 Rename(oldName string, newName string, namespace Namespace) []error
71 GetNamespace(ctx NamespaceContext) (namespace Namespace)
121 func (s *SimpleNameInterface) ModuleFromName(moduleName string, namespace Namespace) (group ModuleG… argument
126 func (s *SimpleNameInterface) Rename(oldName string, newName string, namespace Namespace) (errs []e… argument
[all …]
/aosp12/system/linkerconfig/modules/
H A Dnamespace.cc30 const android::linkerconfig::modules::Namespace& ns) { in VerifyIfApexNamespaceContainsAllSharedLink()
55 void InitializeWithApex(Namespace& ns, const ApexInfo& apex_info) { in InitializeWithApex()
70 Link& Namespace::GetLink(const std::string& target_namespace) { in GetLink()
79 void Namespace::WriteConfig(ConfigWriter& writer) { in WriteConfig()
116 void Namespace::AddSearchPath(const std::string& path) { in AddSearchPath()
125 void Namespace::AddPermittedPath(const std::string& path) { in AddPermittedPath()
134 void Namespace::AddAllowedLib(const std::string& path) { in AddAllowedLib()
138 std::string Namespace::GetName() const { in GetName()
142 bool Namespace::RequiresAsanPath(const std::string& path) { in RequiresAsanPath()
146 const std::string Namespace::CreateAsanPath(const std::string& path) { in CreateAsanPath()
[all …]
/aosp12/frameworks/base/core/java/android/net/
H A DLocalSocketAddress.java32 public enum Namespace { enum in LocalSocketAddress
47 Namespace (int id) { in Namespace() method in LocalSocketAddress.Namespace
60 private final Namespace namespace;
68 public LocalSocketAddress(String name, Namespace namespace) { in LocalSocketAddress()
80 this(name,Namespace.ABSTRACT); in LocalSocketAddress()
97 public Namespace getNamespace() { in getNamespace()
/aosp12/system/linkerconfig/modules/include/linkerconfig/
H A Dnamespace.h32 class Namespace {
34 explicit Namespace(std::string name, bool is_isolated = false,
41 Namespace(const Namespace& ns) = delete;
42 Namespace(Namespace&& ns) = default;
43 Namespace& operator=(Namespace&& ns) = default;
128 void InitializeWithApex(Namespace& ns, const ApexInfo& apex_info);
H A Dsection.h44 std::function<Namespace()> ns_builder;
52 Section(std::string name, std::vector<Namespace> namespaces) in Section()
65 Namespace* GetNamespace(const std::string& namespace_name);
76 std::vector<Namespace> namespaces_;
/aosp12/system/linkerconfig/contents/include/linkerconfig/
H A Dnamespacebuilder.h31 typedef modules::Namespace NamespaceBuilder(const Context& ctx);
45 modules::Namespace BuildVndkNamespace(const Context& ctx,
49 modules::Namespace BuildApexDefaultNamespace(const Context& ctx,
51 modules::Namespace BuildApexEmptyDefaultNamespace(
/aosp12/system/linkerconfig/contents/namespace/
H A Dsystemdefault.cc26 using android::linkerconfig::modules::Namespace;
32 void SetupSystemPermittedPaths(Namespace* ns) { in SetupSystemPermittedPaths()
86 Namespace BuildSystemDefaultNamespace([[maybe_unused]] const Context& ctx) {
93 Namespace ns("default",
H A Drecoverydefault.cc21 using android::linkerconfig::modules::Namespace;
26 Namespace BuildRecoveryDefaultNamespace([[maybe_unused]] const Context& ctx) {
27 Namespace ns("default");
H A Disolateddefault.cc22 using android::linkerconfig::modules::Namespace;
27 Namespace BuildIsolatedDefaultNamespace([[maybe_unused]] const Context& ctx) {
28 Namespace ns("default", /*is_isolated=*/true, /*is_visible=*/false);
H A Dpostinstall.cc19 using android::linkerconfig::modules::Namespace;
24 Namespace BuildPostInstallNamespace([[maybe_unused]] const Context& ctx) {
25 Namespace ns("default", /*is_isolated=*/false,
H A Dapexemptydefault.cc23 using android::linkerconfig::modules::Namespace;
28 Namespace BuildApexEmptyDefaultNamespace([[maybe_unused]] const Context& ctx,
30 Namespace ns("default", /*is_isolated=*/true, /*is_visible=*/false);
H A Dapexdefault.cc26 using android::linkerconfig::modules::Namespace;
31 Namespace BuildApexDefaultNamespace([[maybe_unused]] const Context& ctx,
33 Namespace ns("default", /*is_isolated=*/true, /*is_visible=*/false);
H A Dunrestricteddefault.cc23 using android::linkerconfig::modules::Namespace;
28 Namespace BuildUnrestrictedDefaultNamespace([[maybe_unused]] const Context& ctx) {
29 Namespace ns("default", /*is_isolated=*/false, /*is_visible=*/true);
H A Dsystem.cc25 using android::linkerconfig::modules::Namespace;
30 Namespace BuildSystemNamespace([[maybe_unused]] const Context& ctx) {
31 Namespace ns("system", /*is_isolated=*/false, /*is_visible=*/false);
H A Dapexplatform.cc28 using android::linkerconfig::modules::Namespace;
33 Namespace BuildApexPlatformNamespace([[maybe_unused]] const Context& ctx) {
34 Namespace ns("system", /*is_isolated=*/true, /*is_visible=*/true);
H A Dproductdefault.cc23 using android::linkerconfig::modules::Namespace;
28 Namespace BuildProductDefaultNamespace([[maybe_unused]] const Context& ctx) {
29 Namespace ns("default", /*is_isolated=*/true, /*is_visible=*/true);
H A Drs.cc24 using android::linkerconfig::modules::Namespace;
29 Namespace BuildRsNamespace([[maybe_unused]] const Context& ctx) {
30 Namespace ns(
/aosp12/system/linkerconfig/contents/tests/configuration/include/
H A Dmodules.h23 struct Namespace;
26 Namespace *from, *to;
31 struct Namespace { struct
46 std::map<std::string, Namespace> namespaces; argument
/aosp12/frameworks/base/keystore/java/android/security/keystore2/
H A DAndroidKeyStoreLoadStoreParameter.java29 private final @KeyProperties.Namespace int mNamespace;
31 public AndroidKeyStoreLoadStoreParameter(@KeyProperties.Namespace int namespace) { in AndroidKeyStoreLoadStoreParameter()
40 @KeyProperties.Namespace int getNamespace() { in getNamespace()
/aosp12/system/extras/perf2cfg/
H A Dperf2cfg.py32 def parse_arguments() -> argparse.Namespace:
86 def analyze_record_files(args: argparse.Namespace) -> analyze.RecordAnalyzer: argument
103 args: argparse.Namespace) -> None: argument
122 args: argparse.Namespace) -> None: argument

1234