Home
last modified time | relevance | path

Searched refs:isDefault (Results 1 – 25 of 41) 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.java222 r0.priority + "/" + r0.isDefault + " vs " + in filterLowPriority()
224 ri.priority + "/" + ri.isDefault); in filterLowPriority()
226 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.java650 if (permissionData.isDefault()) { in revokePermission()
777 if (userState.isDefault()) { in revoke()
796 public boolean isDefault() { in isDefault() method in PermissionsState.PermissionData
819 if (userState.isDefault()) { in updateFlags()
834 return isDefault() || !(isInstallPermission() ^ isInstallPermissionKey(userId)); in isCompatibleUserId()
858 public boolean isDefault() { in isDefault() method in PermissionsState.PermissionState
/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/core/java/android/net/
DNetworkConfig.java77 public boolean isDefault() { in isDefault() method in NetworkConfig
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSimPinView.java172 private String getPinPasswordErrorMessage(int attemptsRemaining, boolean isDefault) { in getPinPasswordErrorMessage() argument
178 msgId = isDefault ? R.plurals.kg_password_default_pin_message : in getPinPasswordErrorMessage()
183 msgId = isDefault ? R.string.kg_sim_pin_instructions : R.string.kg_password_pin_failed; in getPinPasswordErrorMessage()
DKeyguardSimPukView.java222 private String getPukPasswordErrorMessage(int attemptsRemaining, boolean isDefault) { in getPukPasswordErrorMessage() argument
228 int msgId = isDefault ? R.plurals.kg_password_default_puk_message : in getPukPasswordErrorMessage()
233 int msgId = isDefault ? R.string.kg_puk_enter_puk_hint : in getPukPasswordErrorMessage()
/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/av/services/audiopolicy/engine/common/include/
DProductStrategy.h98 bool isDefault() const;
/frameworks/base/services/core/java/com/android/server/display/
DDisplayManagerService.java993 boolean isDefault = (deviceInfo.flags in addLogicalDisplayLocked()
995 if (isDefault && mLogicalDisplays.get(Display.DEFAULT_DISPLAY) != null) { in addLogicalDisplayLocked()
997 isDefault = false; in addLogicalDisplayLocked()
1000 if (!isDefault && mSingleDisplayDemoMode) { in addLogicalDisplayLocked()
1006 final int displayId = assignDisplayIdLocked(isDefault); in addLogicalDisplayLocked()
1019 if (isDefault) { in addLogicalDisplayLocked()
1027 if (isDefault) { in addLogicalDisplayLocked()
1035 private int assignDisplayIdLocked(boolean isDefault) { in assignDisplayIdLocked() argument
1036 return isDefault ? Display.DEFAULT_DISPLAY : mNextNonDefaultDisplayId++; in assignDisplayIdLocked()
/frameworks/base/core/java/android/content/pm/
DResolveInfo.java122 public boolean isDefault; field in ResolveInfo
337 + " isDefault=" + isDefault); in dump()
/frameworks/base/services/core/java/com/android/server/pm/
DComponentResolver.java94 if (r1.isDefault != r2.isDefault) {
95 return r1.isDefault ? -1 : 1;
1303 res.isDefault = info.hasDefault; in newResult()
1542 res.isDefault = info.hasDefault; in newResult()
1759 res.isDefault = info.hasDefault; in newResult()
/frameworks/base/core/jni/
Dandroid_util_Process.cpp217 bool isDefault = false; in android_os_Process_setProcessGroup() local
220 isDefault = true; in android_os_Process_setProcessGroup()
277 if (isDefault) { in android_os_Process_setProcessGroup()
/frameworks/base/core/java/android/app/admin/
DPasswordMetrics.java194 public boolean isDefault() { in isDefault() method in PasswordMetrics
/frameworks/base/core/java/android/app/
DMediaRouteButton.java344 final boolean isRemote = !route.isDefault() && route.matchesTypes(mRouteTypes); in refreshRoute()
/frameworks/base/core/tests/coretests/src/android/app/admin/
DPasswordMetricsTest.java331 assertTrue(metrics.isDefault()); in testGetTargetQualityMetrics_noneComplexityReturnsDefaultMetrics()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DGenericSource.cpp999 int32_t isAutoselect = 1, isDefault = 0, isForced = 0; in getTrackInfo() local
1001 meta->findInt32(kKeyTrackIsDefault, &isDefault); in getTrackInfo()
1005 format->setInt32("default", !!isDefault); in getTrackInfo()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodInfo.java451 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/services/core/java/com/android/server/appop/
DAppOpsService.java348 public boolean isDefault() { in isDefault() method in AppOpsService.UidState
789 if (uidState.isDefault()) { in systemReady()
1243 if (uidState.isDefault()) { in pruneOp()
1672 if (uidState.isDefault()) { in resetAllModes()
4413 if (restrictionState.isDefault()) { in setUserRestrictionNoCheck()
4626 if (!restricted && isDefault(userRestrictions)) { in setRestriction()
4693 public boolean isDefault() { in isDefault() method in ClientRestrictionState
4723 private boolean isDefault(boolean[] array) { in isDefault() method in ClientRestrictionState
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodUtils.java141 if (checkDefaultAttribute && !imi.isDefault(context)) { in isSystemImeThatHasSubtypeOf()
185 if (checkDefaultAttribute && !imi.isDefault(context)) { in isSystemAuxilialyImeThatHasAutomaticSubtype()

12