/libcore/ojluni/src/main/native/ |
PollArrayWrapper.c | 57 int res = poll(fds, nfds, remaining); local 58 if (res < 0 && errno == EINTR) { 70 return res;
|
/libcore/support/src/test/java/tests/support/ |
Support_ASimpleInputStream.java | 68 int res = buf[pos]; local 70 return res;
|
/ndk/tests/device/test-gnustl-full/unit/ |
transform_test.cpp | 68 string res; local 69 transform(n, n + count, trans, back_inserter(res), map_char); 70 CPPUNIT_ASSERT( res == "Hello World!" )
|
/ndk/tests/device/test-stlport/unit/ |
transform_test.cpp | 68 string res; local 69 transform(n, n + count, trans, back_inserter(res), map_char); 70 CPPUNIT_ASSERT( res == "Hello World!" )
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
CellBroadcastSearchIndexableProvider.java | 20 import android.content.res.Resources; 87 Resources res = getContext().getResources(); local 88 boolean showEtwsSettings = res.getBoolean(R.bool.show_etws_settings); 117 if (!res.getBoolean(R.bool.show_cmas_settings)) { 143 boolean enableChannel50Support = res.getBoolean(R.bool.show_brazil_settings) ||
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
UserInitializeReceiver.java | 28 import android.content.res.Resources; 64 int res = resources.getIdentifier(extra, "drawable", packageName); local 65 if (res != 0) { 66 outList.add(res);
|
/packages/apps/Nfc/nci/jni/ |
CondVar.cpp | 44 int const res = pthread_cond_init (&mCondition, &attr); local 45 if (res) 47 ALOGE ("CondVar::CondVar: fail init; error=0x%X", res); 63 int const res = pthread_cond_destroy (&mCondition); local 64 if (res) 66 ALOGE ("CondVar::~CondVar: fail destroy; error=0x%X", res); 82 int const res = pthread_cond_wait (&mCondition, mutex.nativeHandle()); local 83 if (res) 85 ALOGE ("CondVar::wait: fail wait; error=0x%X", res); 141 int const res = pthread_cond_signal (&mCondition) local [all...] |
/packages/apps/TV/src/com/android/tv/ui/ |
DialogUtils.java | 22 import android.content.res.Resources; 50 Resources res = context.getResources(); local 52 items[i] = res.getString(itemResIds[i]);
|
/packages/apps/TvSettings/QuickSettings/src/com/android/tv/quicksettings/ |
PresetSettingsListener.java | 21 import android.content.res.Resources; 38 final Resources res = mContext.getResources(); local 42 newValues = res.getIntArray(R.array.standard_setting_values); 45 newValues = res.getIntArray(R.array.cinema_setting_values); 48 newValues = res.getIntArray(R.array.vivid_setting_values); 51 newValues = res.getIntArray(R.array.game_setting_values); 57 final String[] keys = res.getStringArray(R.array.setting_keys);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
RunInLocale.java | 19 import android.content.res.Configuration; 20 import android.content.res.Resources; 27 protected abstract T job(final Resources res); 32 * @param res the resources to use. 36 public T runInLocale(final Resources res, final Locale newLocale) { 38 final Configuration conf = res.getConfiguration(); 40 return job(res); 45 res.updateConfiguration(conf, null); 46 return job(res); 49 res.updateConfiguration(conf, null) [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
CapsModeUtilsTests.java | 19 import android.content.res.Resources; 58 protected SpacingAndPunctuations job(final Resources res) { 59 return new SpacingAndPunctuations(res); 62 final Resources res = getContext().getResources(); local 63 SpacingAndPunctuations sp = job.runInLocale(res, Locale.ENGLISH); 94 sp = job.runInLocale(res, Locale.FRENCH); 101 sp = job.runInLocale(res, Locale.GERMAN); 107 sp = job.runInLocale(res, Locale.ENGLISH); 115 sp = job.runInLocale(res, LocaleUtils.constructLocaleFromString("hy_AM")); 129 sp = job.runInLocale(res, Locale.ENGLISH) [all...] |
DictionaryInfoUtilsTests.java | 19 import android.content.res.Resources; 33 protected SpacingAndPunctuations job(final Resources res) { 34 return new SpacingAndPunctuations(res); 37 final Resources res = getContext().getResources(); local 38 final SpacingAndPunctuations sp = job.runInLocale(res, Locale.ENGLISH);
|
/system/update_engine/payload_generator/ |
xz_android.cc | 112 SRes res = Xz_Encode(&out_writer, &in_reader, &props, nullptr /* progress */); local 113 return res == SZ_OK;
|
/system/vold/fs/ |
F2fs.cpp | 58 int res = mount(c_source, c_target, "f2fs", flags, NULL); local 59 if (res != 0) { 62 res = mount(c_source, c_target, "f2fs", flags | MS_RDONLY, NULL); 63 if (res != 0) { 69 return res;
|
/toolchain/binutils/binutils-2.25/libiberty/ |
filename_cmp.c | 217 int res = filename_eq (ca, cb); local 220 return res;
|
/prebuilts/devtools/tools/lib/ |
jython-standalone-2.5.3.jar | |
/prebuilts/tools/common/m2/repository/org/python/jython-standalone/2.5.3/ |
jython-standalone-2.5.3.jar | |
/libcore/luni/src/test/java/libcore/java/sql/ |
OldResultSetGetterTests.java | 47 ResultSet res = null; field in class:OldResultSetGetterTests 222 res = st.executeQuery(queryAllSelect); 223 assertTrue(res.next()); 230 res.close(); 234 res.close(); 245 res.next(); 247 assertNull(res.getBytes(i)); 252 res.close(); 253 res.getBytes(24); 265 ResultSet res = null local 297 ResultSet res = null; local 347 ResultSet res = null; local 380 ResultSet res = null; local [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
TwoLineListItemTest.java | 24 import android.content.res.Resources; 82 Resources res = mActivity.getResources(); local 84 assertEquals(res.getString(R.string.twolinelistitem_test_text1), 87 assertEquals(res.getString(R.string.twolinelistitem_test_text2),
|
/developers/build/prebuilts/gradle/GridViewPager/Wearable/src/main/java/com/example/android/wearable/gridviewpager/ |
SampleGridPagerAdapter.java | 22 import android.content.res.Resources; 118 Resources res = mContext.getResources(); local 120 CardFragment.create(res.getText(titleRes), res.getText(textRes)); 123 res.getDimensionPixelSize(R.dimen.card_margin_bottom));
|
/developers/samples/android/wearable/wear/GridViewPager/Wearable/src/main/java/com/example/android/wearable/gridviewpager/ |
SampleGridPagerAdapter.java | 22 import android.content.res.Resources; 118 Resources res = mContext.getResources(); local 120 CardFragment.create(res.getText(titleRes), res.getText(textRes)); 123 res.getDimensionPixelSize(R.dimen.card_margin_bottom));
|
/development/samples/browseable/GridViewPager/src/com.example.android.wearable.gridviewpager/ |
SampleGridPagerAdapter.java | 22 import android.content.res.Resources; 118 Resources res = mContext.getResources(); local 120 CardFragment.create(res.getText(titleRes), res.getText(textRes)); 123 res.getDimensionPixelSize(R.dimen.card_margin_bottom));
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/ |
OpenMapRealVector.java | 231 OpenMapRealVector res = copyThis ? this.copy() : v.copy(); local 238 res.setEntry(key, randomAccess.get(key) + iter.value()); 240 res.setEntry(key, iter.value()); 243 return res; 252 OpenMapRealVector res = new OpenMapRealVector(this, v.getDimension()); local 256 res.setEntry(iter.key() + virtualSize, iter.value()); 258 return res; 271 OpenMapRealVector res = new OpenMapRealVector(this, 1); local 272 res.setEntry(virtualSize, d); 273 return res; 278 OpenMapRealVector res = new OpenMapRealVector(this, a.length); local [all...] |
/frameworks/base/core/java/android/util/ |
DebugUtils.java | 238 final StringBuilder res = new StringBuilder(); local 248 res.append(field.getName().substring(prefix.length())).append('|'); 254 if (flags != 0 || res.length() == 0) { 255 res.append(Integer.toHexString(flags)); 257 res.deleteCharAt(res.length() - 1); 259 return res.toString();
|
/frameworks/base/services/core/java/com/android/server/ |
AttributeCache.java | 23 import android.content.res.Configuration; 24 import android.content.res.Resources; 25 import android.content.res.TypedArray; 101 final Resources res = pkg.context.getResources(); local 102 res.flushLayoutCache();
|