/frameworks/native/services/inputflinger/tests/ |
D | InputReader_test.cpp | 1520 FakeInputMapper& mapper = device->addMapper<FakeInputMapper>(eventHubId, sources); in addDeviceWithFakeInputMapper() local 1523 return mapper; in addDeviceWithFakeInputMapper() 1630 FakeInputMapper& mapper = in TEST_F() local 1633 mapper.setKeyCodeState(AKEYCODE_A, AKEY_STATE_DOWN); in TEST_F() 1663 FakeInputMapper& mapper = in TEST_F() local 1666 mapper.setScanCodeState(KEY_A, AKEY_STATE_DOWN); in TEST_F() 1696 FakeInputMapper& mapper = in TEST_F() local 1699 mapper.setSwitchState(SW_LID, AKEY_STATE_DOWN); in TEST_F() 1729 FakeInputMapper& mapper = in TEST_F() local 1733 mapper.addSupportedKeyCode(AKEYCODE_A); in TEST_F() [all …]
|
/frameworks/native/services/inputflinger/reader/ |
D | Android.bp | 29 "mapper", 30 "mapper/accumulator", 40 "mapper/accumulator/CursorButtonAccumulator.cpp", 41 "mapper/accumulator/CursorScrollAccumulator.cpp", 42 "mapper/accumulator/SingleTouchMotionAccumulator.cpp", 43 "mapper/accumulator/TouchButtonAccumulator.cpp", 44 "mapper/CursorInputMapper.cpp", 45 "mapper/ExternalStylusInputMapper.cpp", 46 "mapper/InputMapper.cpp", 47 "mapper/JoystickInputMapper.cpp", [all …]
|
D | InputDevice.cpp | 137 for_each_mapper([&dump](InputMapper& mapper) { mapper.dump(dump); }); in dump() argument 354 for_each_mapper([this, when, config, changes](InputMapper& mapper) { in configure() argument 355 mapper.configure(when, config, changes); in configure() 356 mSources |= mapper.getSources(); in configure() 368 for_each_mapper([when](InputMapper& mapper) { mapper.reset(when); }); in reset() argument 403 for_each_mapper_in_subdevice(rawEvent->deviceId, [rawEvent](InputMapper& mapper) { in process() argument 404 mapper.process(rawEvent); in process() 412 for_each_mapper([when](InputMapper& mapper) { mapper.timeoutExpired(when); }); in timeoutExpired() argument 416 for_each_mapper([state](InputMapper& mapper) { mapper.updateExternalStylusState(state); }); in updateExternalStylusState() argument 424 [&outDeviceInfo](InputMapper& mapper) { mapper.populateDeviceInfo(&outDeviceInfo); }); in getDeviceInfo() argument [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/om/ |
D | OverlayReferenceMapperTests.kt | 43 private lateinit var mapper: OverlayReferenceMapper in <lambda>() variable in com.android.server.om.OverlayReferenceMapperTests 51 mapper = mapper() in <lambda>() 58 val existing = mapper.addInOrder(overlay) { in <lambda>() 62 mapper.addInOrder(target, existing = existing) { in <lambda>() 66 mapper.remove(target) { in <lambda>() 77 mapper = mapper( in <lambda>() 87 val existing = mapper.addInOrder(overlay0, overlay1) { in <lambda>() 91 mapper.addInOrder(target, existing = existing) { in <lambda>() 95 mapper.remove(overlay0) { in <lambda>() 99 mapper.remove(target) { in <lambda>() [all …]
|
/frameworks/native/libs/gralloc/types/include/gralloctypes/ |
D | Gralloc4.h | 49 static const android::hardware::graphics::mapper::V4_0::IMapper::MetadataType MetadataType_BufferId… 53 static const android::hardware::graphics::mapper::V4_0::IMapper::MetadataType MetadataType_Name = { 57 static const android::hardware::graphics::mapper::V4_0::IMapper::MetadataType MetadataType_Width = { 61 static const android::hardware::graphics::mapper::V4_0::IMapper::MetadataType MetadataType_Height =… 65 static const android::hardware::graphics::mapper::V4_0::IMapper::MetadataType MetadataType_LayerCou… 69 static const android::hardware::graphics::mapper::V4_0::IMapper::MetadataType MetadataType_PixelFor… 73 static const android::hardware::graphics::mapper::V4_0::IMapper::MetadataType MetadataType_PixelFor… 77 static const android::hardware::graphics::mapper::V4_0::IMapper::MetadataType MetadataType_PixelFor… 81 static const android::hardware::graphics::mapper::V4_0::IMapper::MetadataType MetadataType_Usage = { 85 static const android::hardware::graphics::mapper::V4_0::IMapper::MetadataType MetadataType_Allocati… [all …]
|
/frameworks/av/services/camera/libcameraservice/tests/ |
D | ZoomRatioTest.cpp | 155 ZoomRatioMapper mapper; in subScaleCoordinatesTest() local 158 ASSERT_EQ(OK, setupTestMapper(&mapper, maxDigitalZoom, in subScaleCoordinatesTest() 185 mapper.scaleCoordinates(coords.data(), coords.size()/2, 1.0f, false /*clamp*/, width, height); in subScaleCoordinatesTest() 202 mapper.scaleCoordinates(coords.data(), coords.size()/2, 2.0f, false /*clamp*/, width, height); in subScaleCoordinatesTest() 219 mapper.scaleCoordinates(coords.data(), coords.size()/2, 2.0f, true /*clamp*/, width, height); in subScaleCoordinatesTest() 236 mapper.scaleCoordinates(coords.data(), coords.size()/2, 2.0f, true /*clamp*/, width, height); in subScaleCoordinatesTest() 253 mapper.scaleCoordinates(coords.data(), coords.size()/2, 1.0f/3, false /*clamp*/, width, height); in subScaleCoordinatesTest() 266 ZoomRatioMapper mapper; in subCropOverMaxDigitalZoomTest() local 268 res = setupTestMapper(&mapper, 4.0/*maxDigitalZoom*/, in subCropOverMaxDigitalZoomTest() 279 res = mapper.updateCaptureRequest(&metadata); in subCropOverMaxDigitalZoomTest() [all …]
|
D | RotateAndCropMapperTest.cpp | 84 RotateAndCropMapper mapper(&deviceInfo); in TEST() local 99 res = mapper.updateCaptureRequest(&request); in TEST() 118 res = mapper.updateCaptureResult(&result); in TEST() 137 RotateAndCropMapper mapper(&deviceInfo); in TEST() local 152 res = mapper.updateCaptureRequest(&request); in TEST() 193 res = mapper.updateCaptureResult(&result); in TEST() 228 RotateAndCropMapper mapper(&deviceInfo); in TEST() local 243 res = mapper.updateCaptureRequest(&request); in TEST() 284 res = mapper.updateCaptureResult(&result); in TEST() 320 RotateAndCropMapper mapper(&deviceInfo); in TEST() local [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/people/ |
D | ViewPipeline.kt | 25 fun <S, T> DataListener<T>.contraMap(mapper: (S) -> T): DataListener<S> = object : DataListener<S> { in onDataChanged() 26 override fun onDataChanged(data: S) = onDataChanged(mapper(data)) in onDataChanged() 41 fun <S, T> DataSource<S>.map(mapper: (S) -> T): DataSource<T> = object : DataSource<T> { in map() 43 registerListener(listener.contraMap(mapper)) in map()
|
/frameworks/native/libs/ui/include/ui/ |
D | Gralloc2.h | 67 hardware::graphics::mapper::V2_1::IMapper::BufferDescriptorInfo* descriptorInfo) const; 69 sp<hardware::graphics::mapper::V2_0::IMapper> mMapper; 70 sp<hardware::graphics::mapper::V2_1::IMapper> mMapperV2_1; 77 Gralloc2Allocator(const Gralloc2Mapper& mapper);
|
D | Gralloc4.h | 149 std::vector<android::hardware::graphics::mapper::V4_0::IMapper::MetadataTypeDescription> 157 hardware::graphics::mapper::V4_0::IMapper::BufferDescriptorInfo* descriptorInfo) const; 165 const android::hardware::graphics::mapper::V4_0::IMapper::MetadataType& metadataType, 172 const android::hardware::graphics::mapper::V4_0::IMapper::MetadataType& metadataType, 177 const android::hardware::graphics::mapper::V4_0::IMapper::BufferDump& bufferDump, 181 const android::hardware::graphics::mapper::V4_0::IMapper::BufferDump& bufferDump, 184 sp<hardware::graphics::mapper::V4_0::IMapper> mMapper; 191 Gralloc4Allocator(const Gralloc4Mapper& mapper);
|
D | Gralloc3.h | 69 hardware::graphics::mapper::V3_0::IMapper::BufferDescriptorInfo* descriptorInfo) const; 71 sp<hardware::graphics::mapper::V3_0::IMapper> mMapper; 78 Gralloc3Allocator(const Gralloc3Mapper& mapper);
|
/frameworks/native/services/surfaceflinger/tests/fakehwc/ |
D | Android.bp | 26 "android.hardware.graphics.mapper@2.0", 27 "android.hardware.graphics.mapper@3.0", 28 "android.hardware.graphics.mapper@4.0",
|
/frameworks/native/libs/ui/ |
D | Gralloc2.cpp | 33 using android::hardware::graphics::mapper::V2_0::BufferDescriptor; 34 using android::hardware::graphics::mapper::V2_0::Error; 35 using android::hardware::graphics::mapper::V2_0::YCbCrLayout; 36 using android::hardware::graphics::mapper::V2_1::IMapper; 80 android::hardware::preloadPassthroughService<hardware::graphics::mapper::V2_0::IMapper>(); in preload() 84 mMapper = hardware::graphics::mapper::V2_0::IMapper::getService(); in Gralloc2Mapper() 142 const hardware::graphics::mapper::V2_0::IMapper::BufferDescriptorInfo info = { in createDescriptor() 354 Gralloc2Allocator::Gralloc2Allocator(const Gralloc2Mapper& mapper) : mMapper(mapper) { in Gralloc2Allocator() argument
|
D | Android.bp | 164 "android.hardware.graphics.mapper@2.0", 165 "android.hardware.graphics.mapper@2.1", 166 "android.hardware.graphics.mapper@3.0", 167 "android.hardware.graphics.mapper@4.0", 180 "android.hardware.graphics.mapper@4.0",
|
D | Gralloc3.cpp | 32 using android::hardware::graphics::mapper::V3_0::BufferDescriptor; 33 using android::hardware::graphics::mapper::V3_0::Error; 34 using android::hardware::graphics::mapper::V3_0::IMapper; 35 using android::hardware::graphics::mapper::V3_0::YCbCrLayout; 343 Gralloc3Allocator::Gralloc3Allocator(const Gralloc3Mapper& mapper) : mMapper(mapper) { in Gralloc3Allocator() argument
|
/frameworks/base/services/core/java/com/android/server/signedconfig/ |
D | SignedConfig.java | 170 Map<String, String> mapper = keyValueMappers.get(key); in parsePerSdkConfig() local 171 if (!mapper.containsKey(value)) { in parsePerSdkConfig() 175 value = mapper.get(value); in parsePerSdkConfig()
|
/frameworks/av/media/codec2/components/tests/ |
D | Android.bp | 34 "android.hardware.graphics.mapper@2.0", 35 "android.hardware.graphics.mapper@3.0",
|
/frameworks/native/services/vr/hardware_composer/ |
D | Android.bp | 31 "android.hardware.graphics.mapper@2.0", 32 "android.hardware.graphics.mapper@3.0", 33 "android.hardware.graphics.mapper@4.0",
|
/frameworks/av/media/codec2/sfplugin/ |
D | Codec2InfoBuilder.cpp | 75 std::shared_ptr<C2Mapper::ProfileLevelMapper> mapper = in addSupportedProfileLevels() local 151 if (mapper && mapper->mapProfile(pl.profile, &sdkProfile) in addSupportedProfileLevels() 152 && mapper->mapLevel(pl.level, &sdkLevel)) { in addSupportedProfileLevels() 168 } else if (!mapper) { in addSupportedProfileLevels() 187 && mapper in addSupportedProfileLevels() 188 && mapper->mapProfile(pl.profile, &sdkProfile) in addSupportedProfileLevels() 189 && mapper->mapLevel(nextLevel, &sdkLevel)) { in addSupportedProfileLevels()
|
D | CCodecConfig.cpp | 99 ConfigMapper &withMapper(Mapper mapper) { in withMapper() 102 mMapper = mapper; in withMapper() 107 ConfigMapper &withMappers(Mapper mapper, Mapper reverse) { in withMappers() 110 mMapper = mapper; in withMappers() 175 Mapper mapper() const { return mMapper; } in mapper() function 695 std::shared_ptr<C2Mapper::ProfileLevelMapper> mapper = in initializeStandardParams() local 700 .withMappers([mapper](C2Value v) -> C2Value { in initializeStandardParams() 703 if (mapper && v.get(&sdk) && mapper->mapProfile(sdk, &c2)) { in initializeStandardParams() 707 }, [mapper](C2Value v) -> C2Value { in initializeStandardParams() 711 if (mapper && v.get((C2ValueType*)&c2) && mapper->mapProfile(c2, &sdk)) { in initializeStandardParams() [all …]
|
/frameworks/opt/net/ims/src/java/com/android/ims/ |
D | ImsFeatureBinderRepository.java | 411 UpdateMapper mapper = mFeatures.stream() in getUpdateMapper() local 414 if (mapper == null) { in getUpdateMapper() 415 mapper = new UpdateMapper(phoneId, type); in getUpdateMapper() 416 mFeatures.add(mapper); in getUpdateMapper() 418 return mapper; in getUpdateMapper()
|
/frameworks/native/libs/gralloc/types/ |
D | Android.bp | 56 "android.hardware.graphics.mapper@4.0", 63 "android.hardware.graphics.mapper@4.0",
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | SettingsToPropertiesMapper.java | 163 SettingsToPropertiesMapper mapper = new SettingsToPropertiesMapper( in start() local 165 mapper.updatePropertiesFromSettings(); in start() 166 return mapper; in start()
|
/frameworks/native/libs/gralloc/types/fuzzer/ |
D | gralloctypes.h | 24 using GrallocTypesVendorHelperDecode = std::function<void(const android::hardware::graphics::mapper…
|
D | gralloctypes.cpp | 33 using MetadataType = android::hardware::graphics::mapper::V4_0::IMapper::MetadataType; 34 using BufferDescriptorInfo = android::hardware::graphics::mapper::V4_0::IMapper::BufferDescriptorIn…
|