/packages/apps/TV/tuner/SampleDvbTuner/src/com/android/tv/tuner/sample/dvb/setup/ |
D | SampleDvbTunerSetupActivity.java | 77 private String postalCode; field in SampleDvbTunerSetupActivity 131 String postalCode = PostalCodeUtils.getLastPostalCode(this); in executeAction() local 135 && TextUtils.isEmpty(postalCode); in executeAction() 150 this.postalCode = postalCode; in executeAction() 160 String postalCode = in executeAction() local 164 if (postalCode == null) { in executeAction() 167 this.postalCode = postalCode; in executeAction() 182 String postalCode = params.getString(PostalCodeFragment.KEY_POSTAL_CODE); in executeAction() local 183 if (postalCode != null) { in executeAction() 184 this.postalCode = postalCode; in executeAction() [all …]
|
/packages/apps/TV/tuner/SampleNetworkTuner/src/com/android/tv/tuner/sample/network/setup/ |
D | SampleNetworkTunerSetupActivity.java | 77 private String postalCode; field in SampleNetworkTunerSetupActivity 132 String postalCode = PostalCodeUtils.getLastPostalCode(this); in executeAction() local 136 && TextUtils.isEmpty(postalCode); in executeAction() 151 this.postalCode = postalCode; in executeAction() 161 String postalCode = in executeAction() local 165 if (postalCode == null) { in executeAction() 168 this.postalCode = postalCode; in executeAction() 183 String postalCode = params.getString(PostalCodeFragment.KEY_POSTAL_CODE); in executeAction() local 184 if (postalCode != null) { in executeAction() 185 this.postalCode = postalCode; in executeAction() [all …]
|
/packages/apps/TV/common/src/com/android/tv/common/util/ |
D | PostalCodeUtils.java | 65 String postalCode = LocationUtils.getCurrentPostalCode(context); in updatePostalCode() local 67 if (TextUtils.isEmpty(postalCode)) { in updatePostalCode() 71 } else if (!TextUtils.equals(postalCode, lastPostalCode)) { in updatePostalCode() 72 setLastPostalCode(context, postalCode); in updatePostalCode() 90 public static void setLastPostalCode(Context context, String postalCode) { in setLastPostalCode() argument 91 Log.i(TAG, "Set Postal Code:" + postalCode); in setLastPostalCode() 92 CommonPreferences.setLastPostalCode(context, postalCode); in setLastPostalCode()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/setup/ |
D | PostalCodeFragment.java | 78 CharSequence postalCode = in setOnClickAction() 82 if (postalCode != null && PostalCodeUtils.matches(postalCode, region)) { in setOnClickAction() 83 String postalCodeString = postalCode.toString(); in setOnClickAction()
|
D | BaseTunerSetupActivity.java | 168 String postalCode = PostalCodeUtils.getLastPostalCode(this); in executeAction() local 172 && TextUtils.isEmpty(postalCode); in executeAction() 193 String postalCode = in executeAction() local 197 if (postalCode == null) { in executeAction()
|
/packages/apps/TV/partner_support/src/com/google/android/tv/partner/support/ |
D | Lineups.java | 29 public static Set<Lineup> query(ContentResolver contentResolver, String postalCode) { in query() argument 33 EpgContract.Lineups.uriForPostalCode(postalCode), null, null, null, null)) { in query()
|
D | EpgContract.java | 98 public static Uri uriForPostalCode(String postalCode) { in uriForPostalCode() argument 99 return LINEUPS_IN_POSTAL_CODE_URI.buildUpon().appendPath(postalCode).build(); in uriForPostalCode()
|
/packages/apps/TV/common/src/com/android/tv/common/ |
D | CommonPreferences.java | 220 public static synchronized void setLastPostalCode(Context context, String postalCode) { in setLastPostalCode() argument 222 setPreference(context, PREFS_KEY_LAST_POSTAL_CODE, postalCode); in setLastPostalCode() 226 .putString(PREFS_KEY_LAST_POSTAL_CODE, postalCode) in setLastPostalCode()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
D | VCardResourceEntry.java | 310 final String postalCode = postalData.getPostalCode(); 311 if (!TextUtils.isEmpty(postalCode)) { 312 sb.append(postalCode);
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/ |
D | FakeEpgReader.java | 73 public List<Lineup> getLineups(@NonNull String postalCode) { in getLineups() argument 74 return zip2lineups.get(postalCode); in getLineups()
|
/packages/apps/TV/src/com/android/tv/data/epg/ |
D | EpgReader.java | 67 List<Lineup> getLineups(@NonNull String postalCode); in getLineups() argument
|
D | StubEpgReader.java | 55 public List<Lineup> getLineups(@NonNull String postalCode) { in getLineups() argument
|