Home
last modified time | relevance | path

Searched refs:allCellInfo (Results 1 – 2 of 2) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowTelephonyManager.java69 private List<CellInfo> allCellInfo = Collections.emptyList(); field in ShadowTelephonyManager
354 return allCellInfo; in getAllCellInfo()
357 public void setAllCellInfo(List<CellInfo> allCellInfo) { in setAllCellInfo() argument
358 this.allCellInfo = allCellInfo; in setAllCellInfo()
362 listener.onCellInfoChanged(allCellInfo); in setAllCellInfo()
395 listener.onCellInfoChanged(allCellInfo); in initListener()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowTelephonyManagerTest.java148 List<CellInfo> allCellInfo = Collections.singletonList(mock(CellInfo.class)); in shouldGiveAllCellInfo() local
149 shadowTelephonyManager.setAllCellInfo(allCellInfo); in shouldGiveAllCellInfo()
150 assertEquals(allCellInfo, telephonyManager.getAllCellInfo()); in shouldGiveAllCellInfo()
151 verify(listener).onCellInfoChanged(allCellInfo); in shouldGiveAllCellInfo()