Searched refs:kInvalidCookie (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/libs/androidfw/ |
D | AttributeResolution.cpp | 32 return cookie != kInvalidCookie ? static_cast<uint32_t>(cookie + 1) : static_cast<uint32_t>(-1); in ApkAssetsCookieToJavaCookie() 82 if (theme->GetAttribute(def_style_attr, &value, &def_style_flags) != kInvalidCookie) { in ResolveAttrs() 109 ApkAssetsCookie cookie = kInvalidCookie; in ResolveAttrs() 144 if (new_cookie != kInvalidCookie) { in ResolveAttrs() 153 if (new_cookie != kInvalidCookie) { in ResolveAttrs() 159 if (new_cookie != kInvalidCookie) { in ResolveAttrs() 175 cookie = kInvalidCookie; in ResolveAttrs() 223 if (theme->GetAttribute(def_style_attr, &value, &def_style_flags) != kInvalidCookie) { in ApplyStyle() 238 if (theme->GetAttribute(value.data, &value, &style_flags) == kInvalidCookie) { in ApplyStyle() 283 ApkAssetsCookie cookie = kInvalidCookie; in ApplyStyle() [all …]
|
D | AssetManager2.cpp | 359 *out_cookie = kInvalidCookie; in OpenNonAsset() 390 return kInvalidCookie; in FindEntry() 401 return kInvalidCookie; in FindEntry() 407 ApkAssetsCookie best_cookie = kInvalidCookie; in FindEntry() 543 if (UNLIKELY(best_cookie == kInvalidCookie)) { in FindEntry() 544 return kInvalidCookie; in FindEntry() 549 return kInvalidCookie; in FindEntry() 579 last_resolution.cookie = kInvalidCookie; in SetResourceResolutionLoggingEnabled() 594 if (cookie == kInvalidCookie) { in GetLastResourceResolution() 653 if (cookie == kInvalidCookie) { in GetResourceName() [all …]
|
/frameworks/base/libs/androidfw/tests/ |
D | Theme_test.cpp | 73 EXPECT_EQ(kInvalidCookie, theme->GetAttribute(app::R::attr::attr_one, &value, &flags)); in TEST_F() 88 ASSERT_NE(kInvalidCookie, cookie); in TEST_F() 94 ASSERT_NE(kInvalidCookie, cookie); in TEST_F() 112 ASSERT_NE(kInvalidCookie, cookie); in TEST_F() 118 ASSERT_NE(kInvalidCookie, cookie); in TEST_F() 127 ASSERT_NE(kInvalidCookie, cookie); in TEST_F() 142 ASSERT_EQ(kInvalidCookie, theme->GetAttribute(0x7f000001, &value, &flags)); in TEST_F() 159 ASSERT_NE(kInvalidCookie, cookie); in TEST_F() 166 ASSERT_NE(kInvalidCookie, cookie); in TEST_F() 173 ASSERT_NE(kInvalidCookie, cookie); in TEST_F() [all …]
|
D | AssetManager2_test.cpp | 109 ASSERT_NE(kInvalidCookie, cookie); in TEST_F() 139 ASSERT_NE(kInvalidCookie, cookie); in TEST_F() 167 ASSERT_NE(kInvalidCookie, cookie); in TEST_F() 176 ASSERT_NE(kInvalidCookie, cookie); in TEST_F() 184 ASSERT_NE(kInvalidCookie, cookie); in TEST_F() 193 ASSERT_NE(kInvalidCookie, cookie); in TEST_F() 212 ASSERT_NE(kInvalidCookie, cookie); in TEST_F() 373 ASSERT_NE(kInvalidCookie, cookie); in TEST_F() 380 ASSERT_NE(kInvalidCookie, cookie); in TEST_F() 396 ASSERT_NE(kInvalidCookie, cookie); in TEST_F() [all …]
|
D | AttributeResolution_bench.cpp | 117 if (cookie == kInvalidCookie) { in BM_ApplyStyleFramework()
|
/frameworks/base/core/jni/ |
D | android_util_AssetManager.cpp | 119 return cookie != kInvalidCookie ? static_cast<jint>(cookie + 1) : -1; in ApkAssetsCookieToJavaCookie() 123 return cookie > 0 ? static_cast<ApkAssetsCookie>(cookie - 1) : kInvalidCookie; in JavaCookieToApkAssetsCookie() 664 if (cookie != kInvalidCookie) { in NativeOpenNonAsset() 692 if (cookie != kInvalidCookie) { in NativeOpenNonAssetFd() 718 if (cookie != kInvalidCookie) { in NativeOpenXmlAsset() 753 if (cookie == kInvalidCookie) { in NativeGetResourceValue() 754 return ApkAssetsCookieToJavaCookie(kInvalidCookie); in NativeGetResourceValue() 760 if (cookie == kInvalidCookie) { in NativeGetResourceValue() 761 return ApkAssetsCookieToJavaCookie(kInvalidCookie); in NativeGetResourceValue() 772 return ApkAssetsCookieToJavaCookie(kInvalidCookie); in NativeGetResourceBagValue() [all …]
|
/frameworks/base/startop/view_compiler/ |
D | apk_layout_compiler.cc | 108 android::ApkAssetsCookie cookie = android::kInvalidCookie; in CompileApkAssetsLayouts() 111 CHECK(android::kInvalidCookie != cookie); in CompileApkAssetsLayouts()
|
/frameworks/base/cmds/idmap2/idmap2/ |
D | Lookup.cpp | 48 using android::kInvalidCookie; 93 if (cookie == kInvalidCookie) { in GetValue()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | AssetManager2.h | 40 kInvalidCookie = -1, enumerator 398 ApkAssetsCookie cookie = kInvalidCookie;
|
/frameworks/base/tools/aapt2/cmd/ |
D | Link.cpp | 754 if (cookie == android::kInvalidCookie) { in ExtractCompileSdkVersions()
|