/aosp12/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
H A D | LocalSocketAddress_NamespaceTest.java | 19 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 D | LocalSocketAddressTest.java | 20 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 D | namespace.go | 36 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 D | section_test.cc | 97 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 D | modules_testbase.h | 22 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 D | name_interface.go | 42 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 D | namespace.cc | 30 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 D | LocalSocketAddress.java | 32 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 D | namespace.h | 32 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 D | section.h | 44 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 D | namespacebuilder.h | 31 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 D | systemdefault.cc | 26 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 D | recoverydefault.cc | 21 using android::linkerconfig::modules::Namespace; 26 Namespace BuildRecoveryDefaultNamespace([[maybe_unused]] const Context& ctx) { 27 Namespace ns("default");
|
H A D | isolateddefault.cc | 22 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 D | postinstall.cc | 19 using android::linkerconfig::modules::Namespace; 24 Namespace BuildPostInstallNamespace([[maybe_unused]] const Context& ctx) { 25 Namespace ns("default", /*is_isolated=*/false,
|
H A D | apexemptydefault.cc | 23 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 D | apexdefault.cc | 26 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 D | unrestricteddefault.cc | 23 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 D | system.cc | 25 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 D | apexplatform.cc | 28 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 D | productdefault.cc | 23 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 D | rs.cc | 24 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 D | modules.h | 23 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 D | AndroidKeyStoreLoadStoreParameter.java | 29 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 D | perf2cfg.py | 32 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
|