Home
last modified time | relevance | path

Searched refs:sub (Results 1 – 25 of 54) sorted by relevance

123

/packages/apps/Settings/tests/unit/src/com/android/settings/network/
DSubscriptionsPreferenceControllerTest.java398 final List<SubscriptionInfo> sub = setupMockSubscriptions(1); in displayPreference_providerAndHasSim_showPreference() local
400 doReturn(sub.get(0)).when(mSubscriptionManager).getDefaultDataSubscriptionInfo(); in displayPreference_providerAndHasSim_showPreference()
401 doReturn(sub).when(mSubscriptionManager).getAvailableSubscriptionInfoList(); in displayPreference_providerAndHasSim_showPreference()
413 final List<SubscriptionInfo> sub = setupMockSubscriptions(2); in displayPreference_providerAndHasMultiSim_showDataSubPreference() local
415 doReturn(sub.get(0)).when(mSubscriptionManager).getDefaultDataSubscriptionInfo(); in displayPreference_providerAndHasMultiSim_showDataSubPreference()
416 doReturn(sub).when(mSubscriptionManager).getAvailableSubscriptionInfoList(); in displayPreference_providerAndHasMultiSim_showDataSubPreference()
431 final List<SubscriptionInfo> sub = setupMockSubscriptions(2); in displayPreference_providerAndHasMultiSimAndActive_connectedAndRat() local
433 doReturn(sub.get(0)).when(mSubscriptionManager).getDefaultDataSubscriptionInfo(); in displayPreference_providerAndHasMultiSimAndActive_connectedAndRat()
434 setupGetIconConditions(sub.get(0).getSubscriptionId(), true, true, in displayPreference_providerAndHasMultiSimAndActive_connectedAndRat()
452 final List<SubscriptionInfo> sub = setupMockSubscriptions(2); in displayPreference_providerAndHasMultiSimAndActiveCarrierWifi_connectedAndWPlus() local
[all …]
/packages/apps/Settings/src/com/android/settings/sim/
DChooseSimActivity.java260 for (SubscriptionInfo sub : mEmbeddedSubscriptions) { in displaySubscriptions()
264 sub.getSubscriptionId(), this); in displaySubscriptions()
265 item.setTitle(TextUtils.isEmpty(title) ? sub.getDisplayName() : title); in displaySubscriptions()
269 String phoneNumber = SubscriptionUtil.getFormattedPhoneNumber(this, sub); in displaySubscriptions()
281 for (SubscriptionInfo sub : subscriptions) { in updateSubscriptions()
282 if (sub == null) { in updateSubscriptions()
285 if (sub.isEmbedded()) { in updateSubscriptions()
286 mEmbeddedSubscriptions.add(sub); in updateSubscriptions()
288 mRemovableSubscription = sub; in updateSubscriptions()
DSimListDialogFragment.java176 final SubscriptionInfo sub = getItem(position); in getView() local
182 if (sub == null) { in getView()
189 title.setText(SubscriptionUtil.getUniqueSubscriptionDisplayName(sub, mContext)); in getView()
190 summary.setText(isMdnProvisioned(sub.getNumber()) ? sub.getNumber() : ""); in getView()
191 icon.setImageBitmap(sub.createIconBitmap(mContext)); in getView()
DSimActivationNotifier.java223 .filter(sub -> !sub.isEmbedded()) in getActiveRemovableSub()
/packages/services/Mms/src/com/android/mms/service/
DMmsConfigManager.java114 for (SubscriptionInfo sub : subs) { in load()
115 final int subId = sub.getSubscriptionId(); in load()
117 + sub.getMccString() + "/" + sub.getMncString() in load()
118 + ", CarrierId " + sub.getCarrierId()); in load()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DDefaultSubscriptionController.java171 for (SubscriptionInfo sub : subs) { in updateEntries()
172 if (sub.isOpportunistic()) { in updateEntries()
175 displayNames.add(SubscriptionUtil.getUniqueSubscriptionDisplayName(sub, mContext)); in updateEntries()
176 final int subId = sub.getSubscriptionId(); in updateEntries()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DSubscriptionListData.java96 for (final ParticipantData sub : subs) { in bind()
98 SubscriptionListEntry.fromSelfParticipantData(sub, mContext); in bind()
99 if (!sub.isDefaultSelf()) { in bind()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DExifUtils.java161 long sub = Long.parseLong(subSec.substring(0, len)); in parseSubSeconds() local
163 sub *= 10; in parseSubSeconds()
165 return sub; in parseSubSeconds()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DMobileNetworkListControllerTest.java232 final SubscriptionInfo sub = mock(SubscriptionInfo.class); in createMockSubscription() local
233 when(sub.getSubscriptionId()).thenReturn(id); in createMockSubscription()
234 when(sub.getDisplayName()).thenReturn(displayName); in createMockSubscription()
235 return sub; in createMockSubscription()
/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/
DDefaultSubscriptionControllerTest.java355 final SubscriptionInfo sub = mock(SubscriptionInfo.class); in createMockSub() local
356 when(sub.getSubscriptionId()).thenReturn(id); in createMockSub()
357 when(sub.getDisplayName()).thenReturn(displayName); in createMockSub()
358 return sub; in createMockSub()
/packages/modules/NeuralNetworks/runtime/test/generated/spec_V1_1/
Dsub.example.cpp7 namespace generated_tests::sub { namespace
74 namespace generated_tests::sub { namespace
/packages/services/Car/cpp/watchdog/server/src/
DIoOveruseMonitor.cpp76 const auto sub = [](const int64_t& l, const int64_t& r) -> int64_t { in diff() local
80 result.foregroundBytes = sub(lhs.foregroundBytes, rhs.foregroundBytes); in diff()
81 result.backgroundBytes = sub(lhs.backgroundBytes, rhs.backgroundBytes); in diff()
82 result.garageModeBytes = sub(lhs.garageModeBytes, rhs.garageModeBytes); in diff()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DFilterUtils.java129 Path sub = Path.fromString(sets[j]); in getAppliedFilters() local
130 getAppliedFilters(sub, result, underCluster); in getAppliedFilters()
/packages/apps/Settings/src/com/android/settings/network/
DSubscriptionUtil.java529 .filter(sub -> sub.isEmbedded() && groupUuid.equals(sub.getGroupUuid()))
/packages/apps/Settings/src/com/android/settings/sim/receivers/
DSimSlotChangeHandler.java296 .filter(sub -> sub.isEmbedded()) in getGroupedEmbeddedSubscriptions()
/packages/apps/Car/libs/car-ui-lib/tests/tools/
Dquick_rro.py272 args.resources = [x for sub in args.resources for x in sub]
/packages/apps/Car/DebuggingRestrictionController/
Dbuild.gradle1 // Top-level build file where you can add configuration options common to all sub-projects/modules.
/packages/apps/TimeZoneData/oem_template/
DREADME.oem4 OEMs are expected to copy the sub-dirs under this directory to appropriate places in their own repos
/packages/services/Car/experimental/tests/
DAndroid.bp17 // Include the sub-makefiles
/packages/services/Car/cpp/evs/
DAndroid.bp17 // Include the sub-makefiles
/packages/apps/Car/tests/
Dbuild.gradle17 // Top-level build file where you can add configuration options common to all sub-projects/modules.
/packages/services/Telephony/src/com/android/phone/
DNotificationMgr.java698 for (SubscriptionInfo sub : subList) { in showLimitedSimFunctionWarningNotification()
699 if (sub.getSubscriptionId() != subId) { in showLimitedSimFunctionWarningNotification()
700 line1Num = mTelephonyManager.getLine1Number(sub.getSubscriptionId()); in showLimitedSimFunctionWarningNotification()
/packages/apps/Car/libs/car-ui-lib/
Dbuild.gradle17 // Top-level build file where you can add configuration options common to all sub-projects/modules.
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DComposeMessageView.java855 final SubscriptionListEntry sub = getSelfSubscriptionListEntry(); in getSimContentDescription() local
856 if (sub != null) { in getSimContentDescription()
859 sub.displayName); in getSimContentDescription()
/packages/services/Car/cpp/watchdog/server/
Dcarwatchdogd.rc43 # Number of top stats per sub-category

123