Home
last modified time | relevance | path

Searched refs:flags (Results 1 – 25 of 499) sorted by relevance

12345678910>>...20

/packages/inputmethods/LatinIME/dictionaries/
Diw_wordlist.combined.gz ... 44 2 word=של,f=209,flags=,originalFreq=209 3 word=את, ...
Den_US_wordlist.combined.gz
Dsl_wordlist.combined.gz ... 44 2 word=je,f=219,flags=,originalFreq=219 3 word=in, ...
Dnb_wordlist.combined.gz ... 44 2 word=i,f=217,flags=,originalFreq=217 3 word=og,
Dda_wordlist.combined.gz ... 44 2 word=i,f=215,flags=,originalFreq=215 3 word=og,
Dlv_wordlist.combined.gz ... 44 2 word=un,f=213,flags=,originalFreq=213 3 word=ir, ...
Dlt_wordlist.combined.gz
Dcs_wordlist.combined.gz ... 44 2 word=a,f=213,flags=,originalFreq=213 3 word=v,
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/
Ddynamic_pt_reading_utils.h49 static AK_FORCE_INLINE bool isMoved(const NodeFlags flags) { in isMoved() argument
50 return FLAG_IS_MOVED == (MASK_MOVED & flags); in isMoved()
53 static AK_FORCE_INLINE bool isDeleted(const NodeFlags flags) { in isDeleted() argument
54 return FLAG_IS_DELETED == (MASK_MOVED & flags); in isDeleted()
57 static AK_FORCE_INLINE bool willBecomeNonTerminal(const NodeFlags flags) { in willBecomeNonTerminal() argument
58 return FLAG_WILL_BECOME_NON_TERMINAL == (MASK_MOVED & flags); in willBecomeNonTerminal()
63 NodeFlags flags = originalFlags; in updateAndGetFlags() local
64 flags = willBecomeNonTerminal ? in updateAndGetFlags()
65 ((flags & (~MASK_MOVED)) | FLAG_WILL_BECOME_NON_TERMINAL) : flags; in updateAndGetFlags()
66 flags = isMoved ? ((flags & (~MASK_MOVED)) | FLAG_IS_MOVED) : flags; in updateAndGetFlags()
[all …]
Dpatricia_trie_reading_utils.h41 static int getCharsAndAdvancePosition(const uint8_t *const buffer, const NodeFlags flags,
46 static int skipCharacters(const uint8_t *const buffer, const NodeFlags flags,
52 const NodeFlags flags, int *const pos);
57 static AK_FORCE_INLINE bool isPossiblyOffensive(const NodeFlags flags) { in isPossiblyOffensive() argument
58 return (flags & FLAG_IS_POSSIBLY_OFFENSIVE) != 0; in isPossiblyOffensive()
61 static AK_FORCE_INLINE bool isNotAWord(const NodeFlags flags) { in isNotAWord() argument
62 return (flags & FLAG_IS_NOT_A_WORD) != 0; in isNotAWord()
65 static AK_FORCE_INLINE bool isTerminal(const NodeFlags flags) { in isTerminal() argument
66 return (flags & FLAG_IS_TERMINAL) != 0; in isTerminal()
69 static AK_FORCE_INLINE bool hasShortcutTargets(const NodeFlags flags) { in hasShortcutTargets() argument
[all …]
Dpatricia_trie_reading_utils.cpp70 const NodeFlags flags, const int maxLength, const int *const codePointTable, in getCharsAndAdvancePosition() argument
73 if (hasMultipleChars(flags)) { in getCharsAndAdvancePosition()
95 /* static */ int PtReadingUtils::skipCharacters(const uint8_t *const buffer, const NodeFlags flags, in skipCharacters() argument
97 if (hasMultipleChars(flags)) { in skipCharacters()
115 const uint8_t *const buffer, const NodeFlags flags, int *const pos) { in readChildrenPositionAndAdvancePosition() argument
118 switch (MASK_CHILDREN_POSITION_TYPE & flags) { in readChildrenPositionAndAdvancePosition()
143 const NodeFlags flags = getFlagsAndAdvancePosition(dictBuf, &readingPos); in readPtNodeInfo() local
144 *outFlags = flags; in readPtNodeInfo()
146 dictBuf, flags, MAX_WORD_LENGTH, codePointTable, outCodePoint, &readingPos); in readPtNodeInfo()
147 *outProbability = isTerminal(flags) ? in readPtNodeInfo()
[all …]
/packages/apps/Messaging/src/com/android/messaging/util/
DDates.java102 int flags; in getMessageDetailsTimeString() local
104 flags = FORCE_24_HOUR; in getMessageDetailsTimeString()
106 flags = FORCE_12_HOUR; in getMessageDetailsTimeString()
110 flags); in getMessageDetailsTimeString()
116 int flags; in getTimeString() local
118 flags = FORCE_24_HOUR; in getTimeString()
120 flags = FORCE_12_HOUR; in getTimeString()
123 context.getResources().getConfiguration().locale, flags, minPeriodToday); in getTimeString()
128 final boolean abbreviated, final Locale locale, final int flags, in getTimestamp() argument
135 return getLessThanAnHourOldTimeString(timeDiff, flags); in getTimestamp()
[all …]
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
DLegacyPolicySet.java68 public static Policy flagsToPolicy(long flags) { in flagsToPolicy() argument
70 policy.mPasswordMode = ((int) (flags & PASSWORD_MODE_MASK)) >> PASSWORD_MODE_SHIFT; in flagsToPolicy()
71 policy.mPasswordMinLength = (int) ((flags & PASSWORD_LENGTH_MASK) >> PASSWORD_LENGTH_SHIFT); in flagsToPolicy()
73 (int) ((flags & PASSWORD_MAX_FAILS_MASK) >> PASSWORD_MAX_FAILS_SHIFT); in flagsToPolicy()
75 (int) ((flags & PASSWORD_COMPLEX_CHARS_MASK) >> PASSWORD_COMPLEX_CHARS_SHIFT); in flagsToPolicy()
76 policy.mPasswordHistory = (int) ((flags & PASSWORD_HISTORY_MASK) >> PASSWORD_HISTORY_SHIFT); in flagsToPolicy()
78 (int) ((flags & PASSWORD_EXPIRATION_MASK) >> PASSWORD_EXPIRATION_SHIFT); in flagsToPolicy()
80 (int) ((flags & SCREEN_LOCK_TIME_MASK) >> SCREEN_LOCK_TIME_SHIFT); in flagsToPolicy()
81 policy.mRequireRemoteWipe = 0 != (flags & REQUIRE_REMOTE_WIPE); in flagsToPolicy()
82 policy.mRequireEncryption = 0 != (flags & REQUIRE_ENCRYPTION); in flagsToPolicy()
[all …]
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
Dprobability_entry.h43 ProbabilityEntry(const int flags, const int probability) in ProbabilityEntry() argument
44 : mFlags(flags), mProbability(probability), mHistoricalInfo() {} in ProbabilityEntry()
47 ProbabilityEntry(const int flags, const HistoricalInfo *const historicalInfo) in ProbabilityEntry() argument
48 : mFlags(flags), mProbability(NOT_A_PROBABILITY), mHistoricalInfo(*historicalInfo) {} in ProbabilityEntry()
118 const int flags = readFromEncodedEntry(encodedEntry, in decode() local
133 return ProbabilityEntry(flags, &historicalInfo); in decode()
135 const int flags = readFromEncodedEntry(encodedEntry, in decode() local
140 return ProbabilityEntry(flags, probability); in decode()
159 uint8_t flags = 0; in createFlags() local
161 flags |= Ver4DictConstants::FLAG_REPRESENTS_BEGINNING_OF_SENTENCE; in createFlags()
[all …]
/packages/services/Car/car-lib/src/android/car/content/pm/
DAppBlockingPackageInfo.java55 public final int flags; field in AppBlockingPackageInfo
85 @ConstrcutorFlags int flags, @Nullable Signature[] signatures, in AppBlockingPackageInfo() argument
91 this.flags = flags; in AppBlockingPackageInfo()
101 flags = in.readInt(); in AppBlockingPackageInfo()
115 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument
117 dest.writeInt(this.flags); in writeToParcel()
137 if (signatures == null && (flags & FLAG_SYSTEM_APP) == 0) { in verify()
145 if ((flags & FLAG_WHOLE_ACTIVITY) != 0) { in isActivityCovered()
166 result = prime * result + flags; in hashCode()
189 if (flags != other.flags) { in equals()
[all …]
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/
Dpatricia_trie_policy.cpp118 const PatriciaTrieReadingUtils::NodeFlags flags = in getCodePointsAndProbabilityAndReturnCodePointCount() local
126 if (PatriciaTrieReadingUtils::hasMultipleChars(flags)) { in getCodePointsAndProbabilityAndReturnCodePointCount()
147 if (PatriciaTrieReadingUtils::hasMultipleChars(flags)) { in getCodePointsAndProbabilityAndReturnCodePointCount()
148 PatriciaTrieReadingUtils::skipCharacters(mBuffer.data(), flags, MAX_WORD_LENGTH, in getCodePointsAndProbabilityAndReturnCodePointCount()
151 if (PatriciaTrieReadingUtils::isTerminal(flags)) { in getCodePointsAndProbabilityAndReturnCodePointCount()
157 const bool hasChildren = PatriciaTrieReadingUtils::hasChildrenInFlags(flags); in getCodePointsAndProbabilityAndReturnCodePointCount()
167 ::readChildrenPositionAndAdvancePosition(mBuffer.data(), flags, in getCodePointsAndProbabilityAndReturnCodePointCount()
231 if (PatriciaTrieReadingUtils::hasChildrenInFlags(flags)) { in getCodePointsAndProbabilityAndReturnCodePointCount()
233 mBuffer.data(), flags, &pos); in getCodePointsAndProbabilityAndReturnCodePointCount()
235 if (PatriciaTrieReadingUtils::hasShortcutTargets(flags)) { in getCodePointsAndProbabilityAndReturnCodePointCount()
[all …]
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/bigram/
Dbigram_list_read_write_utils.h38 static AK_FORCE_INLINE int getProbabilityFromFlags(const BigramFlags flags) { in getProbabilityFromFlags() argument
39 return flags & MASK_ATTRIBUTE_PROBABILITY; in getProbabilityFromFlags()
42 static AK_FORCE_INLINE bool hasNext(const BigramFlags flags) { in hasNext() argument
43 return (flags & FLAG_ATTRIBUTE_HAS_NEXT) != 0; in hasNext()
60 static AK_FORCE_INLINE bool isOffsetNegative(const BigramFlags flags) { in isOffsetNegative() argument
61 return (flags & FLAG_ATTRIBUTE_OFFSET_NEGATIVE) != 0; in isOffsetNegative()
65 const BigramFlags flags, int *const pos);
/packages/apps/Launcher3/src/com/android/launcher3/util/
DFlagOp.java9 public int apply(int flags) { in apply() argument
10 return flags; in apply()
16 public int apply(int flags) { in addFlag()
17 return flags | flag; in addFlag()
25 public int apply(int flags) {
26 return flags & ~flag;
/packages/apps/Email/tests/src/com/android/email/
DSecurityPolicyTests.java498 long flags = 67096612L; in testPolicyFlagsToPolicy() local
499 PolicySet ps = new PolicySet(flags); in testPolicyFlagsToPolicy()
500 Policy policy = LegacyPolicySet.flagsToPolicy(flags); in testPolicyFlagsToPolicy()
502 flags = 52776591691846L; in testPolicyFlagsToPolicy()
503 ps = new PolicySet(flags); in testPolicyFlagsToPolicy()
504 policy = LegacyPolicySet.flagsToPolicy(flags); in testPolicyFlagsToPolicy()
506 flags = 1689605957029924L; in testPolicyFlagsToPolicy()
507 ps = new PolicySet(flags); in testPolicyFlagsToPolicy()
508 policy = LegacyPolicySet.flagsToPolicy(flags); in testPolicyFlagsToPolicy()
531 private PolicySet(long flags) { in PolicySet() argument
[all …]
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/
DHostAuth.java167 public static String getSchemeString(String protocol, int flags, String clientAlias) { in getSchemeString() argument
169 switch (flags & USER_CONFIG_MASK) { in getSchemeString()
203 int flags = HostAuth.FLAG_NONE; in getSchemeFlags() local
207 flags |= HostAuth.FLAG_SSL; in getSchemeFlags()
209 flags |= HostAuth.FLAG_TLS; in getSchemeFlags()
214 flags |= HostAuth.FLAG_TRUST_ALL; in getSchemeFlags()
218 return flags; in getSchemeFlags()
354 public void setConnection(String protocol, String address, int port, int flags) { in setConnection() argument
355 setConnection(protocol, address, port, flags, null); in setConnection()
369 int port, int flags, String clientCertAlias) { in setConnection() argument
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DAppInfo.java60 int flags = 0; field in AppInfo
92 flags = initFlags(info); in AppInfo()
106 int appFlags = info.getApplicationInfo().flags; in initFlags()
107 int flags = 0; in initFlags() local
109 flags |= DOWNLOADED_FLAG; in initFlags()
112 flags |= UPDATED_SYSTEM_APP_FLAG; in initFlags()
115 return flags; in initFlags()
123 flags = info.flags; in AppInfo()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DEditorInfoCompatUtils.java69 final StringBuilder flags = new StringBuilder(); in imeOptionsName() local
71 flags.append("flagNoEnterAction|"); in imeOptionsName()
74 flags.append("flagNavigateNext|"); in imeOptionsName()
77 flags.append("flagNavigatePrevious|"); in imeOptionsName()
80 flags.append("flagForceAscii|"); in imeOptionsName()
82 return (action != null) ? flags + action : flags.toString(); in imeOptionsName()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/shortcut/
Dshortcut_list_reading_utils.h34 static AK_FORCE_INLINE int getProbabilityFromFlags(const ShortcutFlags flags) { in getProbabilityFromFlags() argument
35 return flags & MASK_ATTRIBUTE_PROBABILITY; in getProbabilityFromFlags()
38 static AK_FORCE_INLINE bool hasNext(const ShortcutFlags flags) { in hasNext() argument
39 return (flags & FLAG_ATTRIBUTE_HAS_NEXT) != 0; in hasNext()
56 static AK_FORCE_INLINE bool isWhitelist(const ShortcutFlags flags) { in isWhitelist() argument
57 return getProbabilityFromFlags(flags) == WHITELIST_SHORTCUT_PROBABILITY; in isWhitelist()
/packages/apps/Calendar/tests/src/com/android/calendar/
DFormatDateRangeTest.java35 public int flags; field in FormatDateRangeTest.DateTest
40 int flags, String output) { in DateTest() argument
41 if ((flags & DateUtils.FORMAT_UTC) != 0) { in DateTest()
61 this.flags = flags; in DateTest()
67 int flags, String output) { in DateTest() argument
70 flags, output); in DateTest()
187 int flags = dateTest.flags; in testAll() local
188 String output = DateUtils.formatDateRange(mContext, startMillis, endMillis, flags); in testAll()
/packages/services/Car/service/src/com/android/car/pm/
DCarPackageManagerService.java91 public void setAppBlockingPolicy(String packageName, CarAppBlockingPolicy policy, int flags) { in setAppBlockingPolicy() argument
95 doSetAppBlockingPolicy(packageName, policy, flags, true /*setNow*/); in setAppBlockingPolicy()
98 private void doSetAppBlockingPolicy(String packageName, CarAppBlockingPolicy policy, int flags, in doSetAppBlockingPolicy() argument
109 if ((flags & CarPackageManager.FLAG_SET_POLICY_ADD) != 0 && in doSetAppBlockingPolicy()
110 (flags & CarPackageManager.FLAG_SET_POLICY_REMOVE) != 0) { in doSetAppBlockingPolicy()
114 mHandler.requestUpdatingPolicy(packageName, policy, flags); in doSetAppBlockingPolicy()
117 if ((flags & CarPackageManager.FLAG_SET_POLICY_WAIT_FOR_CHANGE) != 0) { in doSetAppBlockingPolicy()
266 private void doUpdatePolicy(String packageName, CarAppBlockingPolicy policy, int flags) { in doUpdatePolicy() argument
269 ",flags:0x" + Integer.toHexString(flags)); in doUpdatePolicy()
279 if ((flags & CarPackageManager.FLAG_SET_POLICY_ADD) != 0) { in doUpdatePolicy()
[all …]

12345678910>>...20