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

/frameworks/base/core/java/android/os/
H A DBuild.java23 /** Value used for when a build property is unknown. */
199 private static String getString(String property) { argument
200 return SystemProperties.get(property, UNKNOWN);
203 private static long getLong(String property) { argument
205 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/libs/surfaceflinger/DisplayHardware/
H A DDisplayHardware.cpp115 char property[PROPERTY_VALUE_MAX]; local
116 if (property_get("debug.sf.hw", property, NULL) > 0) {
117 if (atoi(property) == 0) {
217 /* Read density from build-specific ro.sf.lcd_density property
220 if (property_get("qemu.sf.lcd_density", property, NULL) <= 0) {
221 if (property_get("ro.sf.lcd_density", property, NULL) <= 0) {
223 strcpy(property, "160");
227 mDpiX = mDpiY = atoi(property);
229 mDensity = atoi(property) * (1.0f/160.0f);
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityEvent.java557 * instantiated with type property set.
629 * Gets the value of a boolean property.
631 * @param property The property.
634 private boolean getBooleanProperty(int property) { argument
635 return (mBooleanProperties & property) == property;
639 * Sets a boolean property.
641 * @param property The property
644 setBooleanProperty(int property, boolean value) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_bluetooth_common.cpp477 char *property = NULL; local
484 dbus_message_iter_get_basic(&iter, &property);
490 if (!strncmp(property, properties[i].name, strlen(property)))
549 void create_prop_array(JNIEnv *env, jobjectArray strArray, Properties *property, argument
555 char *name = property->name;
556 int prop_type = property->type;
H A Dandroid_server_BluetoothEventLoop.cpp819 jstring property =(jstring) env->GetObjectArrayElement(str_array, 0); local
820 const char *c_property = env->GetStringUTFChars(property, NULL);
829 env->ReleaseStringUTFChars(property, c_property);
/frameworks/base/core/java/android/pim/vcard/
H A DVCardEntry.java599 // Probably the "TITLE" property comes before the "ORG" property via
685 * Assume the ';' means the same meaning in N property
744 public void addProperty(final Property property) { argument
745 final String propName = property.mPropertyName;
746 final Map<String, Collection<String>> paramMap = property.mParameterMap;
747 final List<String> propValueList = property.mPropertyValueList;
748 byte[] propBytes = property.mPropertyBytes;
774 // As of 2009-10-08, Parser side does not split a property value into separated
/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
1496 exportUnrolledArray(Context context, BufferedWriter out, ExportedProperty property, int[] array, String prefix, String suffix) argument
[all...]
/frameworks/base/libs/audioflinger/
H A DAudioPolicyManagerBase.cpp403 void AudioPolicyManagerBase::setSystemProperty(const char* property, const char* value) argument
405 LOGV("setSystemProperty() property %s, value %s", property, value);
406 if (strcmp(property, "ro.camera.sound.forced") == 0) {
/frameworks/base/core/java/android/server/
H A DBluetoothService.java918 // Add adapter object path property.
938 // Either have a single property function with Object as the parameter
939 // or have a function for each property and then obfuscate in the JNI layer.
1204 /*package*/ synchronized String getRemoteDeviceProperty(String address, String property) { argument
1207 return properties.get(property);
1213 return getRemoteDeviceProperty(address, property);
1215 Log.e(TAG, "getRemoteDeviceProperty: " + property + "not present:" + address);
/frameworks/base/libs/surfaceflinger/
H A DSurfaceFlinger.cpp1850 char property[PROPERTY_VALUE_MAX]; local
1851 if (property_get("ro.sf.hwrotation", property, NULL) > 0) {
1853 switch (atoi(property)) {
/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.java191 // Sets operator alpha property by retrieving from build-time system property
195 // Sets operator numeric property by retrieving from build-time system property
199 // Sets iso country property by retrieving from build-time system property
689 // TODO: The default value of voicemail number should be read from a system property
1091 public final void setSystemProperty(String property, String value) { argument
1092 super.setSystemProperty(property, value);
1368 * Sets PROPERTY_ICC_OPERATOR_ISO_COUNTRY property
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
H A DGSMPhone.java201 //Change the system property
427 setSystemProperty(String property, String value) { argument
428 super.setSystemProperty(property, value);

Completed in 219 milliseconds