Home
last modified time | relevance | path

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

1234

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCellIdentityGsmTest.java48 CellIdentityGsm ci = in testDefaultConstructor() local
52 assertEquals(LAC, ci.getLac()); in testDefaultConstructor()
53 assertEquals(CID, ci.getCid()); in testDefaultConstructor()
54 assertEquals(ARFCN, ci.getArfcn()); in testDefaultConstructor()
55 assertEquals(ARFCN, ci.getChannelNumber()); in testDefaultConstructor()
56 assertEquals(BSIC, ci.getBsic()); in testDefaultConstructor()
57 assertEquals(MCC, ci.getMcc()); in testDefaultConstructor()
58 assertEquals(MNC, ci.getMnc()); in testDefaultConstructor()
59 assertEquals(MCC_STR, ci.getMccString()); in testDefaultConstructor()
60 assertEquals(MNC_STR, ci.getMncString()); in testDefaultConstructor()
[all …]
DCellIdentityWcdmaTest.java48 CellIdentityWcdma ci = in testDefaultConstructor() local
52 assertEquals(LAC, ci.getLac()); in testDefaultConstructor()
53 assertEquals(CID, ci.getCid()); in testDefaultConstructor()
54 assertEquals(PSC, ci.getPsc()); in testDefaultConstructor()
55 assertEquals(UARFCN, ci.getUarfcn()); in testDefaultConstructor()
56 assertEquals(UARFCN, ci.getChannelNumber()); in testDefaultConstructor()
57 assertEquals(MCC, ci.getMcc()); in testDefaultConstructor()
58 assertEquals(MNC, ci.getMnc()); in testDefaultConstructor()
59 assertEquals(MCC_STR, ci.getMccString()); in testDefaultConstructor()
60 assertEquals(MNC_STR, ci.getMncString()); in testDefaultConstructor()
[all …]
DCellIdentityLteTest.java51 CellIdentityLte ci = in testDefaultConstructor() local
55 assertEquals(CI, ci.getCi()); in testDefaultConstructor()
56 assertEquals(PCI, ci.getPci()); in testDefaultConstructor()
57 assertEquals(TAC, ci.getTac()); in testDefaultConstructor()
58 assertEquals(EARFCN, ci.getEarfcn()); in testDefaultConstructor()
59 assertEquals(EARFCN, ci.getChannelNumber()); in testDefaultConstructor()
60 assertEquals(BANDWIDTH, ci.getBandwidth()); in testDefaultConstructor()
61 assertEquals(MCC, ci.getMcc()); in testDefaultConstructor()
62 assertEquals(MNC, ci.getMnc()); in testDefaultConstructor()
63 assertEquals(MCC_STR, ci.getMccString()); in testDefaultConstructor()
[all …]
DCellIdentityTdscdmaTest.java56 CellIdentityTdscdma ci = in testDefaultConstructor() local
58 assertNull(ci.getMccString()); in testDefaultConstructor()
59 assertNull(ci.getMncString()); in testDefaultConstructor()
60 assertEquals(CellInfo.UNAVAILABLE, ci.getLac()); in testDefaultConstructor()
61 assertEquals(CellInfo.UNAVAILABLE, ci.getCid()); in testDefaultConstructor()
62 assertEquals(CellInfo.UNAVAILABLE, ci.getCpid()); in testDefaultConstructor()
63 assertEquals(CellInfo.UNAVAILABLE, ci.getChannelNumber()); in testDefaultConstructor()
64 assertEquals(CellInfo.UNAVAILABLE, ci.getUarfcn()); in testDefaultConstructor()
65 assertNull(ci.getOperatorAlphaLong()); in testDefaultConstructor()
66 assertNull(ci.getOperatorAlphaShort()); in testDefaultConstructor()
[all …]
DCellIdentityCdmaTest.java46 CellIdentityCdma ci = in testConstructor() local
50 assertEquals(NETWORK_ID, ci.getNetworkId()); in testConstructor()
51 assertEquals(LATITUDE, ci.getLatitude()); in testConstructor()
52 assertEquals(LONGITUDE, ci.getLongitude()); in testConstructor()
53 assertEquals(ALPHA_LONG, ci.getOperatorAlphaLong()); in testConstructor()
54 assertEquals(ALPHA_SHORT, ci.getOperatorAlphaShort()); in testConstructor()
58 assertEquals(globalCi, ci.getGlobalCellId()); in testConstructor()
63 CellIdentityCdma ci = in testNullIsland() local
67 assertEquals(Integer.MAX_VALUE, ci.getLatitude()); in testNullIsland()
68 assertEquals(Integer.MAX_VALUE, ci.getLongitude()); in testNullIsland()
[all …]
/frameworks/base/telephony/java/android/telephony/
DCellInfo.java161 protected CellInfo(CellInfo ci) { in CellInfo() argument
162 this.mRegistered = ci.mRegistered; in CellInfo()
163 this.mTimeStamp = ci.mTimeStamp; in CellInfo()
164 this.mCellConnectionStatus = ci.mCellConnectionStatus; in CellInfo()
327 protected CellInfo(android.hardware.radio.V1_0.CellInfo ci) { in CellInfo() argument
328 this.mRegistered = ci.registered; in CellInfo()
329 this.mTimeStamp = ci.timeStamp; in CellInfo()
334 protected CellInfo(android.hardware.radio.V1_2.CellInfo ci) { in CellInfo() argument
335 this.mRegistered = ci.registered; in CellInfo()
336 this.mTimeStamp = ci.timeStamp; in CellInfo()
[all …]
DCellInfoGsm.java46 public CellInfoGsm(CellInfoGsm ci) { in CellInfoGsm() argument
47 super(ci); in CellInfoGsm()
48 mCellIdentityGsm = ci.mCellIdentityGsm.copy(); in CellInfoGsm()
49 mCellSignalStrengthGsm = ci.mCellSignalStrengthGsm.copy(); in CellInfoGsm()
53 public CellInfoGsm(android.hardware.radio.V1_0.CellInfo ci) { in CellInfoGsm() argument
54 super(ci); in CellInfoGsm()
55 final android.hardware.radio.V1_0.CellInfoGsm cig = ci.gsm.get(0); in CellInfoGsm()
61 public CellInfoGsm(android.hardware.radio.V1_2.CellInfo ci) { in CellInfoGsm() argument
62 super(ci); in CellInfoGsm()
63 final android.hardware.radio.V1_2.CellInfoGsm cig = ci.gsm.get(0); in CellInfoGsm()
[all …]
DCellInfoTdscdma.java50 public CellInfoTdscdma(CellInfoTdscdma ci) { in CellInfoTdscdma() argument
51 super(ci); in CellInfoTdscdma()
52 this.mCellIdentityTdscdma = ci.mCellIdentityTdscdma.copy(); in CellInfoTdscdma()
53 this.mCellSignalStrengthTdscdma = ci.mCellSignalStrengthTdscdma.copy(); in CellInfoTdscdma()
57 public CellInfoTdscdma(android.hardware.radio.V1_0.CellInfo ci) { in CellInfoTdscdma() argument
58 super(ci); in CellInfoTdscdma()
59 final android.hardware.radio.V1_0.CellInfoTdscdma cit = ci.tdscdma.get(0); in CellInfoTdscdma()
65 public CellInfoTdscdma(android.hardware.radio.V1_2.CellInfo ci) { in CellInfoTdscdma() argument
66 super(ci); in CellInfoTdscdma()
67 final android.hardware.radio.V1_2.CellInfoTdscdma cit = ci.tdscdma.get(0); in CellInfoTdscdma()
[all …]
DCellInfoWcdma.java45 public CellInfoWcdma(CellInfoWcdma ci) { in CellInfoWcdma() argument
46 super(ci); in CellInfoWcdma()
47 this.mCellIdentityWcdma = ci.mCellIdentityWcdma.copy(); in CellInfoWcdma()
48 this.mCellSignalStrengthWcdma = ci.mCellSignalStrengthWcdma.copy(); in CellInfoWcdma()
52 public CellInfoWcdma(android.hardware.radio.V1_0.CellInfo ci) { in CellInfoWcdma() argument
53 super(ci); in CellInfoWcdma()
54 final android.hardware.radio.V1_0.CellInfoWcdma ciw = ci.wcdma.get(0); in CellInfoWcdma()
60 public CellInfoWcdma(android.hardware.radio.V1_2.CellInfo ci) { in CellInfoWcdma() argument
61 super(ci); in CellInfoWcdma()
62 final android.hardware.radio.V1_2.CellInfoWcdma ciw = ci.wcdma.get(0); in CellInfoWcdma()
[all …]
DCellInfoCdma.java48 public CellInfoCdma(CellInfoCdma ci) { in CellInfoCdma() argument
49 super(ci); in CellInfoCdma()
50 this.mCellIdentityCdma = ci.mCellIdentityCdma.copy(); in CellInfoCdma()
51 this.mCellSignalStrengthCdma = ci.mCellSignalStrengthCdma.copy(); in CellInfoCdma()
55 public CellInfoCdma(android.hardware.radio.V1_0.CellInfo ci) { in CellInfoCdma() argument
56 super(ci); in CellInfoCdma()
57 final android.hardware.radio.V1_0.CellInfoCdma cic = ci.cdma.get(0); in CellInfoCdma()
64 public CellInfoCdma(android.hardware.radio.V1_2.CellInfo ci) { in CellInfoCdma() argument
65 super(ci); in CellInfoCdma()
66 final android.hardware.radio.V1_2.CellInfoCdma cic = ci.cdma.get(0); in CellInfoCdma()
[all …]
DCellInfoLte.java51 public CellInfoLte(CellInfoLte ci) { in CellInfoLte() argument
52 super(ci); in CellInfoLte()
53 this.mCellIdentityLte = ci.mCellIdentityLte.copy(); in CellInfoLte()
54 this.mCellSignalStrengthLte = ci.mCellSignalStrengthLte.copy(); in CellInfoLte()
55 this.mCellConfig = new CellConfigLte(ci.mCellConfig); in CellInfoLte()
59 public CellInfoLte(android.hardware.radio.V1_0.CellInfo ci) { in CellInfoLte() argument
60 super(ci); in CellInfoLte()
61 final android.hardware.radio.V1_0.CellInfoLte cil = ci.lte.get(0); in CellInfoLte()
68 public CellInfoLte(android.hardware.radio.V1_2.CellInfo ci) { in CellInfoLte() argument
69 super(ci); in CellInfoLte()
[all …]
DCellIdentity.java206 public boolean isSameCell(@Nullable CellIdentity ci) { in isSameCell() argument
207 if (ci == null) return false; in isSameCell()
208 if (this.getClass() != ci.getClass()) return false; in isSameCell()
209 if (this.getGlobalCellId() == null || ci.getGlobalCellId() == null) return false; in isSameCell()
210 return TextUtils.equals(this.getGlobalCellId(), ci.getGlobalCellId()); in isSameCell()
446 public static CellIdentity create(android.hardware.radio.V1_5.CellIdentity ci) { in create() argument
447 if (ci == null) return null; in create()
448 switch (ci.getDiscriminator()) { in create()
450 return new CellIdentityGsm(ci.gsm()); in create()
452 return new CellIdentityCdma(ci.cdma()); in create()
[all …]
DCellInfoNr.java49 public CellInfoNr(android.hardware.radio.V1_4.CellInfo ci, long timeStamp) { in CellInfoNr() argument
50 super(ci, timeStamp); in CellInfoNr()
51 final android.hardware.radio.V1_4.CellInfoNr cil = ci.info.nr(); in CellInfoNr()
57 public CellInfoNr(android.hardware.radio.V1_5.CellInfo ci, long timeStamp) { in CellInfoNr() argument
58 super(ci, timeStamp); in CellInfoNr()
59 final android.hardware.radio.V1_5.CellInfoNr cil = ci.ratSpecificInfo.nr(); in CellInfoNr()
/frameworks/base/libs/hwui/tests/common/
DTestListViewSceneBase.cpp45 for (size_t ci = 0; ci < mListItems.size(); ci++) { in createContent() local
46 canvas.drawRenderNode(mListItems[ci].get()); in createContent()
62 for (size_t ci = 0; ci < mListItems.size(); ci++) { in doFrame() local
64 auto listItem = mListItems[(ci + itemIndexOffset) % mListItems.size()]; in doFrame()
65 int top = ((int)ci) * (mItemSpacing + mItemHeight) + pxOffset; in doFrame()
71 canvas->drawRenderNode(mListItems[ci].get()); in doFrame()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DWifiScanningServiceImpl.java317 ClientInfo ci = mClients.get(msg.replyTo); in handleMessage() local
318 if (ci == null) { in handleMessage()
352 logScanRequest("registerScanListener", ci, msg.arg2, null, null, null); in handleMessage()
353 mSingleScanListeners.addRequest(ci, msg.arg2, null, null); in handleMessage()
357 logScanRequest("deregisterScanListener", ci, msg.arg2, null, null, null); in handleMessage()
358 mSingleScanListeners.removeRequest(ci, msg.arg2); in handleMessage()
522 private WorkSource computeWorkSource(ClientInfo ci, WorkSource requestedWorkSource) { in computeWorkSource() argument
527 if (ci.getUid() > 0) { in computeWorkSource()
528 return new WorkSource(ci.getUid()); in computeWorkSource()
533 loge("Unable to compute workSource for client: " + ci + ", requested: " in computeWorkSource()
[all …]
/frameworks/base/libs/hwui/tests/common/scenes/
DShadowShaderAnimation.cpp46 for (size_t ci = 0; ci < cards.size(); ci++) { in doFrame() local
47 cards[ci]->mutateStagingProperties().setTranslationX(curFrame); in doFrame()
48 cards[ci]->mutateStagingProperties().setTranslationY(curFrame); in doFrame()
49 cards[ci]->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y); in doFrame()
DShadowGridAnimation.cpp46 for (size_t ci = 0; ci < cards.size(); ci++) { in doFrame() local
47 cards[ci]->mutateStagingProperties().setTranslationX(curFrame); in doFrame()
48 cards[ci]->mutateStagingProperties().setTranslationY(curFrame); in doFrame()
49 cards[ci]->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y); in doFrame()
DShadowGrid2Animation.cpp46 for (size_t ci = 0; ci < cards.size(); ci++) { in doFrame() local
47 cards[ci]->mutateStagingProperties().setTranslationX(curFrame); in doFrame()
48 cards[ci]->mutateStagingProperties().setTranslationY(curFrame); in doFrame()
49 cards[ci]->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y); in doFrame()
DSimpleGradientAnimation.cpp40 for (size_t ci = 0; ci < cards.size(); ci++) { in doFrame() local
41 cards[ci]->mutateStagingProperties().setTranslationX(curFrame); in doFrame()
42 cards[ci]->mutateStagingProperties().setTranslationY(curFrame); in doFrame()
43 cards[ci]->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y); in doFrame()
DSimpleColorMatrixAnimation.cpp43 for (size_t ci = 0; ci < cards.size(); ci++) { in doFrame() local
44 cards[ci]->mutateStagingProperties().setTranslationX(curFrame); in doFrame()
45 cards[ci]->mutateStagingProperties().setTranslationY(curFrame); in doFrame()
46 cards[ci]->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y); in doFrame()
DBitmapFillrate.cpp48 for (size_t ci = 0; ci < mNodes.size(); ci++) { in doFrame() local
49 mNodes[ci]->mutateStagingProperties().setTranslationX(frameNr % 200); in doFrame()
50 mNodes[ci]->mutateStagingProperties().setTranslationY(frameNr % 200); in doFrame()
51 mNodes[ci]->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y); in doFrame()
/frameworks/base/core/java/android/content/pm/
DResolveInfo.java216 ComponentInfo ci = getComponentInfo(); in loadLabel() local
217 ApplicationInfo ai = ci.applicationInfo; in loadLabel()
219 label = pm.getText(ci.packageName, labelRes, ai); in loadLabel()
225 CharSequence data = ci.loadLabel(pm); in loadLabel()
281 ComponentInfo ci = getComponentInfo(); in loadIcon() local
283 ApplicationInfo ai = ci.applicationInfo; in loadIcon()
284 dr = pm.getDrawable(ci.packageName, iconResourceId, ai); in loadIcon()
289 return ci.loadIcon(pm); in loadIcon()
302 final ComponentInfo ci = getComponentInfo(); in getIconResourceInternal()
303 if (ci != null) { in getIconResourceInternal()
[all …]
/frameworks/rs/tests/lldb/tests/testcases/
Dtest_language.py28 ci = self._ci
30 ci.HasCommands() and
31 ci.CommandExists('language')
/frameworks/base/core/java/android/provider/
DCallLog.java628 public static Uri addCall(CallerInfo ci, Context context, String number, in addCall() argument
632 return addCall(ci, context, number, "" /* postDialDigits */, "" /* viaNumber */, in addCall()
668 public static Uri addCall(CallerInfo ci, Context context, String number, in addCall() argument
672 return addCall(ci, context, number, postDialDigits, viaNumber, presentation, callType, in addCall()
717 public static Uri addCall(CallerInfo ci, Context context, String number, in addCall() argument
732 String name = (ci != null) ? ci.getName() : ""; in addCall()
735 if (ci != null) { in addCall()
776 if ((ci != null) && (ci.getContactId() > 0)) { in addCall()
785 if (ci.normalizedNumber != null) { in addCall()
786 final String normalizedPhoneNumber = ci.normalizedNumber; in addCall()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DNativeCrashListener.java75 CrashInfo ci = new CrashInfo(); in run() local
76 ci.exceptionClassName = "Native crash"; in run()
77 ci.exceptionMessage = Os.strsignal(mSignal); in run()
78 ci.throwFileName = "unknown"; in run()
79 ci.throwClassName = "unknown"; in run()
80 ci.throwMethodName = "unknown"; in run()
81 ci.stackTrace = mCrashReport; in run()
84 mAm.handleApplicationCrashInner("native_crash", mApp, mApp.processName, ci); in run()

1234