Home
last modified time | relevance | path

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

123

/frameworks/base/core/tests/coretests/src/android/app/admin/
DPasswordMetricsTest.java46 assertTrue("default constructor does not produce default metrics", metrics.isDefault()); in testIsDefault()
53 assertFalse("non-default metrics are repoted as default", metrics.isDefault()); in testIsNotDefault()
59 assertTrue("empty password has default metrics", metrics.isDefault()); in testComputeForEmptyPassword()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DMobileSignalController.java136 mCurrentState.isDefault = connectedTransports.get(mTransportType); in updateConnectivity()
138 mCurrentState.inetCondition = (isValidated || !mCurrentState.isDefault) ? 1 : 0; in updateConnectivity()
294 showDataIcon &= mCurrentState.isDefault || dataDisabled; in notifyListeners()
585 boolean isDefault; field in MobileSignalController.MobileState
597 isDefault = state.isDefault; in copyFrom()
614 builder.append("isDefault=").append(isDefault).append(','); in toString()
633 && ((MobileState) o).isDefault == isDefault in equals()
DCastControllerImpl.java237 if (selected != null && !selected.isDefault()) { in updateRemoteDisplays()
266 if (route.isDefault()) sb.append(",default"); in routeToString()
/frameworks/base/core/java/com/android/internal/app/
DMediaRouteDialogPresenter.java48 if (route.isDefault() || !route.matchesTypes(routeTypes)) { in showDialogFragment()
75 if (route.isDefault() || !route.matchesTypes(routeTypes)) { in createDialog()
DResolverListController.java202 r0.priority + "/" + r0.isDefault + " vs " + in filterLowPriority()
204 ri.priority + "/" + ri.isDefault); in filterLowPriority()
206 r0.isDefault != ri.isDefault) { in filterLowPriority()
DMediaRouteChooserDialog.java117 return !route.isDefault() && route.isEnabled() && route.matchesTypes(mRouteTypes); in onFilterRoute()
DMediaRouteControllerDialog.java246 if (!mRoute.isSelected() || mRoute.isDefault()) { in update()
/frameworks/base/services/core/java/com/android/server/pm/
DPermissionsState.java585 if (permissionData.isDefault()) { in revokePermission()
704 if (userState.isDefault()) { in revoke()
723 public boolean isDefault() { in isDefault() method in PermissionsState.PermissionData
746 if (userState.isDefault()) { in updateFlags()
761 return isDefault() || !(isInstallPermission() ^ isInstallPermissionKey(userId)); in isCompatibleUserId()
785 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/services/core/java/com/android/server/display/
DDisplayManagerService.java856 boolean isDefault = (deviceInfo.flags in addLogicalDisplayLocked()
858 if (isDefault && mLogicalDisplays.get(Display.DEFAULT_DISPLAY) != null) { in addLogicalDisplayLocked()
860 isDefault = false; in addLogicalDisplayLocked()
863 if (!isDefault && mSingleDisplayDemoMode) { in addLogicalDisplayLocked()
869 final int displayId = assignDisplayIdLocked(isDefault); in addLogicalDisplayLocked()
884 if (isDefault) { in addLogicalDisplayLocked()
892 private int assignDisplayIdLocked(boolean isDefault) { in assignDisplayIdLocked() argument
893 return isDefault ? Display.DEFAULT_DISPLAY : mNextNonDefaultDisplayId++; in assignDisplayIdLocked()
/frameworks/base/core/java/android/content/pm/
DResolveInfo.java120 public boolean isDefault; field in ResolveInfo
294 + " isDefault=" + isDefault); in dump()
/frameworks/base/core/java/android/app/admin/
DPasswordMetrics.java78 public boolean isDefault() { in isDefault() method in PasswordMetrics
/frameworks/base/services/core/java/com/android/server/
DAppOpsService.java133 public boolean isDefault() { in isDefault() method in AppOpsService.UidState
287 if (uidState.isDefault()) { in systemReady()
533 if (uidState.isDefault()) { in pruneOp()
839 if (uidState.isDefault()) { in resetAllModes()
2395 if (restrictionState.isDefault()) { in setUserRestrictionNoCheck()
2515 if (!restricted && isDefault(userRestrictions)) { in setRestriction()
2581 public boolean isDefault() { in isDefault() method in AppOpsService.ClientRestrictionState
2611 private boolean isDefault(boolean[] array) { in isDefault() method in AppOpsService.ClientRestrictionState
/frameworks/base/core/jni/
Dandroid_util_Process.cpp207 bool isDefault = false; in android_os_Process_setProcessGroup() local
210 isDefault = true; in android_os_Process_setProcessGroup()
267 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/support/v7/mediarouter/src/android/support/v7/media/
DSystemMediaRouteProvider.java347 boolean isDefault = (getDefaultRoute() == routeObj); in assignRouteId()
348 String id = isDefault ? DEFAULT_ROUTE_ID : in assignRouteId()
DMediaRouter.java1061 public boolean isDefault() { in isDefault() method in MediaRouter.RouteInfo
1086 return isDefault() in isDeviceSpeaker()
1287 if (isDefault() || mDeviceType == DEVICE_TYPE_BLUETOOTH) { in isDefaultOrBluetooth()
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodInfo.java429 public boolean isDefault(Context context) { in isDefault() method in InputMethodInfo
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
DAppRestrictionsHelper.java282 if (imi.isDefault(mContext) && isSystemPackage(imi.getPackageName())) { in addSystemImes()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DGenericSource.cpp999 int32_t isAutoselect = 1, isDefault = 0, isForced = 0; in doGetTrackInfo() local
1001 meta->findInt32(kKeyTrackIsDefault, &isDefault); in doGetTrackInfo()
1005 format->setInt32("default", !!isDefault); in doGetTrackInfo()
DNuPlayer.cpp522 int32_t isAuto, isDefault, isForced; in writeTrackInfo() local
524 CHECK(format->findInt32("default", &isDefault)); in writeTrackInfo()
528 reply->writeInt32(isDefault); in writeTrackInfo()
/frameworks/base/core/java/com/android/internal/inputmethod/
DInputMethodUtils.java139 if (checkDefaultAttribute && !imi.isDefault(context)) { in isSystemImeThatHasSubtypeOf()
183 if (checkDefaultAttribute && !imi.isDefault(context)) { in isSystemAuxilialyImeThatHasAutomaticSubtype()
/frameworks/base/media/java/android/media/
DRingtoneManager.java1078 public static boolean isDefault(Uri ringtoneUri) { in isDefault() method in RingtoneManager
/frameworks/base/core/tests/coretests/src/com/android/internal/inputmethod/
DInputMethodUtilsTest.java824 CharSequence label, boolean isAuxIme, boolean isDefault, in createDummyInputMethodInfo() argument
839 return new InputMethodInfo(ri, isAuxIme, "", subtypes, 1, isDefault); in createDummyInputMethodInfo()

123