/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/model/ |
D | AppOp.java | 49 private final int mMode; field in AppOp 54 mMode = mode; in AppOp() 68 return mMode; in getMode() 83 return Permissions.setAppOpUidMode(packageName, mName, mMode, context); in grant() 118 + ", mMode=" + mMode in toString() 131 return mMode == appOp.mMode in equals() 138 return Objects.hash(mName, mMaxTargetSdkVersion, mMode); in hashCode()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | MagnificationModePreferenceController.java | 75 private int mMode = MagnificationMode.NONE; field in MagnificationModePreferenceController 116 mMode = savedInstanceState.getInt(EXTRA_MODE, MagnificationMode.NONE); in onCreate() 125 mMode = MagnificationCapabilities.getCapabilities(mContext); in displayPreference() 133 outState.putInt(EXTRA_MODE, mMode); in onSaveInstanceState() 200 mMode = mode; in setMode() 201 MagnificationCapabilities.setCapabilities(mContext, mMode); in setMode() 203 MagnificationCapabilities.getSummary(mContext, mMode)); in setMode() 211 if (modeInfo.mMagnificationMode == mMode) { in onMagnificationModeSelected() 214 mMode = modeInfo.mMagnificationMode; in onMagnificationModeSelected() 215 if (isTripleTapEnabled(mContext) && mMode != MagnificationMode.FULLSCREEN) { in onMagnificationModeSelected() [all …]
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | SysUINavigationMode.java | 74 private Mode mMode; field in SysUINavigationMode 99 Mode oldMode = mMode; in updateMode() 101 if (mMode != oldMode) { in updateMode() 150 mMode = m; in initializeMode() 157 listener.onNavigationModeChanged(mMode); in dispatchModeChange() 169 return mMode; in addModeChangeListener() 186 return mMode; in getMode() 191 pw.println(" mode=" + mMode.name()); in dump()
|
D | RotationTouchHelper.java | 61 private SysUINavigationMode.Mode mMode = THREE_BUTTONS; field in RotationTouchHelper 151 mOrientationTouchTransformer = new OrientationTouchTransformer(resources, mMode, in init() 223 if (!mMode.hasGestures) { in updateGestureTouchRegions() 264 if (forceRegister || (!mMode.hasGestures && newMode.hasGestures)) { in onNavModeChangedInternal() 266 } else if (mMode.hasGestures && !newMode.hasGestures){ in onNavModeChangedInternal() 270 mMode = newMode; in onNavModeChangedInternal() 285 if (!mMode.hasGestures) { in onDisplayInfoChanged() 395 if (!mMode.hasGestures) { in getCurrentActiveRotation()
|
D | OrientationTouchTransformer.java | 120 private SysUINavigationMode.Mode mMode; field in OrientationTouchTransformer 146 mMode = mode; in OrientationTouchTransformer() 165 Log.d(TAG, "setNavigationMode new: " + newMode + " oldMode: " + mMode + " " + this); in setNavigationMode() 167 if (mMode == newMode) { in setNavigationMode() 170 this.mMode = newMode; in setNavigationMode() 221 mMode != SysUINavigationMode.Mode.TWO_BUTTONS; in enableMultipleRegions() 278 + " with mode: " + mMode + " displayRotation: " + display.rotation); in createRegionForDisplay() 286 if (mMode == SysUINavigationMode.Mode.NO_BUTTON) { in createRegionForDisplay()
|
D | RecentsAnimationDeviceState.java | 111 private SysUINavigationMode.Mode mMode = THREE_BUTTONS; field in RecentsAnimationDeviceState 295 mMode = newMode; in onNavigationModeChanged() 301 mNavBarPosition = new NavBarPosition(mMode, info); in onDisplayInfoChanged() 314 return mMode; in getNavMode() 328 return mMode == NO_BUTTON; in isFullyGesturalNavMode() 335 return mMode.hasGestures; in isGesturalNavMode() 342 return mMode == TWO_BUTTONS; in isTwoButtonNavMode() 349 return mMode == THREE_BUTTONS; in isButtonNavMode() 541 return mMode == NO_BUTTON && exclusionRegion != null in isInExclusionRegion()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryOptimizeUtils.java | 38 private int mMode; field in BatteryOptimizeUtils 57 mMode = mAppOpsManager in BatteryOptimizeUtils() 64 if (!mAllowListed && mMode == AppOpsManager.MODE_IGNORED) { in getAppUsageState() 66 } else if (mAllowListed && mMode == AppOpsManager.MODE_ALLOWED) { in getAppUsageState() 68 } else if (!mAllowListed && mMode == AppOpsManager.MODE_ALLOWED) { in getAppUsageState() 119 mMode = mAppOpsManager in refreshState() 124 mMode)); in refreshState()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | PrivateDnsModeDialogPreference.java | 96 int mMode; field in PrivateDnsModeDialogPreference 163 mMode = ConnectivitySettingsManager.getPrivateDnsMode(context); in onBindDialogView() 171 mRadioGroup.check(PRIVATE_DNS_MAP.getOrDefault(mMode, R.id.private_dns_mode_opportunistic)); in onBindDialogView() 199 if (mMode == PRIVATE_DNS_MODE_PROVIDER_HOSTNAME) { in onClick() 206 SettingsEnums.ACTION_PRIVATE_DNS_MODE, mMode); in onClick() 207 ConnectivitySettingsManager.setPrivateDnsMode(context, mMode); in onClick() 214 mMode = PRIVATE_DNS_MODE_OFF; in onCheckedChanged() 216 mMode = PRIVATE_DNS_MODE_OPPORTUNISTIC; in onCheckedChanged() 218 mMode = PRIVATE_DNS_MODE_PROVIDER_HOSTNAME; in onCheckedChanged() 267 final boolean modeProvider = PRIVATE_DNS_MODE_PROVIDER_HOSTNAME == mMode; in updateDialogInfo()
|
/packages/apps/Car/Media/src/com/android/car/media/ |
D | MediaActivity.java | 97 private Mode mMode; field in MediaActivity 154 mMode = localViewModel.getSavedMode(); in onCreate() 252 } else if (mMode == MediaActivity.Mode.FATAL_ERROR) { 305 switch (mMode) { in onBackPressed() 362 if (mMode == mode) { in changeMode() 364 Log.i(TAG, "Mode " + mMode + " change is ignored"); in changeMode() 373 Log.i(TAG, "Changing mode from: " + mMode + " to: " + mode); in changeModeInternal() 377 Mode oldMode = mMode; in changeModeInternal() 379 mMode = mode; in changeModeInternal() 384 switch (mMode) { in changeModeInternal() [all …]
|
/packages/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/ |
D | LeanbackSuggestionsFactory.java | 44 private int mMode; field in LeanbackSuggestionsFactory 55 mMode = MODE_DEFAULT; in onStartInput() 58 mMode = MODE_AUTO_COMPLETE; in onStartInput() 66 mMode = MODE_DOMAIN; in onStartInput() 98 return (mMode == MODE_DOMAIN); in shouldSuggestionsAmend() 112 if (mMode == MODE_DOMAIN) { in createSuggestions()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | NavBarPosition.java | 30 private final SysUINavigationMode.Mode mMode; field in NavBarPosition 34 mMode = mode; in NavBarPosition() 39 mMode = mode; in NavBarPosition() 44 return mMode != NO_BUTTON && mDisplayRotation == Surface.ROTATION_90; in isRightEdge() 48 return mMode != NO_BUTTON && mDisplayRotation == Surface.ROTATION_270; in isLeftEdge()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | KeyboardId.java | 77 public final int mMode; field in KeyboardId 92 mMode = params.mMode; in KeyboardId() 108 id.mMode, in computeHashCode() 129 && other.mMode == mMode in equals() 198 modeName(mMode), in toString()
|
/packages/apps/Car/libs/encryption-runner/src/android/car/encryptionrunner/ |
D | FakeEncryptionRunner.java | 55 private int mMode; field in FakeEncryptionRunner 62 mMode = Mode.CLIENT; in initHandshake() 74 mMode = Mode.SERVER; in respondToInitRequest() 87 return mMode; in getMode() 110 switch (mMode) { in continueHandshake() 139 throw new IllegalStateException("unexpected role: " + mMode); in continueHandshake()
|
D | Ukey2EncryptionRunner.java | 67 private int mMode = Mode.UNKNOWN; field in Ukey2EncryptionRunner 72 mMode = Mode.CLIENT; in initHandshake() 95 mMode = Mode.SERVER; in respondToInitRequest() 257 switch (mMode) { in authenticateReconnection() 284 "Encountered unexpected role during authenticateReconnection: " + mMode); in authenticateReconnection() 309 switch (mMode) { in initReconnectAuthentication() 322 "Encountered unexpected role during authenticateReconnection: " + mMode); in initReconnectAuthentication()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/dialpad/ |
D | DialpadFragment.java | 111 private int mMode; field in DialpadFragment 145 mMode = getArguments().getInt(DIALPAD_MODE_KEY); in onCreate() 146 L.d(TAG, "onCreate mode: %s", mMode); in onCreate() 180 mMode == MODE_EMERGENCY ? R.style.TextAppearance_EmergencyDialNumber in onCreateView() 236 if (mMode == MODE_DIAL) { in setupToolbar() 282 mMode == MODE_DIAL ? R.string.dial_a_number in presentDialedNumber() 286 if (mMode == MODE_EMERGENCY || dialpadUxrMode == DialpadUxrMode.RESTRICTED) { in presentDialedNumber() 313 mMode == MODE_DIAL && dialpadUxrMode == DialpadUxrMode.UNRESTRICTED in presentDialedNumber() 355 mMode == MODE_EMERGENCY || dialpadUxrMode != DialpadUxrMode.UNRESTRICTED; in onDialpadUxrModeChange()
|
/packages/apps/Camera2/src/com/android/camera/stats/ |
D | CaptureSessionStatsCollector.java | 33 protected Integer mMode; field in CaptureSessionStatsCollector 118 mMode = mode; in decorateAtTimeCaptureRequest() 159 mMode, mFilename, mExifInterface, mIsFrontFacing, in photoCaptureDoneEvent() 170 return (mMode != null) && in isCompleteForPhotoCaptureEvent() 189 return (mMode != null); in isValidForPhotoCaptureEvent()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | AudioAttachmentView.java | 87 private final int mMode; field in AudioAttachmentView 93 mMode = typedAttributes.getInt(R.styleable.AudioAttachmentView_layoutMode, in AudioAttachmentView() 99 setWillNotDraw(mMode != LAYOUT_MODE_SUB_COMPACT); in AudioAttachmentView() 147 Assert.equals(LAYOUT_MODE_SUB_COMPACT, mMode); in updateChronometerVisibility() 300 if (mMode != LAYOUT_MODE_SUB_COMPACT) { in onDraw() 342 if (mMode == LAYOUT_MODE_SUB_COMPACT) { in updateVisualStyle() 358 switch (mMode) { in initializeViewsForMode()
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | AdbWirelessDialog.java | 69 private final int mMode; field in AdbWirelessDialog 88 mMode = mode; in AdbWirelessDialog() 95 mController = new AdbWirelessDialogController(this, mView, mMode); in onCreate() 135 return mMode; in getMode()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
D | PrivateDnsModeDialogPreferenceTest.java | 94 assertThat(mPreference.mMode).isEqualTo(PRIVATE_DNS_MODE_OFF); in testOnCheckedChanged_dnsModeOff_disableEditText() 102 assertThat(mPreference.mMode).isEqualTo(PRIVATE_DNS_MODE_OPPORTUNISTIC); in testOnCheckedChanged_dnsModeOpportunistic_disableEditText() 110 assertThat(mPreference.mMode).isEqualTo(PRIVATE_DNS_MODE_PROVIDER_HOSTNAME); in testOnCheckedChanged_dnsModeProvider_enableEditText() 159 mPreference.mMode = PRIVATE_DNS_MODE_OPPORTUNISTIC; in testOnClick_positiveButtonClicked_saveData() 172 mPreference.mMode = PRIVATE_DNS_MODE_OPPORTUNISTIC; in testOnClick_negativeButtonClicked_doNothing()
|
/packages/services/Car/car-lib/src/android/car/drivingstate/ |
D | CarUxRestrictionsConfiguration.java | 776 drivingStateRestrictions.mMode, mode -> new RestrictionModeContainer()); in setUxRestrictions() 780 drivingStateRestrictions.mMode, drivingStateRestrictions.mReqOpt, in setUxRestrictions() 1043 private String mMode = UX_RESTRICTION_MODE_BASELINE; field in CarUxRestrictionsConfiguration.DrivingStateRestrictions 1073 mMode = Objects.requireNonNull(mode, "mode must not be null"); in setMode() 1089 .append("Mode: ").append(mMode) in toString() 1103 final String mMode; field in CarUxRestrictionsConfiguration.RestrictionsPerSpeedRange 1119 mMode = Objects.requireNonNull(mode, "mode must not be null"); in RestrictionsPerSpeedRange() 1131 return Objects.hash(mMode, mReqOpt, mRestrictions, mSpeedRange); in hashCode() 1143 return Objects.equals(mMode, other.mMode) in equals() 1152 .append("[Mode is ").append(mMode) in toString() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
D | HeadsetClccResponse.java | 50 int mMode; field in HeadsetClccResponse 72 mMode = mode; in HeadsetClccResponse() 91 .append(mMode) in buildString()
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/util/ |
D | ThreadPool.java | 117 private int mMode; field in ThreadPool.Worker 204 ResourceCounter rc = modeToCounter(mMode); in setMode() 206 mMode = MODE_NONE; in setMode() 214 mMode = mode; in setMode()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiDialog2.java | 67 private final int mMode; field in WifiDialog2 98 mMode = mode; in WifiDialog2() 113 mController = new WifiConfigController2(this, mView, mWifiEntry, mMode); in onCreate() 185 return mMode; in getMode()
|
D | WifiDialog.java | 58 private final int mMode; field in WifiDialog 89 mMode = mode; in WifiDialog() 104 mController = new WifiConfigController(this, mView, mAccessPoint, mMode); in onCreate() 174 return mMode; in getMode()
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
D | UserDictionaryAddWordContents.java | 53 private final int mMode; // Either MODE_EDIT or MODE_INSERT field in UserDictionaryAddWordContents 76 mMode = args.getInt(EXTRA_MODE); // default return value for #getInt() is 0 = MODE_EDIT in UserDictionaryAddWordContents() 86 mMode = MODE_EDIT; in UserDictionaryAddWordContents() 111 if (MODE_EDIT == mMode && !TextUtils.isEmpty(mOldWord)) { in delete() 122 if (MODE_EDIT == mMode && !TextUtils.isEmpty(mOldWord)) { in apply()
|