OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:dex_path
(Results
1 - 7
of
7
) sorted by null
/frameworks/native/cmds/installd/
dexopt.cpp
1514
const std::string&
dex_path
= *
dex_path
_out;
local
[
all
...]
dexopt.h
59
bool reconcile_secondary_dex_file(const std::string&
dex_path
,
utils.cpp
245
// Returns true on success, false on failure (if the
dex_path
does not have the expected
247
static bool get_secondary_dex_location(const std::string&
dex_path
,
249
size_t dirIndex =
dex_path
.rfind('/');
253
if (dirIndex ==
dex_path
.size() - 1) {
256
*out_dir_name =
dex_path
.substr(0, dirIndex);
257
*out_file_name =
dex_path
.substr(dirIndex + 1);
803
bool validate_secondary_dex_path(const std::string& pkgname, const std::string&
dex_path
,
808
if (
dex_path
.empty()) { return false; }
810
if (
dex_path
[0] != '/') { return false; }
812
if (
dex_path
[dex_path.size() - 1] == '/') { return false;
[
all
...]
utils.h
127
bool validate_secondary_dex_path(const std::string& pkgname, const std::string&
dex_path
,
InstalldNativeService.cpp
1098
char
dex_path
[PKG_PATH_MAX];
local
[
all
...]
/frameworks/native/cmds/installd/tests/
installd_utils_test.cpp
574
const std::string&
dex_path
, int uid, int storage_flag) {
575
EXPECT_TRUE(validate_secondary_dex_path(package_name,
dex_path
, /*volume_uuid*/ nullptr, uid,
577
<<
dex_path
<< " should be allowed as a valid secondary dex path";
581
const std::string&
dex_path
, int uid, int storage_flag) {
582
EXPECT_FALSE(validate_secondary_dex_path(package_name,
dex_path
, /*volume_uuid*/ nullptr, uid,
584
<<
dex_path
<< " should not be allowed as a valid secondary dex path";
/art/runtime/openjdkjvmti/
ti_search.cc
283
ScopedLocalRef<jstring>
dex_path
(env, env->NewStringUTF(segment));
284
if (
dex_path
.get() == nullptr) {
287
env->CallVoidMethod(sys_class_loader, add_dex_path_id,
dex_path
.get());
Completed in 1677 milliseconds