Searched defs:property (Results 1 - 25 of 47) sorted by relevance

12

/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
H A DCustomVCardEntry.java40 public void addProperty(VCardProperty property) { argument
41 super.addProperty(property);
42 mAllProperties.put(property.getName(), property);
H A DCustomVCardEntryConstructor.java130 public void onPropertyCreated(VCardProperty property) { argument
131 mCurrentEntry.addProperty(property);
/packages/services/Car/tests/android_car_api_test/src/com/android/car/apitest/
H A DCarHvacManagerTest.java48 for (CarPropertyConfig property : properties) {
49 if (supportedTypes.contains(property.getPropertyType())) {
50 assertTypeAndZone(property);
52 fail("Type is not supported for " + property);
57 private void assertTypeAndZone(CarPropertyConfig property) { argument
58 switch (property.getPropertyId()) {
60 assertEquals(Boolean.class, property.getPropertyType());
61 assertTrue(property.isGlobalProperty());
64 assertEquals(Integer.class, property.getPropertyType());
65 assertTrue(property
94 checkIntMinMax(CarPropertyConfig<Integer> property) argument
119 checkFloatMinMax(CarPropertyConfig<Float> property) argument
[all...]
/packages/services/Car/tests/vehiclenetworkservice_unit_tests/
H A DVehiclePropertyAccessControlForTesting.cpp24 bool VehiclePropertyAccessControlForTesting::accessToInt(int32_t* const value,const xmlChar* property, argument
26 return VehiclePropertyAccessControl::accessToInt(value, property, uid, access);
29 bool VehiclePropertyAccessControlForTesting::updateOrCreate(int32_t uid, int32_t property, int32_t access) { argument
30 return VehiclePropertyAccessControl::updateOrCreate(uid, property, access);
49 bool VehiclePropertyAccessControlForTesting::getAccessToProperty(int32_t property, std::map<int32_t, int32_t>** accessMap) { argument
50 if (mVehicleAccessControlMap.count(property) == 0) {
54 *accessMap = mVehicleAccessControlMap[property];
H A DVehiclePropertyAccessControlTest.cpp97 static const char* property = "property"; local
111 (const xmlChar*)property, (const xmlChar*)uid,
118 (const xmlChar*)property, (const xmlChar*)uid, (const xmlChar*)h));
128 // Make sure the property does not exist
132 // Create the property and give uid read access
136 // Make sure the property was created
140 // Make sure uid has read access to the property
143 // Give uid2 read/write access to the property
150 // Make sure uid2 has read/write access to the property
[all...]
/packages/apps/Camera2/src/com/android/camera/debug/
H A DDebugPropertyHelper.java42 private static boolean isPropertyOn(String property) { argument
43 return ON_VALUE.equals(SystemProperties.get(property, OFF_VALUE));
/packages/apps/Launcher3/src/com/android/launcher3/
H A DLauncherAnimUtils.java102 public static ObjectAnimator ofFloat(View target, Property<View, Float> property, argument
104 ObjectAnimator anim = ObjectAnimator.ofFloat(target, property, values);
/packages/services/Car/libvehiclenetwork/java/src/com/android/car/vehiclenetwork/
H A DVehiclePropConfigUtil.java29 public static VehiclePropConfig createStaticStringProperty(int property) { argument
30 return getBuilder(property,
40 int property, int propAccess, int changeType, int valueType, int zones,
43 setProp(property).
56 int property, int propAccess, int changeType, int valueType, int configFlags) {
57 return getBuilder(property,
66 public static VehiclePropConfig.Builder getBuilder(int property, int access, int changeMode, argument
70 setProp(property).
39 createZonedProperty( int property, int propAccess, int changeType, int valueType, int zones, int configFlags) argument
55 createProperty( int property, int propAccess, int changeType, int valueType, int configFlags) argument
H A DVehiclePropValueUtil.java34 public static VehiclePropValue createIntValue(int property, int value, long timestamp) { argument
35 return createBuilder(property, VehicleValueType.VEHICLE_VALUE_TYPE_INT32, timestamp).
40 public static VehiclePropValue createIntVectorValue(int property, int[] values, argument
42 VehiclePropValue.Builder builder = createBuilder(property,
51 public static VehiclePropValue createFloatValue(int property, float value, long timestamp) { argument
52 return createBuilder(property, VehicleValueType.VEHICLE_VALUE_TYPE_FLOAT, timestamp).
57 public static VehiclePropValue createFloatVectorValue(int property, float[] values, argument
59 VehiclePropValue.Builder builder = createBuilder(property,
68 public static VehiclePropValue createLongValue(int property, long value, long timestamp) { argument
69 return createBuilder(property, VehicleValueTyp
74 createStringValue(int property, String value, long timestamp) argument
80 createBooleanValue(int property, boolean value, long timestamp) argument
86 createBytesValue(int property, byte[] value, long timestamp) argument
92 createZonedIntValue(int property, int zone, int value, long timestamp) argument
100 createZonedIntVectorValue(int property, int zone, int[] values, long timestamp) argument
112 createZonedFloatVectorValue(int property, int zone, float[] values, long timestamp) argument
125 createZonedBooleanValue(int property, int zone, boolean value, long timestamp) argument
133 createZonedFloatValue(int property, int zone, float value, long timestamp) argument
141 createDummyValue(int property, int valueType) argument
191 createBuilder(int property, int valueType, long timestamp) argument
228 isCustomProperty(int property) argument
[all...]
/packages/services/Car/libvehiclenetwork/native/
H A DIVehicleNetworkListener.cpp66 virtual void onHalError(int32_t errorCode, int32_t property, int32_t operation) { argument
70 data.writeInt32(property);
125 int32_t property = data.readInt32(); local
127 onHalError(errorCode, property, operation);
H A DIVehicleNetworkHalMock.cpp128 virtual status_t onPropertySubscribe(int32_t property, float sampleRate, int32_t zones) { argument
131 data.writeInt32(property);
138 virtual void onPropertyUnsubscribe(int32_t property) { argument
141 data.writeInt32(property);
144 ALOGI("onPropertyUnsubscribe property %d failed %d", property, status);
157 // for now. There can be per property based UID check built-in as well.
180 if (holder.get() == NULL) { // given property not found
251 int32_t property = data.readInt32(); local
254 r = onPropertySubscribe(property, sampleRat
260 int32_t property = data.readInt32(); local
[all...]
/packages/services/Car/service/src/com/android/car/
H A DCarTestService.java131 public boolean isPropertySupported(int property) { argument
133 property);
H A DCarHvacService.java195 public synchronized void onError(int zone, int property) { argument
/packages/services/Car/service/src/com/android/car/hal/
H A DInfoHalService.java125 private void logUnexpectedEvent(int property) { argument
126 Log.w(CarLog.TAG_INFO, "unexpected HAL event for property 0x" +
127 Integer.toHexString(property));
130 private static String getInfoStringFromProperty(int property) { argument
131 switch (property) {
H A DHvacHalService.java52 void onError(int zone, int property); argument
89 Log.e(CarLog.TAG_HVAC, "property not ready 0x" + toHexString(halProp), e);
123 // Clear the property list
198 // Convert the HVAC public API property ID to HAL property ID
220 // Convert he HAL specific property ID to HVAC public API
H A DRadioHalService.java160 Log.e(TAG, "property VEHICLE_PROPERTY_RADIO_PRESET not ready");
235 private boolean handleRadioProperty(VehiclePropConfig property) { argument
236 switch (property.getProp()) {
239 mPresetCount = property.getConfigArray(0);
/packages/services/Car/tests/carservice_test/src/com/android/car/test/
H A DCarRadioManagerTest.java106 public synchronized void onPropertySubscribe(int property, float sampleRate, int zones) { argument
107 Log.d(TAG, "onPropertySubscribe property: " + property + " rate: " + sampleRate);
116 public synchronized void onPropertyUnsubscribe(int property) { argument
H A DCarHvacManagerTest.java97 // Test a boolean property
112 // Test an integer property
127 // Test an float property
196 public synchronized void onPropertySubscribe(int property, float sampleRate, int zones) { argument
197 Log.d(TAG, "onPropertySubscribe property " + property + " sampleRate " + sampleRate);
201 public synchronized void onPropertyUnsubscribe(int property) { argument
202 Log.d(TAG, "onPropertyUnSubscribe property " + property);
/packages/services/Car/car-systemtest-lib/src/android/car/test/
H A DCarTestManager.java82 * Check if given property is supported by vehicle hal.
83 * @param property
86 public boolean isPropertySupported(int property) { argument
88 return mService.isPropertySupported(property);
175 public void onPropertySubscribe(int property, float sampleRate, int zones) { argument
180 testManager.getHalMock().onPropertySubscribe(property, sampleRate, zones);
184 public void onPropertyUnsubscribe(int property) { argument
189 testManager.getHalMock().onPropertyUnsubscribe(property);
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/
H A DCarEmulator.java180 public void onPropertySubscribe(int property, float sampleRate, int zones) { argument
184 public void onPropertyUnsubscribe(int property) { argument
200 public void onPropertySubscribe(int property, float sampleRate, int zones) { argument
204 public void onPropertyUnsubscribe(int property) { argument
/packages/services/Car/tests/libvehiclenetwork-java-test/src/com/android/car/vehiclenetwork/libtest/
H A DVehicleNetworkTest.java100 // internal property requires write to read
108 Log.i(TAG, " got property:" +
181 // internal property requires write to get notification
215 public void onHalError(int errorCode, int property, int operation) { argument
/packages/services/Car/tests/libvehiclenetwork-native-test/
H A DIVehicleNetworkTestListener.h49 virtual void onHalError(int32_t errorCode, int32_t property, int32_t operation) { argument
52 mProperty = property;
68 bool waitForEvent(int32_t property, nsecs_t reltime) { argument
70 int startCount = getEventCountLocked(property);
76 currentCount = getEventCountLocked(property);
82 int getEventCount(int32_t property) { argument
84 return getEventCountLocked(property);
102 bool isErrorMatching(int32_t errorCode, int32_t property, int32_t operation) { argument
104 return mErrorCode == errorCode && mProperty == property && mOperation == operation;
108 int getEventCountLocked(int32_t property) { argument
[all...]
H A DVehicleNetworkAudioHelperTest.cpp80 virtual status_t onPropertySubscribe(int32_t property, float /*sampleRate*/, argument
82 ALOGI("onPropertySubscribe 0x%x", property);
86 virtual void onPropertyUnsubscribe(int32_t property) { argument
87 ALOGI("onPropertySubscribe 0x%x", property);
H A DVehicleNetworkTestListener.h64 virtual void onHalError(int32_t /*errorCode*/, int32_t /*property*/, int32_t /*operation*/) {
77 bool waitForEvent(int32_t property, int initialEventCount, nsecs_t reltime) { argument
84 currentCount = getEventCountLocked(property);
90 int getEventCount(int32_t property) { argument
92 return getEventCountLocked(property);
108 int getEventCountLocked(int32_t property) { argument
109 ssize_t index = mEventCounts.indexOfKey(property);
/packages/apps/Settings/src/com/android/settings/
H A DDeviceInfoSettings.java131 // Remove selinux information if property is not present
323 String preference, String property ) {
324 if (SystemProperties.get(property).equals("")) {
329 Log.d(LOG_TAG, "Property '" + property + "' missing and no '"
363 private void setValueSummary(String preference, String property) { argument
366 SystemProperties.get(property,
457 private boolean isPropertyMissing(String property) {
458 return SystemProperties.get(property).equals("");

Completed in 232 milliseconds

12