Home
last modified time | relevance | path

Searched refs:postalCode (Results 1 – 12 of 12) sorted by relevance

/packages/apps/TV/tuner/SampleDvbTuner/src/com/android/tv/tuner/sample/dvb/setup/
DSampleDvbTunerSetupActivity.java77 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/
DSampleNetworkTunerSetupActivity.java77 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/
DPostalCodeUtils.java65 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/
DPostalCodeFragment.java78 CharSequence postalCode = in setOnClickAction()
82 if (postalCode != null && PostalCodeUtils.matches(postalCode, region)) { in setOnClickAction()
83 String postalCodeString = postalCode.toString(); in setOnClickAction()
DBaseTunerSetupActivity.java168 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/
DLineups.java29 public static Set<Lineup> query(ContentResolver contentResolver, String postalCode) { in query() argument
33 EpgContract.Lineups.uriForPostalCode(postalCode), null, null, null, null)) { in query()
DEpgContract.java98 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/
DCommonPreferences.java220 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/
DVCardResourceEntry.java310 final String postalCode = postalData.getPostalCode();
311 if (!TextUtils.isEmpty(postalCode)) {
312 sb.append(postalCode);
/packages/apps/TV/tests/common/src/com/android/tv/testing/
DFakeEpgReader.java73 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/
DEpgReader.java67 List<Lineup> getLineups(@NonNull String postalCode); in getLineups() argument
DStubEpgReader.java55 public List<Lineup> getLineups(@NonNull String postalCode) { in getLineups() argument