Home
last modified time | relevance | path

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

1234

/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 void Context::SetCurrentSection(SectionType section_type) { in SetCurrentSection()
70 std::string Context::GetSystemNamespaceName() const { in GetSystemNamespaceName()
[all …]
/system/linkerconfig/contents/include/linkerconfig/
Dnamespacebuilder.h31 typedef modules::Namespace NamespaceBuilder(const Context& ctx);
45 modules::Namespace BuildVndkNamespace(const Context& ctx,
48 modules::Namespace BuildArtNamespace(const Context& ctx,
52 modules::Namespace BuildApexDefaultNamespace(const Context& ctx,
57 void RegisterApexNamespaceBuilders(Context& ctx);
Dcontext.h29 class Context; variable
31 std::function<modules::Namespace(const Context&, const modules::ApexInfo&)>;
48 class Context : public modules::BaseContext {
50 Context() in Context() function
Dsectionbuilder.h27 android::linkerconfig::contents::Context& ctx);
30 android::linkerconfig::contents::Context& ctx,
37 modules::Section BuildSection(const Context& ctx, const std::string& name,
Drecovery.h24 modules::Configuration CreateRecoveryConfiguration(Context& ctx);
Dbaseconfig.h24 modules::Configuration CreateBaseConfiguration(Context& ctx);
Dlegacy.h24 modules::Configuration CreateLegacyConfiguration(Context& ctx);
/system/linkerconfig/contents/tests/configuration/
Dbaseconfig_test.cc22 using android::linkerconfig::contents::Context;
29 Context ctx = GenerateContextWithVndk(); in TEST()
42 Context ctx = GenerateContextWithVndk(); in TEST()
54 Context ctx = GenerateContextWithVndk(); in TEST()
66 Context ctx; in TEST()
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()
Dapexconfig_test.cc52 android::linkerconfig::contents::Context ctx; in TEST_F()
64 android::linkerconfig::contents::Context ctx; in TEST_F()
/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/netd/server/
DMDnsSdListener.h56 class Context {
61 Context(int refNumber, MDnsSdListener *m) { in Context() function
66 ~Context() { in ~Context()
75 DNSServiceRef *allocateServiceRef(int id, Context *c);
89 Element(int id, Context* context) : mId(id), mContext(context) {} in Element()
95 Context *mContext;
DMDnsSdListener.cpp76 Context *context = new Context(requestId, mListener); in discover()
106 MDnsSdListener::Context *context = reinterpret_cast<MDnsSdListener::Context *>(inContext); in MDnsSdListenerDiscoverCallback()
168 Context *context = new Context(requestId, mListener); in serviceRegister()
199 MDnsSdListener::Context *context = reinterpret_cast<MDnsSdListener::Context *>(inContext); in MDnsSdListenerRegisterCallback()
224 Context *context = new Context(requestId, mListener); in resolveService()
254 MDnsSdListener::Context *context = reinterpret_cast<MDnsSdListener::Context *>(inContext); in MDnsSdListenerResolveCallback()
290 Context *context = new Context(requestId, mListener); in getAddrInfo()
319 MDnsSdListener::Context *context = reinterpret_cast<MDnsSdListener::Context *>(inContext); in MDnsSdListenerGetAddrInfoCallback()
350 Context *context = new Context(requestId, mListener); in setHostname()
376 MDnsSdListener::Context *context = reinterpret_cast<MDnsSdListener::Context *>(inContext); in MDnsSdListenerSetHostnameCallback()
[all …]
/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.cc49 using android::linkerconfig::contents::Context;
186 Context GetContext(ProgramArgs args) { in GetContext()
188 Context ctx; in GetContext()
202 Configuration GetConfiguration(Context& ctx) { in GetConfiguration()
232 Result<void> GenerateBaseLinkerConfiguration(Context& ctx, in GenerateBaseLinkerConfiguration()
237 Result<void> GenerateRecoveryLinkerConfiguration(Context& ctx, in GenerateRecoveryLinkerConfiguration()
246 const std::string& base_dir, android::linkerconfig::contents::Context& ctx, in GenerateApexConfiguration()
259 void GenerateApexConfigurations(Context& ctx, const std::string& dir_path) { in GenerateApexConfigurations()
270 void GenerateJniConfig(Context& ctx, const std::string& dir_path) { in GenerateJniConfig()
328 Context ctx = GetContext(args); in main()
/system/extras/simpleperf/demo/SimpleperfExamplePureJava/app/src/androidTest/java/com/example/simpleperf/simpleperfexamplepurejava/
DExampleInstrumentedTest.java5 import android.content.Context;
23 Context appContext = InstrumentationRegistry.getTargetContext(); in useAppContext()
/system/extras/simpleperf/demo/SimpleperfExampleWithNative/app/src/androidTest/java/com/example/simpleperf/simpleperfexamplewithnative/
DExampleInstrumentedTest.java5 import android.content.Context;
23 Context appContext = InstrumentationRegistry.getTargetContext(); in useAppContext()
/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/boottime_tools/bootanalyze/stressfs/src/com/android/car/test/stressfs/
DWritingActivity.java20 import android.content.Context;
59 Context.BIND_AUTO_CREATE); in onCreate()
/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/simpleperf/demo/SimpleperfExamplePureJava/app/src/main/java/com/example/simpleperf/simpleperfexamplepurejava/
DMultiProcessActivity.java4 import android.content.Context;
27 Context.BIND_AUTO_CREATE); in onCreate()
/system/linkerconfig/contents/tests/configuration/include/
Dmockenv.h68 inline android::linkerconfig::contents::Context GenerateContextWithVndk() { in GenerateContextWithVndk()
72 android::linkerconfig::contents::Context ctx; in GenerateContextWithVndk()
/system/linkerconfig/contents/namespace/
Dnamespacebuilder.cc23 void RegisterApexNamespaceBuilders(Context& ctx) { in RegisterApexNamespaceBuilders()
/system/extras/power_profile/gps_on/Application/src/main/java/com/example/android/powerprofile/gpson/
DGpsActivity.java20 import android.content.Context;
67 mLocationManager = (LocationManager) this.getSystemService(Context.LOCATION_SERVICE); in initLocation()

1234