Home
last modified time | relevance | path

Searched refs:deviceInfo (Results 1 – 24 of 24) sorted by relevance

/packages/apps/TV/tuner/src/com/android/tv/tuner/dvb/
DDvbTunerHal.java57 for (DvbDeviceInfoWrapper deviceInfo : deviceInfoList) { in openFirstAvailable()
58 if (!sUsedDvbDevices.contains(deviceInfo)) { in openFirstAvailable()
59 if (DEBUG) Log.d(TAG, "Available device info: " + deviceInfo); in openFirstAvailable()
60 mDvbDeviceInfo = deviceInfo; in openFirstAvailable()
61 sUsedDvbDevices.add(deviceInfo); in openFirstAvailable()
78 protected boolean open(DvbDeviceInfoWrapper deviceInfo) { in open() argument
79 if (deviceInfo == null) { in open()
93 if (deviceInfoWrapper.compareTo(deviceInfo) == 0) { in open()
95 if (sUsedDvbDevices.contains(deviceInfo)) { in open()
96 Log.e(TAG, deviceInfo + " is already taken"); in open()
[all …]
DDvbDeviceAccessor.java120 DvbDeviceInfoWrapper deviceInfo, @DvbDevice int device) { in openDvbDevice() argument
126 mTvInputManager, deviceInfo.getDvbDeviceInfo(), device); in openDvbDevice()
/packages/modules/NeuralNetworks/shim_and_sl/
DNeuralNetworksShim.cpp72 int ANeuralNetworksShimDeviceInfo_create(ANeuralNetworksShimDeviceInfo** deviceInfo, in ANeuralNetworksShimDeviceInfo_create() argument
74 if (deviceInfo != nullptr) { in ANeuralNetworksShimDeviceInfo_create()
75 *deviceInfo = nullptr; in ANeuralNetworksShimDeviceInfo_create()
91 *deviceInfo = reinterpret_cast<ANeuralNetworksShimDeviceInfo*>(result); in ANeuralNetworksShimDeviceInfo_create()
95 void ANeuralNetworksShimDeviceInfo_free(ANeuralNetworksShimDeviceInfo* deviceInfo) { in ANeuralNetworksShimDeviceInfo_free() argument
96 delete reinterpret_cast<ShimDeviceInfo*>(deviceInfo); in ANeuralNetworksShimDeviceInfo_free()
134 const ANeuralNetworksShimDeviceInfo* deviceInfo) { in ANeuralNetworksShimRegistrationParams_addDeviceInfo() argument
139 if (deviceInfo == nullptr) { in ANeuralNetworksShimRegistrationParams_addDeviceInfo()
145 auto info = reinterpret_cast<const ShimDeviceInfo*>(deviceInfo); in ANeuralNetworksShimRegistrationParams_addDeviceInfo()
/packages/apps/RemoteProvisioner/src/com/android/remoteprovisioner/
DProvisioner.java69 DeviceInfo deviceInfo = new DeviceInfo(); in provisionCerts() local
73 challenge, protectedData, deviceInfo, binder); in provisionCerts()
75 || deviceInfo.deviceInfo == null) { in provisionCerts()
80 CborUtils.buildCertificateRequest(deviceInfo.deviceInfo, in provisionCerts()
DSystemInterface.java72 byte[] geekChain, byte[] challenge, ProtectedData protectedData, DeviceInfo deviceInfo, in generateCsr() argument
82 deviceInfo); in generateCsr()
DCborUtils.java266 public static byte[] buildCertificateRequest(byte[] deviceInfo, byte[] challenge, in buildCertificateRequest() argument
292 bais = new ByteArrayInputStream(deviceInfo); in buildCertificateRequest()
/packages/modules/NeuralNetworks/driver/sample_shim/
DShimServiceSample.cpp33 ANeuralNetworksShimDeviceInfo* deviceInfo; in main() local
34 ANeuralNetworksShimDeviceInfo_create(&deviceInfo, in main()
38 [deviceInfo] { ANeuralNetworksShimDeviceInfo_free(deviceInfo); }); in main()
44 ANeuralNetworksShimRegistrationParams_addDeviceInfo(params, deviceInfo); in main()
DShellServiceSample.cpp102 ANeuralNetworksShimDeviceInfo* deviceInfo; in registerDevices() local
103 ANeuralNetworksShimDeviceInfo_create(&deviceInfo, device.driverName.c_str(), in registerDevices()
106 [deviceInfo] { ANeuralNetworksShimDeviceInfo_free(deviceInfo); }); in registerDevices()
108 ANeuralNetworksShimRegistrationParams_addDeviceInfo(params, deviceInfo); in registerDevices()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DActiveDeviceManager.java332 private boolean isWiredAudioHeadset(AudioDeviceInfo deviceInfo) { in isWiredAudioHeadset() argument
333 switch (deviceInfo.getType()) { in isWiredAudioHeadset()
350 for (AudioDeviceInfo deviceInfo : addedDevices) { in onAudioDevicesAdded()
352 Log.d(TAG, "Audio device added: " + deviceInfo.getProductName() + " type: " in onAudioDevicesAdded()
353 + deviceInfo.getType()); in onAudioDevicesAdded()
355 if (isWiredAudioHeadset(deviceInfo)) { in onAudioDevicesAdded()
/packages/modules/NeuralNetworks/shim_and_sl/public/
DNeuralNetworksShim.h106 ANeuralNetworksShimDeviceInfo* _Nullable* _Nonnull deviceInfo,
117 void ANeuralNetworksShimDeviceInfo_free(ANeuralNetworksShimDeviceInfo* _Nonnull deviceInfo)
160 const ANeuralNetworksShimDeviceInfo* _Nonnull deviceInfo) __INTRODUCED_IN(31);
/packages/apps/RemoteProvisioner/tests/unittests/src/com/android/remoteprovisioner/unittest/
DSystemInterfaceTest.java118 DeviceInfo deviceInfo = new DeviceInfo(); in testGenerateCSR() local
126 new byte[] {0x02}, encryptedBundle, deviceInfo, mBinder); in testGenerateCSR()
154 DeviceInfo deviceInfo = new DeviceInfo(); in testGenerateCSRProvisionAndUseKey() local
166 new byte[] {0x02}, encryptedBundle, deviceInfo, mBinder); in testGenerateCSRProvisionAndUseKey()
278 DeviceInfo deviceInfo = new DeviceInfo(); in testDecryptProtectedPayload() local
288 new byte[] {0x02}, encryptedBundle, deviceInfo, mBinder); in testDecryptProtectedPayload()
DCborUtilsTest.java352 byte[] deviceInfo = mBaos.toByteArray(); in testCreateCertificateRequest()
375 CborUtils.buildCertificateRequest(deviceInfo, in testCreateCertificateRequest()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/
DIngestService.java127 MtpDeviceInfo deviceInfo = mDevice.getDeviceInfo(); in setDevice() local
128 if (deviceInfo == null) { in setDevice()
132 mDevicePrettyName = deviceInfo.getModel(); in setDevice()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DDppManager.java410 IBinder binder, @Nullable String deviceInfo, in startDppAsEnrolleeResponder() argument
446 logd("Interface " + mClientIfaceName + " Product Info: " + deviceInfo in startDppAsEnrolleeResponder()
449 String info = deviceInfo == null ? "" : deviceInfo; in startDppAsEnrolleeResponder()
454 mWifiNative.generateDppBootstrapInfoForResponder(mClientIfaceName, deviceInfo, in startDppAsEnrolleeResponder()
DBaseWifiService.java616 public void startDppAsEnrolleeResponder(IBinder binder, String deviceInfo, in startDppAsEnrolleeResponder() argument
DWifiServiceImpl.java4687 public void startDppAsEnrolleeResponder(IBinder binder, @Nullable String deviceInfo,
4706 if (deviceInfo != null) {
4707 int deviceInfoLen = deviceInfo.length();
4715 c = deviceInfo.charAt(i);
4730 binder, deviceInfo, curve, callback)));
DWifiNative.java2874 String deviceInfo, int dppCurve) {
2876 getMacAddress(ifaceName), deviceInfo, dppCurve);
DSupplicantStaIfaceHal.java3554 @NonNull String ifaceName, String macAddress, @NonNull String deviceInfo, in generateDppBootstrapInfoForResponder() argument
3579 NativeUtil.macAddressToByteArray(macAddress), deviceInfo, dppCurve, in generateDppBootstrapInfoForResponder() local
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetStateMachine.java1919 String[] deviceInfo = ((String) args[0]).split("-"); in processAtXapl() local
1920 if (deviceInfo.length != 3) { in processAtXapl()
1921 Log.w(TAG, "processAtXapl() deviceInfo length " + deviceInfo.length + " is wrong"); in processAtXapl()
1924 String vendorId = deviceInfo[0]; in processAtXapl()
1925 String productId = deviceInfo[1]; in processAtXapl()
1926 String version = deviceInfo[2]; in processAtXapl()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DAudioTestFragment.java748 AudioDeviceInfo deviceInfo = mCarAudioManager in setUpDeviceAddressPlayer() local
751 carAudioZoneDeviceInfo.mDeviceInfo = deviceInfo; in setUpDeviceAddressPlayer()
/packages/modules/Wifi/framework/java/android/net/wifi/
DIWifiManager.aidl269 void startDppAsEnrolleeResponder(in IBinder binder, in String deviceInfo, int curve, in startDppAsEnrolleeResponder() argument
DWifiManager.java6860 public void startEasyConnectAsEnrolleeResponder(@Nullable String deviceInfo, in startEasyConnectAsEnrolleeResponder() argument
6866 mService.startDppAsEnrolleeResponder(binder, deviceInfo, curve, in startEasyConnectAsEnrolleeResponder()
/packages/services/Car/car-lib/api/
Dsystem-lint-baseline.txt562 Missing nullability on parameter `deviceInfo` in method `deserialize`
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java6460 String deviceInfo = sb.toString(); in testStartDppAsEnrolleeResponderThrowsIllegalArgumentExceptionOnDeviceInfoMaxLen() local
6461 mWifiServiceImpl.startDppAsEnrolleeResponder(mAppBinder, deviceInfo, in testStartDppAsEnrolleeResponderThrowsIllegalArgumentExceptionOnDeviceInfoMaxLen()