Home
last modified time | relevance | path

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

/packages/apps/TV/tuner/SampleNetworkTuner/src/com/android/tv/tuner/sample/network/setup/
DSampleNetworkTunerSetupActivity.java76 private String postalCode; field in SampleNetworkTunerSetupActivity
127 String postalCode = PostalCodeUtils.getLastPostalCode(this); in executeAction() local
131 && TextUtils.isEmpty(postalCode); in executeAction()
146 this.postalCode = postalCode; in executeAction()
156 String postalCode = in executeAction() local
160 if (postalCode == null) { in executeAction()
163 this.postalCode = postalCode; in executeAction()
178 String postalCode = params.getString(PostalCodeFragment.KEY_POSTAL_CODE); in executeAction() local
179 if (postalCode != null) { in executeAction()
180 this.postalCode = postalCode; in executeAction()
[all …]
/packages/apps/TV/tuner/SampleDvbTuner/src/com/android/tv/tuner/sample/dvb/setup/
DSampleDvbTunerSetupActivity.java76 private String postalCode; field in SampleDvbTunerSetupActivity
126 String postalCode = PostalCodeUtils.getLastPostalCode(this); in executeAction() local
130 && TextUtils.isEmpty(postalCode); in executeAction()
145 this.postalCode = postalCode; in executeAction()
155 String postalCode = in executeAction() local
159 if (postalCode == null) { in executeAction()
162 this.postalCode = postalCode; in executeAction()
177 String postalCode = params.getString(PostalCodeFragment.KEY_POSTAL_CODE); in executeAction() local
178 if (postalCode != null) { in executeAction()
179 this.postalCode = postalCode; in executeAction()
[all …]
/packages/apps/TV/common/src/com/android/tv/common/util/
DPostalCodeUtils.java65 String postalCode = getPostalCode(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.java161 String postalCode = PostalCodeUtils.getLastPostalCode(this); in executeAction() local
165 && TextUtils.isEmpty(postalCode); in executeAction()
186 String postalCode = in executeAction() local
190 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.java68 public List<Lineup> getLineups(@NonNull String postalCode) { in getLineups() argument
69 return zip2lineups.get(postalCode); in getLineups()
/packages/apps/TV/src/com/android/tv/data/epg/
DEpgReader.java64 List<Lineup> getLineups(@NonNull String postalCode); in getLineups() argument
DStubEpgReader.java51 public List<Lineup> getLineups(@NonNull String postalCode) { in getLineups() argument