/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/ |
D | Permission.java | 40 private int mFlags; field in Permission 55 mFlags = flags; in Permission() 96 return mFlags; in getFlags() 144 return (mFlags & PackageManager.FLAG_PERMISSION_REVIEW_REQUIRED) != 0; in isReviewRequired() 148 mFlags &= ~PackageManager.FLAG_PERMISSION_REVIEW_REQUIRED; in unsetReviewRequired() 160 return (mFlags & PackageManager.FLAG_PERMISSION_USER_FIXED) != 0; in isUserFixed() 165 mFlags |= PackageManager.FLAG_PERMISSION_USER_FIXED; in setUserFixed() 167 mFlags &= ~PackageManager.FLAG_PERMISSION_USER_FIXED; in setUserFixed() 177 mFlags |= PackageManager.FLAG_PERMISSION_ONE_TIME; in setOneTime() 179 mFlags &= ~PackageManager.FLAG_PERMISSION_ONE_TIME; in setOneTime() [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/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/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | RecentsOrientedState.java | 125 private int mFlags; field in RecentsOrientedState 152 mFlags = sizeStrategy.rotationSupportedByActivity in RecentsOrientedState() 155 mFlags |= FLAG_SWIPE_UP_NOT_RUNNING; in RecentsOrientedState() 222 || (canRecentsActivityRotate() && (mFlags & FLAG_SWIPE_UP_NOT_RUNNING) != 0)) { in updateHandler() 237 mStateId = (((((mFlags << 2) in updateHandler() 255 && (mFlags & VALUE_ROTATION_WATCHER_ENABLED) == VALUE_ROTATION_WATCHER_ENABLED in setFlag() 258 mFlags |= mask; in setFlag() 260 mFlags &= ~mask; in setFlag() 264 && (mFlags & VALUE_ROTATION_WATCHER_ENABLED) == VALUE_ROTATION_WATCHER_ENABLED in setFlag() 364 return (mFlags & MASK_MULTIPLE_ORIENTATION_SUPPORTED_BY_DEVICE) in isMultipleOrientationSupportedByDevice() [all …]
|
/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()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | LauncherAppWidgetHost.java | 75 private int mFlags = FLAG_STATE_IS_NORMAL; field in LauncherAppWidgetHost 110 mFlags |= FLAG_LISTENING; in startListening() 137 mFlags &= ~FLAG_LISTENING; in stopListening() 142 return (mFlags & FLAG_LISTENING) != 0; in isListening() 151 mFlags |= flag; in setShouldListenFlag() 153 mFlags &= ~flag; in setShouldListenFlag() 157 if (!listening && (mFlags & FLAGS_SHOULD_LISTEN) == FLAGS_SHOULD_LISTEN) { in setShouldListenFlag() 160 } else if (listening && (mFlags & FLAG_ACTIVITY_STARTED) == 0) { in setShouldListenFlag() 223 } else if ((mFlags & FLAG_LISTENING) == 0) { in createView()
|
/packages/modules/Permission/service/java/com/android/permission/persistence/ |
D | RuntimePermissionsState.java | 160 private final int mFlags; field in RuntimePermissionsState.PermissionState 172 mFlags = flags; in PermissionState() 200 return mFlags; in getFlags() 213 && mFlags == that.mFlags in equals() 219 return Objects.hash(mName, mGranted, mFlags); in hashCode()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/data/ |
D | SearchActionItemInfo.java | 43 private int mFlags = 0; field in SearchActionItemInfo 66 mFlags = info.mFlags; in SearchActionItemInfo() 76 return (mFlags & flags) != 0; in hasFlags() 80 mFlags |= flags ; in setFlags()
|
/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/loader/ |
D | TmaMediaItemReader.java | 77 private final Map<String, Integer> mFlags = new HashMap<>(2); field in TmaMediaItemReader 87 mFlags.put("browsable", FLAG_BROWSABLE); in TmaMediaItemReader() 88 mFlags.put("playable", FLAG_PLAYABLE); in TmaMediaItemReader() 115 return new TmaMediaItem(TmaLoaderUtils.parseFlags(getString(json, Keys.FLAGS), mFlags), in fromJson()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | AllAppsList.java | 79 private int mFlags; field in AllAppsList 103 return (mFlags & Callbacks.FLAG_HAS_SHORTCUT_PERMISSION) != 0; in hasShortcutHostPermission() 111 mFlags |= flagMask; in setFlags() 113 mFlags &= ~flagMask; in setFlags() 122 return mFlags; in getFlags()
|
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/ |
D | TmaMediaItem.java | 73 private final int mFlags; field in TmaMediaItem 101 mFlags = flags; in TmaMediaItem() 171 if ((child.mFlags & FLAG_PLAYABLE) != 0) { in setChildren() 184 return new MediaItem(buildDescription(), mFlags); in toMediaItem()
|
/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/Launcher3/quickstep/src/com/android/quickstep/fallback/ |
D | RecentsState.java | 56 private final int mFlags; field in RecentsState 63 this.mFlags = flags; in RecentsState() 74 return (mFlags & mask) != 0; in hasFlag()
|
/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/services/Car/car-test-lib/src/android/car/test/util/ |
D | UserTestingHelper.java | 126 private int mFlags; field in UserTestingHelper.UserInfoBuilder 183 mFlags = flags; in setFlags() 228 int flags = mFlags; in build()
|
/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/modules/Wifi/framework/java/android/net/wifi/ |
D | WifiScanner.java | 624 private int mFlags; field in WifiScanner.ScanData 647 mFlags = flags; in ScanData() 661 mFlags = flags; in ScanData() 669 mFlags = s.mFlags; in ScanData() 683 return mFlags; in getFlags() 738 mFlags |= s.mFlags; in addResults() 756 dest.writeInt(mFlags); in writeToParcel()
|
/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/Launcher3/src/com/android/launcher3/ |
D | LauncherState.java | 143 private final int mFlags; field in LauncherState 147 this.mFlags = flags; in LauncherState() 158 return (mFlags & mask) != 0; in hasFlag()
|
/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/services/Car/tests/carservice_test/src/com/android/car/audio/ |
D | CarZonesAudioFocusTest.java | 361 private int mFlags = AUDIOFOCUS_FLAG; field in CarZonesAudioFocusTest.AudioFocusInfoBuilder 416 mFlags = mFlags | AudioManager.AUDIOFOCUS_FLAG_DELAY_OK; in createAudioFocusInfo() 420 mPackageName, mGainRequest, mLossReceived, mFlags, mSdk); in createAudioFocusInfo()
|