/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
TrackerEntry.java | 194 Object val = mLocation.getExtras().get(key); local 195 if (val != null) { 196 debugBuilder.append(String.format("%s=%s; ", key, val
|
/hardware/broadcom/wlan/bcm4329/src/shared/ |
linux_osl.c | 379 uint val = 0; local 388 pci_read_config_dword(osh->pdev, offset, &val); 389 if (val != 0xffffffff) 394 return (val); 398 osl_pci_write_config(osl_t *osh, uint offset, uint size, uint val) 408 pci_write_config_dword(osh->pdev, offset, val); 411 if (osl_pci_read_config(osh, offset, size) == val)
|
sbutils.c | 48 #define SET_SBREG(sii, r, mask, val) \ 49 W_SBREG((sii), (r), ((R_SBREG((sii), (r)) & ~(mask)) | (val))) 65 uint32 val, intr_val = 0; local 81 val = R_REG(sii->osh, sbr); 89 return (val); 259 sb_core_cflags_wo(si_t *sih, uint32 mask, uint32 val) 268 ASSERT((val & ~mask) == 0); 272 (val << SBTML_SICF_SHIFT); 278 sb_core_cflags(si_t *sih, uint32 mask, uint32 val) 287 ASSERT((val & ~mask) == 0) [all...] |
/libcore/luni/src/test/java/org/apache/harmony/nio/tests/java/nio/ |
MappedByteBufferTest.java | 77 int val = ibuffer.get(); local 79 assertEquals("Got wrong int value", res, val);
|
/libcore/luni/src/test/java/tests/SQLite/ |
FunctionContextTest.java | 81 String val = row[0]; local 83 assertEquals("TestInput", val); 104 String val = row[0]; local 106 assertEquals(testInt.intVal, Integer.parseInt(val)); 127 String val = row[0]; local 129 assertEquals(testD.testDouble, Double.parseDouble(val)); 193 String val = row[0]; local 195 assertTrue(expected.equalsIgnoreCase(val)); 240 String val = row[0]; local 242 assertNotNull(val); [all...] |
/libcore/luni/src/test/java/tests/java/sql/ |
SelectFunctionalityTest.java | 273 String val = result.getString("ftext"); local 275 assertEquals("wrong value of ftext field", value.get(key), val); 316 int val = result.getInt("cnum"); local 319 (Integer) val); 351 String val = result.getString("cname"); local 353 assertEquals("wrong value of cname field", value.get(key), val); 386 Object val = result.getObject("ccnum"); local 389 (Integer) val); 426 Object val = result.getObject("ccnum"); local 429 (Integer) val); [all...] |
/ndk/sources/android/stlport/src/ |
num_get_float.cpp | 149 void _Stl_set_exponent(uint64 &val, uint64 exp) 150 { val = (val & ~exponent_mask) | ((exp & bit11) << 52); } 331 double val; member in union:_Double_rep 474 return drep.val; 846 __string_to_float(const __iostring& v, float& val) 849 val = (float)_Stl_string_to_double(v.c_str()); 851 val = (float)_Stl_string_to_doubleT<double,ieee754_double,12,IEEE754_DOUBLE_BIAS>(v.c_str()); 856 __string_to_float(const __iostring& v, double& val) 859 val = _Stl_string_to_double(v.c_str()) [all...] |
/packages/apps/Email/src/com/android/exchange/adapter/ |
Parser.java | 156 * @param val the desired state for debug output 158 public void setDebug(boolean val) { 159 logging = val; 166 * @param val the logging tag 168 public void setLoggingTag(String val) { 169 logTag = val; 213 String val = text; local 221 return val; 237 int val = num; local 245 return val; [all...] |
/packages/apps/Gallery3D/src/com/cooliris/wallpaper/ |
Slideshow.java | 129 // int val = (int)(255 * (1.0f - alpha)); 130 // int srcColor = Color.argb(val, 0, 0, 0); 137 int val = (int) (255 * alpha); local 138 int srcColor = Color.argb(val, 0, 0, 0);
|
/packages/apps/Mms/src/com/android/mms/ui/ |
NumberPicker.java | 362 int val = getSelectedPos(str.toString()); local 363 if ((val >= mStart) && (val <= mEnd)) { 364 if (mCurrent != val) { 366 mCurrent = val; 418 for (String val : mDisplayedValues) { 419 val = val.toLowerCase(); 420 if (val.startsWith(str)) { 457 int val = getSelectedPos(result) local [all...] |
/packages/apps/Settings/src/com/android/settings/ |
DisplaySettings.java | 136 int val = Integer.parseInt(aents[i].toString()); local 137 if (val <= animations && val > best) { 138 best = val;
|
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis4/ |
Visualization4RS.java | 222 int val = mVizData[i]; local 223 if (val < 0) { 224 val = -val; 226 volt += val;
|
/sdk/traceview/src/com/android/traceview/ |
ProfileProvider.java | 205 double val = md.getElapsedExclusive(); local 206 val = traceUnits.getScaledValue(val); 207 return String.format("%.3f", val); 210 double val = md.getElapsedExclusive(); local 211 double per = val * 100.0 / mTotalTime; 215 double val = md.getElapsedInclusive(); local 216 val = traceUnits.getScaledValue(val); 217 return String.format("%.3f", val); 220 double val = md.getElapsedInclusive(); local 228 double val = md.getElapsedInclusive(); local 238 double val = ps.getElapsedInclusive(); local 244 double val = ps.getElapsedInclusive(); local 256 double val = pd.getElapsedInclusive(); local 262 double val = pd.getElapsedInclusive(); local [all...] |
/system/core/fastboot/ |
fastboot.c | 340 char *val[MAX_OPTIONS]; local 357 val[0] = x + 1; 360 x = strchr(val[count - 1],'|'); 363 val[count] = x + 1; 367 for(n = 0; n < count; n++) val[n] = strip(val[n]); 379 out[n] = strdup(strip(val[n])); 596 unsigned long val; local 599 val = strtoul(argv[1], &endptr, 0); 600 if (!endptr || *endptr != '\0' || (val & ~0xffff) [all...] |
/system/media/opensles/libopensles/ |
android_SfPlayer.cpp | 738 int32_t val; local 739 if (msg->findInt32(EVENT_PREFETCHSTATUSCHANGE, &val)) { 740 SL_LOGV("\tSfPlayer notifying %s = %d", EVENT_PREFETCHSTATUSCHANGE, val); 741 mNotifyClient(kEventPrefetchStatusChange, val, mNotifyUser); 743 if (msg->findInt32(EVENT_PREFETCHFILLLEVELUPDATE, &val)) { 744 SL_LOGV("\tSfPlayer notifying %s = %d", EVENT_PREFETCHFILLLEVELUPDATE, val); 745 mNotifyClient(kEventPrefetchFillLevelUpdate, val, mNotifyUser); 747 if (msg->findInt32(EVENT_ENDOFSTREAM, &val)) { 748 SL_LOGV("\tSfPlayer notifying %s = %d", EVENT_ENDOFSTREAM, val); 749 mNotifyClient(kEventEndOfStream, val, mNotifyUser) [all...] |
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
DatabaseStatementTest.java | 214 String val = c.getString(valCol); local 215 assertEquals(Integer.toHexString(1), val);
|
/dalvik/tests/046-reflect/src/ |
Main.java | 265 String val = (String) field.get(instance); local 266 System.out.println(" Constant test value is " + val);
|
/dalvik/tools/hprof-conv/ |
HprofConv.c | 277 uint16_t val; local 279 val = (buf[0] << 8) | buf[1]; 280 return val; 288 uint32_t val; local 290 val = (buf[0] << 24) | (buf[1] << 16) | (buf[2] << 8) | buf[3]; 291 return val; 297 static void set4BE(unsigned char* buf, uint32_t val) 299 buf[0] = val >> 24; 300 buf[1] = val >> 16; 301 buf[2] = val >> 8 [all...] |
/dalvik/vm/analysis/ |
DexPrepare.c | 1154 u4 val; local [all...] |
/dalvik/vm/interp/ |
Stack.c | 477 u8 val = va_arg(args, u8); local 478 memcpy(ins, &val, 8); // EABI prevents direct store [all...] |
/dalvik/vm/oo/ |
ObjectInlines.h | 28 Object* val) { 29 ((Object **)(obj)->contents)[index] = val; 30 if (val != NULL) { 109 s8 val = dvmQuasiAtomicRead64(addr); local 111 return val; 125 INLINE void dvmSetFieldBoolean(Object* obj, int offset, bool val) { 126 ((JValue*)BYTE_OFFSET(obj, offset))->i = val; 128 INLINE void dvmSetFieldByte(Object* obj, int offset, s1 val) { 129 ((JValue*)BYTE_OFFSET(obj, offset))->i = val; 131 INLINE void dvmSetFieldShort(Object* obj, int offset, s2 val) { 257 s8 val = dvmQuasiAtomicRead64(addr); local [all...] |
/development/simulator/wrapsim/ |
SimMgr.c | 343 static int getConfig(const Message* msg, const char** name, const char** val) 352 *val = (const char*) (ptr + strlen((char*)ptr) +1); 767 const char* val = NULL; local 768 getConfig(&msg, &name, &val); 771 gWrapSim.keyMap = strdup(val);
|
/device/samsung/crespo/alsa-lib/src/pcm/ |
pcm_multi.c | 1113 long val; local 1136 err = snd_config_get_integer(n, &val); 1141 sprintf(buf, "%ld", val); [all...] |
pcm_softvol.c | 366 unsigned int val; local 372 val = svol->elem.value.integer.value[i]; 373 if (val > svol->max_val) 374 val = svol->max_val; 375 svol->cur_vol[i] = val;
|
/device/samsung/crespo/alsa-lib/test/ |
latency.c | 71 printf("Resample setup failed for %s (val %i): %s\n", id, resample, snd_strerror(err)); 136 snd_pcm_uframes_t val; local 154 val = 4; 156 snd_pcm_hw_params_get_period_size(params, &val, NULL); 157 err = snd_pcm_sw_params_set_avail_min(handle, swparams, val);
|