Searched refs:flags (Results 1 - 25 of 238) sorted by relevance

12345678910

/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
H A DLegacyPolicySet.java21 * Legacy class for policy storage as a bit field of flags
25 // Security (provisioning) flags
64 * Convert legacy policy flags to a Policy
65 * @param flags legacy policy flags
68 public static Policy flagsToPolicy(long flags) { argument
70 policy.mPasswordMode = ((int) (flags & PASSWORD_MODE_MASK)) >> PASSWORD_MODE_SHIFT;
71 policy.mPasswordMinLength = (int) ((flags & PASSWORD_LENGTH_MASK) >> PASSWORD_LENGTH_SHIFT);
73 (int) ((flags & PASSWORD_MAX_FAILS_MASK) >> PASSWORD_MAX_FAILS_SHIFT);
75 (int) ((flags
[all...]
/packages/apps/Email/src/org/apache/james/mime4j/
H A DEOLConvertingInputStream.java44 private int flags = CONVERT_BOTH; field in class:EOLConvertingInputStream
61 * @param flags one of <code>CONVERT_CR</code>, <code>CONVERT_LF</code> or
64 public EOLConvertingInputStream(InputStream in, int flags) { argument
68 this.flags = flags;
90 if ((flags & CONVERT_CR) != 0 && b == '\r') {
98 } else if ((flags & CONVERT_LF) != 0 && b == '\n' && previous != '\r') {
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
H A DEditorInfoCompatUtils.java66 final StringBuilder flags = new StringBuilder();
68 flags.append("flagNoEnterAction|");
71 flags.append("flagNavigateNext|");
74 flags.append("flagNavigatePrevious|");
77 flags.append("flagForceAscii|");
79 return (action != null) ? flags + action : flags.toString();
/packages/inputmethods/LatinIME/native/jni/src/
H A Dbinary_format.h32 // Mask and flags for children address type selection.
50 // Attribute (bigram/shortcut) related flags:
56 // Mask for attribute probability, stored on 4 bits inside the flags byte.
61 // Mask and flags for attribute address type selection.
70 static bool hasBlacklistedOrNotAWordFlag(const int flags);
80 static int skipChildrenPosition(const uint8_t flags, const int pos);
81 static int skipProbability(const uint8_t flags, const int pos);
82 static int skipShortcuts(const uint8_t *const dict, const uint8_t flags, const int pos);
83 static int skipChildrenPosAndAttributes(const uint8_t *const dict, const uint8_t flags,
85 static int readChildrenPosition(const uint8_t *const dict, const uint8_t flags, cons
187 hasBlacklistedOrNotAWordFlag(const int flags) argument
326 attributeAddressSize(const uint8_t flags) argument
342 uint8_t flags = BinaryFormat::getFlagsAndForwardPointer(dict, &currentPos); local
351 childrenAddressSize(const uint8_t flags) argument
361 skipChildrenPosition(const uint8_t flags, const int pos) argument
365 skipProbability(const uint8_t flags, const int pos) argument
369 skipShortcuts(const uint8_t *const dict, const uint8_t flags, const int pos) argument
378 skipBigrams(const uint8_t *const dict, const uint8_t flags, const int pos) argument
387 skipAllAttributes(const uint8_t *const dict, const uint8_t flags, const int pos) argument
396 skipChildrenPosAndAttributes(const uint8_t *const dict, const uint8_t flags, const int pos) argument
404 readChildrenPosition(const uint8_t *const dict, const uint8_t flags, const int pos) argument
428 hasChildrenInFlags(const uint8_t flags) argument
432 getAttributeAddressAndForwardPointer(const uint8_t *const dict, const uint8_t flags, int *pos) argument
460 getAttributeProbabilityFromFlags(const int flags) argument
482 const uint8_t flags = BinaryFormat::getFlagsAndForwardPointer(root, &pos); local
570 const uint8_t flags = getFlagsAndForwardPointer(root, &pos); local
764 const uint8_t flags = getFlagsAndForwardPointer(root, &position); local
[all...]
H A Dterminal_attributes.h34 ShortcutIterator(const uint8_t *dict, const int pos, const uint8_t flags) argument
36 mHasNextShortcutTarget(0 != (flags & BinaryFormat::FLAG_HAS_SHORTCUT_TARGETS)) {
64 TerminalAttributes(const uint8_t *const dict, const uint8_t flags, const int pos) argument
65 : mDict(dict), mFlags(flags), mStartPos(pos) {
/packages/apps/Email/src/org/apache/commons/io/filefilter/
H A DRegexFileFilter.java66 * Construct a new regular expression filter with the specified flags case sensitivity.
76 int flags = 0;
78 flags = Pattern.CASE_INSENSITIVE;
80 this.pattern = Pattern.compile(pattern, flags);
84 * Construct a new regular expression filter with the specified flags.
87 * @param flags pattern flags - e.g. {@link Pattern#CASE_INSENSITIVE}
90 public RegexFileFilter(String pattern, int flags) { argument
94 this.pattern = Pattern.compile(pattern, flags);
/packages/apps/PackageInstaller/
H A DAndroid.mk13 LOCAL_PROGUARD_FLAG_FILES := proguard.flags
/packages/apps/Provision/
H A DAndroid.mk11 LOCAL_PROGUARD_FLAG_FILES := proguard.flags
/packages/providers/UserDictionaryProvider/
H A DAndroid.mk13 LOCAL_PROGUARD_FLAG_FILES := proguard.flags
/packages/apps/OneTimeInitializer/
H A DAndroid.mk28 LOCAL_PROGUARD_FLAG_FILES := proguard.flags
/packages/wallpapers/Basic/
H A DAndroid.mk27 LOCAL_PROGUARD_FLAG_FILES := proguard.flags
/packages/wallpapers/MagicSmoke/
H A DAndroid.mk27 LOCAL_PROGUARD_FLAG_FILES := proguard.flags
/packages/wallpapers/MusicVisualization/
H A DAndroid.mk27 LOCAL_PROGUARD_FLAG_FILES := proguard.flags
/packages/apps/Email/emailcommon/src/com/android/emailcommon/
H A DTrafficFlags.java62 * Get flags indicating sync of the passed-in account; note that, by default, these flags
68 * @return flags for syncing this account
76 * Get flags indicating attachment loading from the passed-in account
80 * @return flags for loading an attachment in this account
88 * Get flags indicating sending SMTP email from the passed-in account
92 * @return flags for sending SMTP email from this account
98 public static String toString(int flags) { argument
101 sb.append(flags & ACCOUNT_MASK);
103 sb.append(REASONS[(flags
[all...]
/packages/apps/Launcher2/src/com/android/launcher2/
H A DApplicationInfo.java56 int flags = 0; field in class:ApplicationInfo
75 int appFlags = pm.getApplicationInfo(packageName, 0).flags;
77 flags |= DOWNLOADED_FLAG;
80 flags |= UPDATED_SYSTEM_APP_FLAG;
96 flags = info.flags;
101 * Creates the application intent based on a component name and various launch flags.
105 * @param launchFlags the launch flags
/packages/apps/VideoEditor/
H A DAndroid.mk11 LOCAL_PROGUARD_FLAGS := -include $(LOCAL_PATH)/proguard.flags
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
H A DCharGroupInfo.java38 public CharGroupInfo(final int originalAddress, final int endAddress, final int flags, argument
44 mFlags = flags;
/packages/apps/Calendar/tests/src/com/android/calendar/
H A DFormatDateRangeTest.java35 public int flags; field in class:FormatDateRangeTest.DateTest
40 int flags, String output) {
41 if ((flags & DateUtils.FORMAT_UTC) != 0) {
61 this.flags = flags;
67 int flags, String output) {
70 flags, output);
163 // Tests that year isn't shown by default with no year flags when time is the current year:
168 // Tests that the year is shown by default with no year flags when time isn't the current year:
187 int flags
38 DateTest(int year1, int month1, int day1, int hour1, int minute1, int year2, int month2, int day2, int hour2, int minute2, int flags, String output) argument
66 DateTest(int year1, int month1, int day1, int hour1, int minute1, int flags, String output) argument
[all...]
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
H A DHostAuth.java49 public static final int FLAG_NONE = 0x00; // No flags
105 * Returns the scheme for the specified flags.
107 public static String getSchemeString(String protocol, int flags) { argument
108 return getSchemeString(protocol, flags, null);
115 public static String getSchemeString(String protocol, int flags, String clientAlias) { argument
117 switch (flags & USER_CONFIG_MASK) {
147 * Returns the flags for the specified scheme.
151 int flags = HostAuth.FLAG_NONE;
155 flags |= HostAuth.FLAG_SSL;
157 flags |
241 setConnection(String protocol, String address, int port, int flags) argument
255 setConnection(String protocol, String address, int port, int flags, String clientCertAlias) argument
335 writeToParcel(Parcel dest, int flags) argument
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DAppBridge.java32 public void writeToParcel(Parcel dest, int flags) { argument
/packages/apps/Launcher2/
H A DAndroid.mk32 LOCAL_PROGUARD_FLAG_FILES := proguard.flags
/packages/apps/QuickSearchBox/
H A DAndroid.mk37 LOCAL_PROGUARD_FLAG_FILES := proguard.flags
/packages/experimental/ExampleImsFramework/src/com/android/example/imsframework/
H A DImsFrameworkService.java37 public int onStartCommand(Intent intent, int flags, int startId) { argument
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DContactsMockPackageManager.java69 public ApplicationInfo getApplicationInfo(String packageName, int flags) { argument
81 public List<PackageInfo> getInstalledPackages(int flags) { argument
86 public PackageInfo getPackageInfo(String packageName, int flags) throws NameNotFoundException { argument
101 public List<ProviderInfo> queryContentProviders(String processName, int uid, int flags) { argument
/packages/wallpapers/LivePicker/
H A DAndroid.mk47 LOCAL_PROGUARD_FLAG_FILES := proguard.flags

Completed in 821 milliseconds

12345678910