Searched defs:prop (Results 1 - 16 of 16) sorted by relevance

/packages/services/Car/tests/libvehiclenetwork-java-test/src/com/android/car/vehiclenetwork/libtest/
H A DVehicleNetworkTestUtil.java24 public static VehiclePropValue createDummyValue(int prop, int valueType) { argument
26 setProp(prop).
H A DVehicleNetworkTest.java189 for (Integer prop : subscribedProperties) {
190 mListener.waitForEvent(prop, TIMEOUT_MS);
191 mVehicleNetwork.unsubscribe(prop);
224 private synchronized boolean waitForEvent(Integer prop, long timeoutMs) argument
229 while (timeToWait > 0 && !mEventRecord.contains(prop)) {
233 return mEventRecord.contains(prop);
/packages/apps/Terminal/src/com/android/terminal/
H A DTerminalCallbacks.java33 public int setTermPropBoolean(int prop, boolean value) { argument
37 public int setTermPropInt(int prop, int value) { argument
41 public int setTermPropString(int prop, String value) { argument
45 public int setTermPropColor(int prop, int red, int green, int blue) { argument
/packages/services/Car/service/src/com/android/car/
H A DCarHvacService.java169 public synchronized CarPropertyValue getProperty(int prop, int zone) { argument
171 return mHvacHal.getHvacProperty(prop, zone);
175 public synchronized void setProperty(CarPropertyValue prop) { argument
177 mHvacHal.setHvacProperty(prop);
/packages/services/Car/service/src/com/android/car/hal/
H A DHvacHalService.java95 public void setHvacProperty(CarPropertyValue prop) { argument
96 VehiclePropValue halProp = toVehiclePropValue(prop, hvacToHalPropId(prop.getPropertyId()));
107 for (Integer prop : mProps.keySet()) {
108 mVehicleHal.subscribeProperty(this, prop, 0);
119 for (Integer prop : mProps.keySet()) {
120 mVehicleHal.unsubscribeProperty(this, prop);
168 int prop = v.getProp();
172 hvacPropId = halToHvacPropId(prop);
174 Log.e(TAG, "Property is not supported: 0x" + toHexString(prop), e
[all...]
H A DSensorHalService.java200 private float fixSamplingRateForProperty(VehiclePropConfig prop, int carSensorManagerRate) { argument
201 if (prop.getChangeMode() == VehiclePropChangeMode.VEHICLE_PROP_CHANGE_MODE_ON_CHANGE) {
216 if (rate > prop.getSampleRateMax()) {
217 rate = prop.getSampleRateMax();
219 if (rate < prop.getSampleRateMin()) {
220 rate = prop.getSampleRateMin();
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
H A DBondStateMachine.java74 AdapterProperties prop, RemoteDevices remoteDevices) {
80 mAdapterProperties = prop;
86 AdapterProperties prop, RemoteDevices remoteDevices) {
88 BondStateMachine bsm = new BondStateMachine(service, prop, remoteDevices);
73 BondStateMachine(AdapterService service, AdapterProperties prop, RemoteDevices remoteDevices) argument
85 make(AdapterService service, AdapterProperties prop, RemoteDevices remoteDevices) argument
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/about/
H A DStatusFragment.java263 LinkProperties prop = cm.getActiveLinkProperties();
264 return formatIpAddresses(prop);
267 private static String formatIpAddresses(LinkProperties prop) { argument
268 if (prop == null) return null;
269 Iterator<InetAddress> iter = prop.getAllAddresses().iterator();
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/hvac/
H A DHvacTestFragment.java168 for(CarPropertyConfig prop : props) {
169 int propId = prop.getPropertyId();
172 Log.d(TAG, prop.toString());
177 configureAcOn(v, prop);
180 configureFanPosition(v, prop);
183 configureFanSpeed(v, prop);
186 configureTempSetpoint(v, prop);
189 configureDefrosterOn(v, prop);
216 private void configureAcOn(View v, CarPropertyConfig prop) { argument
217 mZoneForAcOn = prop
232 configureFanPosition(View v, CarPropertyConfig prop) argument
267 configureFanSpeed(View v, CarPropertyConfig prop) argument
308 configureTempSetpoint(View v, CarPropertyConfig prop) argument
[all...]
/packages/services/Car/car-lib/src/android/car/hardware/hvac/
H A DCarHvacManager.java255 * @param prop Property ID to get
258 public boolean getBooleanProperty(int prop, int area) throws CarNotConnectedException { argument
259 CarPropertyValue<Boolean> carProp = getProperty(Boolean.class, prop, area);
266 * @param prop Property ID to get
269 public float getFloatProperty(int prop, int area) throws CarNotConnectedException { argument
270 CarPropertyValue<Float> carProp = getProperty(Float.class, prop, area);
277 * @param prop Property ID to get
280 public int getIntProperty(int prop, int area) throws CarNotConnectedException { argument
281 CarPropertyValue<Integer> carProp = getProperty(Integer.class, prop, area);
287 private <E> CarPropertyValue<E> getProperty(Class<E> clazz, int prop, in argument
318 setBooleanProperty(int prop, int area, boolean val) argument
331 setFloatProperty(int prop, int area, float val) argument
343 setIntProperty(int prop, int area, int val) argument
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
H A DBluetoothPbapVcardManager.java762 public final String prop; field in class:BluetoothPbapVcardManager.VCardFilter.FilterBit
766 FilterBit(int pos, String prop, boolean onlyCheckV21, boolean excludeForV21) { argument
768 this.prop = prop;
809 if (bit.prop.equals(currentProp)) {
/packages/apps/Settings/src/com/android/settings/
H A DUtils.java239 LinkProperties prop = cm.getLinkProperties(ConnectivityManager.TYPE_WIFI);
240 return formatIpAddresses(prop);
250 LinkProperties prop = cm.getActiveLinkProperties();
251 return formatIpAddresses(prop);
254 private static String formatIpAddresses(LinkProperties prop) { argument
255 if (prop == null) return null;
256 Iterator<InetAddress> iter = prop.getAllAddresses().iterator();
/packages/apps/Terminal/jni/
H A Dcom_android_terminal_Terminal.cpp195 static int term_settermprop(VTermProp prop, VTermValue *val, void *user) { argument
202 switch (vterm_get_prop_type(prop)) {
204 return env->CallIntMethod(term->getCallbacks(), setTermPropBooleanMethod, prop,
207 return env->CallIntMethod(term->getCallbacks(), setTermPropIntMethod, prop, val->number);
209 return env->CallIntMethod(term->getCallbacks(), setTermPropStringMethod, prop,
212 return env->CallIntMethod(term->getCallbacks(), setTermPropIntMethod, prop, val->color.red,
/packages/services/Car/vehicle_network_service/
H A DVehicleNetworkService.cpp68 EVENT_LOG("handleHalEvent 0x%x", eventData->prop);
177 ssize_t index = mCache.indexOfKey(value.prop);
181 mCache.add(value.prop, v);
189 ssize_t index = mCache.indexOfKey(value->prop);
191 ALOGE("readFromCache 0x%x, not found", value->prop);
198 ALOGD("readFromCache 0x%x, copy failed %d", value->prop, r);
222 for (auto& prop : mProperties->getList()) {
223 VechilePropertyUtil::dumpProperty(msg, *prop);
227 for (auto& prop : mPropertiesForMocking->getList()) {
229 msg.appendFormat("property 0x%x\n", prop
599 subscribe(const sp<IVehicleNetworkListener> &listener, int32_t prop, float sampleRate, int32_t zones) argument
695 unsubscribe(const sp<IVehicleNetworkListener> &listener, int32_t prop) argument
[all...]
/packages/apps/Bluetooth/jni/
H A Dcom_android_bluetooth_btservice_AdapterService.cpp983 bt_property_t prop; local
984 prop.type = (bt_property_type_t) type;
985 prop.len = env->GetArrayLength(value);
986 prop.val = val;
988 int ret = sBluetoothInterface->set_adapter_property(&prop);
1062 bt_property_t prop; local
1063 prop.type = (bt_property_type_t) type;
1064 prop.len = env->GetArrayLength(value);
1065 prop.val = val;
1067 int ret = sBluetoothInterface->set_remote_device_property((bt_bdaddr_t *)addr, &prop);
[all...]
/packages/apps/Messaging/build/gcheckstyle/
H A Dgoogle-style-checker_deploy.jar ... defaultValue java.util.Map values String value String prop static synthetic java.lang.String access$000 ...

Completed in 9477 milliseconds