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

/frameworks/base/tools/layoutlib/bridge/src/android/os/
H A DBuild_Delegate.java38 /*package*/ static String getString(String property) { argument
40 String value = properties.get(property);
/frameworks/base/libs/ui/
H A DGraphicLog.cpp81 char property[PROPERTY_VALUE_MAX]; local
82 if (property_get("debug.graphic_log", property, NULL) > 0) {
83 mEnabled = atoi(property);
/frameworks/base/core/java/android/os/
H A DBuild.java23 /** Value used for when a build property is unknown. */
215 private static String getString(String property) { argument
216 return SystemProperties.get(property, UNKNOWN);
219 private static long getLong(String property) { argument
221 return Long.parseLong(SystemProperties.get(property));
/frameworks/base/core/java/com/android/internal/util/
H A DTypedProperties.java45 * - property names: [._$a-zA-Z0-9]
144 /* A property name must be a valid fully-qualified class + package name.
177 // Read the property name.
180 throw new ParseException(st, "property name");
184 throw new ParseException(st, "valid property name");
207 // the same property is defined with a different type.
210 "(property previously declared as a different type)");
313 // This property is a float; make sure the value fits.
322 // This property is a double; no need to truncate.
355 * <type> <property
419 TypeException(String property, Object value, String requestedType) argument
434 getBoolean(String property, boolean def) argument
454 getByte(String property, byte def) argument
474 getShort(String property, short def) argument
494 getInt(String property, int def) argument
514 getLong(String property, long def) argument
534 getFloat(String property, float def) argument
554 getDouble(String property, double def) argument
574 getString(String property, String def) argument
599 getBoolean(String property) argument
611 getByte(String property) argument
623 getShort(String property) argument
635 getInt(String property) argument
647 getLong(String property) argument
659 getFloat(String property) argument
671 getDouble(String property) argument
683 getString(String property) argument
702 getStringInfo(String property) argument
[all...]
/frameworks/base/services/surfaceflinger/DisplayHardware/
H A DDisplayHardware.cpp126 char property[PROPERTY_VALUE_MAX]; local
127 if (property_get("debug.sf.hw", property, NULL) > 0) {
128 if (atoi(property) == 0) {
183 /* Read density from build-specific ro.sf.lcd_density property
186 if (property_get("qemu.sf.lcd_density", property, NULL) <= 0) {
187 if (property_get("ro.sf.lcd_density", property, NULL) <= 0) {
189 strcpy(property, "160");
193 mDpiX = mDpiY = atoi(property);
195 mDensity = atoi(property) * (1.0f/160.0f);
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityEvent.java557 * instantiated with type property set.
630 * Gets the value of a boolean property.
632 * @param property The property.
635 private boolean getBooleanProperty(int property) { argument
636 return (mBooleanProperties & property) == property;
640 * Sets a boolean property.
642 * @param property The property
645 setBooleanProperty(int property, boolean value) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_bluetooth_common.cpp479 char *property = NULL; local
486 dbus_message_iter_get_basic(&iter, &property);
492 if (!strncmp(property, properties[i].name, strlen(property)))
551 void create_prop_array(JNIEnv *env, jobjectArray strArray, Properties *property, argument
557 char *name = property->name;
558 int prop_type = property->type;
H A Dandroid_server_BluetoothEventLoop.cpp827 jstring property =(jstring) env->GetObjectArrayElement(str_array, 0); local
828 const char *c_property = env->GetStringUTFChars(property, NULL);
837 env->ReleaseStringUTFChars(property, c_property);
/frameworks/base/core/java/android/pim/vcard/
H A DVCardEntry.java257 public final String phoneticName; // We won't have this in "TITLE" property.
632 // Probably the "TITLE" property comes before the "ORG" property via
701 * regitimate property to be understood.
761 * Assume the ';' means the same meaning in N property
820 public void addProperty(final Property property) { argument
821 final String propName = property.mPropertyName;
822 final Map<String, Collection<String>> paramMap = property.mParameterMap;
823 final List<String> propValueList = property.mPropertyValueList;
824 byte[] propBytes = property
[all...]
/frameworks/base/core/java/android/view/
H A DViewDebug.java105 * The system property of dynamic switch for capturing view information
111 * The system property of dynamic switch for capturing event information
141 * <p>Enables or disables views consistency check. Even when this property is enabled,
143 * to true. The value of this property can be configured externally in one of the
173 * @return true if the property's value must be transformed into an Android
240 * When deep export is turned on, this property is not dumped. Instead, the
241 * properties contained in this property are dumped. Each child property
242 * is prefixed with the name of this property.
244 * @return true if the properties of this property shoul
1545 exportUnrolledArray(Context context, BufferedWriter out, ExportedProperty property, int[] array, String prefix, String suffix) argument
[all...]
/frameworks/base/services/audioflinger/
H A DAudioPolicyManagerBase.cpp406 void AudioPolicyManagerBase::setSystemProperty(const char* property, const char* value) argument
408 LOGV("setSystemProperty() property %s, value %s", property, value);
409 if (strcmp(property, "ro.camera.sound.forced") == 0) {
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DPhoneBase.java120 * Set a system property, unless we're in unit test mode
123 setSystemProperty(String property, String value) { argument
127 SystemProperties.set(property, value);
214 * By default old phones won't have the property set but do generate
215 * the RIL_UNSOL_CALL_RING so the default if there is no property is
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
H A DCDMAPhone.java193 // Sets operator alpha property by retrieving from build-time system property
197 // Sets operator numeric property by retrieving from build-time system property
201 // Sets iso country property by retrieving from build-time system property
732 // TODO: The default value of voicemail number should be read from a system property
1141 public final void setSystemProperty(String property, String value) { argument
1142 super.setSystemProperty(property, value);
1407 * Sets PROPERTY_ICC_OPERATOR_ISO_COUNTRY property
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
H A DGSMPhone.java198 //Change the system property
424 setSystemProperty(String property, String value) { argument
425 super.setSystemProperty(property, value);
/frameworks/base/core/java/android/server/
H A DBluetoothService.java1012 // Add adapter object path property.
1032 // Either have a single property function with Object as the parameter
1033 // or have a function for each property and then obfuscate in the JNI layer.
1369 /*package*/ synchronized String getRemoteDeviceProperty(String address, String property) { argument
1372 return properties.get(property);
1378 return getRemoteDeviceProperty(address, property);
1380 Log.e(TAG, "getRemoteDeviceProperty: " + property + "not present:" + address);

Completed in 367 milliseconds