Home
last modified time | relevance | path

Searched refs:apex (Results 1 – 25 of 198) sorted by relevance

12345678

/system/core/libstats/socket/
Dlibstatssocket.map.txt3 stats_event_obtain; # apex # introduced=1
4 stats_event_build; # apex # introduced=1
5 stats_event_write; # apex # introduced=1
6 stats_event_release; # apex # introduced=1
7 stats_event_set_atom_id; # apex # introduced=1
8 stats_event_write_int32; # apex # introduced=1
9 stats_event_write_int64; # apex # introduced=1
10 stats_event_write_float; # apex # introduced=1
11 stats_event_write_bool; # apex # introduced=1
12 stats_event_write_byte_array; # apex # introduced=1
[all …]
/system/apex/apexd/apexd_testdata/
DAndroid.bp15 // These apex definitions will generate the prebuilt test data. The modules
19 name: "com.android.apex.test_package.key",
20 public_key: "com.android.apex.test_package.avbpubkey",
21 private_key: "com.android.apex.test_package.pem",
25 apex {
26 name: "apex.apexd_test",
28 file_contexts: ":apex.test-file_contexts",
30 key: "com.android.apex.test_package.key",
35 apex {
36 name: "apex.apexd_test_no_hashtree",
[all …]
/system/core/liblog/
Dliblog.map.txt3 android_name_to_log_id; # apex llndk
22 android_logger_list_alloc; # apex llndk
23 android_logger_list_alloc_time; # apex llndk
24 android_logger_list_free; # apex llndk
25 android_logger_list_open; # apex llndk
26 android_logger_list_read; # apex llndk
27 android_logger_open; # apex llndk
36 __android_log_error_write; # apex llndk
38 create_android_logger; # apex llndk
39 android_log_destroy; # apex llndk
[all …]
/system/apex/shim/
DAndroid.bp19 name: "com.android.apex.cts.shim.v1_prebuilt",
20 overrides: ["com.android.apex.cts.shim.v1"],
21 src: "com.android.apex.cts.shim.v1.apex",
22 filename: "com.android.apex.cts.shim.apex",
28 name: "com.android.apex.cts.shim.v2_prebuilt",
29 src: "com.android.apex.cts.shim.v2.apex",
30 filename: "com.android.apex.cts.shim.v2.apex",
35 name: "com.android.apex.cts.shim.v2_wrong_sha_prebuilt",
36 src: "com.android.apex.cts.shim.v2_wrong_sha.apex",
37 filename: "com.android.apex.cts.shim.v2_wrong_sha.apex",
[all …]
DREADME.md5 A shim apex is an apex that doesn't provide any functionality as it's sole
8 A cts shim apex has following restrictions:
10 * Its name is equal to `com.android.apex.cts.shim`
12 * First version (i.e. `com.android.apex.cts.shim.apex`) should be
16 apex can be upgraded to.
24 system/apex/shim/build/Android.bp blueprint file.
29 m com.android.apex.cts.shim.v3 \
30 com.android.apex.cts.shim.v2 \
31 com.android.apex.cts.shim.v2_additional_file \
32 com.android.apex.cts.shim.v2_additional_folder \
[all …]
/system/apex/apexd/
Dapexd_main.cpp38 return android::apex::RunPreInstall(argv); in HandleSubcommand()
43 return android::apex::RunPostInstall(argv); in HandleSubcommand()
48 return android::apex::onBootstrap(); in HandleSubcommand()
53 return android::apex::unmountAll(); in HandleSubcommand()
60 android::base::Result<android::apex::VoldCheckpointInterface> in HandleSubcommand()
61 vold_service_st = android::apex::VoldCheckpointInterface::Create(); in HandleSubcommand()
66 android::apex::initializeVold(&*vold_service_st); in HandleSubcommand()
69 int result = android::apex::snapshotOrRestoreDeUserData(); in HandleSubcommand()
75 android::apex::onAllPackagesReady(); in HandleSubcommand()
117 android::apex::onAllPackagesActivated(); in main()
[all …]
DAndroid.bp67 "--header-filter='system/apex/'",
90 whole_static_libs: ["com.android.sysprop.apex"],
97 "aidl/android/apex/ApexInfo.aidl",
98 "aidl/android/apex/ApexInfoList.aidl",
99 "aidl/android/apex/ApexSessionInfo.aidl",
100 "aidl/android/apex/ApexSessionParams.aidl",
101 "aidl/android/apex/IApexService.aidl",
155 generated_sources: ["apex-info-list"],
242 // Generates an apex which has a different manifest outside the filesystem
245 out: ["apex.apexd_test_manifest_mismatch.apex"],
[all …]
Dapexd_verity_test.cpp33 namespace apex { namespace
37 using android::apex::testing::IsOk;
51 auto apex = ApexFile::Open(GetTestFile("apex.apexd_test_no_hashtree.apex")); in TEST() local
52 ASSERT_TRUE(IsOk(apex)); in TEST()
53 auto verity_data = apex->VerifyApexVerity(); in TEST()
57 auto status = PrepareHashTree(*apex, *verity_data, hashtree_file); in TEST()
67 status = PrepareHashTree(*apex, *verity_data, hashtree_file); in TEST()
84 auto apex = ApexFile::Open(GetTestFile("apex.apexd_test_no_hashtree.apex")); in TEST() local
85 ASSERT_TRUE(IsOk(apex)); in TEST()
86 auto verity_data = apex->VerifyApexVerity(); in TEST()
[all …]
Dapex_preinstalled_data.cpp36 namespace apex { namespace
81 for (const ApexPreinstalledData& apex : apexes) { in updatePreinstalledData() local
82 if (gScannedPreinstalledData.find(apex.name) == in updatePreinstalledData()
84 gScannedPreinstalledData.insert({apex.name, apex}); in updatePreinstalledData()
87 gScannedPreinstalledData.at(apex.name).key; in updatePreinstalledData()
88 if (existing_key != apex.key) { in updatePreinstalledData()
89 return Error() << "Key for package " << apex.name in updatePreinstalledData()
Dapexd_test_utils.h25 using apex::proto::SessionState;
28 namespace apex {
120 inline void PrintTo(const ApexInfo& apex, std::ostream* os) { in PrintTo() argument
122 *os << " moduleName : " << apex.moduleName << "\n"; in PrintTo()
123 *os << " modulePath : " << apex.modulePath << "\n"; in PrintTo()
124 *os << " preinstalledModulePath : " << apex.preinstalledModulePath << "\n"; in PrintTo()
125 *os << " versionCode : " << apex.versionCode << "\n"; in PrintTo()
126 *os << " isFactory : " << apex.isFactory << "\n"; in PrintTo()
127 *os << " isActive : " << apex.isActive << "\n"; in PrintTo()
Dapexd_session.h29 namespace apex {
39 ::apex::proto::SessionState::State state);
45 ::apex::proto::SessionState::State GetState() const;
64 const ::apex::proto::SessionState::State& state);
70 ApexSession(::apex::proto::SessionState state);
71 ::apex::proto::SessionState state_;
Dapex_file.cpp49 namespace apex { namespace
152 Result<std::unique_ptr<AvbFooter>> getAvbFooter(const ApexFile& apex, in getAvbFooter() argument
158 off_t offset = apex.GetImageSize() + apex.GetImageOffset() - AVB_FOOTER_SIZE; in getAvbFooter()
184 Result<std::string> getPublicKeyName(const ApexFile& apex, const uint8_t* data, in getPublicKeyName() argument
191 << apex.GetPath(); in getPublicKeyName()
194 if (keyName != apex.GetManifest().name()) { in getPublicKeyName()
196 << apex.GetManifest().name() << "'" in getPublicKeyName()
202 Result<void> verifyVbMetaSignature(const ApexFile& apex, const uint8_t* data, in verifyVbMetaSignature() argument
215 return Error() << "Error verifying " << apex.GetPath() << ": " in verifyVbMetaSignature()
218 return Error() << "Error verifying " << apex.GetPath() << ": " in verifyVbMetaSignature()
[all …]
/system/apex/shim/build/
DAndroid.bp18 name: "com.android.apex.cts.shim.pem",
19 out: ["com.android.apex.cts.shim.pem"],
24 name: "com.android.apex.cts.shim.pubkey",
25 srcs: [":com.android.apex.cts.shim.pem"],
26 out: ["com.android.apex.cts.shim.pubkey"],
32 name: "com.android.apex.cts.shim.key",
33 private_key: ":com.android.apex.cts.shim.pem",
34 public_key: ":com.android.apex.cts.shim.pubkey",
51 apex {
52 name: "com.android.apex.cts.shim.v3",
[all …]
/system/apex/apexer/testdata/
DAndroid.bp16 name: "com.android.example.apex.certificate",
17 // This will use com.android.my.apex.x509.pem (the cert) and
18 // com.android.my.apex.pk8 (the private key)
19 certificate: "com.android.example.apex",
23 name: "com.android.example.apex.key",
24 public_key: "com.android.example.apex.avbpubkey",
25 private_key: "com.android.example.apex.pem",
28 apex {
29 name: "com.android.example.apex",
31 file_contexts: ":apex.test-file_contexts",
[all …]
/system/core/adb/pairing_auth/
Dlibadb_pairing_auth.map.txt3 pairing_auth_msg_size; # apex introduced=30
4 pairing_auth_get_spake2_msg; # apex introduced=30
5 pairing_auth_init_cipher; # apex introduced=30
6 pairing_auth_safe_encrypted_size; # apex introduced=30
7 pairing_auth_encrypt; # apex introduced=30
8 pairing_auth_safe_decrypted_size; # apex introduced=30
9 pairing_auth_decrypt; # apex introduced=30
10 pairing_auth_server_new; # apex introduced=30
11 pairing_auth_client_new; # apex introduced=30
12 pairing_auth_destroy; # apex introduced=30
/system/apex/tests/
DAndroid.bp67 test_config: "apex-targetprep-tests.xml",
88 apex {
89 name: "apex.test",
92 key: "apex.test.key",
93 certificate: ":apex.test.certificate",
98 name: "apex.test.key",
99 public_key: "testdata/com.android.apex.test.avbpubkey",
100 private_key: "testdata/com.android.apex.test.pem",
105 name: "apex.test.certificate",
111 name: "apex.test.ld.config.txt",
[all …]
/system/apex/tests/testdata/
Dtrigger_watchdog.sh4 apex=/apex/`/system/bin/getprop persist.debug.trigger_watchdog.apex`
5 /system/bin/log -t TriggerWatchdog "Checking for presence of $apex"
7 if [ -a $apex ]
9 /system/bin/log -t TriggerWatchdog "Detected presence of $apex"
Dinit.rc1 service apex.test /apex/com.android.apex.test/bin/test
4 service surfaceflinger /apex/com.android.apex.test/bin/surfaceflinger
/system/core/adb/pairing_connection/
Dlibadb_pairing_server.map.txt3 pairing_server_start; # apex introduced=30
4 pairing_server_new; # apex introduced=30
5 pairing_server_new_no_cert; # apex introduced=30
6 pairing_server_destroy; # apex introduced=30
Dlibadb_pairing_connection.map.txt3 pairing_connection_client_new; # apex introduced=30
4 pairing_connection_server_new; # apex introduced=30
5 pairing_connection_start; # apex introduced=30
6 pairing_connection_destroy; # apex introduced=30
/system/apex/apexer/
DAndroid.bp24 // TODO(b/124476339) apex doesn't follow 'required' dependencies so we need to include this
100 // This is a host-apex that contains all the binaries needed to create new apex's seprate from
121 ":com.android.example.apex",
122 ":com.android.example-legacy.apex",
123 ":com.android.example-logging_parent.apex",
124 ":com.android.example-overridden_package_name.apex",
125 "testdata/com.android.example.apex.avbpubkey",
126 "testdata/com.android.example.apex.pem",
127 "testdata/com.android.example.apex.pk8",
128 "testdata/com.android.example.apex.x509.pem",
/system/linkerconfig/testdata/
Dprepare_root.sh93 mkdir -p $ROOT_OUT/apex
96 apexInfo=$ROOT_OUT/apex/apex-info-list.xml
101 if [ -d $ROOT_OUT/$partition/apex ]; then
102 for src in $ROOT_OUT/$partition/apex/*/; do
104 dst=$ROOT_OUT/apex/$name
/system/apex/apexd/apex-info-list-api/
Dcurrent.txt2 package com.android.apex {
24 method public java.util.List<com.android.apex.ApexInfo> getApexInfo();
29 …method public static com.android.apex.ApexInfo readApexInfo(java.io.InputStream) throws javax.xml.…
30 …method public static com.android.apex.ApexInfoList readApexInfoList(java.io.InputStream) throws ja…
38 …method public static void write(com.android.apex.XmlWriter, com.android.apex.ApexInfoList) throws …
39 …method public static void write(com.android.apex.XmlWriter, com.android.apex.ApexInfo) throws java…
/system/linkerconfig/testdata/golden_output/stage1/com.android.runtime/
Dld.config.txt1 dir.com.android.runtime = /apex/com.android.runtime/bin
5 namespace.default.search.paths = /apex/com.android.runtime/${LIB}
6 namespace.default.permitted.paths = /apex/com.android.runtime/${LIB}
8 namespace.default.asan.search.paths = /apex/com.android.runtime/${LIB}
9 namespace.default.asan.permitted.paths = /apex/com.android.runtime/${LIB}
21 namespace.com_android_art.search.paths = /apex/com.android.art/${LIB}
22 namespace.com_android_art.permitted.paths = /apex/com.android.art/${LIB}
26 namespace.com_android_art.permitted.paths += /apex/com.android.art/javalib
27 namespace.com_android_art.asan.search.paths = /apex/com.android.art/${LIB}
28 namespace.com_android_art.asan.permitted.paths = /apex/com.android.art/${LIB}
[all …]
/system/core/libvndksupport/
Dlibvndksupport.map.txt3 android_is_in_vendor_process; # llndk apex
4 android_load_sphal_library; # llndk apex
5 android_unload_sphal_library; # llndk apex

12345678