Home
last modified time | relevance | path

Searched refs:getDeviceId (Results 1 – 25 of 41) sorted by relevance

12

/packages/services/Mtp/tests/src/com/android/mtp/
DMtpManagerTest.java53 mManager.closeDevice(mUsbDevice.getDeviceId()); in tearDown()
69 mManager.readEvent(mUsbDevice.getDeviceId(), signal); in testCancelEvent()
108 MtpEvent event = mManager.readEvent(mUsbDevice.getDeviceId(), signal); in testEventObjectAdded()
120 if (record.deviceId == mUsbDevice.getDeviceId()) { in testCreateDocumentAndGetPartialObject()
129 mUsbDevice.getDeviceId(), storageId, MtpManager.OBJECT_HANDLE_ROOT_CHILDREN)) { in testCreateDocumentAndGetPartialObject()
130 if (mManager.getObjectInfo(mUsbDevice.getDeviceId(), handle) in testCreateDocumentAndGetPartialObject()
132 mManager.deleteDocument(mUsbDevice.getDeviceId(), handle); in testCreateDocumentAndGetPartialObject()
144 mUsbDevice.getDeviceId(), in testCreateDocumentAndGetPartialObject()
154 mUsbDevice.getDeviceId(), objectHandle, 0, 5, bytes)); in testCreateDocumentAndGetPartialObject()
157 mUsbDevice.getDeviceId(), objectHandle, 6, 100, bytes)); in testCreateDocumentAndGetPartialObject()
DTestUtil.java56 waitForStorages(instrumentation, manager, device.getDeviceId()); in setupMtpDevice()
104 manager.openDevice(device.getDeviceId()); in findMtpDevice()
/packages/apps/TV/tuner/src/com/android/tv/tuner/
DTunerHal.java66 mDeliverySystemType = nativeGetDeliverySystemType(getDeviceId()); in getDeliverySystemTypesFromDevice()
69 mDeliverySystemTypes = nativeGetDeliverySystemTypes(getDeviceId()); in getDeliverySystemTypesFromDevice()
123 nativeCloseAllPidFilters(getDeviceId()); in tuneInternal()
162 tuneStatus = nativeTune(getDeviceId(), frequency, modulation, timeout_ms); in tuneInternal()
166 tuneStatus = nativeTune(getDeviceId(), deliverySystemType, frequency, modulation, in tuneInternal()
211 nativeAddPidFilter(getDeviceId(), pid, filterType); in addPidFilter()
237 nativeCloseAllPidFilters(getDeviceId()); in stopTune()
239 nativeStopTune(getDeviceId()); in stopTune()
248 nativeSetHasPendingTune(getDeviceId(), hasPendingTune); in setHasPendingTune()
277 return nativeWriteInBuffer(getDeviceId(), javaBuffer, javaBufferSize); in readTsStream()
/packages/apps/TV/tuner/src/com/android/tv/tuner/dvb/
DDvbDeviceAccessor.java177 mId = (((long) getAdapterId()) << 32) | (getDeviceId() & 0xffffffffL); in DvbDeviceInfoWrapper()
199 public int getDeviceId() { in getDeviceId() method in DvbDeviceAccessor.DvbDeviceInfoWrapper
223 return getDeviceId() - another.getDeviceId(); in compareTo()
232 getDeviceId()); in toString()
DDvbTunerHal.java130 public long getDeviceId() { in getDeviceId() method in DvbTunerHal
188 signalStrength = nativeGetSignalStrength(getDeviceId()); in getSignalStrength()
/packages/apps/TV/tuner/src/com/android/tv/tuner/hdhomerun/
DHdHomeRunDevice.java90 public int getDeviceId() { in getDeviceId() method in HdHomeRunDevice
145 hash = hash * 31 + getDeviceId(); in hashCode()
159 && getDeviceId() == rhs.getDeviceId() in equals()
DHdHomeRunTunerManager.java71 if (!mUsedDevices.contains(device) && scannedDeviceId == device.getDeviceId()) { in acquireDevice()
73 device.getDeviceId(), device.getIpAddress(), device.getTunerIndex())) { in acquireDevice()
86 device.getDeviceId(), device.getIpAddress(), device.getTunerIndex())) { in acquireDevice()
115 sp.edit().putInt(PREF_KEY_SCANNED_DEVICE_ID, device.getDeviceId()).apply(); in markAsScannedDevice()
DHdHomeRunTunerHal.java68 mDeliverySystemType = nativeGetDeliverySystemType(getDeviceId()); in openFirstAvailable()
89 public long getDeviceId() { in getDeviceId() method in HdHomeRunTunerHal
90 return mDevice == null ? 0 : mDevice.getDeviceId(); in getDeviceId()
DHdHomeRunInterface.java113 deviceId = controlSock.getDeviceId(); in isDeviceAvailable()
/packages/services/Mtp/src/com/android/mtp/
DMtpManager.java80 if (candidate.getDeviceId() == deviceId) { in openDevice()
264 roots.add(new MtpRoot(device.getDeviceId(), info)); in getRoots()
271 final MtpDevice mtpDevice = mDevices.get(device.getDeviceId()); in setInitVersion()
293 final MtpDevice mtpDevice = mDevices.get(device.getDeviceId()); in createDeviceRecord()
303 roots = getRoots(device.getDeviceId()); in createDeviceRecord()
320 device.getDeviceId(), name, device.getSerialNumber(), opened, roots, in createDeviceRecord()
DReceiverActivity.java44 provider.openDevice(device.getDeviceId()); in onCreate()
45 final String deviceRootId = provider.getDeviceDocumentId(device.getDeviceId()); in onCreate()
DUsbIntentReceiver.java38 MtpDocumentsProvider.getInstance().closeDevice(device.getDeviceId()); in onReceive()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DSystemInfoTest.java66 assertEquals(imei, mSystemInfo.getDeviceId()); in getDeviceIdWithImei()
77 assertEquals(meid, mSystemInfo.getDeviceId()); in getDeviceIdWithMeid()
88 assertEquals(SystemInfo.UNKNOWN_INFO, mSystemInfo.getDeviceId()); in getDeviceIdWithoutSim()
/packages/apps/Contacts/src/com/android/contacts/compat/
DTelephonyManagerCompat.java86 public static String getDeviceId(@Nullable TelephonyManager telephonyManager, int slotId) { in getDeviceId() method in TelephonyManagerCompat
93 return telephonyManager.getDeviceId(slotId); in getDeviceId()
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
DUsbHostController.java329 if (mLastDeviceId == device.getDeviceId()) { in onFailure()
346 mLastDeviceId = device.getDeviceId(); in handleMessage()
/packages/apps/Car/libs/car-messenger-common/src/com/android/car/messenger/common/
DMessageKey.java27 super(message.getDeviceId(), message.getHandle()); in MessageKey()
DSenderKey.java52 return new SenderKey(convoKey.getDeviceId(), person.getName(), convoKey.getSubKey()); in createSenderKey()
DCompositeKey.java72 public String getDeviceId() { in getDeviceId() method in CompositeKey
DConversationKey.java58 dest.writeString(getDeviceId()); in writeToParcel()
/packages/apps/Car/DebuggingRestrictionController/app/src/main/java/com/android/car/debuggingrestrictioncontroller/auth/
DTokenPayload.java38 public String getDeviceId() { in getDeviceId() method in TokenPayload
/packages/apps/TV/tuner/tests/unittests/javatests/com/android/tv/tuner/
DFakeTunerHal.java40 public long getDeviceId() { in getDeviceId() method in FakeTunerHal
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/omadm/
DDevInfoMoTest.java46 when(systemInfo.getDeviceId()).thenReturn(TEST_DEV_ID); in serializeDevInfo()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DSystemInfo.java100 public String getDeviceId() { in getDeviceId() method in SystemInfo
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/omadm/
DDevInfoMo.java72 moSerializer.createNodeForValue(doc, TAG_DEVID, systemInfo.getDeviceId())); in serializeToXml()
/packages/apps/TV/tuner/src/com/android/tv/tuner/api/
DTuner.java68 long getDeviceId(); in getDeviceId() method

12