Home
last modified time | relevance | path

Searched refs:carrierInfo (Results 1 – 10 of 10) sorted by relevance

/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/provision/grpc/impl/
DDeviceCheckInClientImpl.java179 ArraySet<DeviceId> deviceIds, String carrierInfo, in getDeviceCheckInStatus() argument
183 getDeviceCheckInStatus(deviceIds, carrierInfo, fcmRegistrationToken, in getDeviceCheckInStatus()
194 return getDeviceCheckInStatus(deviceIds, carrierInfo, fcmRegistrationToken, stub); in getDeviceCheckInStatus()
200 ArraySet<DeviceId> deviceIds, String carrierInfo, in getDeviceCheckInStatus() argument
208 deviceIds, carrierInfo, fcmRegistrationToken))); in getDeviceCheckInStatus()
216 @Nullable String carrierInfo) { in isDeviceInApprovedCountry()
219 isDeviceInApprovedCountry(carrierInfo, mDefaultBlockingStub); in isDeviceInApprovedCountry()
230 return isDeviceInApprovedCountry(carrierInfo, stub); in isDeviceInApprovedCountry()
236 @Nullable String carrierInfo, @NonNull DeviceLockCheckinServiceBlockingStub stub) { in isDeviceInApprovedCountry()
241 carrierInfo, sRegisteredId))); in isDeviceInApprovedCountry()
[all …]
/packages/services/Telephony/src/com/android/phone/utils/
DCarrierAllowListInfo.java72 CarrierInfo carrierInfo = parseJsonForCallerInfo(packageName); in validateCallerAndGetCarrierIds() local
73 boolean isValid = (carrierInfo != null) && validateCallerSignature(mContext, packageName, in validateCallerAndGetCarrierIds()
74 carrierInfo.getSHAIdList()); in validateCallerAndGetCarrierIds()
75 return (isValid) ? carrierInfo.getCallerCarrierIdList() : Collections.singleton( in validateCallerAndGetCarrierIds()
212 CarrierInfo carrierInfo = parseJsonForCallerInfo(srcPkg); in getShaIdList() local
213 if (carrierInfo != null && carrierInfo.getCallerCarrierIdList().contains(carrierId)) { in getShaIdList()
214 return carrierInfo.getSHAIdList(); in getShaIdList()
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageSummaryPreference.java157 TextView carrierInfo = getCarrierInfo(holder); in onBindViewHolder() local
162 updateCarrierInfo(carrierInfo); in onBindViewHolder()
234 private void updateCarrierInfo(TextView carrierInfo) {
236 carrierInfo.setVisibility(View.VISIBLE);
259 carrierInfo.setText(TextUtils.expandTemplate(
266 carrierInfo, android.R.attr.textColorSecondary, Typeface.SANS_SERIF);
268 setCarrierInfoTextStyle(carrierInfo, android.R.attr.colorError, SANS_SERIF_MEDIUM);
271 carrierInfo.setVisibility(View.GONE);
295 TextView carrierInfo, @AttrRes int colorId, Typeface typeface) { in setCarrierInfoTextStyle() argument
296 carrierInfo.setTextColor(Utils.getColorAttr(getContext(), colorId)); in setCarrierInfoTextStyle()
[all …]
/packages/apps/CellBroadcastReceiver/tests/compliancetests/src/com/android/cellbroadcastreceiver/compliancetests/
DCellBroadcastUiTest.java158 CellBroadcastCarrierTestConfig carrierInfo = in testAlertUiOnReceivedAlert() local
164 && !sInputMccMnc.equals(carrierInfo.mMccMnc))) { in testAlertUiOnReceivedAlert()
165 setSimInfo(carrierName, carrierInfo.mMccMnc); in testAlertUiOnReceivedAlert()
169 changeLocale(carrierInfo, sPackageName, true); in testAlertUiOnReceivedAlert()
179 || (channelInfo.mIgnoreMessageByLanguageFilter && carrierInfo.mLanguageTag != null in testAlertUiOnReceivedAlert()
180 && !carrierInfo.mLanguageTag.equals("en")); in testAlertUiOnReceivedAlert()
193 carrierInfo.mDisableNavigation, carrierInfo.mNeedFullScreen, sPackageName, in testAlertUiOnReceivedAlert()
294 CellBroadcastCarrierTestConfig carrierInfo = in testEmergencyAlertSettingsUi() local
298 && !sInputMccMnc.equals(carrierInfo.mMccMnc))) { in testEmergencyAlertSettingsUi()
299 setSimInfo(carrierName, carrierInfo.mMccMnc); in testEmergencyAlertSettingsUi()
[all …]
/packages/apps/Settings/tests/unit/src/com/android/settings/datausage/
DDataUsageSummaryPreferenceTest.java178 TextView carrierInfo = mSummaryPreference.getCarrierInfo(mHolder); in setUsageInfo_withRecentCarrierUpdate_doesNotSetCarrierInfoWarningColorAndFont() local
179 assertThat(carrierInfo.getVisibility()).isEqualTo(View.VISIBLE); in setUsageInfo_withRecentCarrierUpdate_doesNotSetCarrierInfoWarningColorAndFont()
180 assertThat(carrierInfo.getCurrentTextColor()).isEqualTo( in setUsageInfo_withRecentCarrierUpdate_doesNotSetCarrierInfoWarningColorAndFont()
182 assertThat(carrierInfo.getTypeface()).isEqualTo(Typeface.SANS_SERIF); in setUsageInfo_withRecentCarrierUpdate_doesNotSetCarrierInfoWarningColorAndFont()
191 TextView carrierInfo = mSummaryPreference.getCarrierInfo(mHolder); in testSetUsageInfo_withStaleCarrierUpdate_setsCarrierInfoWarningColorAndFont() local
192 assertThat(carrierInfo.getVisibility()).isEqualTo(View.VISIBLE); in testSetUsageInfo_withStaleCarrierUpdate_setsCarrierInfoWarningColorAndFont()
193 assertThat(carrierInfo.getCurrentTextColor()).isEqualTo( in testSetUsageInfo_withStaleCarrierUpdate_setsCarrierInfoWarningColorAndFont()
195 assertThat(carrierInfo.getTypeface()).isEqualTo( in testSetUsageInfo_withStaleCarrierUpdate_setsCarrierInfoWarningColorAndFont()
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DDataUsageSummaryPreference.java108 TextView carrierInfo = (TextView) view.findViewById(R.id.carrier_info_text); in onBindViewHolder() local
109 setTextAndVisibility(carrierInfo, mCarrierInfoText); in onBindViewHolder()
110 carrierInfo.setTextAppearance(mCarrierInfoTextStyle); in onBindViewHolder()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/provision/worker/
DIsDeviceInApprovedCountryWorker.java65 String carrierInfo = Objects.requireNonNull( in startWork()
68 client.isDeviceInApprovedCountry(carrierInfo); in startWork()
DDeviceCheckInWorker.java95 String carrierInfo = mCheckInHelper.getCarrierInfo(); in startWork() field in DeviceCheckInWorker
103 deviceIds, carrierInfo, fcmToken); in startWork()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/provision/grpc/
DDeviceCheckInClient.java146 ArraySet<DeviceId> deviceIds, String carrierInfo, in getDeviceCheckInStatus() argument
159 @Nullable String carrierInfo); in isDeviceInApprovedCountry()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/debug/
DDeviceCheckInClientDebug.java126 String carrierInfo, @Nullable String fcmRegistrationToken) { in getDeviceCheckInStatus() argument
205 @Nullable String carrierInfo) {