/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() 310 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 | 99 IAaptContext* context, LoadedApk* apk_a, const ResourceTablePackageView& pkg_a, in EmitResourceConfigValueDiff() 101 const ResourceConfigValue* config_value_a, LoadedApk* apk_b, in EmitResourceConfigValueDiff() 119 static bool EmitResourceEntryDiff(IAaptContext* context, LoadedApk* apk_a, in EmitResourceEntryDiff() 122 const ResourceTableEntryView& entry_a, LoadedApk* apk_b, in EmitResourceEntryDiff() 155 static bool EmitResourceTypeDiff(IAaptContext* context, LoadedApk* apk_a, in EmitResourceTypeDiff() 157 const ResourceTableTypeView& type_a, LoadedApk* apk_b, in EmitResourceTypeDiff() 236 static bool EmitResourcePackageDiff(IAaptContext* context, LoadedApk* apk_a, in EmitResourcePackageDiff() 237 const ResourceTablePackageView& pkg_a, LoadedApk* apk_b, in EmitResourcePackageDiff() 305 static bool EmitResourceTableDiff(IAaptContext* context, LoadedApk* apk_a, LoadedApk* apk_b) { in EmitResourceTableDiff() 387 std::unique_ptr<LoadedApk> apk_a = LoadedApk::LoadApkFromPath(args[0], diag); in Action() [all …]
|
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 | Link_test.cpp | 51 std::unique_ptr<LoadedApk> apk = LoadedApk::LoadApkFromPath(out_apk, &diag); in TEST_F() 79 std::unique_ptr<LoadedApk> apk = LoadedApk::LoadApkFromPath(out_apk, &diag); in TEST_F() 114 std::unique_ptr<LoadedApk> apk = LoadedApk::LoadApkFromPath(out_apk, &diag); in TEST_F() 162 std::unique_ptr<LoadedApk> apk = LoadedApk::LoadApkFromPath(out_apk, &diag); in TEST_F() 216 std::unique_ptr<LoadedApk> apk = LoadedApk::LoadApkFromPath(out_apk, &diag); in TEST_F() 260 std::unique_ptr<LoadedApk> apk = LoadedApk::LoadApkFromPath(out_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 | Compile_test.cpp | 219 std::unique_ptr<LoadedApk> apk = LoadedApk::LoadApkFromPath(out_apk, &diag); in AssertTranslations() 323 std::unique_ptr<LoadedApk> apk = LoadedApk::LoadApkFromPath(apk_path, &diag); in TEST_F()
|
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()
|
/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… 172 public LoadedApk(ActivityThread activityThread, ApplicationInfo aInfo, in LoadedApk() method in LoadedApk 218 LoadedApk(ActivityThread activityThread) { in LoadedApk() method in LoadedApk 1426 ArrayMap<BroadcastReceiver, LoadedApk.ReceiverDispatcher> rmap = in removeContextRegistrations() 1430 LoadedApk.ReceiverDispatcher rd = rmap.valueAt(i); in removeContextRegistrations() 1454 ArrayMap<ServiceConnection, LoadedApk.ServiceDispatcher> smap = in removeContextRegistrations() 1458 LoadedApk.ServiceDispatcher sd = smap.valueAt(i); in removeContextRegistrations() [all …]
|
D | ActivityThread.java | 416 final ArrayMap<String, WeakReference<LoadedApk>> mPackages = new ArrayMap<>(); 419 final ArrayMap<String, WeakReference<LoadedApk>> mResourcePackages = new ArrayMap<>(); 577 public LoadedApk packageInfo; 853 LoadedApk info; 2374 String[] overlayPaths, String[] libDirs, LoadedApk pkgInfo, in getTopLevelResources() 2387 public final LoadedApk getPackageInfo(String packageName, CompatibilityInfo compatInfo, in getPackageInfo() 2392 public final LoadedApk getPackageInfo(String packageName, CompatibilityInfo compatInfo, in getPackageInfo() 2401 WeakReference<LoadedApk> ref; in getPackageInfo() 2411 LoadedApk packageInfo = ref != null ? ref.get() : null; in getPackageInfo() 2415 LoadedApk.makePaths(this, ai, oldPaths); in getPackageInfo() [all …]
|
D | ContextImpl.java | 214 final @NonNull LoadedApk mPackageInfo; 1367 rd = new LoadedApk.ReceiverDispatcher( in sendOrderedBroadcast() 1473 rd = new LoadedApk.ReceiverDispatcher(resultReceiver, getOuterContext(), in sendOrderedBroadcastAsUser() 1592 rd = new LoadedApk.ReceiverDispatcher( in sendStickyOrderedBroadcast() 1675 rd = new LoadedApk.ReceiverDispatcher( in sendStickyOrderedBroadcastAsUser() 1764 rd = new LoadedApk.ReceiverDispatcher( in registerReceiverInternal() 2436 private static Resources createResources(IBinder activityToken, LoadedApk pi, String splitName, in createResources() 2463 LoadedApk pi = mMainThread.getPackageInfo(application, mResources.getCompatibilityInfo(), in createApplicationContext() 2505 LoadedApk pi = mMainThread.getPackageInfo(packageName, mResources.getCompatibilityInfo(), in createPackageContextAsUser() 2742 final LoadedApk packageInfo = windowContextBase.mPackageInfo; in createWindowContextResources() [all …]
|
D | OWNERS | 23 per-file LoadedApk.java = file:/services/core/java/com/android/server/am/OWNERS 53 per-file LoadedApk.java = file:/services/core/java/com/android/server/pm/OWNERS
|
/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/core/java/android/window/ |
D | WindowProviderService.java | 28 import android.app.LoadedApk; 105 LoadedApk packageInfo) { in createServiceBaseContext()
|
/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 | 46 import android.app.LoadedApk; 289 LoadedApk packageInfo = mThread.peekPackageInfo(info.packageName, in stubActivityRecord()
|