Searched refs:isTruthy (Results 1 – 16 of 16) sorted by relevance
59 import static org.robolectric.res.android.Util.isTruthy;805 if (isTruthy(UnsignedBytes.toInt(value[0]) & 0x80)) { in unpackLanguageOrRegion()935 if (isTruthy(variant)) { in compareLocales()998 if (isTruthy(diff)) diffs |= CONFIG_LOCALE; in diff()1014 return (isTruthy(localeVariant[0]) ? 4 : 0) in getImportanceScoreOfLocale()1015 + (isTruthy(localeScript[0]) && !localeScriptWasComputed ? 2: 0) in getImportanceScoreOfLocale()1016 + (isTruthy(localeNumberingSystem[0]) ? 1: 0); in getImportanceScoreOfLocale()1181 if (isTruthy(requested)) { in isBetterThan()1182 if (isTruthy(imsi()) || isTruthy(o.imsi())) { in isBetterThan()1183 if ((mcc != o.mcc) && isTruthy(requested.mcc)) { in isBetterThan()[all …]
15 import static org.robolectric.res.android.Util.isTruthy;113 if (!isTruthy(buf) || !isTruthy(size)) { in setTo()182 if (isTruthy(mHeader.flags & ResStringPool_header.UTF8_FLAG)) { in setTo()243 if ((isTruthy(mHeader.flags & ResStringPool_header.UTF8_FLAG) in setTo()245 || (!isTruthy(mHeader.flags & ResStringPool_header.UTF8_FLAG) in setTo()
5 import static org.robolectric.res.android.Util.isTruthy;194 if (isTruthy(header_start & 0x03)) { in VerifyNextChunk()221 if (isTruthy((size | header_size) & 0x03)) { in VerifyNextChunk()
23 import static org.robolectric.res.android.Util.isTruthy;86 if (!isTruthy(data) || !isTruthy(size)) { in setTo()205 if (isTruthy(mOwnedData)) { in uninit()
7 import static org.robolectric.res.android.Util.isTruthy;88 if (isTruthy(error)) { in open()119 if (isTruthy(error)) { in findEntryByName()
47 public static boolean isTruthy(int i) { in isTruthy() method in Util51 public static boolean isTruthy(Object o) { in isTruthy() method in Util
16 import static org.robolectric.res.android.Util.isTruthy;253 if (isTruthy(entries_offset & 0x03)) { in VerifyResTableType()262 if (isTruthy(entry_offset & 0x03)) { in VerifyResTableEntry()329 if (isTruthy(map_entries_start & 0x03)) { in VerifyResTableEntry()385 if (isTruthy(type_chunk.flags & ResTable_type.FLAG_SPARSE)) { in GetEntryOffset()912 if (!isTruthy(loaded_package)) { in LoadTable()
12 import static org.robolectric.res.android.Util.isTruthy;424 if (isTruthy(locale)) { in setConfiguration()689 if (isTruthy(rt)) { in getResTable()729 if (!isTruthy(res)) { in updateResourceParamsLocked()733 if (isTruthy(mLocale)) { in updateResourceParamsLocked()746 if (isTruthy(ass)) { in openIdmapLocked()
8 import static org.robolectric.res.android.Util.isTruthy;762 if (!isTruthy(count)) { in read()1252 if (!isTruthy(count))
27 import static org.robolectric.res.android.Util.isTruthy;389 return indexOfAttribute(isTruthy(ns) ? nsStr : null, isTruthy(ns) ? nsStr.length() : 0, in indexOfAttribute()
16 import static org.robolectric.res.android.Util.isTruthy;430 if (isTruthy(diff)) { in SetConfiguration()554 if (isTruthy(asset)) { in OpenNonAsset()859 if (isTruthy(dtohl(entry.get().entry.flags) & ResTable_entry.FLAG_COMPLEX)) { in GetResource()1336 if (isTruthy(diff & cached_bags_.get(key).type_spec_flags)) { in InvalidateCaches()
27 import static org.robolectric.res.android.Util.isTruthy;224 if (!isTruthy(data)) { in addInternal()625 if (isTruthy(thisType.flags & ResTable_type.FLAG_SPARSE)) {2778 if (!isTruthy(typeSet)) { in getBagLocked()2820 if (isTruthy(parent)) { in getBagLocked()2981 if (isTruthy(set)) { in getBagLocked()
3 import static org.robolectric.res.android.Util.isTruthy;994 } else if (isTruthy(config.screenLayout2 & ResTable_config.MASK_SCREENROUND)) { in applyVersionForCompatibility()
22 import static org.robolectric.res.android.Util.isTruthy;703 if (!isTruthy(asset)) { in nativeOpenAsset()724 if (!isTruthy(asset)) { in nativeOpenAssetFd()761 if (!isTruthy(asset)) { in nativeOpenNonAsset()789 if (!isTruthy(asset)) { in nativeOpenNonAssetFd()819 if (!isTruthy(asset)) { in nativeOpenXmlAsset()
20 import static org.robolectric.res.android.Util.isTruthy;699 if (!isTruthy(asset)) { in nativeOpenAsset()720 if (!isTruthy(asset)) { in nativeOpenAssetFd()757 if (!isTruthy(asset)) { in nativeOpenNonAsset()785 if (!isTruthy(asset)) { in nativeOpenNonAssetFd()815 if (!isTruthy(asset)) { in nativeOpenXmlAsset()
17 import static org.robolectric.res.android.Util.isTruthy;380 Asset a = isTruthy(cookie) in openNonAssetNative()404 Asset a = isTruthy(cookie) in openNonAssetFdNative()1068 if (isTruthy(assetCookie)) { in openXmlAssetNative()