Home
last modified time | relevance | path

Searched refs:mDefaults (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/print/
DPrinterCapabilitiesInfo.java67 private final int[] mDefaults = new int[PROPERTY_COUNT]; field in PrinterCapabilitiesInfo
73 Arrays.fill(mDefaults, DEFAULT_UNDEFINED); in PrinterCapabilitiesInfo()
118 final int defaultCount = other.mDefaults.length; in copyFrom()
120 mDefaults[i] = other.mDefaults[i]; in copyFrom()
187 final int mediaSizeIndex = mDefaults[PROPERTY_MEDIA_SIZE]; in getDefaults()
192 final int resolutionIndex = mDefaults[PROPERTY_RESOLUTION]; in getDefaults()
197 final int colorMode = mDefaults[PROPERTY_COLOR_MODE]; in getDefaults()
202 final int duplexMode = mDefaults[PROPERTY_DUPLEX_MODE]; in getDefaults()
239 Preconditions.checkArgument(mMediaSizes.size() > mDefaults[PROPERTY_MEDIA_SIZE]); in PrinterCapabilitiesInfo()
240 Preconditions.checkArgument(mResolutions.size() > mDefaults[PROPERTY_RESOLUTION]); in PrinterCapabilitiesInfo()
[all …]
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DManagedServicesTest.java102 private final Set<ComponentName> mDefaults = new ArraySet(); field in ManagedServicesTest
1211 mDefaults.add(new ComponentName("default", "class")); in loadDefaults_noVersionWithDefaults()
1213 assertEquals(mService.getDefaultComponents(), mDefaults); in loadDefaults_noVersionWithDefaults() local
1219 mDefaults.add(new ComponentName("default", "class")); in loadDefaults_versionOneWithDefaultsWithActive()
1230 mDefaults.add(new ComponentName("default", "class")); in loadDefaults_versionTwoWithDefaultsWithActive()
1236 mDefaults.forEach(pkg -> { in loadDefaults_versionTwoWithDefaultsWithActive()
1244 mDefaults.add(new ComponentName("default", "class")); in loadDefaults_versionOneWithXMLDefaultsWithActive()
1256 mDefaults.add(new ComponentName("default", "class")); in loadDefaults_versionTwoWithXMLDefaultsWithActive()
1536 mDefaultComponents.addAll(mDefaults); in loadDefaultsFromConfig()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DMobileSignalController.java62 private final SubscriptionDefaults mDefaults; field in MobileSignalController
100 mDefaults = defaults; in MobileSignalController()
453 int activeDataSubId = mDefaults.getActiveDataSubId(); in updateDataSim()
554 if (mSubscriptionInfo.getSubscriptionId() != mDefaults.getDefaultDataSubId()) { in updateTelephony()