/packages/modules/ExtServices/tests/src/android/ext/services/notification/ |
D | ChannelImpressionsTest.java | 35 ChannelImpressions ci = new ChannelImpressions(); in testNoResultNoBlock() local 36 assertFalse(ci.shouldTriggerBlock()); in testNoResultNoBlock() 41 ChannelImpressions ci = new ChannelImpressions(); in testNoStreakNoBlock() local 44 ci.incrementViews(); in testNoStreakNoBlock() 45 ci.incrementDismissals(); in testNoStreakNoBlock() 48 assertFalse(ci.shouldTriggerBlock()); in testNoStreakNoBlock() 53 ChannelImpressions ci = new ChannelImpressions(); in testNoStreakNoBlock_breakStreak() local 56 ci.incrementViews(); in testNoStreakNoBlock_breakStreak() 57 ci.incrementDismissals(); in testNoStreakNoBlock_breakStreak() 59 ci.resetStreak(); in testNoStreakNoBlock_breakStreak() [all …]
|
/packages/apps/Settings/src/com/android/settings/notification/zen/ |
D | AbstractZenModeAutomaticRulePreferenceController.java | 87 public static ZenRuleInfo getRuleInfo(PackageManager pm, ComponentInfo ci) { in getRuleInfo() argument 88 if (ci == null || ci.metaData == null) { in getRuleInfo() 91 final String ruleType = (ci instanceof ServiceInfo) in getRuleInfo() 92 ? ci.metaData.getString(ConditionProviderService.META_DATA_RULE_TYPE) in getRuleInfo() 93 : ci.metaData.getString(NotificationManager.META_DATA_AUTOMATIC_RULE_TYPE); in getRuleInfo() 95 final ComponentName configurationActivity = getSettingsActivity(null, ci); in getRuleInfo() 99 (ci instanceof ServiceInfo) ? new ComponentName(ci.packageName, ci.name) : null; in getRuleInfo() 102 ri.packageName = ci.packageName; in getRuleInfo() 104 ri.packageLabel = ci.applicationInfo.loadLabel(pm); in getRuleInfo() 105 ri.ruleInstanceLimit = (ci instanceof ServiceInfo) in getRuleInfo() [all …]
|
D | ZenModeEventRuleSettings.java | 232 final CalendarInfo ci = new CalendarInfo(); in addCalendar() local 233 ci.calendarId = calendarId; in addCalendar() 234 ci.name = calName; in addCalendar() 235 ci.userId = userId; in addCalendar() 236 if (!outCalendars.contains(ci)) { in addCalendar() 237 outCalendars.add(ci); in addCalendar()
|
D | ZenRuleSelectionDialog.java | 198 for (ComponentInfo ci : componentInfos) { 200 getRuleInfo(mPm, ci); 204 >= (mNm.getRuleInstanceCount(ci.getComponentName()) + 1))) {
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | AbstractZenModeAutomaticRulePreferenceController.java | 87 public static ZenRuleInfo getRuleInfo(PackageManager pm, ComponentInfo ci) { in getRuleInfo() argument 88 if (ci == null || ci.metaData == null) { in getRuleInfo() 91 final String ruleType = (ci instanceof ServiceInfo) in getRuleInfo() 92 ? ci.metaData.getString(ConditionProviderService.META_DATA_RULE_TYPE) in getRuleInfo() 93 : ci.metaData.getString(NotificationManager.META_DATA_AUTOMATIC_RULE_TYPE); in getRuleInfo() 95 final ComponentName configurationActivity = getSettingsActivity(null, ci); in getRuleInfo() 99 (ci instanceof ServiceInfo) ? new ComponentName(ci.packageName, ci.name) : null; in getRuleInfo() 102 ri.packageName = ci.packageName; in getRuleInfo() 104 ri.packageLabel = ci.applicationInfo.loadLabel(pm); in getRuleInfo() 105 ri.ruleInstanceLimit = (ci instanceof ServiceInfo) in getRuleInfo() [all …]
|
D | ZenModeEventRuleSettings.java | 232 final CalendarInfo ci = new CalendarInfo(); in addCalendar() local 233 ci.calendarId = calendarId; in addCalendar() 234 ci.name = calName; in addCalendar() 235 ci.userId = userId; in addCalendar() 236 if (!outCalendars.contains(ci)) { in addCalendar() 237 outCalendars.add(ci); in addCalendar()
|
D | ZenRuleSelectionDialog.java | 198 for (ComponentInfo ci : componentInfos) { 200 getRuleInfo(mPm, ci); 204 >= (mNm.getRuleInstanceCount(ci.getComponentName()) + 1))) {
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | NetworkOperatorPreference.java | 178 private int getIconIdForCell(CellInfo ci) { in getIconIdForCell() argument 179 if (ci instanceof CellInfoGsm) { in getIconIdForCell() 182 if (ci instanceof CellInfoCdma) { in getIconIdForCell() 185 if ((ci instanceof CellInfoWcdma) || (ci instanceof CellInfoTdscdma)) { in getIconIdForCell() 188 if (ci instanceof CellInfoLte) { in getIconIdForCell() 192 if (ci instanceof CellInfoNr) { in getIconIdForCell() 198 private CellSignalStrength getCellSignalStrength(CellInfo ci) { in getCellSignalStrength() argument 199 if (ci instanceof CellInfoGsm) { in getCellSignalStrength() 200 return ((CellInfoGsm) ci).getCellSignalStrength(); in getCellSignalStrength() 202 if (ci instanceof CellInfoCdma) { in getCellSignalStrength() [all …]
|
D | CellInfoUtil.java | 130 final CellInfoGsm ci = new CellInfoGsm(); in convertOperatorInfoToCellInfo() local 131 ci.setCellIdentity(cig); in convertOperatorInfoToCellInfo() 132 return ci; in convertOperatorInfoToCellInfo()
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | CallerInfoUtils.java | 128 CachedNumberLookupService lookupService, CallerInfo ci) { in buildCachedContactInfo() argument 130 info.name = ci.name; in buildCachedContactInfo() 131 info.type = ci.numberType; in buildCachedContactInfo() 132 info.label = ci.phoneLabel; in buildCachedContactInfo() 133 info.number = ci.phoneNumber; in buildCachedContactInfo() 134 info.normalizedNumber = ci.normalizedNumber; in buildCachedContactInfo() 135 info.photoUri = ci.contactDisplayPhotoUri; in buildCachedContactInfo() 136 info.userType = ci.userType; in buildCachedContactInfo() 139 cacheInfo.setLookupKey(ci.lookupKeyOrNull); in buildCachedContactInfo() 154 Context context, CallerInfo ci, String number, int presentation) { in modifyForSpecialCnapCases() argument [all …]
|
D | CallerInfoAsyncQuery.java | 59 void onQueryComplete(int token, Object cookie, CallerInfo ci); in onQueryComplete() argument 63 void onDataLoaded(int token, Object cookie, CallerInfo ci); in onDataLoaded() argument 98 public void onQueryComplete(int token, Object cookie, CallerInfo ci) { in startQuery() 102 if ((ci != null && ci.contactExists) in startQuery() 104 if (listener != null && ci != null) { in startQuery() 105 listener.onQueryComplete(token, cookie, ci); in startQuery() 111 public void onDataLoaded(int token, Object cookie, CallerInfo ci) { in startQuery() 113 listener.onDataLoaded(token, cookie, ci); in startQuery() 297 int token, Object cookie, CallerInfo ci, long directoryId) { in onDirectoryQueryComplete() argument 301 if (!isListenerCalled && (ci.contactExists || count == 0)) { in onDirectoryQueryComplete() [all …]
|
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/ |
D | GsmCellBroadcastHandler.java | 348 private @Nullable Pair<Integer, Integer> getLacAndCid(CellIdentity ci) { in getLacAndCid() argument 349 if (ci == null) return null; in getLacAndCid() 352 if (ci instanceof CellIdentityGsm) { in getLacAndCid() 353 lac = ((CellIdentityGsm) ci).getLac(); in getLacAndCid() 354 cid = ((CellIdentityGsm) ci).getCid(); in getLacAndCid() 355 } else if (ci instanceof CellIdentityWcdma) { in getLacAndCid() 356 lac = ((CellIdentityWcdma) ci).getLac(); in getLacAndCid() 357 cid = ((CellIdentityWcdma) ci).getCid(); in getLacAndCid() 358 } else if ((ci instanceof CellIdentityTdscdma)) { in getLacAndCid() 359 lac = ((CellIdentityTdscdma) ci).getLac(); in getLacAndCid() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | RadioInfo.java | 751 private final String getConnectionStatusString(CellInfo ci) { in getConnectionStatusString() argument 756 if (ci.isRegistered()) { in getConnectionStatusString() 759 switch (ci.getCellConnectionStatus()) { in getConnectionStatusString() 773 private final String buildCdmaInfoString(CellInfoCdma ci) { in buildCdmaInfoString() argument 774 CellIdentityCdma cidCdma = ci.getCellIdentity(); in buildCdmaInfoString() 775 CellSignalStrengthCdma ssCdma = ci.getCellSignalStrength(); in buildCdmaInfoString() 778 getConnectionStatusString(ci), in buildCdmaInfoString() 789 private final String buildGsmInfoString(CellInfoGsm ci) { in buildGsmInfoString() argument 790 CellIdentityGsm cidGsm = ci.getCellIdentity(); in buildGsmInfoString() 791 CellSignalStrengthGsm ssGsm = ci.getCellSignalStrength(); in buildGsmInfoString() [all …]
|
/packages/services/Telephony/src/com/android/phone/settings/ |
D | RadioInfo.java | 893 private String getConnectionStatusString(CellInfo ci) { in getConnectionStatusString() argument 898 if (ci.isRegistered()) { in getConnectionStatusString() 901 switch (ci.getCellConnectionStatus()) { in getConnectionStatusString() 915 private String buildCdmaInfoString(CellInfoCdma ci) { in buildCdmaInfoString() argument 916 CellIdentityCdma cidCdma = ci.getCellIdentity(); in buildCdmaInfoString() 917 CellSignalStrengthCdma ssCdma = ci.getCellSignalStrength(); in buildCdmaInfoString() 920 getConnectionStatusString(ci), in buildCdmaInfoString() 931 private String buildGsmInfoString(CellInfoGsm ci) { in buildGsmInfoString() argument 932 CellIdentityGsm cidGsm = ci.getCellIdentity(); in buildGsmInfoString() 933 CellSignalStrengthGsm ssGsm = ci.getCellSignalStrength(); in buildGsmInfoString() [all …]
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
D | DisableInstallShortcutListenersTask.java | 100 ComponentInfo ci; in disableReceivers() local 102 ci = ri.activityInfo; in disableReceivers() 104 ci = ri.serviceInfo; in disableReceivers() 106 ci = ri.providerInfo; in disableReceivers() 108 mUtils.disableComponent(new ComponentName(ci.packageName, ci.name), mUserId); in disableReceivers()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | CallerInfoLookupHelper.java | 183 return (token, cookie, ci) -> { in makeCallerInfoQueryListener() 192 l.onCallerInfoQueryComplete(handle, ci); in makeCallerInfoQueryListener() 194 if (ci.getContactDisplayPhotoUri() == null) { in makeCallerInfoQueryListener() 199 info.callerInfo = ci; in makeCallerInfoQueryListener() 201 startPhotoLookup(handle, ci.getContactDisplayPhotoUri()); in makeCallerInfoQueryListener()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | VoiceSearch.java | 94 ComponentInfo ci = ri.activityInfo != null ? ri.activityInfo : ri.serviceInfo; in getVersion() 96 return getContext().getPackageManager().getPackageInfo(ci.packageName, 0).versionCode; in getVersion() 98 Log.e(TAG, "Cannot find voice search package " + ci.packageName, e); in getVersion()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | CallLogProviderTest.java | 187 CallerInfo ci = new CallerInfo(); in testAddCall() local 188 ci.setName("1-800-GOOG-411"); in testAddCall() 189 ci.numberType = Phone.TYPE_CUSTOM; in testAddCall() 190 ci.numberLabel = "Directory"; in testAddCall() 197 Uri uri = Calls.addCall(ci, getMockContext(), "1-800-263-7643", in testAddCall() 210 values.put(Calls.CACHED_NAME, ci.getName()); in testAddCall()
|
/packages/services/Telephony/src/com/android/phone/ |
D | CellInfoUtil.java | 156 CellInfoGsm ci = new CellInfoGsm(); in convertOperatorInfoToCellInfo() local 157 ci.setCellIdentity(cig); in convertOperatorInfoToCellInfo() 158 return ci; in convertOperatorInfoToCellInfo()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/ |
D | CellInfoUtil.java | 156 CellInfoGsm ci = new CellInfoGsm(); in convertOperatorInfoToCellInfo() local 157 ci.setCellIdentity(cig); in convertOperatorInfoToCellInfo() 158 return ci; in convertOperatorInfoToCellInfo()
|
D | NetworkOperatorPreference.java | 98 private int getIconIdForCell(CellInfo ci) { in getIconIdForCell() argument 99 final int type = ci.getCellIdentity().getType(); in getIconIdForCell()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | MissedCallNotifierImplTest.java | 491 CallerInfo ci = new CallerInfo(); in testLoadOneCallFromDb() local 492 listenerCaptor.getValue().onCallerInfoQueryComplete(escapedHandle, ci); in testLoadOneCallFromDb() 493 verify(mockCallInfoFactory).makeCallInfo(eq(ci), isNull(PhoneAccountHandle.class), in testLoadOneCallFromDb() 554 CallerInfo ci = new CallerInfo(); in testLoadTwoCallsFromDb() local 555 listenerCaptor.getAllValues().get(0).onCallerInfoQueryComplete(escapedTelHandle, ci); in testLoadTwoCallsFromDb() 556 listenerCaptor.getAllValues().get(1).onCallerInfoQueryComplete(escapedSipHandle, ci); in testLoadTwoCallsFromDb()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/ |
D | readme.md | 23 [lin-badge]: https://travis-ci.org/miloyip/rapidjson.png?branch=master "Travis build status" 24 [lin-link]: https://travis-ci.org/miloyip/rapidjson "Travis build status" 25 [win-badge]: https://ci.appveyor.com/api/projects/status/u658dcuwxo14a8m9/branch/master "AppVeyor b… 26 [win-link]: https://ci.appveyor.com/project/miloyip/rapidjson/branch/master "AppVeyor build status"
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/ui/ |
D | ThemeUiTestBase.java | 72 final CompatibilityInfo ci = context.getResources().getCompatibilityInfo(); in getThemeByUiMode() local 78 context.getResources().updateConfiguration(nightConfig, dm, ci); in getThemeByUiMode()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/displayinfo/ |
D | DisplayInfoFragment.java | 68 ConfigurationInfo ci = am.getDeviceConfigurationInfo(); in onStart() local 69 addTextView("OpenGL ES version: " + ci.getGlEsVersion()); in onStart()
|