Home
last modified time | relevance | path

Searched refs:Context (Results 1 – 25 of 94) 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()
59 bool Context::IsVndkliteConfig() const { in IsVndkliteConfig()
63 bool Context::IsRecoveryConfig() const { in IsRecoveryConfig()
67 bool Context::IsApexBinaryConfig() const { in IsApexBinaryConfig()
71 void Context::SetCurrentSection(SectionType section_type) { in SetCurrentSection()
[all …]
/system/linkerconfig/contents/include/linkerconfig/
Dnamespacebuilder.h31 typedef modules::Namespace NamespaceBuilder(const Context& ctx);
44 modules::Namespace BuildVndkNamespace(const Context& ctx,
47 modules::Namespace BuildArtNamespace(const Context& ctx,
51 modules::Namespace BuildApexDefaultNamespace(const Context& ctx,
56 void RegisterApexNamespaceBuilders(Context& ctx);
Dcontext.h29 class Context; variable
31 std::function<modules::Namespace(const Context&, const modules::ApexInfo&)>;
49 class Context : public modules::BaseContext {
51 Context() in Context() function
Dsectionbuilder.h26 android::linkerconfig::contents::Context& ctx);
29 android::linkerconfig::contents::Context& ctx,
35 modules::Section BuildSection(const Context& ctx, const std::string& name,
/system/linkerconfig/contents/tests/configuration/
Dbaseconfig_test.cc22 using android::linkerconfig::contents::Context;
28 Context ctx = GenerateContextWithVndk(); in TEST()
41 Context ctx = GenerateContextWithVndk(); in TEST()
53 Context ctx = GenerateContextWithVndk(); in TEST()
65 Context ctx = GenerateContextWithVndk(); in TEST()
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/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/linkerconfig/
Dmain.cc47 using android::linkerconfig::contents::Context;
183 Context GetContext(ProgramArgs args) { in GetContext()
185 Context ctx; in GetContext()
199 Configuration GetConfiguration(Context& ctx) { in GetConfiguration()
229 Result<void> GenerateBaseLinkerConfiguration(Context& ctx, in GenerateBaseLinkerConfiguration()
234 Result<void> GenerateRecoveryLinkerConfiguration(Context& ctx, in GenerateRecoveryLinkerConfiguration()
242 Result<void> GenerateLegacyLinkerConfiguration(Context& ctx, in GenerateLegacyLinkerConfiguration()
251 const std::string& base_dir, android::linkerconfig::contents::Context& ctx, in GenerateApexConfiguration()
264 void GenerateApexConfigurations(Context& ctx, const std::string& dir_path) { in GenerateApexConfigurations()
311 Context ctx = GetContext(args); 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) {
56 public SettingsUtil(Context context) { in SettingsUtil()
58 mLocationManager = (LocationManager) context.getSystemService(Context.LOCATION_SERVICE); in SettingsUtil()
/system/media/audio_utils/tests/
Dfifo_threads.cpp26 struct Context { struct
37 Context *context = (Context *) arg; in input_routine() argument
68 Context *context = (Context *) arg; in output_routine()
124 Context context; in main()
/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/tools/aidl/tests/java_app/src/android/aidl/tests/
DTestLogger.java22 import android.content.Context;
28 public TestLogger(Context context) { in TestLogger()
31 "test-client.log", Context.MODE_PRIVATE)); in TestLogger()
/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/apex/tests/sdkextensions/app-src/com/android/tests/apex/sdkextensions/
DReceiver.java20 import android.content.Context;
37 public void onReceive(Context context, Intent intent) { in onReceive()
/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/chre/java/test/settings/src/com/google/android/chre/test/setting/
DContextHubWifiSettingsTestExecutor.java20 import android.content.Context;
46 private final Context mContext = mInstrumentation.getTargetContext();
69 public void onReceive(Context context, Intent intent) {
/system/linkerconfig/contents/namespace/
Dnamespacebuilder.cc23 void RegisterApexNamespaceBuilders(Context& ctx) { in RegisterApexNamespaceBuilders()
/system/chre/doc/
Dnanoapp_clients.md7 from the host (application processor): (1) Java (above the Context Hub HAL, from
9 Context Hub HAL). Most clients, especially those with a UI component, should use
38 `Context.getSystemService(ContextHubManager.class)` - this will produce a
41 2. Retrieve a reference to a Context Hub via
58 interact with CHRE directly, beneath the Context Hub HAL, by using socket IPC as
/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