/packages/modules/AppSearch/safeparcel-processor/resources/templates/ |
D | template.cs | 75 if (!isDefault(obj.<?cs var:field.write_name ?>)) { in writeToParcel() 92 public static boolean isDefault(boolean value) { in isDefault() method in android.os.Parcelable.Creator 96 public static boolean isDefault(byte value) { in isDefault() method in android.os.Parcelable.Creator 100 public static boolean isDefault(char value) { in isDefault() method in android.os.Parcelable.Creator 104 public static boolean isDefault(short value) { in isDefault() method in android.os.Parcelable.Creator 108 public static boolean isDefault(int value) { in isDefault() method in android.os.Parcelable.Creator 112 public static boolean isDefault(long value) { in isDefault() method in android.os.Parcelable.Creator 116 public static boolean isDefault(float value) { in isDefault() method in android.os.Parcelable.Creator 120 public static boolean isDefault(double value) { in isDefault() method in android.os.Parcelable.Creator 124 public static boolean isDefault(Object value) { in isDefault() method in android.os.Parcelable.Creator
|
/packages/apps/ThemePicker/src/com/android/customization/model/color/ |
D | ColorOption.java | 63 protected ColorOption(String title, Map<String, String> overlayPackages, boolean isDefault, in ColorOption() argument 66 mIsDefault = isDefault; in ColorOption() 136 return other.isDefault() || TextUtils.isEmpty(otherSerializedPackages) in isEquivalent() 148 boolean isDefault() { in isDefault() method in ColorOption 172 if (isDefault()) { in getJsonPackages() 214 if (isDefault()) { in getContentDescription()
|
D | ColorOptionImpl.kt | 34 isDefault: Boolean, 40 ) : ColorOption(title, overlayPackages, isDefault, style, index) { 91 var isDefault = false in getStyleForLogging() variable in Builder 101 isDefault, in getStyleForLogging()
|
D | ColorProvider.kt | 198 isDefault: Boolean, in buildBundle() 211 if (isDefault) "" else toColorString(colorInt) in buildBundle() 229 builder.isDefault = isDefault in buildBundle()
|
/packages/services/Car/car-lib/src/android/car/media/ |
D | CarAudioZoneConfigInfo.java | 84 int configId, boolean isActive, boolean isSelected, boolean isDefault) { in CarAudioZoneConfigInfo() argument 92 mIsDefault = isDefault; in CarAudioZoneConfigInfo() 284 public boolean isDefault() { in isDefault() method in CarAudioZoneConfigInfo 385 public Builder setIsDefault(boolean isDefault) { in setIsDefault() argument 386 mIsDefault = isDefault; in setIsDefault()
|
/packages/services/Telephony/testapps/GbaTestApp/src/com/android/phone/testapps/gbatestapp/ui/main/ |
D | CarrierConfigFragment.java | 97 private void getConfig(boolean isDefault) { in getConfig() argument 99 if (isDefault || packagename == null) { in getConfig() 103 mEditReleaseTime.setText(isDefault ? "0" : Integer.toString(mSettings.getReleaseTime())); in getConfig()
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/ |
D | PhotosTabFragment.java | 122 if (savedInstanceState == null && !mCategory.isDefault()) { in onViewCreated() 129 final boolean showRecentSection = mCategory.isDefault(); in onViewCreated() 132 final boolean shouldShowBanners = mCategory.isDefault(); in onViewCreated() 191 if (mCategory.isDefault()) { in onViewCreated() 345 if (mCategory.isDefault()) { in setOnScrollListenerForRecyclerView() 380 if (mCategory.isDefault()) { in onResume() 555 if (!fragment.mCategory.isDefault()) { in show()
|
/packages/apps/ThemePicker/tests/robotests/src/com/android/customization/model/color/ |
D | ColorOptionTest.kt | 112 isDefault: Boolean, in setUpWallpaperColorOption() 116 if (isDefault) { in setUpWallpaperColorOption() 125 isDefault, in setUpWallpaperColorOption()
|
/packages/apps/Settings/src/com/android/settings/nfc/ |
D | PaymentBackend.java | 50 boolean isDefault; field in PaymentBackend.PaymentAppInfo 117 appInfo.isDefault = false; in refresh() 119 appInfo.isDefault = in refresh() 123 if (appInfo.isDefault) { in refresh()
|
D | NfcPaymentPreferenceController.java | 229 holder.radioButton.setChecked(appInfo.isDefault); in getView() 254 if (!appInfo.isDefault) { in makeDefault()
|
D | PaymentDefaultDialog.java | 111 if (service.isDefault && service.userHandle.getIdentifier() == userId) { in buildDialog()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/ |
D | ResolverListController.java | 229 r0.priority + "/" + r0.isDefault + " vs " + in filterLowPriority() 231 ri.priority + "/" + ri.isDefault); in filterLowPriority() 233 r0.isDefault != ri.isDefault) { in filterLowPriority()
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarAudioZone.java | 104 if (!mCarAudioZoneConfigs.valueAt(c).isDefault()) { in getDefaultAudioZoneConfigInfo() 185 if (zoneConfig.isDefault()) { in validateZoneConfigs() 231 if (!config.isDefault()) { in init() 340 if (zoneConfig.isDefault()) { in addZoneConfig()
|
D | CarAudioZoneConfig.java | 82 private CarAudioZoneConfig(String name, int zoneId, int zoneConfigId, boolean isDefault, in CarAudioZoneConfig() argument 90 mIsDefault = isDefault; in CarAudioZoneConfig() 112 boolean isDefault() { in isDefault() method in CarAudioZoneConfig 498 .setIsSelected(isSelected()).setIsDefault(isDefault()).build(); in getCarAudioZoneConfigInfo() 600 Builder(String name, int zoneId, int zoneConfigId, boolean isDefault) { in Builder() argument 604 mIsDefault = isDefault; in Builder()
|
D | CarAudioZonesHelper.java | 582 final boolean isDefault = Boolean.parseBoolean( in parseZoneConfig() 587 zoneConfigName, zone.getId(), zoneConfigId, isDefault); in parseZoneConfig() 860 boolean isDefault = Boolean.parseBoolean( in parseFadeConfig() 865 if (isDefault) { in parseFadeConfig()
|
/packages/services/Car/tests/carservice_unit_test/src/android/car/media/ |
D | CarAudioZoneConfigInfoUnitTest.java | 135 public void isDefault() { in isDefault() method in CarAudioZoneConfigInfoUnitTest 138 expectWithMessage("Config default indicator").that(TEST_ZONE_CONFIG_INFO.isDefault()) in isDefault()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | NetworkConfig.java | 77 public boolean isDefault() { in isDefault() method in NetworkConfig
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | NetworkStatsManagerTest.java | 147 public void setIsDefault(boolean isDefault) { in setIsDefault() argument 148 mIsDefault = isDefault; in setIsDefault() 318 public boolean isDefault; field in NetworkStatsManagerTest.NetworkCallback 326 isDefault = false; in NetworkCallback() 348 isDefault = network.equals(mCm.getActiveNetwork()); in onAvailable() 394 mNetworkInterfacesToTest[networkTypeIndex].setIsDefault(callback.isDefault); in shouldTestThisNetworkType()
|
/packages/apps/Car/Settings/src/com/android/car/settings/inputmethod/ |
D | KeyboardManagementPreferenceController.java | 166 if (!inputMethodInfo.isDefault(getContext())) { in isOnlyEnabledDefaultInputMethod() 173 if (!imi.isDefault(getContext())) { in isOnlyEnabledDefaultInputMethod()
|
D | InputMethodUtil.java | 186 if (isSystemDefault && enabledInputMethodInfo.isDefault(context)) { in disableInputMethod()
|
/packages/apps/Settings/src/com/android/settings/notification/app/ |
D | NotificationSoundPreference.java | 74 } else if (RingtoneManager.isDefault(uri)) { in updateRingtoneName()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | EditorUiUtils.java | 212 if (RingtoneManager.isDefault(pickedUri)) return null; // default ringtone in getRingtoneStringFromUri() 214 if (pickedUri == null || RingtoneManager.isDefault(pickedUri)) return null; in getRingtoneStringFromUri()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/ |
D | ZoneConfigInfoFragment.java | 100 "Default", info.isDefault())); in updateConfigInfoInternal()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/inputmethod/ |
D | InputMethodUtilTest.java | 103 when(info.isDefault(mContext)).thenReturn(result.equals( in setUp() 117 when(info.isDefault(mContext)).thenReturn(true); in setUp()
|
/packages/apps/Settings/src/com/android/settings/ |
D | RingtonePreference.java | 249 return ringtoneUri == null || RingtoneManager.isDefault(ringtoneUri); in isDefaultRingtone()
|