/packages/apps/TV/tuner/SampleNetworkTuner/src/com/android/tv/tuner/sample/network/setup/ |
D | SampleNetworkTunerSetupActivity.java | 76 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/ |
D | SampleDvbTunerSetupActivity.java | 76 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/ |
D | PostalCodeUtils.java | 65 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/ |
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 | 161 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/ |
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 | 68 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/ |
D | EpgReader.java | 64 List<Lineup> getLineups(@NonNull String postalCode); in getLineups() argument
|
D | StubEpgReader.java | 51 public List<Lineup> getLineups(@NonNull String postalCode) { in getLineups() argument
|