Home
last modified time | relevance | path

Searched refs:isDefault (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/base/core/java/com/android/internal/app/
DMediaRouteDialogPresenter.java48 if (route.isDefault() || !route.matchesTypes(routeTypes)) { in showDialogFragment()
79 if (route.isDefault() || !route.matchesTypes(routeTypes)) { in createDialog()
DResolverListController.java245 r0.priority + "/" + r0.isDefault + " vs " + in filterLowPriority()
247 ri.priority + "/" + ri.isDefault); in filterLowPriority()
249 r0.isDefault != ri.isDefault) { in filterLowPriority()
DMediaRouteChooserDialog.java118 return !route.isDefault() && route.isEnabled() && route.matchesTypes(mRouteTypes); in onFilterRoute()
DMediaRouteControllerDialog.java253 if (!mRoute.isSelected() || mRoute.isDefault()) { in update()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DMobileSignalController.java146 mCurrentState.isDefault = connectedTransports.get(mTransportType); in updateConnectivity()
148 mCurrentState.inetCondition = (isValidated || !mCurrentState.isDefault) ? 1 : 0; in updateConnectivity()
397 showDataIcon &= mCurrentState.isDefault || dataDisabled; in notifyListeners()
716 boolean isDefault; field in MobileSignalController.MobileState
729 isDefault = state.isDefault; in copyFrom()
747 builder.append("isDefault=").append(isDefault).append(','); in toString()
767 && ((MobileState) o).isDefault == isDefault in equals()
DCastControllerImpl.java270 if (selected != null && !selected.isDefault()) { in updateRemoteDisplays()
304 if (route.isDefault()) sb.append(",default"); in routeToString()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionsState.java712 if (permissionData.isDefault()) { in revokePermission()
852 if (userState.isDefault()) { in revoke()
877 public boolean isDefault() { in isDefault() method in PermissionsState.PermissionData
906 if (userState.isDefault()) { in updateFlags()
922 return isDefault() || !(isInstallPermission() ^ isInstallPermissionKey(userId)); in isCompatibleUserId()
946 public boolean isDefault() { in isDefault() method in PermissionsState.PermissionState
/frameworks/base/core/java/android/net/
DNetworkConfig.java77 public boolean isDefault() { in isDefault() method in NetworkConfig
/frameworks/base/core/java/android/print/
DPrinterCapabilitiesInfo.java476 public @NonNull Builder addMediaSize(@NonNull MediaSize mediaSize, boolean isDefault) { in addMediaSize() argument
482 if (isDefault) { in addMediaSize()
504 public @NonNull Builder addResolution(@NonNull Resolution resolution, boolean isDefault) { in addResolution() argument
510 if (isDefault) { in addResolution()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSimPinView.java176 private String getPinPasswordErrorMessage(int attemptsRemaining, boolean isDefault) { in getPinPasswordErrorMessage() argument
182 msgId = isDefault ? R.plurals.kg_password_default_pin_message : in getPinPasswordErrorMessage()
187 msgId = isDefault ? R.string.kg_sim_pin_instructions : R.string.kg_password_pin_failed; in getPinPasswordErrorMessage()
DKeyguardSimPukView.java226 private String getPukPasswordErrorMessage(int attemptsRemaining, boolean isDefault) { in getPukPasswordErrorMessage() argument
232 int msgId = isDefault ? R.plurals.kg_password_default_puk_message : in getPukPasswordErrorMessage()
237 int msgId = isDefault ? R.string.kg_puk_enter_puk_hint : in getPukPasswordErrorMessage()
/frameworks/base/services/core/java/com/android/server/notification/
DConditionProviders.java102 boolean isDefault = super.isDefaultComponentOrPackage(packageName); in resetPackage()
103 if (!isAllowed && isDefault) { in resetPackage()
106 if (isAllowed && !isDefault) { in resetPackage()
109 return !isAllowed && isDefault; in resetPackage()
/frameworks/av/services/audiopolicy/engine/common/include/
DProductStrategy.h98 bool isDefault() const;
/frameworks/av/services/audiopolicy/engine/common/src/
DProductStrategy.cpp98 bool ProductStrategy::isDefault() const in isDefault() function in android::ProductStrategy
217 if (iter.second->isDefault()) { in getDefault()
/frameworks/base/core/java/android/content/pm/
DResolveInfo.java120 public boolean isDefault; field in ResolveInfo
335 + " isDefault=" + isDefault); in dump()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayManagerService.java1069 boolean isDefault = (deviceInfo.flags in addLogicalDisplayLocked()
1071 if (isDefault && mLogicalDisplays.get(Display.DEFAULT_DISPLAY) != null) { in addLogicalDisplayLocked()
1073 isDefault = false; in addLogicalDisplayLocked()
1076 if (!isDefault && mSingleDisplayDemoMode) { in addLogicalDisplayLocked()
1082 final int displayId = assignDisplayIdLocked(isDefault); in addLogicalDisplayLocked()
1095 if (isDefault) { in addLogicalDisplayLocked()
1104 if (isDefault) { in addLogicalDisplayLocked()
1112 private int assignDisplayIdLocked(boolean isDefault) { in assignDisplayIdLocked() argument
1113 return isDefault ? Display.DEFAULT_DISPLAY : mNextNonDefaultDisplayId++; in assignDisplayIdLocked()
/frameworks/base/services/core/java/com/android/server/pm/
DComponentResolver.java105 if (r1.isDefault != r2.isDefault) {
106 return r1.isDefault ? -1 : 1;
1507 res.isDefault = info.isHasDefault(); in newResult()
1772 res.isDefault = filter.isHasDefault(); in newResult()
1998 res.isDefault = filter.isHasDefault(); in newResult()
/frameworks/base/core/jni/
Dandroid_util_Process.cpp250 bool isDefault = false; in android_os_Process_setProcessGroup() local
253 isDefault = true; in android_os_Process_setProcessGroup()
310 if (isDefault) { in android_os_Process_setProcessGroup()
/frameworks/base/core/java/android/app/
DMediaRouteButton.java344 final boolean isRemote = !route.isDefault() && route.matchesTypes(mRouteTypes); in refreshRoute()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DGenericSource.cpp987 int32_t isAutoselect = 1, isDefault = 0, isForced = 0; in getTrackInfo() local
989 meta->findInt32(kKeyTrackIsDefault, &isDefault); in getTrackInfo()
993 format->setInt32("default", !!isDefault); in getTrackInfo()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodInfo.java476 public boolean isDefault(Context context) { in isDefault() method in InputMethodInfo
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
DAppRestrictionsHelper.java284 if (imi.isDefault(mContext) && isSystemPackage(imi.getPackageName())) { in addSystemImes()
/frameworks/base/packages/SoundPicker/src/com/android/soundpicker/
DRingtonePickerActivity.java350 if (getCheckedItem() == POS_UNKNOWN && RingtoneManager.isDefault(mExistingUri)) { in onPrepareListView()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodUtils.java139 if (checkDefaultAttribute && !imi.isDefault(context)) { in isSystemImeThatHasSubtypeOf()
183 if (checkDefaultAttribute && !imi.isDefault(context)) { in isSystemAuxilialyImeThatHasAutomaticSubtype()
/frameworks/base/services/tests/servicestests/src/com/android/server/inputmethod/
DInputMethodUtilsTest.java870 CharSequence label, boolean isAuxIme, boolean isDefault, in createDummyInputMethodInfo() argument
885 return new InputMethodInfo(ri, isAuxIme, "", subtypes, 1, isDefault); in createDummyInputMethodInfo()

12