Home
last modified time | relevance | path

Searched refs:Context (Results 1 – 25 of 159) 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);
56 void AddVendorSubdirNamespaceProviders(const Context& ctx,
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.rs26 use anyhow::Context as AnyhowContext;
96 pub enum Context { enum
103 impl PartialEq for Context { implementation
111 impl Eq for Context {} implementation
113 impl fmt::Display for Context { implementation
119 impl Drop for Context { implementation
130 impl Deref for Context { implementation
141 impl Context { impl
155 fn lookup(&self, key: &str) -> Result<Context>; in lookup() argument
200 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()
90 Context ctx; in TEST()
Dapexconfig_test.cc30 using android::linkerconfig::contents::Context;
59 android::linkerconfig::contents::Context ctx; in TEST_F()
71 android::linkerconfig::contents::Context ctx; in TEST_F()
87 android::linkerconfig::contents::Context ctx; in TEST_F()
108 android::linkerconfig::contents::Context ctx; in TEST_F()
128 android::linkerconfig::contents::Context ctx; in TEST_F()
158 Context ctx; in TEST_F()
178 Context ctx; in TEST_F()
Drecovery_test.cc22 using android::linkerconfig::contents::Context;
28 Context ctx; in TEST()
Dlegacy_test.cc22 using android::linkerconfig::contents::Context;
28 Context ctx; in TEST()
/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/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/linkerconfig/contents/namespace/
Dvendordefault.cc35 Namespace BuildVendorDefaultNamespace(const Context& ctx) { in BuildVendorDefaultNamespace()
39 Namespace BuildVendorNamespace([[maybe_unused]] const Context& ctx, in BuildVendorNamespace()
71 static Namespace BuildVendorSubdirNamespace(const Context&, in BuildVendorSubdirNamespace() argument
89 void AddVendorSubdirNamespaceProviders(const Context& ctx, in AddVendorSubdirNamespaceProviders()
Dproductdefault.cc31 Namespace BuildProductDefaultNamespace(const Context& ctx) { in BuildProductDefaultNamespace()
35 Namespace BuildProductNamespace(const Context& ctx, const std::string& name) { in BuildProductNamespace()
/system/linkerconfig/
Dmain.cc50 using android::linkerconfig::contents::Context;
206 Context GetContext(const ProgramArgs& args) { in GetContext()
207 Context ctx; in GetContext()
278 Configuration GetConfiguration(Context& ctx) { in GetConfiguration()
309 Result<void> GenerateBaseLinkerConfiguration(Context& ctx, in GenerateBaseLinkerConfiguration()
314 Result<void> GenerateRecoveryLinkerConfiguration(Context& ctx, in GenerateRecoveryLinkerConfiguration()
323 android::linkerconfig::contents::Context& ctx, in GenerateApexConfiguration()
342 android::linkerconfig::contents::Context& ctx, const std::string& apex_name, in GenerateApexConfiguration()
356 void GenerateApexConfigurations(Context& ctx, const std::string& dir_path) { in GenerateApexConfigurations()
365 void GenerateApexLibrariesConfig(Context& ctx, const std::string& dir_path) { in GenerateApexLibrariesConfig()
[all …]
/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/SimpleperfExampleJava/app/src/androidTest/java/simpleperf/example/java/
DExampleInstrumentedTest.java3 import android.content.Context;
23 Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); in useAppContext()
/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/boottime_tools/bootanalyze/stressfs/src/com/android/car/test/stressfs/
DWritingActivity.java20 import android.content.Context;
59 Context.BIND_AUTO_CREATE); in onCreate()
/system/chre/
Dchre_flags.aconfig56 description: "Reconnect host endpoints of ContextHubService after Context Hub HAL restarts."
88 description: "Enable duplicate detection for reliable messages in the Context Hub Service"
95 description: "Enable retries for reliable messages in the Context Hub Service"
102 description: "Enables test mode behaviors in the Context Hub Service for reliable messages"
/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
461 pub fn test_getcon() -> Result<Context> { in test_getcon()
462 Context::new("u:object_r:keystore:s0") in test_getcon()
482 fn check_context() -> Result<(selinux::Context, i32, bool)> { in check_context()
497 let system_server_ctx = Context::new("u:r:system_server:s0")?; in check_keystore_permission_test()
506 let shell_ctx = Context::new("u:r:shell:s0")?; in check_keystore_permission_test()
521 let system_server_ctx = Context::new("u:r:system_server:s0")?; in check_grant_permission_app()
522 let shell_ctx = Context::new("u:r:shell:s0")?; in check_grant_permission_app()
564 &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()
/system/extras/profcollectd/libprofcollectd/
Dreport.rs26 use uuid::v1::{Context, Timestamp};
36 pub static UUID_CONTEXT: Context = Context::new(0);

1234567