Searched refs:property (Results 1 - 22 of 22) sorted by relevance

/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/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/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/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/include/tts/
H A DTtsEngine.h165 // Set a property for the the TTS engine
166 // "size" is the maximum size of "value" for properties "property"
167 // @param property pointer to the property name
168 // @param value pointer to the property value
169 // @param size maximum size required to store this type of property
172 virtual tts_result setProperty(const char *property, const char *value,
175 // Retrieve a property from the TTS engine
176 // @param property pointer to the property nam
[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/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/core/java/android/pim/
H A DICalendar.java149 * Returns a set of the property names within this component.
150 * @return A set of property names within this component.
159 * @param name The name of the property that should be returned.
167 * Returns the first property with the specified name. Returns null
168 * if there is no such property.
169 * @param name The name of the property that should be returned.
170 * @return The first property with the specified name.
201 for (Property property : getProperties(propertyName)) {
202 property.toString(sb);
222 * A property withi
[all...]
H A DRecurrenceSet.java491 for (ICalendar.Property property : component.getProperties(name)) {
499 sb.append(property.getValue());
/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/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsProvider.java160 * Modify the system property used to communicate the version of
161 * this table, for tables which have such a property. (The Settings
166 // Update the system property *first*, so if someone is listening for
168 // the system property will be updated and they'll get the new data.
171 String property = null, table = uri.getPathSegments().get(0);
173 property = Settings.System.SYS_PROP_SETTING_VERSION;
176 property = Settings.Secure.SYS_PROP_SETTING_VERSION;
180 if (property != null) {
181 long version = SystemProperties.getLong(property, 0) + 1;
182 if (LOCAL_LOGV) Log.v(TAG, "property
[all...]
/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/core/java/android/provider/
H A DCalendar.java822 ICalendar.Property property =
824 if (property != null) {
825 return property.getValue();
973 * If updating a property, this must be provided as the selection. All
975 * retrieve all properties or used to query a single property. Valid
1408 * The event the extended property belongs to
1414 * The name of the extended property. This is a uri of the form
1421 * The value of the extended 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/services/java/com/android/server/
H A DInputMethodManagerService.java1527 InputMethodInfo property = immis.get(i);
1528 if (property == null) {
1531 imMap.put(property.loadLabel(pm), property);
/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/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);
/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/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/services/surfaceflinger/
H A DSurfaceFlinger.cpp2445 char property[PROPERTY_VALUE_MAX];
2446 if (property_get("ro.sf.hwrotation", property, NULL) > 0) {
2448 switch (atoi(property)) {

Completed in 1940 milliseconds