Home
last modified time | relevance | path

Searched refs:serialNo (Results 1 – 5 of 5) sorted by relevance

/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/targetprep/
DCecPortDiscoverer.java90 String serialNo = ""; in initValidClient() local
111 serialNo = device.getProperty("ro.serialno"); in initValidClient()
112 String serialNoHashCode = String.valueOf(serialNo.hashCode()); in initValidClient()
152 writeMapping(port, serialNo); in initValidClient()
184 + serialNo in initValidClient()
193 + serialNo in initValidClient()
197 throw new TargetSetupError("Device " + serialNo + " not connected to any adapter!"); in initValidClient()
205 private void writeMapping(String port, String serialNo) throws TargetSetupError { in writeMapping() argument
206 mDeviceEntry = new File(mCecMapDir, serialNo); in writeMapping()
213 adapter.write(serialNo); in writeMapping()
/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/users/
DUserTest.java64 assertThat(user.serialNo()).isEqualTo(SERIAL_NO); in serialNo_returnsSerialNo()
72 assertThat(user.serialNo()).isNull(); in serialNo_notSet_returnsNull()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/users/
DUser.java81 public Integer serialNo() { in serialNo() method in User
/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/
DHdmiCecClientWrapper.java99 String serialNo = device.getProperty("ro.serialno"); in initValidCecClient() local
100 File mDeviceEntry = new File(HdmiCecConstants.CEC_MAP_FOLDER, serialNo); in initValidCecClient()
/cts/hostsidetests/devicepolicy/app/LauncherTests/src/com/android/cts/launchertests/
DLauncherAppsTests.java432 int serialNo = Integer.parseInt(serial); in getUserHandleArgument() local
433 return mUserManager.getUserForSerialNumber(serialNo); in getUserHandleArgument()