Searched refs:isDefault (Results 1 - 25 of 38) sorted by relevance

12

/frameworks/base/core/java/android/net/
H A DNetworkConfig.java77 public boolean isDefault() { method in class:NetworkConfig
/frameworks/base/core/java/com/android/internal/app/
H A DMediaRouteDialogPresenter.java48 if (route.isDefault() || !route.matchesTypes(routeTypes)) {
79 if (route.isDefault() || !route.matchesTypes(routeTypes)) {
H A DResolverListController.java209 r0.priority + "/" + r0.isDefault + " vs " +
211 ri.priority + "/" + ri.isDefault);
213 r0.isDefault != ri.isDefault) {
H A DMediaRouteChooserDialog.java118 return !route.isDefault() && route.isEnabled() && route.matchesTypes(mRouteTypes);
H A DMediaRouteControllerDialog.java253 if (!mRoute.isSelected() || mRoute.isDefault()) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DMobileSignalController.java136 mCurrentState.isDefault = connectedTransports.get(mTransportType);
138 mCurrentState.inetCondition = (isValidated || !mCurrentState.isDefault) ? 1 : 0;
310 showDataIcon &= mCurrentState.isDefault || dataDisabled;
602 boolean isDefault; field in class:MobileSignalController.MobileState
614 isDefault = state.isDefault;
631 builder.append("isDefault=").append(isDefault).append(',');
650 && ((MobileState) o).isDefault == isDefault
[all...]
H A DCastControllerImpl.java237 if (selected != null && !selected.isDefault()) {
266 if (route.isDefault()) sb.append(",default");
/frameworks/base/services/core/java/com/android/server/pm/permission/
H A DPermissionsState.java598 if (permissionData.isDefault()) {
718 if (userState.isDefault()) {
737 public boolean isDefault() { method in class:PermissionsState.PermissionData
760 if (userState.isDefault()) {
775 return isDefault() || !(isInstallPermission() ^ isInstallPermissionKey(userId));
799 public boolean isDefault() { method in class:PermissionsState.PermissionState
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardSimPinView.java181 private String getPinPasswordErrorMessage(int attemptsRemaining, boolean isDefault) { argument
187 msgId = isDefault ? R.plurals.kg_password_default_pin_message :
192 msgId = isDefault ? R.string.kg_sim_pin_instructions : R.string.kg_password_pin_failed;
H A DKeyguardSimPukView.java219 private String getPukPasswordErrorMessage(int attemptsRemaining, boolean isDefault) { argument
225 int msgId = isDefault ? R.plurals.kg_password_default_puk_message :
230 int msgId = isDefault ? R.string.kg_puk_enter_puk_hint :
/frameworks/base/core/java/android/print/
H A DPrinterCapabilitiesInfo.java469 * @param isDefault Whether this is the default.
476 public @NonNull Builder addMediaSize(@NonNull MediaSize mediaSize, boolean isDefault) { argument
482 if (isDefault) {
496 * @param isDefault Whether this is the default.
504 public @NonNull Builder addResolution(@NonNull Resolution resolution, boolean isDefault) { argument
510 if (isDefault) {
/frameworks/base/core/java/android/content/pm/
H A DResolveInfo.java120 public boolean isDefault; field in class:ResolveInfo
328 + " isDefault=" + isDefault);
/frameworks/base/services/core/java/com/android/server/display/
H A DDisplayManagerService.java966 boolean isDefault = (deviceInfo.flags
968 if (isDefault && mLogicalDisplays.get(Display.DEFAULT_DISPLAY) != null) {
970 isDefault = false;
973 if (!isDefault && mSingleDisplayDemoMode) {
979 final int displayId = assignDisplayIdLocked(isDefault);
992 if (isDefault) {
999 if (isDefault) {
1007 private int assignDisplayIdLocked(boolean isDefault) { argument
1008 return isDefault ? Display.DEFAULT_DISPLAY : mNextNonDefaultDisplayId++;
/frameworks/base/core/java/android/app/admin/
H A DPasswordMetrics.java76 public boolean isDefault() { method in class:PasswordMetrics
/frameworks/base/core/java/android/app/
H A DMediaRouteButton.java344 final boolean isRemote = !route.isDefault() && route.matchesTypes(mRouteTypes);
/frameworks/base/core/jni/
H A Dandroid_util_Process.cpp208 bool isDefault = false; local
211 isDefault = true;
268 if (isDefault) {
/frameworks/av/media/libmediaplayer2/nuplayer2/
H A DGenericSource2.cpp933 int32_t isAutoselect = 1, isDefault = 0, isForced = 0; local
935 format->findInt32(AMEDIAFORMAT_KEY_IS_DEFAULT, &isDefault);
939 format->setInt32("default", !!isDefault);
/frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/media/
H A DMediaRouter.java1059 public boolean isDefault() { method in class:MediaRouter.RouteInfo
1084 return isDefault()
1285 if (isDefault() || mDeviceType == DEVICE_TYPE_BLUETOOTH) {
2559 if (sGlobal == null || (mBluetoothRoute != null && route.isDefault())) {
H A DSystemMediaRouteProvider.java349 boolean isDefault = (getDefaultRoute() == routeObj);
350 String id = isDefault ? DEFAULT_ROUTE_ID :
/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethodInfo.java448 public boolean isDefault(Context context) { method in class:InputMethodInfo
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
H A DAppRestrictionsHelper.java282 if (imi.isDefault(mContext) && isSystemPackage(imi.getPackageName())) {
/frameworks/support/mediarouter/src/main/java/androidx/mediarouter/media/
H A DMediaRouter.java1060 public boolean isDefault() { method in class:MediaRouter.RouteInfo
1085 return isDefault()
1286 if (isDefault() || mDeviceType == DEVICE_TYPE_BLUETOOTH) {
2572 if (sGlobal == null || (mBluetoothRoute != null && route.isDefault())) {
H A DSystemMediaRouteProvider.java348 boolean isDefault = (getDefaultRoute() == routeObj);
349 String id = isDefault ? DEFAULT_ROUTE_ID :
/frameworks/base/services/core/java/com/android/server/
H A DAppOpsService.java327 public boolean isDefault() { method in class:AppOpsService.UidState
629 if (uidState.isDefault()) {
959 if (uidState.isDefault()) {
1292 if (uidState.isDefault()) {
3495 if (restrictionState.isDefault()) {
3662 if (!restricted && isDefault(userRestrictions)) {
3729 public boolean isDefault() { method in class:AppOpsService.ClientRestrictionState
3759 private boolean isDefault(boolean[] array) { method in class:AppOpsService.ClientRestrictionState
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DGenericSource.cpp967 int32_t isAutoselect = 1, isDefault = 0, isForced = 0; local
969 meta->findInt32(kKeyTrackIsDefault, &isDefault);
973 format->setInt32("default", !!isDefault);

Completed in 835 milliseconds

12