Home
last modified time | relevance | path

Searched refs:packageLen (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/tools/incident_report/
Dformatter.cpp58 int const packageLen = strlen(package); in compare_name() local
59 int cmp = strncmp(full, package, packageLen); in compare_name()
61 cmp = full[packageLen] - '.'; in compare_name()
63 return strcmp(full + packageLen, clazz); in compare_name()
/frameworks/base/libs/androidfw/tests/
DSplit_test.cpp144 EXPECT_EQ(String16(baseName.package, baseName.packageLen), in TEST_F()
145 String16(frName.package, frName.packageLen)); in TEST_F()
245 String16(name.package, name.packageLen)); in TEST_F()
DIdmap_test.cpp103 EXPECT_EQ(String16("com.android.basic"), String16(res_name.package, res_name.packageLen)); in TEST_F()
/frameworks/base/cmds/idmap/
Dinspect.cpp157 *package = String8(String16(data.package, data.packageLen)); in resource_metadata()
/frameworks/base/core/java/android/app/
DActivity.java6594 int packageLen = pkg.length(); in getLocalClassName() local
6595 if (!cls.startsWith(pkg) || cls.length() <= packageLen in getLocalClassName()
6596 || cls.charAt(packageLen) != '.') { in getLocalClassName()
6599 return cls.substring(packageLen+1); in getLocalClassName()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp4303 outName->packageLen = grp->name.size(); in getResourceName()
4853 size_t packageLen, in identifierForName() argument
4932 packageLen = packageEnd-name; in identifierForName()
4955 String8(package, packageLen).string()); in identifierForName()
4965 if (strzcmp16(package, packageLen, in identifierForName()
7506 CHAR16_TO_CSTR(resName.package, resName.packageLen), in print()
7592 CHAR16_TO_CSTR(resName.package, resName.packageLen), in print()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h1772 size_t packageLen; member
/frameworks/base/tools/aapt2/
DResourceUtils.cpp52 util::Utf16ToUtf8(StringPiece16(name_in.package, name_in.packageLen)); in ToResourceName()
/frameworks/base/tools/aapt2/format/binary/
DTableFlattener_test.cpp128 << StringPiece16(actual_name.package, actual_name.packageLen) << ":" in Exists()