Home
last modified time | relevance | path

Searched refs:ci (Results 1 – 25 of 44) sorted by relevance

12

/packages/apps/Settings/src/com/android/settings/network/telephony/
DNetworkOperatorPreference.java194 private int getIconIdForCell(CellInfo ci) { in getIconIdForCell() argument
195 if (ci instanceof CellInfoGsm) { in getIconIdForCell()
198 if (ci instanceof CellInfoCdma) { in getIconIdForCell()
201 if ((ci instanceof CellInfoWcdma) || (ci instanceof CellInfoTdscdma)) { in getIconIdForCell()
204 if (ci instanceof CellInfoLte) { in getIconIdForCell()
208 if (ci instanceof CellInfoNr) { in getIconIdForCell()
214 private CellSignalStrength getCellSignalStrength(CellInfo ci) { in getCellSignalStrength() argument
215 if (ci instanceof CellInfoGsm) { in getCellSignalStrength()
216 return ((CellInfoGsm) ci).getCellSignalStrength(); in getCellSignalStrength()
218 if (ci instanceof CellInfoCdma) { in getCellSignalStrength()
[all …]
DCellInfoUtil.java130 final CellInfoGsm ci = new CellInfoGsm(); in convertOperatorInfoToCellInfo() local
131 ci.setCellIdentity(cig); in convertOperatorInfoToCellInfo()
132 return ci; in convertOperatorInfoToCellInfo()
/packages/apps/Settings/src/com/android/settings/notification/zen/
DAbstractZenModeAutomaticRulePreferenceController.java91 public static ZenRuleInfo getRuleInfo(PackageManager pm, ComponentInfo ci) { in getRuleInfo() argument
92 if (ci == null || ci.metaData == null) { in getRuleInfo()
95 final String ruleType = (ci instanceof ServiceInfo) in getRuleInfo()
96 ? ci.metaData.getString(ConditionProviderService.META_DATA_RULE_TYPE) in getRuleInfo()
97 : ci.metaData.getString(NotificationManager.META_DATA_AUTOMATIC_RULE_TYPE); in getRuleInfo()
99 final ComponentName configurationActivity = getSettingsActivity(pm, null, ci); in getRuleInfo()
103 (ci instanceof ServiceInfo) ? new ComponentName(ci.packageName, ci.name) : null; in getRuleInfo()
106 ri.packageName = ci.packageName; in getRuleInfo()
108 ri.packageLabel = ci.applicationInfo.loadLabel(pm); in getRuleInfo()
109 ri.ruleInstanceLimit = (ci instanceof ServiceInfo) in getRuleInfo()
[all …]
DZenModeEventRuleSettings.java232 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()
DZenRuleSelectionDialog.java198 for (ComponentInfo ci : componentInfos) {
200 getRuleInfo(mPm, ci);
204 >= (mNm.getRuleInstanceCount(ci.getComponentName()) + 1))) {
/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/
DWifiScanningServiceImpl.java327 ClientInfo ci = mClients.get(msg.replyTo); in handleMessage() local
328 if (ci == null) { in handleMessage()
366 logScanRequest("registerScanListener", ci, msg.arg2, null, null, null); in handleMessage()
367 mSingleScanListeners.addRequest(ci, msg.arg2, null, null); in handleMessage()
371 logScanRequest("deregisterScanListener", ci, msg.arg2, null, null, null); in handleMessage()
372 mSingleScanListeners.removeRequest(ci, msg.arg2); in handleMessage()
542 private WorkSource computeWorkSource(ClientInfo ci, WorkSource requestedWorkSource) { in computeWorkSource() argument
547 if (ci.getUid() > 0) { in computeWorkSource()
548 return new WorkSource(ci.getUid()); in computeWorkSource()
553 loge("Unable to compute workSource for client: " + ci + ", requested: " in computeWorkSource()
[all …]
/packages/apps/Dialer/java/com/android/incallui/
DCallerInfoUtils.java128 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 …]
DCallerInfoAsyncQuery.java59 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/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/
DAbstractZenModeAutomaticRulePreferenceControllerTest.java109 ComponentInfo ci = new ComponentInfo(); in testGetSettingsActivity_cps() local
110 ci.packageName = mContext.getPackageName(); in testGetSettingsActivity_cps()
111 ci.metaData = new Bundle(); in testGetSettingsActivity_cps()
112 ci.metaData.putString(ConditionProviderService.META_DATA_CONFIGURATION_ACTIVITY, in testGetSettingsActivity_cps()
120 .getSettingsActivity(mPm, rule, ci); in testGetSettingsActivity_cps()
132 ComponentInfo ci = new ComponentInfo(); in testGetSettingsActivity_cps_wrongPackage() local
133 ci.packageName = mContext.getPackageName(); in testGetSettingsActivity_cps_wrongPackage()
134 ci.metaData = new Bundle(); in testGetSettingsActivity_cps_wrongPackage()
135 ci.metaData.putString(ConditionProviderService.META_DATA_CONFIGURATION_ACTIVITY, in testGetSettingsActivity_cps_wrongPackage()
143 .getSettingsActivity(mPm, rule, ci); in testGetSettingsActivity_cps_wrongPackage()
[all …]
/packages/modules/adb/client/
Dfile_sync_client.cpp922 for (const copyinfo& ci : file_list) { in ComputeExpectedTotalBytes() local
925 if (!ci.skip) current_ledger_.bytes_expected += ci.size; in ComputeExpectedTotalBytes()
1296 copyinfo ci(lpath, rpath, de->d_name, st.st_mode); in local_build_list() local
1298 dirlist.push_back(ci); in local_build_list()
1302 ci.skip = true; in local_build_list()
1304 ci.time = st.st_mtime; in local_build_list()
1305 ci.size = st.st_size; in local_build_list()
1306 file_list->push_back(ci); in local_build_list()
1313 for (const copyinfo& ci : dirlist) { in local_build_list() local
1314 directory_list->push_back(ci.rpath); in local_build_list()
[all …]
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DGsmCellBroadcastHandler.java503 private @Nullable Pair<Integer, Integer> getLacAndCid(CellIdentity ci) { in getLacAndCid() argument
504 if (ci == null) return null; in getLacAndCid()
507 if (ci instanceof CellIdentityGsm) { in getLacAndCid()
508 lac = ((CellIdentityGsm) ci).getLac(); in getLacAndCid()
509 cid = ((CellIdentityGsm) ci).getCid(); in getLacAndCid()
510 } else if (ci instanceof CellIdentityWcdma) { in getLacAndCid()
511 lac = ((CellIdentityWcdma) ci).getLac(); in getLacAndCid()
512 cid = ((CellIdentityWcdma) ci).getCid(); in getLacAndCid()
513 } else if ((ci instanceof CellIdentityTdscdma)) { in getLacAndCid()
514 lac = ((CellIdentityTdscdma) ci).getLac(); in getLacAndCid()
[all …]
/packages/services/Telephony/src/com/android/phone/settings/
DRadioInfo.java875 private String getConnectionStatusString(CellInfo ci) { in getConnectionStatusString() argument
880 if (ci.isRegistered()) { in getConnectionStatusString()
883 switch (ci.getCellConnectionStatus()) { in getConnectionStatusString()
897 private String buildCdmaInfoString(CellInfoCdma ci) { in buildCdmaInfoString() argument
898 CellIdentityCdma cidCdma = ci.getCellIdentity(); in buildCdmaInfoString()
899 CellSignalStrengthCdma ssCdma = ci.getCellSignalStrength(); in buildCdmaInfoString()
902 getConnectionStatusString(ci), in buildCdmaInfoString()
913 private String buildGsmInfoString(CellInfoGsm ci) { in buildGsmInfoString() argument
914 CellIdentityGsm cidGsm = ci.getCellIdentity(); in buildGsmInfoString()
915 CellSignalStrengthGsm ssGsm = ci.getCellSignalStrength(); in buildGsmInfoString()
[all …]
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/model/
DAppEventProducer.java243 ContainerInfo ci = info.getContainerInfo(); in getContainer() local
244 switch (ci.getContainerCase()) { in getContainer()
249 return getWorkspaceContainerString(ci.getWorkspace(), spanX, spanY); in getContainer()
252 return getHotseatContainerString(ci.getHotseat()); in getContainer()
273 FolderContainer fc = ci.getFolder(); in getContainer()
304 ContainerInfo ci = info.getContainerInfo(); in isTrackedForHotseatPrediction() local
305 switch (ci.getContainerCase()) { in isTrackedForHotseatPrediction()
309 return ci.getWorkspace().getPageIndex() == 0; in isTrackedForHotseatPrediction()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallerInfoLookupHelper.java183 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/
DVoiceSearch.java94 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/
DCallLogProviderTest.java190 CallerInfo ci = new CallerInfo(); in testAddCall() local
191 ci.setName("1-800-GOOG-411"); in testAddCall()
192 ci.numberType = Phone.TYPE_CUSTOM; in testAddCall()
193 ci.numberLabel = "Directory"; in testAddCall()
202 Uri uri = Calls.addCall(ci, getMockContext(), "1-800-263-7643", in testAddCall()
216 values.put(Calls.CACHED_NAME, ci.getName()); in testAddCall()
/packages/services/Telephony/src/com/android/phone/
DCellInfoUtil.java156 CellInfoGsm ci = new CellInfoGsm(); in convertOperatorInfoToCellInfo() local
157 ci.setCellIdentity(cig); in convertOperatorInfoToCellInfo()
158 return ci; in convertOperatorInfoToCellInfo()
/packages/apps/Test/connectivity/sl4n/rapidjson/
Dreadme.md23 [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/
DThemeUiTestBase.java72 final CompatibilityInfo ci = context.getResources().getCompatibilityInfo(); in getThemeByUiMode() local
78 context.getResources().updateConfiguration(nightConfig, dm, ci); in getThemeByUiMode()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DMissedCallNotifierImplTest.java555 CallerInfo ci = new CallerInfo(); in testLoadOneCallFromDb() local
556 listenerCaptor.getValue().onCallerInfoQueryComplete(escapedHandle, ci); in testLoadOneCallFromDb()
557 verify(mockCallInfoFactory).makeCallInfo(eq(ci), isNull(PhoneAccountHandle.class), in testLoadOneCallFromDb()
619 CallerInfo ci = new CallerInfo(); in testLoadTwoCallsFromDb() local
620 listenerCaptor.getAllValues().get(0).onCallerInfoQueryComplete(escapedTelHandle, ci); in testLoadTwoCallsFromDb()
621 listenerCaptor.getAllValues().get(1).onCallerInfoQueryComplete(escapedSipHandle, ci); in testLoadTwoCallsFromDb()
DMissedInformationTest.java131 for (Analytics.CallInfoImpl ci : analyticsMap.values()) { in testEmergencyCallPlacing()
132 assertEquals(AUTO_MISSED_EMERGENCY_CALL, ci.missedReason); in testEmergencyCallPlacing()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/displayinfo/
DDisplayInfoFragment.java68 ConfigurationInfo ci = am.getDeviceConfigurationInfo(); in onStart() local
69 addTextView("OpenGL ES version: " + ci.getGlEsVersion()); in onStart()
/packages/apps/Settings/src/com/android/settings/utils/
DZenServiceListing.java54 final ComponentName ci = new ComponentName(component.packageName, component.name); in findService() local
55 if (ci.equals(cn)) { in findService()
/packages/services/Telecomm/src/com/android/server/telecom/ui/
DMissedCallNotifierImpl.java339 CallerInfo ci = callInfo.getCallerInfo(); in showMissedCallNotification() local
340 if (ci != null && ci.userType == CallerInfo.USER_TYPE_WORK) { in showMissedCallNotification()
/packages/inputmethods/LatinIME/dictionaries/
Dpl_wordlist.combined.gz1dictionary=main:pl,locale=pl,description=Polski,date=1414726264, ...

12