/frameworks/base/core/jni/ |
android_os_SystemProperties.cpp | 167 const char* val; local 176 val = ""; /* NULL pointer not allowed here */ 178 val = env->GetStringUTFChars(valJ, NULL); 181 err = property_set(key, val); 186 env->ReleaseStringUTFChars(valJ, val);
|
/frameworks/base/core/tests/benchmarks/src/android/os/ |
ParcelBenchmark.java | 37 final byte val = 0xF; 39 mParcel.writeByte(val); 51 final int val = 0xF; local 53 mParcel.writeInt(val); 65 final long val = 0xF; local 67 mParcel.writeLong(val);
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
BluetoothTestRunner.java | 86 String val = arguments.getString("enable_iterations"); local 87 if (val != null) { 89 sEnableIterations = Integer.parseInt(val); 95 val = arguments.getString("discoverable_iterations"); 96 if (val != null) { 98 sDiscoverableIterations = Integer.parseInt(val); 104 val = arguments.getString("scan_iterations"); 105 if (val != null) { 107 sScanIterations = Integer.parseInt(val); 113 val = arguments.getString("enable_pan_iterations") [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
MediaPlayerInvokeTest.java | 66 int val = rnd.nextInt(); local 67 request.writeInt(val); 69 assertEquals(val, reply.readInt());
|
/frameworks/compile/mclinker/unittests/ |
HashTableTest.cpp | 112 HashTableTy::entry_type* val = hashTable->insert(key, exist); local 113 val->setValue(999); 116 EXPECT_FALSE(NULL == val);
|
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
UT_bug_char.java | 34 private Byte2 pack_b2(byte[] val) { 35 assert val.length == 2; 36 Log.i("bug_char", "pack_b2 " + val[0] + " " + val[1]); 37 return new Byte2(val[0], val[1]);
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
UT_bug_char.java | 34 private Byte2 pack_b2(byte[] val) { 35 assert val.length == 2; 36 Log.i("bug_char", "pack_b2 " + val[0] + " " + val[1]); 37 return new Byte2(val[0], val[1]);
|
/hardware/ti/wlan/mac80211/ti-utils/ |
misc_cmds.c | 377 unsigned char val; local 391 sscanf(argv[0], "%2x", (unsigned int *)&val); 397 if (set_nvs_file_autofem(fname, val, &cmn)) { 412 unsigned char val; local 426 sscanf(argv[0], "%2x", (unsigned int *)&val); 432 if (set_nvs_file_fem_manuf(fname, val, &cmn)) {
|
/libcore/luni/src/main/java/java/util/ |
Random.java | 180 int bits, val; local 183 val = bits % n; 184 } while (bits - val + (n - 1) < 0); 185 return val;
|
/libcore/luni/src/test/java/libcore/java/util/ |
OldAndroidTreeMapTest.java | 49 int val = mRandom.nextInt(1000); local 50 if (SPEW) System.out.println("Adding val = " + val); 51 if (val < minVal) { 52 minVal = val; 54 if (val > maxVal) { 55 maxVal = val; 57 tm.put(new Integer(val), "V:" + val); 58 hm.put(new Integer(val), "V:" + val) 83 int val = mRandom.nextInt(1000); local [all...] |
/ndk/sources/host-tools/make-3.81/ |
ar.c | 87 long int val; 111 val = ar_scan (arname, ar_member_date_1, (intptr_t) memname); 117 return (val <= 0 ? (time_t) -1 : (time_t) val); 148 register int val; 166 val = 1; 183 val = 0; 194 return val; 86 long int val; local 146 register int val; local
|
/ndk/sources/host-tools/sed-4.2.1/lib/ |
getopt.in.h | 150 to the value given in the field `val' when the option is found, but 155 option's `flag' field to zero and its `val' field to a nonzero 158 returns the contents of the `val' field. */ 167 int val; member in struct:option
|
/ndk/tests/device/test-gnustl-full/unit/ |
num_facets_test.cpp | 40 float val = 1234.56f; local 43 fostr << val; local 55 val = 12345678.9f; 63 fostr << val; local 66 val = 1000000000.0f; 68 fostr << val; local 73 val = 1234.0f; 80 fostr << val; local 83 val = 10000001.0f; 85 fostr << val; local [all...] |
/ndk/tests/device/test-stlport/unit/ |
num_facets_test.cpp | 40 float val = 1234.56f; local 43 fostr << val; local 55 val = 12345678.9f; 63 fostr << val; local 66 val = 1000000000.0f; 68 fostr << val; local 73 val = 1234.0f; 80 fostr << val; local 83 val = 10000001.0f; 85 fostr << val; local [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
SnoozeLengthDialog.java | 58 String val; local 60 val = getPersistedString(DEFAULT_SNOOZE_TIME); 61 if (val != null) { 62 mSnoozeMinutes = Integer.parseInt(val); 65 val = (String) defaultValue; 66 if (val != null) { 67 mSnoozeMinutes = Integer.parseInt(val); 69 persistString(val);
|
/packages/apps/PhoneCommon/src/com/android/phone/common/ |
HapticFeedback.java | 110 int val = mSystemSettings.getInt(mContentResolver, System.HAPTIC_FEEDBACK_ENABLED, 0); local 111 mSettingEnabled = val != 0;
|
/system/extras/tests/sdcard/ |
stopwatch.cpp | 211 double val = double(time.tv_nsec) / 1.0e9 + double(time.tv_sec); local 212 return val < 0.0 ? -val : val; // sometimes 0.00 is -0.00
|
/cts/tools/dex-tools/src/dex/reader/ |
DexEncodedValueImpl.java | 289 DexEncodedValue val = (DexEncodedValue) object; local 290 builder.append(val.getValue());
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/data/ |
FilterStackSource.java | 58 ContentValues val = new ContentValues(); local 59 val.put(FilterStack.STACK_ID, stackName); 60 val.put(FilterStack.FILTER_STACK, stackBlob); 63 ret = (-1 != database.insert(FilterStack.TABLE, null, val)); 72 ContentValues val = new ContentValues(); local 73 val.put(FilterStack.STACK_ID, stackName); 76 database.update(FilterStack.TABLE, val, FilterStack._ID + " = ?",
|
/bionic/libc/bionic/ |
arc4random.c | 177 u_int8_t val; local 182 val = arc4_getbyte(); 184 return val; 190 u_int32_t val; local 191 val = arc4_getbyte() << 24; 192 val |= arc4_getbyte() << 16; 193 val |= arc4_getbyte() << 8; 194 val |= arc4_getbyte(); 195 return val; 219 u_int32_t val; local [all...] |
semaphore.c | 72 #define SEMCOUNT_FROM_VALUE(val) (((val) << SEMCOUNT_VALUE_SHIFT) & SEMCOUNT_VALUE_MASK) 389 int val; local 396 val = SEMCOUNT_TO_VALUE(sem->count); 397 if (val < 0) 398 val = 0; 400 *sval = val;
|
/bionic/libc/kernel/arch-arm/asm/ |
posix_types.h | 59 int val[2]; member in struct:__anon148
|
/bionic/libc/kernel/arch-mips/asm/ |
posix_types.h | 75 long val[2]; member in struct:__anon181 79 int val[2]; member in struct:__anon181
|
/bionic/libc/kernel/arch-x86/asm/ |
posix_types_32.h | 59 int val[2]; member in struct:__anon283
|
/bionic/libc/kernel/common/linux/ |
ppdev.h | 29 unsigned char val; member in struct:ppdev_frob_struct
|