Home
last modified time | relevance | path

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

12

/packages/modules/AppSearch/safeparcel-processor/resources/templates/
Dtemplate.cs75 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/
DColorOption.java63 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()
DColorOptionImpl.kt34 isDefault: Boolean,
40 ) : ColorOption(title, overlayPackages, isDefault, style, index) {
91 var isDefault = false in getStyleForLogging() variable in Builder
101 isDefault, in getStyleForLogging()
DColorProvider.kt198 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/
DCarAudioZoneConfigInfo.java84 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/
DCarrierConfigFragment.java97 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/
DPhotosTabFragment.java122 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/
DColorOptionTest.kt112 isDefault: Boolean, in setUpWallpaperColorOption()
116 if (isDefault) { in setUpWallpaperColorOption()
125 isDefault, in setUpWallpaperColorOption()
/packages/apps/Settings/src/com/android/settings/nfc/
DPaymentBackend.java50 boolean isDefault; field in PaymentBackend.PaymentAppInfo
117 appInfo.isDefault = false; in refresh()
119 appInfo.isDefault = in refresh()
123 if (appInfo.isDefault) { in refresh()
DNfcPaymentPreferenceController.java229 holder.radioButton.setChecked(appInfo.isDefault); in getView()
254 if (!appInfo.isDefault) { in makeDefault()
DPaymentDefaultDialog.java111 if (service.isDefault && service.userHandle.getIdentifier() == userId) { in buildDialog()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DResolverListController.java229 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/
DCarAudioZone.java104 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()
DCarAudioZoneConfig.java82 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()
DCarAudioZonesHelper.java582 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/
DCarAudioZoneConfigInfoUnitTest.java135 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/
DNetworkConfig.java77 public boolean isDefault() { in isDefault() method in NetworkConfig
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkStatsManagerTest.java147 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/
DKeyboardManagementPreferenceController.java166 if (!inputMethodInfo.isDefault(getContext())) { in isOnlyEnabledDefaultInputMethod()
173 if (!imi.isDefault(getContext())) { in isOnlyEnabledDefaultInputMethod()
DInputMethodUtil.java186 if (isSystemDefault && enabledInputMethodInfo.isDefault(context)) { in disableInputMethod()
/packages/apps/Settings/src/com/android/settings/notification/app/
DNotificationSoundPreference.java74 } else if (RingtoneManager.isDefault(uri)) { in updateRingtoneName()
/packages/apps/Contacts/src/com/android/contacts/editor/
DEditorUiUtils.java212 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/
DZoneConfigInfoFragment.java100 "Default", info.isDefault())); in updateConfigInfoInternal()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/inputmethod/
DInputMethodUtilTest.java103 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/
DRingtonePreference.java249 return ringtoneUri == null || RingtoneManager.isDefault(ringtoneUri); in isDefaultRingtone()

12