Searched refs:isBinary (Results 1 – 3 of 3) sorted by relevance
51 assertFalse(SettingsState.isBinary(" abc 日本語")); in testIsBinary()55 SettingsState.isBinary(String.valueOf(ch))); in testIsBinary()59 SettingsState.isBinary(String.valueOf(ch))); in testIsBinary()64 SettingsState.isBinary(String.valueOf(ch))); in testIsBinary()68 SettingsState.isBinary(String.valueOf(ch))); in testIsBinary()70 assertTrue(SettingsState.isBinary("\ufffe")); in testIsBinary()71 assertTrue(SettingsState.isBinary("\uffff")); in testIsBinary()73 assertFalse(SettingsState.isBinary(null)); in testIsBinary()
781 if (id == null || isBinary(id) || name == null || isBinary(name) in writeSingleSetting()782 || packageName == null || isBinary(packageName)) { in writeSingleSetting()807 } else if (isBinary(value)) { in setValueAttribute()1125 public static boolean isBinary(String s) { in isBinary() method in SettingsState
2271 return !(TextUtils.isEmpty(key) || SettingsState.isBinary(key));