Home
last modified time | relevance | path

Searched refs:Context (Results 1 – 25 of 157) sorted by relevance

1234567

/system/linkerconfig/contents/context/
Dcontext.cc34 bool Context::IsSystemSection() const { in IsSystemSection()
38 bool Context::IsVendorSection() const { in IsVendorSection()
42 bool Context::IsProductSection() const { in IsProductSection()
46 bool Context::IsUnrestrictedSection() const { in IsUnrestrictedSection()
50 bool Context::IsDefaultConfig() const { in IsDefaultConfig()
54 bool Context::IsLegacyConfig() const { in IsLegacyConfig()
58 bool Context::IsRecoveryConfig() const { in IsRecoveryConfig()
62 bool Context::IsApexBinaryConfig() const { in IsApexBinaryConfig()
66 const ApexInfo& Context::GetCurrentApex() const { in GetCurrentApex()
71 void Context::SetCurrentSection(SectionType section_type) { in SetCurrentSection()
[all …]
/system/linkerconfig/contents/include/linkerconfig/
Dnamespacebuilder.h27 typedef modules::Namespace NamespaceBuilder(const Context& ctx);
41 modules::Namespace BuildVendorNamespace(const Context& ctx,
43 modules::Namespace BuildProductNamespace(const Context& ctx,
46 modules::Namespace BuildVndkNamespace(const Context& ctx,
50 modules::Namespace BuildApexDefaultNamespace(const Context& ctx,
53 const Context& ctx, const modules::ApexInfo& apex_info);
Dsectionbuilder.h28 android::linkerconfig::contents::Context& ctx);
31 android::linkerconfig::contents::Context& ctx,
38 modules::Section BuildSection(const Context& ctx, const std::string& name,
52 std::vector<modules::LibProvider> GetVndkProvider(const Context& ctx,
Dcommon.h37 void AddStandardSystemLinks(const Context& ctx, modules::Section* section);
40 void AddLlndkLibraries(const Context& ctx, modules::Namespace* ns,
Dcontext.h41 class Context : public modules::BaseContext {
43 Context() in Context() function
/system/security/keystore2/selinux/src/
Dlib.rs23 use anyhow::Context as AnyhowContext;
93 pub enum Context { enum
100 impl PartialEq for Context { implementation
108 impl Eq for Context {} implementation
110 impl fmt::Display for Context { implementation
116 impl Drop for Context { implementation
127 impl Deref for Context { implementation
138 impl Context { implementation
152 fn lookup(&self, key: &str) -> Result<Context>; in lookup() argument
196 fn lookup(&self, key: &str) -> Result<Context> { in lookup() argument
[all …]
/system/linkerconfig/contents/tests/configuration/
Dbaseconfig_test.cc22 using android::linkerconfig::contents::Context;
29 Context ctx; in TEST()
43 Context ctx; in TEST()
56 Context ctx; in TEST()
69 Context ctx; in TEST()
88 Context ctx; in TEST()
Dapexconfig_test.cc30 using android::linkerconfig::contents::Context;
60 android::linkerconfig::contents::Context ctx; in TEST_F()
72 android::linkerconfig::contents::Context ctx; in TEST_F()
88 android::linkerconfig::contents::Context ctx; in TEST_F()
109 android::linkerconfig::contents::Context ctx; in TEST_F()
129 android::linkerconfig::contents::Context ctx; in TEST_F()
159 Context ctx; in TEST_F()
179 Context ctx; in TEST_F()
Dlegacy_test.cc22 using android::linkerconfig::contents::Context;
28 Context ctx; in TEST()
Drecovery_test.cc22 using android::linkerconfig::contents::Context;
28 Context ctx; in TEST()
/system/netd/server/
DMDnsSdListener.h55 class Context {
59 Context(int refNumber) { mRefNumber = refNumber; } in Context() function
61 ~Context() { in ~Context()
88 DNSServiceRef *allocateServiceRef(int id, Context *c);
102 Element(int id, Context* context) : mId(id), mContext(context) {} in Element()
108 Context *mContext;
DMDnsSdListener.cpp83 Context* context = new Context(requestId); in discover()
109 MDnsSdListener::Context *context = reinterpret_cast<MDnsSdListener::Context *>(inContext); in MDnsSdListenerDiscoverCallback()
169 Context* context = new Context(requestId); in serviceRegister()
197 MDnsSdListener::Context* context = reinterpret_cast<MDnsSdListener::Context*>(inContext); in MDnsSdListenerRegisterCallback()
229 Context* context = new Context(requestId); in resolveService()
256 MDnsSdListener::Context* context = reinterpret_cast<MDnsSdListener::Context*>(inContext); in MDnsSdListenerResolveCallback()
292 Context* context = new Context(requestId); in getAddrInfo()
319 MDnsSdListener::Context *context = reinterpret_cast<MDnsSdListener::Context *>(inContext); in MDnsSdListenerGetAddrInfoCallback()
550 DNSServiceRef *MDnsSdListener::Monitor::allocateServiceRef(int id, Context *context) { in allocateServiceRef()
/system/extras/power_profile/camera_avg/Application/src/main/java/com/example/android/powerprofile/cameraavg/
DAutoFitTextureView.java19 import android.content.Context;
31 public AutoFitTextureView(Context context) { in AutoFitTextureView()
35 public AutoFitTextureView(Context context, AttributeSet attrs) { in AutoFitTextureView()
39 public AutoFitTextureView(Context context, AttributeSet attrs, int defStyle) { in AutoFitTextureView()
/system/media/audio_utils/tests/
Dfifo_threads.cpp27 struct Context { struct
38 Context *context = (Context *) arg; in input_routine() argument
69 Context *context = (Context *) arg; in output_routine()
125 Context context; in main()
/system/linkerconfig/
Dmain.cc50 using android::linkerconfig::contents::Context;
193 Context GetContext(const ProgramArgs& args) { in GetContext()
194 Context ctx; in GetContext()
252 Configuration GetConfiguration(Context& ctx) { in GetConfiguration()
283 Result<void> GenerateBaseLinkerConfiguration(Context& ctx, in GenerateBaseLinkerConfiguration()
288 Result<void> GenerateRecoveryLinkerConfiguration(Context& ctx, in GenerateRecoveryLinkerConfiguration()
297 android::linkerconfig::contents::Context& ctx, in GenerateApexConfiguration()
316 android::linkerconfig::contents::Context& ctx, const std::string& apex_name, in GenerateApexConfiguration()
330 void GenerateApexConfigurations(Context& ctx, const std::string& dir_path) { in GenerateApexConfigurations()
339 void GenerateApexLibrariesConfig(Context& ctx, const std::string& dir_path) { in GenerateApexLibrariesConfig()
[all …]
/system/chre/java/test/utils/src/com/google/android/utils/chre/
DSettingsUtil.java20 import android.content.Context;
37 private final Context mContext;
48 public void onReceive(Context context, Intent intent) {
61 public void onReceive(Context context, Intent intent) {
69 public SettingsUtil(Context context) { in SettingsUtil()
71 mLocationManager = (LocationManager) context.getSystemService(Context.LOCATION_SERVICE); in SettingsUtil()
/system/core/toolbox/
Dgetprop.cpp34 Context, enumerator
60 if (result_type == ResultType::Context) { in PrintAllProperties()
78 case ResultType::Context: { in PrintProperty()
130 result_type = ResultType::Context; in getprop_main()
/system/extras/simpleperf/demo/SimpleperfExampleCpp/app/src/androidTest/java/simpleperf/example/cpp/
DExampleInstrumentedTest.java3 import android.content.Context;
23 Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); in useAppContext()
/system/extras/simpleperf/demo/SimpleperfExampleJava/app/src/androidTest/java/simpleperf/example/java/
DExampleInstrumentedTest.java3 import android.content.Context;
23 Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); in useAppContext()
/system/extras/boottime_tools/bootanalyze/stressfs/src/com/android/car/test/stressfs/
DWritingActivity.java20 import android.content.Context;
59 Context.BIND_AUTO_CREATE); in onCreate()
/system/linkerconfig/contents/namespace/
Dproductdefault.cc31 Namespace BuildProductDefaultNamespace(const Context& ctx) { in BuildProductDefaultNamespace()
35 Namespace BuildProductNamespace(const Context& ctx, const std::string& name) { in BuildProductNamespace()
Dvendordefault.cc32 Namespace BuildVendorDefaultNamespace(const Context& ctx) { in BuildVendorDefaultNamespace()
36 Namespace BuildVendorNamespace([[maybe_unused]] const Context& ctx, in BuildVendorNamespace()
/system/security/keystore2/src/
Dpermission.rs27 use anyhow::Context as AnyhowContext;
48 fn lookup_keystore2_key_context(namespace: i64) -> anyhow::Result<selinux::Context> { in lookup_keystore2_key_context() argument
464 pub fn test_getcon() -> Result<Context> { in test_getcon()
465 Context::new("u:object_r:keystore:s0") in test_getcon()
485 fn check_context() -> Result<(selinux::Context, i32, bool)> { in check_context()
500 let system_server_ctx = Context::new("u:r:system_server:s0")?; in check_keystore_permission_test()
510 let shell_ctx = Context::new("u:r:shell:s0")?; in check_keystore_permission_test()
526 let system_server_ctx = Context::new("u:r:system_server:s0")?; in check_grant_permission_app()
527 let shell_ctx = Context::new("u:r:shell:s0")?; in check_grant_permission_app()
569 &selinux::Context::new("ignored").unwrap(), in check_key_permission_domain_grant()
[all …]
/system/linkerconfig/contents/common/
Dsystem_links.cc44 void AddStandardSystemLinks(const Context& ctx, Section* section) { in AddStandardSystemLinks()
64 void AddLlndkLibraries(const Context& ctx, Namespace* ns, in AddLlndkLibraries()
/system/extras/power_profile/camera_flashlight/Application/src/main/java/com/example/android/powerprofile/cameraflashlight/
DFlashlightActivity.java20 import android.content.Context;
35 mCameraManager = (CameraManager) getSystemService(Context.CAMERA_SERVICE); in onCreate()

1234567