/frameworks/base/tools/aapt2/ |
D | LoadedApk.h | 43 class LoadedApk { 45 virtual ~LoadedApk() = default; 48 static std::unique_ptr<LoadedApk> LoadApkFromPath(const ::android::StringPiece& path, 52 static std::unique_ptr<LoadedApk> LoadProtoApkFromFileCollection( 56 static std::unique_ptr<LoadedApk> LoadBinaryApkFromFileCollection( 59 LoadedApk(const Source& source, std::unique_ptr<io::IFileCollection> apk, in LoadedApk() function 117 DISALLOW_COPY_AND_ASSIGN(LoadedApk);
|
D | LoadedApk.cpp | 75 std::unique_ptr<LoadedApk> LoadedApk::LoadApkFromPath(const StringPiece& path, IDiagnostics* diag) { in LoadApkFromPath() 96 std::unique_ptr<LoadedApk> LoadedApk::LoadProtoApkFromFileCollection( in LoadProtoApkFromFileCollection() 150 return util::make_unique<LoadedApk>(source, std::move(collection), std::move(table), in LoadProtoApkFromFileCollection() 154 std::unique_ptr<LoadedApk> LoadedApk::LoadBinaryApkFromFileCollection( in LoadBinaryApkFromFileCollection() 193 return util::make_unique<LoadedApk>(source, std::move(collection), std::move(table), in LoadBinaryApkFromFileCollection() 197 bool LoadedApk::WriteToArchive(IAaptContext* context, const TableFlattenerOptions& options, in WriteToArchive() 203 bool LoadedApk::WriteToArchive(IAaptContext* context, ResourceTable* split_table, in WriteToArchive() 304 std::unique_ptr<xml::XmlResource> LoadedApk::LoadXml(const std::string& file_path, in LoadXml()
|
/frameworks/base/tools/aapt2/cmd/ |
D | Dump.h | 46 Maybe<std::string> GetPackageName(LoadedApk* apk) { in GetPackageName() 62 virtual int Dump(LoadedApk* apk) = 0; 72 auto loaded_apk = LoadedApk::LoadApkFromPath(apk, diag_); in Action() 131 int Dump(LoadedApk* apk) override { in Dump() 146 int Dump(LoadedApk* apk) override; 156 int Dump(LoadedApk* apk) override; 166 int Dump(LoadedApk* apk) override { in Dump() 180 int Dump(LoadedApk* apk) override; 192 int Dump(LoadedApk* apk) override; 208 int Dump(LoadedApk* apk) override; [all …]
|
D | Diff.cpp | 98 static bool EmitResourceConfigValueDiff(IAaptContext* context, LoadedApk* apk_a, in EmitResourceConfigValueDiff() 101 LoadedApk* apk_b, ResourceTablePackage* pkg_b, in EmitResourceConfigValueDiff() 119 static bool EmitResourceEntryDiff(IAaptContext* context, LoadedApk* apk_a, in EmitResourceEntryDiff() 121 ResourceEntry* entry_a, LoadedApk* apk_b, in EmitResourceEntryDiff() 154 static bool EmitResourceTypeDiff(IAaptContext* context, LoadedApk* apk_a, in EmitResourceTypeDiff() 156 LoadedApk* apk_b, ResourceTablePackage* pkg_b, in EmitResourceTypeDiff() 223 static bool EmitResourcePackageDiff(IAaptContext* context, LoadedApk* apk_a, in EmitResourcePackageDiff() 224 ResourceTablePackage* pkg_a, LoadedApk* apk_b, in EmitResourcePackageDiff() 288 static bool EmitResourceTableDiff(IAaptContext* context, LoadedApk* apk_a, LoadedApk* apk_b) { in EmitResourceTableDiff() 364 std::unique_ptr<LoadedApk> apk_a = LoadedApk::LoadApkFromPath(args[0], diag); in Action() [all …]
|
D | Link_test.cpp | 46 std::unique_ptr<LoadedApk> apk = LoadedApk::LoadApkFromPath(out_apk, &diag); in TEST_F() 72 std::unique_ptr<LoadedApk> apk = LoadedApk::LoadApkFromPath(out_apk, &diag); in TEST_F() 105 std::unique_ptr<LoadedApk> apk = LoadedApk::LoadApkFromPath(out_apk, &diag); in TEST_F() 153 std::unique_ptr<LoadedApk> apk = LoadedApk::LoadApkFromPath(out_apk, &diag); in TEST_F() 207 std::unique_ptr<LoadedApk> apk = LoadedApk::LoadApkFromPath(out_apk, &diag); in TEST_F() 249 std::unique_ptr<LoadedApk> apk = LoadedApk::LoadApkFromPath(out_apk, &diag); in TEST_F()
|
D | Dump.cpp | 228 int DumpConfigsCommand::Dump(LoadedApk* apk) { in Dump() 259 int DumpPackageNameCommand::Dump(LoadedApk* apk) { in Dump() 269 int DumpStringsCommand::Dump(LoadedApk* apk) { in Dump() 285 int DumpStyleParentCommand::Dump(LoadedApk* apk) { in Dump() 310 int DumpTableCommand::Dump(LoadedApk* apk) { in Dump() 330 int DumpXmlStringsCommand::Dump(LoadedApk* apk) { in Dump() 386 int DumpXmlTreeCommand::Dump(LoadedApk* apk) { in Dump() 397 int DumpOverlayableCommand::Dump(LoadedApk* apk) { in Dump()
|
D | Convert_test.cpp | 56 std::unique_ptr<LoadedApk> apk = LoadedApk::LoadApkFromPath(out_convert_apk, &diag); in TEST_F() 94 std::unique_ptr<LoadedApk> apk = LoadedApk::LoadApkFromPath(out_convert_apk, &diag); in TEST_F()
|
D | Optimize.cpp | 131 int Run(std::unique_ptr<LoadedApk> apk) { in Run() 350 bool ExtractAppDataFromManifest(OptimizeContext* context, const LoadedApk* apk, in ExtractAppDataFromManifest() 422 std::unique_ptr<LoadedApk> apk = LoadedApk::LoadApkFromPath(apk_path, context.GetDiagnostics()); in Action()
|
D | Convert.h | 59 int Convert(IAaptContext* context, LoadedApk* input, IArchiveWriter* output_writer,
|
D | Convert.cpp | 263 int Convert(IAaptContext* context, LoadedApk* apk, IArchiveWriter* output_writer, in Convert() 364 unique_ptr<LoadedApk> apk = LoadedApk::LoadApkFromPath(path, context.GetDiagnostics()); in Action()
|
D | Compile_test.cpp | 218 std::unique_ptr<LoadedApk> apk = LoadedApk::LoadApkFromPath(out_apk, &diag); in AssertTranslations()
|
/frameworks/base/core/java/android/app/ |
D | LoadedApk.java | 103 public final class LoadedApk { class 152 …private final ArrayMap<Context, ArrayMap<BroadcastReceiver, LoadedApk.ReceiverDispatcher>> mUnregi… 155 …private final ArrayMap<Context, ArrayMap<ServiceConnection, LoadedApk.ServiceDispatcher>> mServices 157 …private final ArrayMap<Context, ArrayMap<ServiceConnection, LoadedApk.ServiceDispatcher>> mUnbound… 171 public LoadedApk(ActivityThread activityThread, ApplicationInfo aInfo, in LoadedApk() method in LoadedApk 217 LoadedApk(ActivityThread activityThread) { in LoadedApk() method in LoadedApk 1330 ArrayMap<BroadcastReceiver, LoadedApk.ReceiverDispatcher> rmap = in removeContextRegistrations() 1334 LoadedApk.ReceiverDispatcher rd = rmap.valueAt(i); in removeContextRegistrations() 1358 ArrayMap<ServiceConnection, LoadedApk.ServiceDispatcher> smap = in removeContextRegistrations() 1362 LoadedApk.ServiceDispatcher sd = smap.valueAt(i); in removeContextRegistrations() [all …]
|
D | ContextImpl.java | 206 final @NonNull LoadedApk mPackageInfo; 1267 rd = new LoadedApk.ReceiverDispatcher( in sendOrderedBroadcast() 1372 rd = new LoadedApk.ReceiverDispatcher(resultReceiver, getOuterContext(), in sendOrderedBroadcastAsUser() 1451 rd = new LoadedApk.ReceiverDispatcher( in sendStickyOrderedBroadcast() 1533 rd = new LoadedApk.ReceiverDispatcher( in sendStickyOrderedBroadcastAsUser() 1621 rd = new LoadedApk.ReceiverDispatcher( in registerReceiverInternal() 2246 private static Resources createResources(IBinder activityToken, LoadedApk pi, String splitName, in createResources() 2272 LoadedApk pi = mMainThread.getPackageInfo(application, mResources.getCompatibilityInfo(), in createApplicationContext() 2307 LoadedApk pi = mMainThread.getPackageInfo(packageName, mResources.getCompatibilityInfo(), in createPackageContextAsUser() 2617 LoadedApk packageInfo = new LoadedApk(mainThread); in createSystemContext() [all …]
|
D | ActivityThread.java | 397 final ArrayMap<String, WeakReference<LoadedApk>> mPackages = new ArrayMap<>(); 400 final ArrayMap<String, WeakReference<LoadedApk>> mResourcePackages = new ArrayMap<>(); 535 public LoadedApk packageInfo; 798 LoadedApk info; 2224 String[] libDirs, int displayId, LoadedApk pkgInfo) { in getTopLevelResources() 2235 public final LoadedApk getPackageInfo(String packageName, CompatibilityInfo compatInfo, in getPackageInfo() 2240 public final LoadedApk getPackageInfo(String packageName, CompatibilityInfo compatInfo, in getPackageInfo() 2249 WeakReference<LoadedApk> ref; in getPackageInfo() 2259 LoadedApk packageInfo = ref != null ? ref.get() : null; in getPackageInfo() 2263 LoadedApk.makePaths(this, ai, oldPaths); in getPackageInfo() [all …]
|
D | ClientTransactionHandler.java | 165 public abstract LoadedApk getPackageInfoNoCheck(ApplicationInfo ai, in getPackageInfoNoCheck()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | AppZygoteInit.java | 19 import android.app.LoadedApk; 76 LoadedApk loadedApk = new LoadedApk(null, appInfo, null, null, false, true, false); in handlePreloadApp()
|
D | WebViewZygoteInit.java | 20 import android.app.LoadedApk; 77 LoadedApk loadedApk = new LoadedApk(null, appInfo, null, null, false, true, false); in handlePreloadApp()
|
/frameworks/base/tools/aapt2/optimize/ |
D | MultiApkGenerator.h | 46 MultiApkGenerator(LoadedApk* apk, IAaptContext* context); 73 LoadedApk* apk_;
|
D | MultiApkGenerator_test.cpp | 59 MultiApkGeneratorWrapper(LoadedApk* apk, IAaptContext* context) in MultiApkGeneratorWrapper() 109 LoadedApk apk = {{"test.apk"}, {}, std::move(table), {}, kBinary}; in TEST_F() 136 LoadedApk apk = {{"test.apk"}, {}, std::move(table), {}, kBinary}; in TEST_F() 161 LoadedApk apk = {{"test.apk"}, {}, std::move(table), {}, kBinary}; in TEST_F()
|
/frameworks/base/tools/aapt2/test/ |
D | Fixture.h | 90 std::unique_ptr<io::IData> OpenFileAsData(LoadedApk* apk, 94 void AssertLoadXml(LoadedApk* apk, const io::IData* data,
|
/frameworks/base/tools/aapt2/dump/ |
D | DumpManifest.h | 34 int DumpManifest(LoadedApk* apk, DumpManifestOptions& options, text::Printer* printer,
|
/frameworks/base/core/java/android/webkit/ |
D | WebViewLibraryLoader.java | 22 import android.app.LoadedApk; 78 LoadedApk apk = ActivityThread.currentActivityThread().getPackageInfo( in main()
|
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
D | CaptivePortalLoginActivity.java | 20 import android.app.LoadedApk; 170 LoadedApk loadedApk = getApplication().mLoadedApk; in setWebViewProxy() 172 Field receiversField = LoadedApk.class.getDeclaredField("mReceivers"); in setWebViewProxy()
|
/frameworks/base/core/tests/mockingcoretests/src/android/app/activity/ |
D | ActivityThreadClientTest.java | 41 import android.app.LoadedApk; 218 LoadedApk packageInfo = mThread.peekPackageInfo(info.packageName, in stubActivityRecord()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/plugins/ |
D | PluginManagerImpl.java | 17 import android.app.LoadedApk; 314 LoadedApk.makePaths(null, true, appInfo, zipPaths, libPaths); in getClassLoader()
|