/packages/apps/PermissionController/src/com/android/packageinstaller/permission/model/ |
D | Permission.java | 39 private int mFlags; field in Permission 54 mFlags = flags; in Permission() 95 return mFlags; in getFlags() 143 return (mFlags & PackageManager.FLAG_PERMISSION_REVIEW_REQUIRED) != 0; in isReviewRequired() 147 mFlags &= ~PackageManager.FLAG_PERMISSION_REVIEW_REQUIRED; in unsetReviewRequired() 159 return (mFlags & PackageManager.FLAG_PERMISSION_USER_FIXED) != 0; in isUserFixed() 164 mFlags |= PackageManager.FLAG_PERMISSION_USER_FIXED; in setUserFixed() 166 mFlags &= ~PackageManager.FLAG_PERMISSION_USER_FIXED; in setUserFixed() 171 return (mFlags & PackageManager.FLAG_PERMISSION_SYSTEM_FIXED) != 0; in isSystemFixed() 175 return (mFlags & PackageManager.FLAG_PERMISSION_POLICY_FIXED) != 0; in isPolicyFixed() [all …]
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/ |
D | probability_entry.h | 34 : mFlags(probabilityEntry.mFlags), mProbability(probabilityEntry.mProbability), in ProbabilityEntry() 39 : mFlags(Ver4DictConstants::FLAG_NOT_A_VALID_ENTRY), mProbability(NOT_A_PROBABILITY), in ProbabilityEntry() 44 : mFlags(flags), mProbability(probability), mHistoricalInfo() {} in ProbabilityEntry() 48 : mFlags(flags), mProbability(NOT_A_PROBABILITY), mHistoricalInfo(*historicalInfo) {} in ProbabilityEntry() 52 : mFlags(createFlags(unigramProperty->representsBeginningOfSentence(), in ProbabilityEntry() 61 : mFlags(0), mProbability(ngramProperty->getProbability()), in ProbabilityEntry() 65 return (mFlags & Ver4DictConstants::FLAG_NOT_A_VALID_ENTRY) == 0; in isValid() 73 return mFlags; in getFlags() 85 return (mFlags & Ver4DictConstants::FLAG_REPRESENTS_BEGINNING_OF_SENTENCE) != 0; in representsBeginningOfSentence() 89 return (mFlags & Ver4DictConstants::FLAG_NOT_A_WORD) != 0; in isNotAWord() [all …]
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/ |
D | pt_node_params.h | 35 PtNodeParams() : mHeadPos(NOT_A_DICT_POS), mFlags(0), mHasMovedFlag(false), in PtNodeParams() 44 : mHeadPos(ptNodeParams.mHeadPos), mFlags(ptNodeParams.mFlags), in PtNodeParams() 64 : mHeadPos(headPos), mFlags(flags), mHasMovedFlag(false), mParentPos(NOT_A_DICT_POS), in PtNodeParams() 79 : mHeadPos(headPos), mFlags(flags), mHasMovedFlag(true), mParentPos(parentPos), in PtNodeParams() 93 : mHeadPos(ptNodeParams->getHeadPos()), mFlags(flags), mHasMovedFlag(true), in PtNodeParams() 110 : mHeadPos(NOT_A_DICT_POS), mFlags(flags), mHasMovedFlag(true), mParentPos(parentPos), in PtNodeParams() 132 return mHasMovedFlag && DynamicPtReadingUtils::isDeleted(mFlags); in isDeleted() 136 return mHasMovedFlag && DynamicPtReadingUtils::willBecomeNonTerminal(mFlags); in willBecomeNonTerminal() 144 return PatriciaTrieReadingUtils::isTerminal(mFlags); in isTerminal() 148 return PatriciaTrieReadingUtils::isPossiblyOffensive(mFlags); in isPossiblyOffensive() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherAppWidgetHost.java | 58 private int mFlags = FLAG_RESUMED; field in LauncherAppWidgetHost 86 mFlags |= FLAG_LISTENING; in startListening() 113 mFlags &= ~FLAG_LISTENING; in stopListening() 118 return (mFlags & FLAG_LISTENING) != 0; in isListening() 129 if (isResumed == ((mFlags & FLAG_RESUMED) != 0)) { in setResumed() 133 mFlags |= FLAG_RESUMED; in setResumed() 135 if ((mFlags & FLAG_LISTEN_IF_RESUMED) != 0 && (mFlags & FLAG_LISTENING) == 0) { in setResumed() 139 mFlags &= ~FLAG_RESUMED; in setResumed() 150 if (listenIfResumed == ((mFlags & FLAG_LISTEN_IF_RESUMED) != 0)) { in setListenIfResumed() 154 mFlags |= FLAG_LISTEN_IF_RESUMED; in setListenIfResumed() [all …]
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/ |
D | probability_entry.h | 38 : mFlags(probabilityEntry.mFlags), mProbability(probabilityEntry.mProbability), in ProbabilityEntry() 43 : mFlags(0), mProbability(NOT_A_PROBABILITY), mHistoricalInfo() {} in ProbabilityEntry() 47 : mFlags(flags), mProbability(probability), mHistoricalInfo() {} in ProbabilityEntry() 52 : mFlags(flags), mProbability(probability), mHistoricalInfo(*historicalInfo) {} in ProbabilityEntry() 55 return ProbabilityEntry(mFlags, probability, &mHistoricalInfo); in createEntryWithUpdatedProbability() 60 return ProbabilityEntry(mFlags, mProbability, historicalInfo); in createEntryWithUpdatedHistoricalInfo() 68 return mFlags; in getFlags() 83 const int mFlags; variable
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | ActivityState.java | 52 protected int mFlags; field in ActivityState 151 if ((0 != (mFlags & FLAG_SCREEN_ON_ALWAYS)) || in setScreenFlags() 152 (mPlugged && 0 != (mFlags & FLAG_SCREEN_ON_WHEN_PLUGGED))) { in setScreenFlags() 157 if (0 != (mFlags & FLAG_ALLOW_LOCK_WHILE_SCREEN_ON)) { in setScreenFlags() 162 if (0 != (mFlags & FLAG_SHOW_WHEN_LOCKED)) { in setScreenFlags() 187 if (0 != (mFlags & FLAG_SCREEN_ON_WHEN_PLUGGED)) { in onPause() 202 if ((mFlags & FLAG_HIDE_ACTION_BAR) != 0) { in resume() 217 boolean lightsOut = ((mFlags & FLAG_HIDE_STATUS_BAR) != 0); in resume() 226 if (0 != (mFlags & FLAG_SCREEN_ON_WHEN_PLUGGED)) { in resume()
|
D | SlideshowPage.java | 115 mFlags |= (FLAG_HIDE_ACTION_BAR | FLAG_HIDE_STATUS_BAR); in onCreate() 118 mFlags |= FLAG_SCREEN_ON_WHEN_PLUGGED | FLAG_SHOW_WHEN_LOCKED; in onCreate() 121 mFlags |= FLAG_SCREEN_ON_ALWAYS; in onCreate()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/event/ |
D | Event.java | 104 final private int mFlags; field in Event 124 mFlags = flags; in Event() 259 source.mX, source.mY, source.mSuggestedWordInfo, source.mFlags | FLAG_CONSUMED, in createConsumedEvent() 279 return 0 != (FLAG_DEAD & mFlags); in isDead() 283 return 0 != (FLAG_REPEAT & mFlags); in isKeyRepeat() 286 public boolean isConsumed() { return 0 != (FLAG_CONSUMED & mFlags); } in isConsumed()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | GLRootView.java | 94 private int mFlags = FLAG_NEED_LAYOUT; field in GLRootView 120 mFlags |= FLAG_INITIALIZED; in GLRootView() 214 if (mContentView == null || (mFlags & FLAG_NEED_LAYOUT) != 0) return; in requestLayoutContentPane() 218 if ((mFlags & FLAG_INITIALIZED) == 0) return; in requestLayoutContentPane() 220 mFlags |= FLAG_NEED_LAYOUT; in requestLayoutContentPane() 228 mFlags &= ~FLAG_NEED_LAYOUT; in layoutContentPane() 404 || (mFlags & FLAG_NEED_LAYOUT) != 0) { in onDrawFrameLocked()
|
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/ |
D | TmaMediaItem.java | 72 private final int mFlags; field in TmaMediaItem 96 mFlags = flags; in TmaMediaItem() 107 if ((child.mFlags & FLAG_PLAYABLE) != 0) { in TmaMediaItem() 162 return new TmaMediaItem(mFlags, mPlayableStyle, mBrowsableStyle, mMediaMetadata, in append() 171 return new MediaItem(buildDescription(), mFlags); in toMediaItem()
|
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/loader/ |
D | TmaMediaItemReader.java | 75 private final Map<String, Integer> mFlags = new HashMap<>(2); field in TmaMediaItemReader 85 mFlags.put("browsable", FLAG_BROWSABLE); in TmaMediaItemReader() 86 mFlags.put("playable", FLAG_PLAYABLE); in TmaMediaItemReader() 113 return new TmaMediaItem(TmaLoaderUtils.parseFlags(getString(json, Keys.FLAGS), mFlags), in fromJson()
|
/packages/apps/Launcher3/src/com/android/launcher3/anim/ |
D | AnimatorSetBuilder.java | 51 private int mFlags = 0; field in AnimatorSetBuilder 87 mFlags |= flag; in addFlag() 91 return (mFlags & flag) != 0; in hasFlag()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
D | CrossProfileIntentFilter.java | 79 private int mFlags = 0; field in CrossProfileIntentFilter.Builder 85 mFlags = flags; in Builder() 114 return new CrossProfileIntentFilter(mFilter, mFlags, mDirection, in build()
|
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/ |
D | DataModel.java | 313 private int mFlags; field in DataModel.QueryTask 324 mFlags = builder.mFlags; in QueryTask() 366 results.add(new MediaItem(description, mFlags)); in doInBackground() 406 private int mFlags; field in DataModel.QueryTask.Builder 446 mFlags = flags; in setFlags()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/ |
D | CropActivity.java | 363 int mFlags = 0; field in CropActivity.BitmapIOTask 391 mFlags = flags; in BitmapIOTask() 439 if ((mFlags & DO_RETURN_DATA) != 0) { in doInBackground() 463 if ((mFlags & (DO_EXTRA_OUTPUT | DO_SET_WALLPAPER)) != 0 && mInStream != null) { in doInBackground() 547 if (mFlags == DO_EXTRA_OUTPUT) { in doInBackground() 562 if ((mFlags & DO_EXTRA_OUTPUT) != 0) { in doInBackground() 581 if ((mFlags & DO_SET_WALLPAPER) != 0 && mWPManager != null) { in doInBackground()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ |
D | TestRootProvider.java | 56 private final int mFlags; field in TestRootProvider 62 mFlags = flags; in TestRootProvider() 73 row.add(Root.COLUMN_FLAGS, mFlags); in queryRoots()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | WordListMetadata.java | 40 public final int mFlags; // Always 0 in this version, reserved for future use field in WordListMetadata 73 mFlags = flags; in WordListMetadata() 131 sb.append("\nFlags : ").append(mFlags); in toString()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | PtNodeInfo.java | 27 public final int mFlags; field in PtNodeInfo 40 mFlags = flags; in PtNodeInfo()
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/shadows/ |
D | ShadowMediaSession.java | 36 public int mFlags; field in ShadowMediaSession 72 mFlags = flags; in setFlags()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/incident/ |
D | PendingList.java | 103 private final int mFlags; field in PendingList.Updater 113 mFlags = flags; in Updater() 218 if ((mFlags & FLAG_FROM_NOTIFICATION) == 0) { in updateState()
|
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
D | AppsAsyncLoader.java | 474 private int mFlags; field in AppsAsyncLoader.PackageInfo.Builder 504 this.mFlags = flags; in setFlags() 525 mFlags, in build()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadInfo.java | 97 info.mFlags = getInt(Downloads.Impl.COLUMN_FLAGS); in updateFromDatabase() 186 public int mFlags; field in DownloadInfo 440 pw.printPair("mFlags", mFlags); in dump()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
D | AndroidWordLevelSpellCheckerSession.java | 66 public final int mFlags; field in AndroidWordLevelSpellCheckerSession.SuggestionsParams 69 mFlags = flags; in SuggestionsParams()
|
/packages/modules/DnsResolver/ |
D | DnsProxyListener.cpp | 899 : mClient(c), mMsg(std::move(msg)), mFlags(flags), mNetContext(netcontext) {} in ResNSendHandler() 906 LOG(DEBUG) << "ResNSendHandler::run: " << mFlags << " / {" << mNetContext.app_netid << " " in run() 947 &rcode, static_cast<ResNsendFlags>(mFlags), &event); in run() 961 event.set_res_nsend_flags(static_cast<ResNsendFlags>(mFlags)); in run()
|
D | DnsProxyListener.h | 144 uint32_t mFlags; variable
|