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.
LocalFolderBuildProvider
public
class
LocalFolderBuildProvider
extends StubBuildProvider
IBuildProvider
, który tworzy IFolderBuildInfo
na podstawie podanej lokalnej ścieżki
Podsumowanie
Konstruktory publiczne
LocalFolderBuildProvider
public LocalFolderBuildProvider ()
Metody publiczne
cleanUp
public void cleanUp (IBuildInfo info)
Usuń tymczasowe pliki kompilacji.
Parametry |
info |
IBuildInfo |
getBuild
public IBuildInfo getBuild ()
Pobierz dane dotyczące wersji, która jest testowana.
Zwroty |
IBuildInfo |
IBuildInfo dla wersji, która jest testowana, lub null , jeśli nie ma wersji do przetestowania |
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-26 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-26 UTC."],[],[],null,["# LocalFolderBuildProvider\n========================\n\n\n`\npublic\n\n\nclass\nLocalFolderBuildProvider\n`\n\n\n`\n\n\n`\n\n`\n\nextends `[StubBuildProvider](../../../../../../reference/tradefed/com/android/tradefed/build/StubBuildProvider.html)`\n\n\n`\n\n`\n\n\n`\n\n|---|---|-----------------------------------------------------|\n| java.lang.Object |||\n| ↳ | [com.android.tradefed.build.StubBuildProvider](../../../../../../reference/tradefed/com/android/tradefed/build/StubBuildProvider.html) ||\n| | ↳ | com.android.tradefed.build.LocalFolderBuildProvider |\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nA [IBuildProvider](../../../../../../reference/tradefed/com/android/tradefed/build/IBuildProvider.html) that constructs a [IFolderBuildInfo](../../../../../../reference/tradefed/com/android/tradefed/build/IFolderBuildInfo.html) based on a provided local\npath\n\nSummary\n-------\n\n| ### Public constructors ||\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ` `[LocalFolderBuildProvider](../../../../../../reference/tradefed/com/android/tradefed/build/LocalFolderBuildProvider.html#LocalFolderBuildProvider())`() ` |\n\n| ### Public methods ||\n|--------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ` void` | ` `[cleanUp](../../../../../../reference/tradefed/com/android/tradefed/build/LocalFolderBuildProvider.html#cleanUp(com.android.tradefed.build.IBuildInfo))`(`[IBuildInfo](../../../../../../reference/tradefed/com/android/tradefed/build/IBuildInfo.html)` info) ` Clean up any temporary build files. |\n| ` `[IBuildInfo](../../../../../../reference/tradefed/com/android/tradefed/build/IBuildInfo.html) | ` `[getBuild](../../../../../../reference/tradefed/com/android/tradefed/build/LocalFolderBuildProvider.html#getBuild())`() ` Retrieve the data for build under test. |\n\nPublic constructors\n-------------------\n\n### LocalFolderBuildProvider\n\n```\npublic LocalFolderBuildProvider ()\n```\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nPublic methods\n--------------\n\n### cleanUp\n\n```\npublic void cleanUp (IBuildInfo info)\n```\n\nClean up any temporary build files.\n\n\u003cbr /\u003e\n\n| Parameters ||\n|--------|---------------------|\n| `info` | `IBuildInfo` \u003cbr /\u003e |\n\n### getBuild\n\n```\npublic IBuildInfo getBuild ()\n```\n\nRetrieve the data for build under test.\n\n\u003cbr /\u003e\n\n| Returns ||\n|-----------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [IBuildInfo](../../../../../../reference/tradefed/com/android/tradefed/build/IBuildInfo.html) | the [IBuildInfo](../../../../../../reference/tradefed/com/android/tradefed/build/IBuildInfo.html) for build under test or `null` if no build is available for testing \u003cbr /\u003e |\n\n| Throws ||\n|-----------------------------------------------------------------------------------------------------------------|---|\n| [BuildRetrievalError](../../../../../../reference/tradefed/com/android/tradefed/build/BuildRetrievalError.html) | |"]]