/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | ContextFixture.java | 97 private String[] mColumns = {"name", "value"}; 110 mKeyValuePairs.put(values.getAsString("name"), values.getAsString("value")); 142 b.putCharSequence("value", mKeyValuePairs.get(request)); 143 logd("returning value pair: " + mKeyValuePairs.get(request) + " for " + 151 logd("adding key-value pair: " + request + "-" + (String)args.get("value")); 152 mKeyValuePairs.put(request, (String)args.get("value")); 528 public void putResource(int id, final String value) { argument 529 when(mResources.getText(eq(id))).thenReturn(value); 530 when(mResources.getString(eq(id))).thenReturn(value); 540 putBooleanResource(int id, boolean value) argument [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/ |
H A D | PhoneMock.java | 101 public void setSystemProperty(String property, String value) { argument 593 public void setInEmergencyCall(boolean value) { argument 594 final boolean oldValue = mInEmergencyCall.getAndSet(value); 595 if (oldValue != value) { 607 public void setInEcm(boolean value) { argument 608 final boolean oldValue = mInEcm.getAndSet(value); 609 if (oldValue != value) {
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/ |
H A D | ItemGroup.java | 32 * Binary search for the closest value that's smaller than or equal to {@code value}, and 35 private static int binarySearch(SparseIntArray array, int value) { argument 44 if (midVal < value) { 46 } else if (midVal > value) { 49 return array.keyAt(mid); // value found 53 // value smaller than the value we are looking for.
|
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/ |
H A D | PartnerTest.java | 93 assertEquals("Partner value should be overlaid to 5000", 5000, partnerValue); 94 assertTrue("Partner value should come from overlay", entry.isOverlay); 107 assertEquals("Partner value should default to 0xff448aff", 0xff448aff, partnerValue); 108 assertFalse("Partner value should come from fallback", entry.isOverlay); 130 private static void addItem(String name, int id, Object value) { argument 132 TEST_RESOURCES.put(id, value);
|
/frameworks/opt/setupwizard/tools/docs/ |
H A D | doclava.jar | META-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ccil/cowan/ org/ccil/cowan/tagsoup/ ... |
H A D | jsilver.jar | ... .String, java.lang.String) String hdfname
String value
public void removeTree (java.lang.String) String hdfname ... |
/frameworks/opt/net/voip/src/java/android/net/sip/ |
H A D | SimpleSessionDescription.java | 200 * the value is negative. 202 public void setBandwidth(String type, int value) { argument 203 mFields.setBandwidth(type, value); 223 * the value is {@code null}. To set a binary attribute, use an empty 224 * string as the value. 226 public void setAttribute(String name, String value) { argument 227 mFields.setAttribute(name, value); 385 * has three parts: a key, a delimiter, and a value. Delimiters are special 471 String value = get("b=" + type, ':'); 472 if (value ! 485 setBandwidth(String type, int value) argument 509 setAttribute(String name, String value) argument 584 set(String key, char delimiter, String value) argument [all...] |
/frameworks/opt/net/voip/src/jni/rtp/ |
H A D | AudioGroup.cpp | 636 char value[PROPERTY_VALUE_MAX]; local 637 property_get("ro.product.board", value, ""); 639 (!strcmp(value, "herring") || !strcmp(value, "tuna"))) {
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiConfigStore.java | 134 * Generate a string to be used as a key value by wpa_supplicant from 137 * reasons) into a wpa_supplicant adjusted value, that uses - as a separator 141 * @return A wpa_supplicant formatted value. 152 * @return A wpa_supplicant formatted value. 231 String value = mWifiNative.getNetworkVariable(netId, varName); 232 if (!TextUtils.isEmpty(value)) { 234 String[] vals = value.split(" "); 264 String value; 266 value = mWifiNative.getNetworkVariable(netId, WifiConfiguration.ssidVarName); 267 if (!TextUtils.isEmpty(value)) { 1280 saveValue(String key, String value) argument [all...] |
H A D | WifiNative.java | 350 for (Integer value : values) { 354 list.append(value); 425 public boolean setNetworkVariable(int netId, String name, String value) { argument 426 if (TextUtils.isEmpty(name) || TextUtils.isEmpty(value)) return false; 429 return doBooleanCommandWithoutLogging("SET_NETWORK " + netId + " " + name + " " + value); 431 return doBooleanCommand("SET_NETWORK " + netId + " " + name + " " + value); 443 // on devices that upgraded from Marshmallow, it may encounter a legacy value instead - 444 // an FQDN stored as a plain string. If such a value is encountered, the JSONObject 451 final Object value = json.get(key); 452 if (value instanceo 1092 setManufacturer(String value) argument 1096 setModelName(String value) argument 1100 setModelNumber(String value) argument 1104 setSerialNumber(String value) argument [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/ |
H A D | GEOLocationElement.java | 22 * its extremes. As a simple example, consider the value 33 as a simple 8-bit number with three 26 * deliver measurements with a gaussian distribution around the exact value, meaning it is more 27 * reasonable to assume the value as a "center" value with a symmetric uncertainty interval. 28 * RFC-6225 redefines the "resolution" from RFC-3825 with an "uncertainty" value with these 65 public RealValue(double value) { argument 66 mValue = value; 71 public RealValue(double value, int resolution) { argument 72 mValue = value; 108 throw new ProtocolException("GeoLocation length field value " 232 append(long value, int width) argument 258 fixToFloat(long value, int fractionSize, int width) argument 268 floatToFix(double value, int fractionSize, int width) argument [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
H A D | OMADMAdapter.java | 105 protected ConstPathAccessor(T value, Object ... path) { argument 107 mValue = value;
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/ |
H A D | MOTree.java | 104 private void setValue(String value) { argument 105 mValue = value; 189 throw new IOException("Got both sub nodes and value(s)");
|
H A D | MultiValueMap.java | 13 public void put(String key, T value) { argument 20 values.add(value); 33 throw new IllegalArgumentException("Cannot do get on multi-value"); 45 T value = values.get(n); 46 if (value == oldValue) { 48 return value; 54 public T remove(String key, T value) { argument 64 if (valueIterator.next() == value) { 66 result = value; 76 public T remove(T value) { argument [all...] |
H A D | NodeAttribute.java | 8 public NodeAttribute(String name, String type, String value) { argument 11 mValue = value;
|
H A D | OMAConstructed.java | 25 public OMANode addChild(String name, String context, String value, String pathString) argument 28 OMANode child = value != null ? 29 new OMAScalar(this, name, context, value) : 45 return target.addChild(name, context, value, null);
|
H A D | OMANode.java | 112 public abstract OMANode addChild(String name, String context, String value, String path) argument 182 String value = OMAConstants.deserializeString(in); 183 return parent.addChild(name, urn, value, null);
|
H A D | OMAScalar.java | 12 public OMAScalar(OMAConstructed parent, String name, String context, String value, argument 14 this(parent, name, context, value, buildAttributes(avps)); 17 public OMAScalar(OMAConstructed parent, String name, String context, String value, argument 20 mValue = value; 58 public OMANode addChild(String name, String context, String value, String path) argument
|
H A D | PasspointManagementObjectManager.java | 830 throw new OMAException("Missing value for " + key); 843 throw new OMAException("Missing value for " + key); 849 String value = child.getValue(); 851 long result = Long.parseLong(value); 853 throw new OMAException("Negative value for " + key); 857 throw new OMAException("Value for " + key + " is non-numeric: " + value); 865 throw new OMAException("Missing value for " + key); 872 public static <T> T getSelection(String key, String value) throws OMAException { argument 873 if (value == null) { 874 throw new OMAException("No value fo [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/nan/ |
H A D | WifiNanNative.java | 460 int value) { 464 + responseType + ", status=" + status + ", value=" + value); 479 + status + ", value=" + value); 493 + status + ", value=" + value); 504 int status, int value, int pubSubId) { 508 + ", responseType=" + responseType + ", status=" + status + ", value=" 509 + value 459 onNanNotifyResponse(short transactionId, int responseType, int status, int value) argument 503 onNanNotifyResponsePublishSubscribe(short transactionId, int responseType, int status, int value, int pubSubId) argument 536 onNanNotifyResponseCapabilities(short transactionId, int status, int value, Capabilities capabilities) argument [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
H A D | WifiP2pServiceImpl.java | 2379 private void addRowToDialog(ViewGroup group, int stringId, String value) { argument 2384 ((TextView) row.findViewById(R.id.value)).setText(value); 2471 // TODO: make the actual key come from a config value.
|
/frameworks/opt/net/wifi/service/jni/ |
H A D | com_android_server_wifi_WifiNative.cpp | 253 //ALOGD("reading old value\n"); 261 //ALOGD("writing new value\n"); 414 jlong value = helper.getStaticLongArrayField(cls, WifiIfaceHandleVarName, i); local 415 wifi_interface_handle handle = (wifi_interface_handle) value; 485 // Although HAL API allows configurable base value for the truncated 488 // Hard code value of base to 2 here. 1993 template<typename T> void set_to_max(T* value) { argument 1994 if (!value) { 1997 *value = std::numeric_limits<T>::max();
|
H A D | jni_helper.cpp | 155 JNIObject<jobject> value(*this, mEnv->GetObjectField(obj, field)); 156 JNIObject<jstring> string(*this, (jstring)value.clone()); 161 THROW(*this, "Error in accessing value"); 239 jlong value = elem[index]; local 241 return value; 289 jlong value = elem[index]; local 291 return value; 313 void JNIHelper::setIntField(jobject obj, const char *name, jint value) argument 327 mEnv->SetIntField(obj, field, value); 330 void JNIHelper::setByteField(jobject obj, const char *name, jbyte value) argument 347 setBooleanField(jobject obj, const char *name, jboolean value) argument 364 setLongField(jobject obj, const char *name, jlong value) argument 381 setStaticLongField(jobject obj, const char *name, jlong value) argument 392 setStaticLongField(jclass cls, const char *name, jlong value) argument 403 setLongArrayField(jobject obj, const char *name, jlongArray value) argument 420 setStaticLongArrayField(jobject obj, const char *name, jlongArray value) argument 431 setStaticLongArrayField(jclass cls, const char *name, jlongArray value) argument 443 setLongArrayElement(jobject obj, const char *name, int index, jlong value) argument 473 setObjectField(jobject obj, const char *name, const char *type, jobject value) argument 490 setStringField(jobject obj, const char *name, const char *value) argument [all...] |
/frameworks/opt/net/wifi/tests/wifitests/jni/ |
H A D | wifi_hal_mock.cpp | 51 static constexpr const char* const value_tag = "value"; 120 ALOGE("get_int: can't find the 'value' sub-key for %s key", key); 123 const rapidjson::Value& value = element[hal_json_tags::value_tag]; local 124 if (!value.IsInt()) { 126 ALOGE("get_int: the value isn't an 'int' for the %s key", key); 129 return value.GetInt(); 142 ALOGE("get_byte_array: can't find the 'value' sub-key for %s key", key); 145 const rapidjson::Value& value = element[hal_json_tags::value_tag]; local 146 if (!value.IsArray()) { 148 ALOGE("get_byte_array: the value is [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/android/net/wifi/ |
H A D | WifiEnterpriseConfigTest.java | 114 private void setCaCertField(String value) { argument 115 mEnterpriseConfig.setFieldValue(WifiEnterpriseConfig.CA_CERT_KEY, value); 118 // Retrieves the value for a specific key supplied to wpa_supplicant. 128 public boolean saveValue(String key, String value) { argument 130 mValue = value; 154 /** Verifies the default value for EAP outer and inner methods */ 189 // Change the phase2 method to NONE and ensure the value is cleared.
|