/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | CameraUtilsTypeReferenceTest.java | 39 private class SpecificClass extends GenericClass<Integer> {} 48 implements GenericInterface<Integer>, GenericInterface2<T> {} 106 TypeReference<Integer> typeRefInt = new TypeReference<Integer>() {{ }}; in testTypeReferences() 107 TypeReference<Integer> typeRefInt2 = new TypeReference<Integer>() {{ }}; in testTypeReferences() 111 Integer.class, typeRefInt.getType()); in testTypeReferences() 120 TypeReference<Integer> typeRefTypeVar = createTypeRefWithTypeVar(); in testTypeReferences() 143 TypeReference<Integer> intToken = new TypeReference<Integer>() {{ }}; in testRawTypes() 144 assertRawTypeEquals(intToken, Integer.class); in testRawTypes() 146 TypeReference<List<Integer>> listToken = new TypeReference<List<Integer>>() {{ }}; in testRawTypes() 149 TypeReference<List<List<Integer>>> listListToken = in testRawTypes() [all …]
|
/frameworks/base/core/java/android/hardware/camera2/ |
D | CaptureResult.java | 391 public static final Key<Integer> COLOR_CORRECTION_MODE = 392 new Key<Integer>("android.colorCorrection.mode", int.class); 471 public static final Key<Integer> COLOR_CORRECTION_ABERRATION_MODE = 472 new Key<Integer>("android.colorCorrection.aberrationMode", int.class); 527 public static final Key<Integer> CONTROL_AE_ANTIBANDING_MODE = 528 new Key<Integer>("android.control.aeAntibandingMode", int.class); 560 public static final Key<Integer> CONTROL_AE_EXPOSURE_COMPENSATION = 561 new Key<Integer>("android.control.aeExposureCompensation", int.class); 653 public static final Key<Integer> CONTROL_AE_MODE = 654 new Key<Integer>("android.control.aeMode", int.class); [all …]
|
D | CaptureRequest.java | 540 public static final Key<Integer> COLOR_CORRECTION_MODE = 541 new Key<Integer>("android.colorCorrection.mode", int.class); 620 public static final Key<Integer> COLOR_CORRECTION_ABERRATION_MODE = 621 new Key<Integer>("android.colorCorrection.aberrationMode", int.class); 676 public static final Key<Integer> CONTROL_AE_ANTIBANDING_MODE = 677 new Key<Integer>("android.control.aeAntibandingMode", int.class); 709 public static final Key<Integer> CONTROL_AE_EXPOSURE_COMPENSATION = 710 new Key<Integer>("android.control.aeExposureCompensation", int.class); 802 public static final Key<Integer> CONTROL_AE_MODE = 803 new Key<Integer>("android.control.aeMode", int.class); [all …]
|
D | CameraCharacteristics.java | 386 public static final Key<android.util.Range<Integer>[]> CONTROL_AE_AVAILABLE_TARGET_FPS_RANGES = 387 …w Key<android.util.Range<Integer>[]>("android.control.aeAvailableTargetFpsRanges", new TypeReferen… 406 public static final Key<android.util.Range<Integer>> CONTROL_AE_COMPENSATION_RANGE = 407 …new Key<android.util.Range<Integer>>("android.control.aeCompensationRange", new TypeReference<andr… 568 public static final Key<Integer> CONTROL_MAX_REGIONS_AE = 569 new Key<Integer>("android.control.maxRegionsAe", int.class); 584 public static final Key<Integer> CONTROL_MAX_REGIONS_AWB = 585 new Key<Integer>("android.control.maxRegionsAwb", int.class); 600 public static final Key<Integer> CONTROL_MAX_REGIONS_AF = 601 new Key<Integer>("android.control.maxRegionsAf", int.class); [all …]
|
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/ |
D | WapPushTest.java | 499 Integer.toString(mAppIdValue), in utAddPackage() 500 Integer.toString(mContentTypeValue), in utAddPackage() 509 assertTrue(wpman.verifyData(Integer.toString(mAppIdValue), in utAddPackage() 510 Integer.toString(mContentTypeValue), in utAddPackage() 536 iwapman.deletePackage(Integer.toString(mAppIdValue), in testAddPackage1() 537 Integer.toString(mContentTypeValue), mPackageName, mClassName); in testAddPackage1() 539 iwapman.deletePackage(Integer.toString(mAppIdValue), in testAddPackage1() 540 Integer.toString(mContentTypeValue), mPackageName, mClassName); in testAddPackage1() 542 iwapman.deletePackage(Integer.toString(mAppIdValue), in testAddPackage1() 543 Integer.toString(mContentTypeValue), mPackageName, mClassName); in testAddPackage1() [all …]
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | StreamConfigurationMap.java | 107 HashMap<Integer, Integer> map = config.isOutput() ? mOutputFormats : mInputFormats; in StreamConfigurationMap() 109 Integer count = map.get(config.getFormat()); in StreamConfigurationMap() 127 Range<Integer> fpsRange = config.getFpsRange(); in StreamConfigurationMap() 128 Integer fpsRangeCount = mHighSpeedVideoSizeMap.get(size); in StreamConfigurationMap() 133 Integer sizeCount = mHighSpeedVideoFpsRangeMap.get(fpsRange); in StreamConfigurationMap() 468 public Range<Integer>[] getHighSpeedVideoFpsRangesFor(Size size) { in getHighSpeedVideoFpsRangesFor() 469 Integer fpsRangeCount = mHighSpeedVideoSizeMap.get(size); in getHighSpeedVideoFpsRangesFor() 476 Range<Integer>[] fpsRanges = new Range[fpsRangeCount]; in getHighSpeedVideoFpsRangesFor() 518 public Range<Integer>[] getHighSpeedVideoFpsRanges() { in getHighSpeedVideoFpsRanges() 519 Set<Range<Integer>> keySet = mHighSpeedVideoFpsRangeMap.keySet(); in getHighSpeedVideoFpsRanges() [all …]
|
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
D | EnvReverbTest.java | 55 …private static HashMap<Integer, EnvironmentalReverb> sInstances = new HashMap<Integer, Environment… 281 public void setParameter(Integer value) { in setParameter() 285 public Integer getParameter() { in getParameter() 286 return new Integer(0); in getParameter() 302 public void setParameter(Integer value) { in setParameter() 309 public Integer getParameter() { in getParameter() 311 return new Integer(mReverb.getRoomLevel()); in getParameter() 313 return new Integer(0); in getParameter() 324 public void setParameter(Integer value) { in setParameter() 331 public Integer getParameter() { in getParameter() [all …]
|
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
D | MarshalQueryableNativeByteToInteger.java | 30 public class MarshalQueryableNativeByteToInteger implements MarshalQueryable<Integer> { 34 private class MarshalerNativeByteToInteger extends Marshaler<Integer> { 35 protected MarshalerNativeByteToInteger(TypeReference<Integer> typeReference, in MarshalerNativeByteToInteger() 41 public void marshal(Integer value, ByteBuffer buffer) { in marshal() 46 public Integer unmarshal(ByteBuffer buffer) { in unmarshal() 58 public Marshaler<Integer> createMarshaler(TypeReference<Integer> managedType, in createMarshaler() 64 public boolean isTypeMappingSupported(TypeReference<Integer> managedType, int nativeType) { in isTypeMappingSupported() 65 return (Integer.class.equals(managedType.getType()) in isTypeMappingSupported()
|
/frameworks/opt/net/ims/src/java/com/android/ims/ |
D | ImsUt.java | 72 private HashMap<Integer, Message> mPendingCmds = 73 new HashMap<Integer, Message>(); 96 Map.Entry<Integer, Message>[] entries = in close() 99 for (Map.Entry<Integer, Message> entry : entries) { in close() 136 mPendingCmds.put(Integer.valueOf(id), result); in queryCallBarring() 165 mPendingCmds.put(Integer.valueOf(id), result); in queryCallForward() 193 mPendingCmds.put(Integer.valueOf(id), result); in queryCallWaiting() 220 mPendingCmds.put(Integer.valueOf(id), result); in queryCLIR() 246 mPendingCmds.put(Integer.valueOf(id), result); in queryCLIP() 272 mPendingCmds.put(Integer.valueOf(id), result); in queryCOLR() [all …]
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | PermissionMonitor.java | 68 private final Set<Integer> mUsers = new HashSet<Integer>(); 71 private final Map<Integer, Boolean> mApps = new HashMap<Integer, Boolean>(); 175 private int[] toIntArray(List<Integer> list) { in toIntArray() 183 private void update(Set<Integer> users, Map<Integer, Boolean> apps, boolean add) { in update() argument 184 List<Integer> network = new ArrayList<Integer>(); in update() 185 List<Integer> system = new ArrayList<Integer>(); in update() 186 for (Entry<Integer, Boolean> app : apps.entrySet()) { in update() 187 List<Integer> list = app.getValue() ? system : network; in update() 212 Set<Integer> users = new HashSet<Integer>(); in onUserAdded() 224 Set<Integer> users = new HashSet<Integer>(); in onUserRemoved() [all …]
|
/frameworks/support/v4/tests/java/android/support/v4/widget/ |
D | ScrollerCompatTestBase.java | 59 Integer.MIN_VALUE, Integer.MAX_VALUE, Integer.MIN_VALUE, Integer.MAX_VALUE); in testTargetReached() 74 Integer.MIN_VALUE, Integer.MAX_VALUE, Integer.MIN_VALUE, Integer.MAX_VALUE); in testAbort()
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
D | BluetoothTestRunner.java | 89 sEnableIterations = Integer.parseInt(val); in onCreate() 98 sDiscoverableIterations = Integer.parseInt(val); in onCreate() 107 sScanIterations = Integer.parseInt(val); in onCreate() 116 sEnablePanIterations = Integer.parseInt(val); in onCreate() 125 sPairIterations = Integer.parseInt(val); in onCreate() 134 sConnectA2dpIterations = Integer.parseInt(val); in onCreate() 143 sConnectHeadsetIterations = Integer.parseInt(val); in onCreate() 152 sConnectInputIterations = Integer.parseInt(val); in onCreate() 161 sConnectPanIterations = Integer.parseInt(val); in onCreate() 170 sStartStopScoIterations = Integer.parseInt(val); in onCreate() [all …]
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/utils/ |
D | ObexTime.java | 49 cal.set(Integer.parseInt(m.group(1)), Integer.parseInt(m.group(2)) - 1, in ObexTime() 50 Integer.parseInt(m.group(3)), Integer.parseInt(m.group(4)), in ObexTime() 51 Integer.parseInt(m.group(5)), Integer.parseInt(m.group(6))); in ObexTime() 58 int ohh = Integer.parseInt(m.group(9)); in ObexTime() 59 int omm = Integer.parseInt(m.group(10)); in ObexTime()
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/utils/ |
D | ObexTime.java | 49 cal.set(Integer.parseInt(m.group(1)), Integer.parseInt(m.group(2)) - 1, in ObexTime() 50 Integer.parseInt(m.group(3)), Integer.parseInt(m.group(4)), in ObexTime() 51 Integer.parseInt(m.group(5)), Integer.parseInt(m.group(6))); in ObexTime() 58 int ohh = Integer.parseInt(m.group(9)); in ObexTime() 59 int omm = Integer.parseInt(m.group(10)); in ObexTime()
|
/frameworks/base/media/java/android/media/ |
D | MediaCodecInfo.java | 120 private static final Range<Integer> POSITIVE_INTEGERS = 121 Range.create(1, Integer.MAX_VALUE); 125 Range.create(new Rational(1, Integer.MAX_VALUE), 126 new Rational(Integer.MAX_VALUE, 1)); 127 private static final Range<Integer> SIZE_RANGE = Range.create(1, 32768); 128 private static final Range<Integer> FRAME_RATE_RANGE = Range.create(0, 960); 129 private static final Range<Integer> BITRATE_RANGE = Range.create(0, 500000000); 324 Integer yesNo = (Integer)map.get(MediaFormat.KEY_FEATURE_ + feat.mName); in isFormatSupported() 474 Integer yesNo = (Integer)map.get(key); in CodecCapabilities() 494 private Range<Integer> mBitrateRange; [all …]
|
D | MediaFile.java | 121 private static final HashMap<String, Integer> sMimeTypeMap 122 = new HashMap<String, Integer>(); 124 private static final HashMap<String, Integer> sFileTypeToFormatMap 125 = new HashMap<String, Integer>(); 127 private static final HashMap<String, Integer> sMimeTypeToFormatMap 128 = new HashMap<String, Integer>(); 130 private static final HashMap<Integer, String> sFormatToMimeTypeMap 131 = new HashMap<Integer, String>(); 135 sMimeTypeMap.put(mimeType, Integer.valueOf(fileType)); in addFileType() 140 sFileTypeToFormatMap.put(extension, Integer.valueOf(mtpFormatCode)); in addFileType() [all …]
|
/frameworks/ml/bordeaux/learning/predictor_histogram/java/android/bordeaux/learning/ |
D | HistogramPredictor.java | 55 private HashMap<String, Integer> mClassCounts = new HashMap<String, Integer>(); 89 private HashMap<String, HashMap<String, Integer> > mCounter = 90 new HashMap<String, HashMap<String, Integer> >(); 96 public void setCounter(HashMap<String, HashMap<String, Integer> > counter) { in setCounter() 106 HashMap<String, Integer> classCounts; in addSample() 109 classCounts = new HashMap<String, Integer>(); in addSample() 124 for(Map.Entry<String, Integer> entry : in getClassScores() 162 HashMap<String, HashMap<String, Integer> > model; in setModel() 167 model = (HashMap<String, HashMap<String, Integer> >) objStream.readObject(); in setModel() 182 public HashMap<String, HashMap<String, Integer> > getCounter() { in getCounter() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | HardwareConfig.java | 124 type = Integer.parseInt(split[0]); in HardwareConfig() 130 Integer.parseInt(split[2]), /* state */ in HardwareConfig() 131 Integer.parseInt(split[3]), /* ril-model */ in HardwareConfig() 132 Integer.parseInt(split[4]), /* rat */ in HardwareConfig() 133 Integer.parseInt(split[5]), /* max-voice */ in HardwareConfig() 134 Integer.parseInt(split[6]), /* max-data */ in HardwareConfig() 135 Integer.parseInt(split[7]) /* max-standby */ in HardwareConfig() 142 Integer.parseInt(split[2]), /* state */ in HardwareConfig() 153 char[] bits = Integer.toBinaryString(ratBits).toCharArray(); in assignModem()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
D | MediaRecorderStressTestRunner.java | 75 mIterations = Integer.parseInt(iterations); in onCreate() 78 mVideoEncoder = Integer.parseInt(videoEncoder); in onCreate() 81 mAudioEncoder = Integer.parseInt(audioEncoder); in onCreate() 84 mFrameRate = Integer.parseInt(frameRate); in onCreate() 87 mVideoWidth = Integer.parseInt(videoWidth); in onCreate() 90 mVideoHeight = Integer.parseInt(videoHeight); in onCreate() 93 mBitRate = Integer.parseInt(bitRate); in onCreate() 96 mDuration = Integer.parseInt(recordDuration); in onCreate()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiConfigStore.java | 142 private HashMap<Integer, WifiConfiguration> mConfiguredNetworks = 143 new HashMap<Integer, WifiConfiguration>(); 152 private HashMap<Integer, Integer> mNetworkIds = 153 new HashMap<Integer, Integer>(); 743 Integer n = mNetworkIds.get(hash); in getWifiConfiguration() 861 + " Uid=" + Integer.toString(config.creatorUid) in saveNetwork() 862 + "/" + Integer.toString(config.lastUpdateUid)); in saveNetwork() 900 + Integer.toString(netId) in saveNetwork() 901 + " uid=" + Integer.toString(config.creatorUid)); in saveNetwork() 1074 Log.e(TAG, " key=" + config.configKey() + " netId=" + Integer.toString(config.networkId) in addOrUpdateNetwork() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
D | UsimPhoneBookManager.java | 53 private Map<Integer, ArrayList<String>> mEmailsForAdnRec; 150 Map <Integer,Integer> fileIds; in readEmailFileAndWait() 258 mEmailsForAdnRec = new HashMap<Integer, ArrayList<String>>(); in parseType1EmailFile() 304 Map <Integer,Integer> fileIds; in readAdnFileAndWait() 383 HashMap<Integer,Map<Integer,Integer>> mFileIds; 386 mFileIds = new HashMap<Integer, Map<Integer, Integer>>(); in PbrFile() 400 Map<Integer, Integer> val = new HashMap<Integer, Integer>(); in parseTag() 416 void parseEf(SimTlv tlv, Map<Integer, Integer> val, int parentTag) { in parseEf() argument
|
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
D | ArrayMapTests.java | 107 return Integer.toString(mValue); in toString() 151 + Integer.toHexString(map.entrySet().hashCode()) + " array=0x" in compareMaps() 152 + Integer.toHexString(array.entrySet().hashCode())); in compareMaps() 168 + Integer.toHexString(map.keySet().hashCode()) + " array=0x" in compareMaps() 169 + Integer.toHexString(array.keySet().hashCode())); in compareMaps() 336 HashMap<ControlledHash, Integer> hashMap = new HashMap<ControlledHash, Integer>(); in run() 337 ArrayMap<ControlledHash, Integer> arrayMap = new ArrayMap<ControlledHash, Integer>(); in run() 342 Integer oldHash; in run() 343 Integer oldArray; in run() 424 ArrayMap newMap = new ArrayMap<Integer, String>(); in run() [all …]
|
/frameworks/base/telephony/java/android/telephony/ |
D | CellSignalStrengthLte.java | 128 mSignalStrength = Integer.MAX_VALUE; in setDefaultValues() 129 mRsrp = Integer.MAX_VALUE; in setDefaultValues() 130 mRsrq = Integer.MAX_VALUE; in setDefaultValues() 131 mRssnr = Integer.MAX_VALUE; in setDefaultValues() 132 mCqi = Integer.MAX_VALUE; in setDefaultValues() 133 mTimingAdvance = Integer.MAX_VALUE; in setDefaultValues() 144 if (mRsrp == Integer.MAX_VALUE) levelRsrp = 0; in getLevel() 151 if (mRssnr == Integer.MAX_VALUE) levelRssnr = 0; in getLevel() 158 if (mRsrp == Integer.MAX_VALUE) in getLevel() 160 else if (mRssnr == Integer.MAX_VALUE) in getLevel()
|
/frameworks/base/core/java/android/animation/ |
D | IntEvaluator.java | 22 public class IntEvaluator implements TypeEvaluator<Integer> { 38 public Integer evaluate(float fraction, Integer startValue, Integer endValue) { in evaluate()
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | HdmiLogger.java | 52 private final HashMap<String, Pair<Long, Integer>> mWarningTimingCache = new HashMap<>(); 54 private final HashMap<String, Pair<Long, Integer>> mErrorTimingCache = new HashMap<>(); 109 private static String updateLog(HashMap<String, Pair<Long, Integer>> cache, String logMessage) { in updateLog() 111 Pair<Long, Integer> timing = cache.get(logMessage); in updateLog() 122 private static String buildMessage(String message, @Nullable Pair<Long, Integer> timing) { in buildMessage() 128 private static void increaseLogCount(HashMap<String, Pair<Long, Integer>> cache, in increaseLogCount() 130 Pair<Long, Integer> timing = cache.get(message); in increaseLogCount() 136 private static boolean shouldLogNow(@Nullable Pair<Long, Integer> timing, long curTime) { in shouldLogNow()
|