/cts/tests/tests/util/src/android/util/cts/ |
H A D | ArrayMapTest.java | 148 private static void compareMaps(HashMap map, ArrayMap array) { argument 149 if (map.size() != array.size()) { 150 fail("Bad size: expected " + map.size() + ", got " + array.size()); 153 Set<Map.Entry> mapSet = map.entrySet(); 166 Object expValue = map.get(key); 173 if (map.entrySet().hashCode() != array.entrySet().hashCode()) { 174 fail("Entry set hash codes differ: map=0x" 175 + Integer.toHexString(map.entrySet().hashCode()) + " array=0x" 179 if (!map.entrySet().equals(array.entrySet())) { 180 fail("Failed calling equals on map entr 299 dump(Map map, ArrayMap array) argument [all...] |
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/ |
H A D | CameraDeviceInfo.java | 133 StreamConfigurationMap map, String protoName) throws Exception { 140 int fmts[] = map.getOutputFormats(); 144 Size sizes[] = map.getOutputSizes(fmts[fi]); 153 map.getOutputMinFrameDuration(fmts[fi], sizes[si])); 132 storeStreamConfigurationMap( StreamConfigurationMap map, String protoName) argument
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
H A D | ItsSerializer.java | 133 StreamConfigurationMap map) 138 int fmts[] = map.getOutputFormats(); 141 Size sizes[] = map.getOutputSizes(fmts[fi]); 150 map.getOutputMinFrameDuration(fmts[fi],sizes[si])); 154 sizes = map.getHighResolutionOutputSizes(fmts[fi]); 163 map.getOutputMinFrameDuration(fmts[fi],sizes[si])); 263 private static Object serializeLensShadingMap(LensShadingMap map) argument 266 for (int row = 0; row < map.getRowCount(); row++) { 267 for (int col = 0; col < map.getColumnCount(); col++) { 269 mapObj.put(map 132 serializeStreamConfigurationMap( StreamConfigurationMap map) argument [all...] |
/cts/suite/audio_quality/lib/src/task/ |
H A D | TaskCase.cpp | 68 typename std::map<android::String8, T>& map, 71 typename std::map<android::String8, T>::iterator it; 72 it = map.find(name); 73 if (it != map.end()) { 78 map[name] = data; 82 template <typename T> bool findGeneric(typename std::map<android::String8, T>& map, argument 86 typename std::map<android::String8, T>::iterator it; 87 it = map 67 registerGeneric( typename std::map<android::String8, T>& map, const android::String8& name, T& data) argument 95 updateGeneric(typename std::map<android::String8, T>& map, const android::String8& name, T& data) argument 110 findAllGeneric( typename std::map<android::String8, T>& map, const char* re) argument [all...] |
/cts/tests/camera/src/android/hardware/camera2/cts/helpers/ |
H A D | CameraMetadataGetter.java | 303 StreamConfigurationMap map) 308 int fmts[] = map.getOutputFormats(); 311 Size sizes[] = map.getOutputSizes(fmts[fi]); 320 map.getOutputMinFrameDuration(fmts[fi], sizes[si])); 421 private static Object serializeLensShadingMap(LensShadingMap map) argument 424 for (int row = 0; row < map.getRowCount(); row++) { 425 for (int col = 0; col < map.getColumnCount(); col++) { 427 mapObj.put(map.getGainFactor(ch, col, row)); 302 serializeStreamConfigurationMap( StreamConfigurationMap map) argument
|
/cts/tests/camera/src/android/hardware/camera2/cts/rs/ |
H A D | RawConverter.java | 128 * Lens shading correction - the interpolated gains from the gain map defined in the 151 * Gamma correction - each pixel is gamma corrected using γ=2.2 to map into sRGB 531 map(interpXYZToCameraInverse, cameraNeutral, /*out*/neutralGuess); 609 map(inverseInterpolatedCC, cameraNeutral, /*out*/referenceNeutral); 631 * @param matrix float array containing 3x3 matrix to map vector by. 632 * @param input 3 dimensional vector to map. 635 private static void map(float[] matrix, float[] input, /*out*/float[] output) { method in class:RawConverter 771 map(colorMatrix, D50_XYZ, /*out*/tmp); 787 map(forwardMatrix, tmp, /*out*/xyz);
|
/cts/tools/vm-tests-tf/src/util/build/ |
H A D | BuildDalvikSuite.java | 90 * a map. key: fully qualified class name, value: a list of test methods for 93 private LinkedHashMap<String, List<String>> map = new LinkedHashMap<String, field in class:BuildDalvikSuite 194 List<String> li = map.get(fqcn); 198 map.put(fqcn, li); 305 for (Entry<String, List<String>> entry : map.entrySet()) {
|