Searched refs:packageLen (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/tools/incident_report/ |
D | formatter.cpp | 58 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/ |
D | Split_test.cpp | 144 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()
|
D | Idmap_test.cpp | 103 EXPECT_EQ(String16("com.android.basic"), String16(res_name.package, res_name.packageLen)); in TEST_F()
|
/frameworks/base/cmds/idmap/ |
D | inspect.cpp | 157 *package = String8(String16(data.package, data.packageLen)); in resource_metadata()
|
/frameworks/base/core/java/android/app/ |
D | Activity.java | 6594 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/ |
D | ResourceTypes.cpp | 4303 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/ |
D | ResourceTypes.h | 1772 size_t packageLen; member
|
/frameworks/base/tools/aapt2/ |
D | ResourceUtils.cpp | 52 util::Utf16ToUtf8(StringPiece16(name_in.package, name_in.packageLen)); in ToResourceName()
|
/frameworks/base/tools/aapt2/format/binary/ |
D | TableFlattener_test.cpp | 128 << StringPiece16(actual_name.package, actual_name.packageLen) << ":" in Exists()
|