Od 27 marca 2025 r. zalecamy używanie android-latest-release
zamiast aosp-main
do kompilowania i wspołtworzenia AOSP. Więcej informacji znajdziesz w artykule o zmianach w AOSP.
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Odwołania do struktury FlpDeviceContextInterface
#include <
fused_location.h
>
Rozszerzony interfejs do obsługi kontekstu urządzenia.
Definicja w wierszu
507
pliku
fused_location.h
.
int(* inject_device_context)(uint32_t enabledMask)
|
Wstrzykuje dane debugowania do podsystemu FLP. Zwraca 0 w przypadku powodzenia i -1 w przypadku błędu.
Definicja w wierszu
515
w pliku
fused_location.h
.
Dokumentacja tego typu danych została wygenerowana z tego pliku:
Treść strony i umieszczone na niej fragmenty kodu podlegają licencjom opisanym w Licencji na treści. Java i OpenJDK są znakami towarowymi lub zastrzeżonymi znakami towarowymi należącymi do firmy Oracle lub jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-27 UTC.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2025-07-27 UTC."],[],[],null,["# Android Hardware Abstraction Layer: FlpDeviceContextInterface Struct Reference\n\nFlpDeviceContextInterface Struct Reference\n==========================================\n\n[Data Fields](#pub-attribs) \nFlpDeviceContextInterface Struct Reference \n\n`\n#include \u003c\n`[fused_location.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/fused_location.h)`\n\u003e\n`\n\n|--------|---------------------------------------------------------------------------------------------------------------------------------------|\n| Data Fields ----------- ||\n| size_t | [size](/reference/hal/struct_flp_device_context_interface#a854352f53b148adc24983a58a1866d66) |\n| ||\n| int(\\* | [inject_device_context](/reference/hal/struct_flp_device_context_interface#a774313ab08b82cf8e7c98c923ff962c6) )(uint32_t enabledMask) |\n| ||\n\n\nDetailed Description\n--------------------\n\n\nExtended interface for device context support.\n\n\nDefinition at line\n[507](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/fused_location.h)\nof file\n[fused_location.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/fused_location.h)\n.\n\nField Documentation\n-------------------\n\n\n|-----------------------------------------------------|\n| int(\\* inject_device_context)(uint32_t enabledMask) |\n\n\nInjects debug data into the FLP subsystem. Return 0 on success, -1 on error.\n\n\nDefinition at line\n[515](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/fused_location.h)\nof file\n[fused_location.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/fused_location.h)\n.\n\n|-------------|\n| size_t size |\n\n\nset to sizeof(FlpDeviceContextInterface)\n\n\nDefinition at line\n[509](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/fused_location.h)\nof file\n[fused_location.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/fused_location.h)\n.\n\n*** ** * ** ***\n\nThe documentation for this struct was generated from the following file:\n\n- hardware/libhardware/include/hardware/ [fused_location.h](https://android.googlesource.com/platform/hardware/libhardware/+/master/include/hardware/fused_location.h)"]]