Searched refs:ApkAssetsCookie (Results 1 – 6 of 6) sorted by relevance
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/ |
D | ApkAssetsCookie.java | 3 public class ApkAssetsCookie { class 6 public static final ApkAssetsCookie K_INVALID_COOKIE = new ApkAssetsCookie(kInvalidCookie); 9 private static final ApkAssetsCookie[] PREBAKED = new ApkAssetsCookie[256]; 12 PREBAKED[i] = new ApkAssetsCookie(i); 16 public static ApkAssetsCookie forInt(int cookie) { in forInt() 25 private ApkAssetsCookie(int cookie) { in ApkAssetsCookie() method in ApkAssetsCookie
|
D | CppAssetManager2.java | 3 import static org.robolectric.res.android.ApkAssetsCookie.K_INVALID_COOKIE; 4 import static org.robolectric.res.android.ApkAssetsCookie.kInvalidCookie; 85 public ApkAssetsCookie cookie; 94 entry.cookie = cookie == null ? null : ApkAssetsCookie.forInt(cookie.intValue()); in copy() 184 final List<ApkAssetsCookie> cookies_ = new ArrayList<>(); 331 package_group.cookies_.add(ApkAssetsCookie.forInt(i)); in BuildDynamicRefTable() 388 final ResStringPool GetStringPoolForCookie(ApkAssetsCookie cookie) { in GetStringPoolForCookie() 412 public final DynamicRefTable GetDynamicRefTableForCookie(ApkAssetsCookie cookie) { in GetDynamicRefTableForCookie() 414 for (final ApkAssetsCookie package_cookie : package_group.cookies_) { in GetDynamicRefTableForCookie() 498 Asset Open(final String filename, ApkAssetsCookie cookie, in Open() [all …]
|
D | AttributeResolution9.java | 3 import static org.robolectric.res.android.ApkAssetsCookie.K_INVALID_COOKIE; 4 import static org.robolectric.res.android.ApkAssetsCookie.kInvalidCookie; 32 private static int ApkAssetsCookieToJavaCookie(ApkAssetsCookie cookie) { in ApkAssetsCookieToJavaCookie() 136 ApkAssetsCookie cookie = K_INVALID_COOKIE; in ResolveAttrs() 171 ApkAssetsCookie new_cookie = in ResolveAttrs() 181 ApkAssetsCookie new_cookie = theme.GetAttribute(cur_ident, valueRef, type_set_flagsRef); in ResolveAttrs() 314 ApkAssetsCookie cookie = K_INVALID_COOKIE; in ApplyStyle() 367 ApkAssetsCookie new_cookie = in ApplyStyle() 378 ApkAssetsCookie new_cookie = theme.GetAttribute(cur_ident, value, type_set_flags); in ApplyStyle() 461 ApkAssetsCookie cookie = K_INVALID_COOKIE; in RetrieveAttributes() [all …]
|
D | AttributeResolution10.java | 4 import static org.robolectric.res.android.ApkAssetsCookie.K_INVALID_COOKIE; 5 import static org.robolectric.res.android.ApkAssetsCookie.kInvalidCookie; 36 private static int ApkAssetsCookieToJavaCookie(ApkAssetsCookie cookie) { in ApkAssetsCookieToJavaCookie() 140 ApkAssetsCookie cookie = K_INVALID_COOKIE; in ResolveAttrs() 175 ApkAssetsCookie new_cookie = in ResolveAttrs() 185 … ApkAssetsCookie new_cookie = theme.GetAttribute(cur_ident, valueRef, type_set_flagsRef); in ResolveAttrs() 318 ApkAssetsCookie cookie = K_INVALID_COOKIE; in ApplyStyle() 376 ApkAssetsCookie new_cookie = in ApplyStyle() 387 ApkAssetsCookie new_cookie = theme.GetAttribute(cur_ident, value, type_set_flags); in ApplyStyle() 471 ApkAssetsCookie cookie = K_INVALID_COOKIE; in RetrieveAttributes() [all …]
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowArscAssetManager10.java | 9 import static org.robolectric.res.android.ApkAssetsCookie.K_INVALID_COOKIE; 10 import static org.robolectric.res.android.ApkAssetsCookie.kInvalidCookie; 60 import org.robolectric.res.android.ApkAssetsCookie; 244 static int ApkAssetsCookieToJavaCookie(ApkAssetsCookie cookie) { in ApkAssetsCookieToJavaCookie() 248 static ApkAssetsCookie JavaCookieToApkAssetsCookie(int cookie) { in JavaCookieToApkAssetsCookie() 249 return ApkAssetsCookie.forInt(cookie > 0 ? (cookie - 1) : kInvalidCookie); in JavaCookieToApkAssetsCookie() 349 static int CopyValue(/*JNIEnv* env,*/ ApkAssetsCookie cookie, Res_value value, int ref, in CopyValue() 735 ApkAssetsCookie cookie = JavaCookieToApkAssetsCookie(jcookie); in nativeOpenNonAsset() 772 ApkAssetsCookie cookie = JavaCookieToApkAssetsCookie(jcookie); in nativeOpenNonAssetFd() 800 ApkAssetsCookie cookie = JavaCookieToApkAssetsCookie(jcookie); in nativeOpenXmlAsset() [all …]
|
D | ShadowArscAssetManager9.java | 7 import static org.robolectric.res.android.ApkAssetsCookie.K_INVALID_COOKIE; 8 import static org.robolectric.res.android.ApkAssetsCookie.kInvalidCookie; 58 import org.robolectric.res.android.ApkAssetsCookie; 238 static int ApkAssetsCookieToJavaCookie(ApkAssetsCookie cookie) { in ApkAssetsCookieToJavaCookie() 242 static ApkAssetsCookie JavaCookieToApkAssetsCookie(int cookie) { in JavaCookieToApkAssetsCookie() 243 return ApkAssetsCookie.forInt(cookie > 0 ? (cookie - 1) : kInvalidCookie); in JavaCookieToApkAssetsCookie() 345 static int CopyValue(/*JNIEnv* env,*/ ApkAssetsCookie cookie, Res_value value, int ref, in CopyValue() 731 ApkAssetsCookie cookie = JavaCookieToApkAssetsCookie(jcookie); in nativeOpenNonAsset() 768 ApkAssetsCookie cookie = JavaCookieToApkAssetsCookie(jcookie); in nativeOpenNonAssetFd() 796 ApkAssetsCookie cookie = JavaCookieToApkAssetsCookie(jcookie); in nativeOpenXmlAsset() [all …]
|