Home
last modified time | relevance | path

Searched refs:MASK (Results 1 – 21 of 21) sorted by relevance

/packages/services/Car/car-lib/src/android/car/
DVehiclePropertyType.java42 public static final int MASK = 0x00ff0000; field in VehiclePropertyType
60 MASK
/packages/modules/IPsec/src/java/com/android/internal/net/eap/crypto/
DParityBitUtil.java32 private static final byte MASK = (byte) 0xFE; field in ParityBitUtil
70 return (byte) ((b & MASK) | parityBit); in getByteWithParityBit()
/packages/services/Car/car-test-lib/src/android/car/testapi/
DFakeCarPropertyService.java244 int type = propId & VehiclePropertyType.MASK; in getPropertyType()
272 int halArea = propId & VehicleArea.MASK; in getVehicleAreaType()
299 static final int MASK = 251658240 /* 0x0f000000 */; field in FakeCarPropertyService.VehicleArea
/packages/services/Car/service/src/com/android/car/hal/
DCarPropertyUtils.java68 Class<?> clazz = getJavaClass(halValue.prop & VehiclePropertyType.MASK); in toCarPropertyValue()
260 int areaType = getVehicleAreaType(p.prop & VehicleArea.MASK); in toCarPropertyConfig()
262 Class<?> clazz = getJavaClass(p.prop & VehiclePropertyType.MASK); in toCarPropertyConfig()
DPropertyHalServiceIds.java650 return (propId & VehiclePropertyGroup.MASK) == VehiclePropertyGroup.VENDOR; in isVendorProperty()
792 if ((propValue.prop & VehiclePropertyType.MASK) == VehiclePropertyType.MIXED) { in checkPayload()
829 switch (propId & VehiclePropertyType.MASK) { in checkFormatForAllProperties()
DPropertyHalService.java484 return (halPropId & VehiclePropertyType.MASK) == VehiclePropertyType.MIXED; in isMixedTypeProperty()
DVmsHalService.java158 if ((propId & VehiclePropertyGroup.MASK) != VehiclePropertyGroup.VENDOR) { in getClientMetricsProperty()
DVehicleHal.java852 int propertyType = propId & VehiclePropertyType.MASK; in createPropValueForInjecting()
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
DVhalJsonReader.java76 switch (prop & VehiclePropertyType.MASK) { in getEvent()
110 + toHexString(prop & VehiclePropertyType.MASK) in getEvent()
DCarPropertyTest.java294 if ((cfg.getPropertyId() & VehiclePropertyGroup.MASK) == VehiclePropertyGroup.VENDOR) { in checkVendorPropertyPermission()
316 if ((cfg.getPropertyId() & VehiclePropertyGroup.MASK) == VehiclePropertyGroup.SYSTEM) { in checkSystemPropertyPermission()
/packages/apps/Contacts/src/com/android/contacts/activities/
DActionBarAdapter.java312 final int MASK = ActionBar.DISPLAY_SHOW_TITLE | ActionBar.DISPLAY_SHOW_HOME in updateDisplayOptionsInner() local
316 final int current = mActionBar.getDisplayOptions() & MASK; in updateDisplayOptionsInner()
359 mActionBar.setDisplayOptions(newFlags, MASK); in updateDisplayOptionsInner()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/property/
DPropertyTestFragment.java143 switch (propId & VehiclePropertyType.MASK) { in onCreateView()
158 & VehiclePropertyType.MASK) + " is not handled!", in onCreateView()
/packages/apps/Car/Cluster/ClusterOsDouble/src/com/android/car/cluster/osdouble/
DClusterOsDoubleActivity.java73 private static final int MASK = 0xf0000000; field in ClusterOsDoubleActivity
266 return (propId & ~MASK) | VENDOR; in toVendorId()
/packages/services/Car/tests/CarSecurityPermissionTest/src/com/android/car/
DCarPropertyManagerPublicPermissionTest.java215 switch (propertyId & VehiclePropertyType.MASK) { in testCarPropertyManagerGetter()
257 switch (propertyId & VehiclePropertyType.MASK) { in testCarPropertyManagerSetter()
/packages/services/Car/cpp/evs/apps/default/
DEvsStateControl.cpp44 & static_cast<int32_t>(VehiclePropertyType::MASK)); in getPropType()
/packages/services/Car/car-lib/src/android/car/hardware/
DCarSensorManager.java460 switch (propertyValue.getPropertyId() & VehiclePropertyType.MASK) { in createCarSensorEvent()
DCarPropertyConfig.java648 int propertyType = mPropertyId & VehiclePropertyType.MASK;
/packages/services/Car/car-lib/api/
Dtest-current.txt22 field public static final int MASK = 16711680; // 0xff0000
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/sensor/
DSensorsTestFragment.java331 int mask = propertyId & VehiclePropertyType.MASK; in isArrayType()
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DInformationElementUtil.java1611 public static final int MASK = 0x7F; // 0111 1111 field in InformationElementUtil.SupportedRates
1630 byteVal &= MASK; in getRateFromByte()
/packages/services/Car/service/src/com/android/car/
DCarShellCommand.java2208 return (Integer.decode(property) & VehicleArea.MASK) == VehicleArea.GLOBAL;