/device/asus/fugu/sepolicy/ |
init-fugu-countrycode-sh.te | 1 type init-fugu-countrycode-sh, domain; 2 type init-fugu-countrycode-sh_exec, exec_type, file_type; 4 init_daemon_domain(init-fugu-countrycode-sh) 6 allow init-fugu-countrycode-sh shell_exec:file rx_file_perms; 9 allow init-fugu-countrycode-sh toolbox_exec:file rx_file_perms; 11 set_prop(init-fugu-countrycode-sh, countrycode_prop) 12 allow init-fugu-countrycode-sh efs_file:file { open read }; 13 allow init-fugu-countrycode-sh efs_file:dir search;
|
file_contexts | 36 /system/bin/init\.fugu\.countrycode\.sh u:object_r:init-fugu-countrycode-sh_exec:s0
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowAddress.java | 15 private String countryCode; 83 return countryCode; 87 public void setCountryCode(String countryCode) { 88 this.countryCode = countryCode;
|
ShadowGeocoder.java | 25 private String countryCode; 51 address.setCountryCode(countryCode); 85 * @param countryCode the country code for the response 87 public void setSimulatedResponse(String address, String city, String state, String zip, String countryCode) { 92 this.countryCode = countryCode;
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/util/ |
LocaleNameProviderICU.java | 19 public String getDisplayCountry(String countryCode, Locale locale) { 20 countryCode = AsciiUtil.toUpperString(countryCode); 22 .regionDisplayName(countryCode); 23 if (disp == null || disp.length() == 0 || disp.equals(countryCode)) {
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/compat/ |
PhoneNumberFormattingTextWatcherCompat.java | 21 public static PhoneNumberFormattingTextWatcher newInstance(String countryCode) { 23 return new PhoneNumberFormattingTextWatcher(countryCode);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
SmsNumberUtils.java | 106 public int countryCode; 197 int countryCode = numberEntry.countryCode; 200 && networkPortionNumber.length() >= 11 && countryCode != NANP_CC) { 377 int countryCode = -1; 385 if ((countryCode = getCountryCode(context, numberCountryAreaLocal)) > 0) { 386 numberEntry.countryCode = countryCode; 389 } else if ((countryCode = getCountryCode(context, numberNoNBPCD)) > 0) { 390 numberEntry.countryCode = countryCode [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
WifiCountryCode.java | 130 * @param countryCode The country code intended to set. 135 public synchronized boolean setCountryCode(String countryCode, boolean persist) { 136 if (DBG) Log.d(TAG, "Receive set country code request: " + countryCode); 138 if (TextUtils.isEmpty(countryCode)) { 143 mDefaultCountryCode = countryCode; 145 mTelephonyCountryCode = countryCode.toUpperCase();
|
FrameworkFacade.java | 137 * @param countryCode Country code 145 String countryCode, ArrayList<Integer> allowed2GChannels, 148 looper, wifiNative, nmService, countryCode,
|
SoftApManager.java | 73 String countryCode, 80 mCountryCode = countryCode;
|
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/emu/java/util/ |
Locale.java | 237 private transient String countryCode; 251 this.countryCode = upperCaseCountryCode; 281 countryCode = ""; 298 // countryCode = country.toUpperCase(Locale.US); // not supported by GWT 299 countryCode = country.toUpperCase(); 324 && countryCode.equals(o.countryCode) 353 return countryCode; 380 // if (countryCode.isEmpty()) { 411 // localeString = toNewString("fil", countryCode, variantCode) [all...] |
/frameworks/base/telephony/java/android/telephony/ |
PhoneNumberFormattingTextWatcher.java | 64 * The formatting is based on the given <code>countryCode</code>. 66 * @param countryCode the ISO 3166-1 two-letter country code that indicates the country/region 69 public PhoneNumberFormattingTextWatcher(String countryCode) { 70 if (countryCode == null) throw new IllegalArgumentException(); 71 mFormatter = PhoneNumberUtil.getInstance().getAsYouTypeFormatter(countryCode);
|
/packages/apps/Settings/src/com/android/settings/overlay/ |
SupportFeatureProvider.java | 63 boolean isAlwaysOperating(@SupportType int type, String countryCode); 79 CharSequence getOperationHours(Context context, @SupportType int type, String countryCode, 100 SupportPhone getSupportPhones(String countryCode, boolean isTollfree);
|
/libcore/ojluni/src/main/java/java/util/spi/ |
LocaleNameProvider.java | 105 * For example, if <code>countryCode</code> is "FR" and <code>locale</code> 106 * is en_US, getDisplayCountry() will return "France"; if <code>countryCode</code> 111 * @param countryCode the country(region) code string in the form of two 117 * @exception NullPointerException if <code>countryCode</code> or <code>locale</code> is null 118 * @exception IllegalArgumentException if <code>countryCode</code> is not in the form of 125 public abstract String getDisplayCountry(String countryCode, Locale locale);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
PhoneNumberFormatter.java | 40 String countryCode, TextView textView, boolean formatAfterWatcherSet) { 41 mCountryCode = countryCode;
|
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
TimeZoneData.java | 386 final String countryCode = fields[0]; 399 if (countryCode == null && !timeZoneId.startsWith("Etc/GMT")) { 406 String country = mCountryCodeToNameMap.get(countryCode); 408 country = getCountryNames(lang, countryCode); 409 mCountryCodeToNameMap.put(countryCode, country); 482 private String getCountryNames(String lang, String countryCode) { 485 if (PALESTINE_COUNTRY_CODE.equalsIgnoreCase(countryCode)) { 488 countryDisplayName = new Locale(lang, countryCode).getDisplayCountry(defaultLocale); 491 if (!countryCode.equals(countryDisplayName)) { 506 if (mBackupCountryCodes[i].equals(countryCode)) { [all...] |
/cts/tests/tests/telephony/src/android/telephony/cts/ |
TelephonyManagerTest.java | 380 String countryCode = mTelephonyManager.getNetworkCountryIso(); 382 assertTrue("Country code '" + countryCode + "' did not match " 384 Pattern.matches(ISO_COUNTRY_CODE_PATTERN, countryCode)); 392 String countryCode = mTelephonyManager.getSimCountryIso(); 394 assertTrue("Country code '" + countryCode + "' did not match " 396 Pattern.matches(ISO_COUNTRY_CODE_PATTERN, countryCode));
|
/external/pdfium/third_party/lcms2-2.6/src/ |
cmsnamed.c | 119 int SearchMLUEntry(cmsMLU* mlu, cmsUInt16Number LanguageCode, cmsUInt16Number CountryCode) 129 if (mlu ->Entries[i].Country == CountryCode && 141 cmsUInt16Number LanguageCode, cmsUInt16Number CountryCode) 155 if (SearchMLUEntry(mlu, LanguageCode, CountryCode) >= 0) return FALSE; // Only one is allowed! 174 mlu ->Entries[mlu ->UsedEntries].Country = CountryCode; 183 cmsBool CMSEXPORT cmsMLUsetASCII(cmsMLU* mlu, const char LanguageCode[3], const char CountryCode[3], const char* ASCIIString) 189 cmsUInt16Number Cntry = _cmsAdjustEndianess16(*(cmsUInt16Number*) CountryCode); 298 cmsUInt16Number LanguageCode, cmsUInt16Number CountryCode, 317 if (v -> Country == CountryCode) { 346 const char LanguageCode[3], const char CountryCode[3] [all...] |
/packages/apps/Dialer/src/com/android/dialer/dialpad/ |
SmartDialPrefix.java | 108 final String countryCode; 116 public PhoneNumberTokens(String countryCode, int countryCodeOffset, int nanpCodeOffset) { 117 this.countryCode = countryCode; 261 String countryCode = ""; 273 countryCode = number.substring(1, i); 274 if (isValidCountryCode(countryCode)) { 285 countryCode = "1"; 296 if (countryCode.equals("") && normalizedNumber.length() == 10){ 301 } else if (countryCode.equals("1") && normalizedNumber.length() == 11) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
ReverseGeocoder.java | 193 String countryCode = addr1CountryCode; 195 if (!countryCode.equals(currentCountry)) { 196 closestCommonLocation += ", " + adminArea + " " + countryCode; 245 String countryCode = addr1CountryCode; 246 if (!countryCode.equals(currentCountry)) { 247 if (countryCode != null && countryCode.length() > 0) { 248 closestCommonLocation += " " + countryCode;
|
/cts/tests/tests/location/src/android/location/cts/ |
AddressTest.java | 65 String countryCode = "US"; 66 address.setCountryCode(countryCode); 67 assertEquals(countryCode, address.getCountryCode()); 209 "locality=null,thoroughfare=null,postalCode=95120,countryCode=null," +
|
/packages/inputmethods/LatinIME/java/res/xml/ |
key_styles_currency.xml | 50 <case latin:countryCode="AD|AT|BE|CY|EE|FI|FR|DE|GR|IE|IT|XK|LU|MT|MO|ME|NL|PT|SM|SK|SI|ES|VA"> 103 <case latin:countryCode="LK|BD"> 114 <case latin:countryCode="IN"> 138 <case latin:countryCode="GB">
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
ApConfigUtil.java | 107 * @param countryCode country code 113 String countryCode, 125 && countryCode == null) {
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiApDialog.java | 137 String countryCode = mWifiManager.getCountryCode(); 138 if (!mWifiManager.isDualBandSupported() || countryCode == null) { 141 + (countryCode == null ? " NO country code" :"") + " forbid 5GHz");
|
/external/icu/icu4c/source/i18n/ |
tzgnames.cpp | 552 char countryCode[ULOC_COUNTRY_CAPACITY]; 554 int32_t ccLen = usCountryCode.extract(0, usCountryCode.length(), countryCode, sizeof(countryCode), US_INV); 555 countryCode[ccLen] = 0; 558 fLocaleDisplayNames->regionDisplayName(countryCode, country); 805 char countryCode[ULOC_COUNTRY_CAPACITY]; 807 int32_t ccLen = usCountryCode.extract(0, usCountryCode.length(), countryCode, sizeof(countryCode), US_INV); 808 countryCode[ccLen] = 0; 811 fTimeZoneNames->getReferenceZoneID(mzID, countryCode, regionalGolden) [all...] |