Home
last modified time | relevance | path

Searched refs:bus (Results 1 – 25 of 50) sorted by relevance

12

/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/Car/Settings/
Ddevice_for_product_strategies.pfw41 bus = 1
45 bus = 0
86 bus = 1
90 bus = 0
133 bus = 1
137 bus = 0
180 bus = 1
186 bus = 0
191 bus = 0
232 bus = 1
[all …]
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/CarEmu/Settings/
Ddevice_for_product_strategies.pfw41 bus = 1
45 bus = 0
86 bus = 1
90 bus = 0
133 bus = 1
137 bus = 0
180 bus = 1
184 bus = 0
225 bus = 1
229 bus = 0
[all …]
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/SettingsNoInput/
Ddevice_for_input_source.pfw29 bus = 0
52 bus = 0
75 bus = 0
98 bus = 0
121 bus = 0
144 bus = 0
167 bus = 0
190 bus = 0
213 bus = 0
236 bus = 0
[all …]
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/SettingsNoOutput/
Ddevice_for_strategies.pfw29 bus = 0
57 bus = 0
85 bus = 0
113 bus = 0
141 bus = 0
169 bus = 0
197 bus = 0
225 bus = 0
253 bus = 0
/frameworks/base/core/tests/batterystatstests/BatteryUsageStatsProtoTests/src/com/android/internal/os/
DBatteryUsageStatsPulledTest.java59 final BatteryUsageStats bus = buildBatteryUsageStats(); in testGetStatsProto() local
60 final byte[] bytes = bus.getStatsProto(); in testGetStatsProto()
69 assertEquals(bus.getStatsStartTimestamp(), proto.sessionStartMillis); in testGetStatsProto()
70 assertEquals(bus.getStatsEndTimestamp(), proto.sessionEndMillis); in testGetStatsProto()
72 bus.getStatsEndTimestamp() - bus.getStatsStartTimestamp(), in testGetStatsProto()
74 assertEquals(bus.getDischargePercentage(), proto.sessionDischargePercentage); in testGetStatsProto()
75 assertEquals(bus.getDischargeDurationMs(), proto.dischargeDurationMillis); in testGetStatsProto()
79 final AggregateBatteryConsumer abc = bus.getAggregateBatteryConsumer( in testGetStatsProto()
82 bus.getAggregateBatteryConsumer(AGGREGATE_BATTERY_CONSUMER_SCOPE_DEVICE), in testGetStatsProto()
90 final List<android.os.UidBatteryConsumer> uidConsumers = bus.getUidBatteryConsumers(); in testGetStatsProto()
[all …]
/frameworks/native/services/inputflinger/tests/
DInputMapperTest.cpp31 void InputMapperUnitTest::SetUpWithBus(int bus) { in SetUpWithBus() argument
40 mIdentifier.bus = bus; in SetUpWithBus()
115 void InputMapperTest::SetUp(ftl::Flags<InputDeviceClass> classes, int bus) { in SetUp() argument
120 mDevice = newDevice(DEVICE_ID, DEVICE_NAME, DEVICE_LOCATION, EVENTHUB_ID, classes, bus); in SetUp()
161 int bus) { in newDevice() argument
165 identifier.bus = bus; in newDevice()
170 mFakeEventHub->addDevice(eventHubId, name, classes, bus); in newDevice()
DInputMapperTest.h44 virtual void SetUpWithBus(int bus);
96 virtual void SetUp(ftl::Flags<InputDeviceClass> classes, int bus = 0);
104 ftl::Flags<InputDeviceClass> classes, int bus = 0);
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/Settings/
Ddevice_for_input_source.pfw20 bus = 0
37 bus = 0
58 bus = 0
79 bus = 0
100 bus = 0
120 bus = 0
138 bus = 0
155 bus = 0
176 bus = 0
194 bus = 0
[all …]
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DPowerStatsExporterTest.java274 private void assertDevicePowerEstimate(String message, BatteryUsageStats bus, int componentId, in assertDevicePowerEstimate() argument
276 AggregateBatteryConsumer consumer = bus.getAggregateBatteryConsumer( in assertDevicePowerEstimate()
282 private void assertAllAppsPowerEstimate(String message, BatteryUsageStats bus, int componentId, in assertAllAppsPowerEstimate() argument
284 AggregateBatteryConsumer consumer = bus.getAggregateBatteryConsumer( in assertAllAppsPowerEstimate()
290 private void assertUidPowerEstimate(String message, BatteryUsageStats bus, int uid, in assertUidPowerEstimate() argument
292 List<UidBatteryConsumer> uidScopes = bus.getUidBatteryConsumers(); in assertUidPowerEstimate()
/frameworks/native/libs/input/
DKeyboardClassifier.cpp63 rustIdentifier.bus = identifier.bus; in notifyKeyboardChanged()
/frameworks/base/cmds/hid/src/com/android/commands/hid/
DDevice.java78 int bus, in nativeOpenDevice() argument
96 int bus, in Device() argument
112 args.argi4 = bus; in Device()
DEvent.java186 public void setBus(Bus bus) { in setBus() argument
187 mEvent.mBus = bus; in setBus()
/frameworks/base/cmds/hid/jni/
Dcom_android_commands_hid_Device.cpp138 int32_t pid, uint16_t bus, in open() argument
159 ev.u.create2.bus = bus; in open()
318 jint vid, jint pid, jint bus, jbyteArray rawDescriptor, jobject callback) { in openDevice() argument
341 reinterpret_cast<const char*>(uniq.c_str()), vid, pid, bus, desc, in openDevice()
Dcom_android_commands_hid_Device.h46 int32_t pid, uint16_t bus,
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/Phone/Settings/
Ddevice_for_product_strategy_patch.pfw32 bus = 0
Ddevice_for_product_strategy_rerouting.pfw32 bus = 0
Ddevice_for_product_strategy_transmitted_through_speaker.pfw29 bus = 0
/frameworks/base/cmds/uinput/jni/
Dcom_android_commands_uinput_Device.cpp100 int32_t productId, int32_t versionId, uint16_t bus, in open() argument
120 setupDescriptor.id.bustype = bus; in open()
247 jint vendorId, jint productId, jint versionId, jint bus, in openUinputDevice() argument
259 uinput::UinputDevice::open(id, name.c_str(), vendorId, productId, versionId, bus, in openUinputDevice()
Dcom_android_commands_uinput_Device.h51 int32_t productId, int32_t versionId, uint16_t bus,
/frameworks/base/cmds/uinput/src/com/android/commands/uinput/
DDevice.java65 int productId, int versionId, int bus, int ffEffectsMax, String port, in nativeOpenUinputDevice() argument
76 public Device(int id, String name, int vendorId, int productId, int versionId, int bus, in Device() argument
91 args.argi5 = bus; in Device()
/frameworks/native/services/inputflinger/
DInputDeviceMetricsCollector.cpp98 linuxBusToInputDeviceBusEnum(info.bus, info.isUsiStylus), durationMillis, in logInputDeviceUsageReported()
245 .bus = i.bus, in onInputDevicesChanged()
/frameworks/native/services/inputflinger/reader/mapper/
DTouchpadInputMapper.h101 return std::make_tuple(id.bus, id.vendor, id.product, id.version); in metricsIdFromInputDeviceIdentifier()
DTouchCursorInputMapperCommon.cpp106 if (identifier.bus != BUS_BLUETOOTH) { in applyBluetoothTimestampSmoothening()
/frameworks/base/cmds/hid/
DREADME.md47 | bus | string | Bus that device should use |
53 Device bus is used to determine how the uhid device is connected to the host.
68 "bus": "usb",
/frameworks/native/include/input/
DInputDevice.h37 bus(0), vendor(0), product(0), version(0) { in InputDeviceIdentifier()
44 uint16_t bus; member

12