Home
last modified time | relevance | path

Searched refs:mNativeCallback (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/vc/
DVolumeControlNativeCallbackTest.java58 private VolumeControlNativeCallback mNativeCallback; field in VolumeControlNativeCallbackTest
64 mNativeCallback = new VolumeControlNativeCallback(mAdapterService, mService); in setUp()
71 mNativeCallback.onConnectionStateChanged(state, null); in onConnectionStateChanged()
86 mNativeCallback.onVolumeStateChanged(volume, mute, flags, null, isAutonomous); in onVolumeStateChanged()
100 mNativeCallback.onGroupVolumeStateChanged(volume, mute, groupId, isAutonomous); in onGroupVolumeStateChanged()
116 mNativeCallback.onDeviceAvailable(numOfExternalOutputs, numOfExternalInputs, null); in onDeviceAvailable()
128 mNativeCallback.onExtAudioOutVolumeOffsetChanged(externalOutputId, offset, null); in onExtAudioOutVolumeOffsetChanged()
140 mNativeCallback.onExtAudioOutLocationChanged(externalOutputId, location, null); in onExtAudioOutLocationChanged()
152 mNativeCallback.onExtAudioOutDescriptionChanged(externalOutputId, descr, null); in onExtAudioOutDescriptionChanged()
166 mNativeCallback.onExtAudioInStateChanged(id, gainSetting, mute, gainMode, null); in onExtAudioInStateChanged()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hap/
DHapClientNativeCallbackTest.java47 private HapClientNativeCallback mNativeCallback; field in HapClientNativeCallbackTest
51 mNativeCallback = new HapClientNativeCallback(mAdapterService, mHapClientService); in setUp()
57 mNativeCallback.onConnectionStateChanged(state, null); in onConnectionStateChanged()
68 mNativeCallback.onDeviceAvailable(null, features); in onDeviceAvailable()
79 mNativeCallback.onFeaturesUpdate(null, features); in onFeaturesUpdate()
90 mNativeCallback.onActivePresetSelected(null, presetIndex); in onActivePresetSelected()
102 mNativeCallback.onActivePresetGroupSelected(groupId, presetIndex); in onActivePresetGroupSelected()
114 mNativeCallback.onActivePresetSelectError(null, resultCode); in onActivePresetSelectError()
127 mNativeCallback.onActivePresetGroupSelectError(groupId, resultCode); in onActivePresetGroupSelectError()
146 mNativeCallback.onPresetInfo(null, infoReason, presets); in onPresetInfo()
[all …]
DHapClientServiceTest.java114 private HapClientNativeCallback mNativeCallback; field in HapClientServiceTest
169 mNativeCallback = new HapClientNativeCallback(mAdapterService, mService); in setUp()
287 mNativeCallback.onFeaturesUpdate(getByteAddress(mDevice), 0x04); in testGetHapGroupCoordinatedOps()
288 mNativeCallback.onFeaturesUpdate(getByteAddress(mDevice3), 0x04); in testGetHapGroupCoordinatedOps()
294 mNativeCallback.onFeaturesUpdate(getByteAddress(mDevice2), 0); in testGetHapGroupCoordinatedOps()
325 mNativeCallback.onFeaturesUpdate(getByteAddress(mDevice3), flags); in testGroupSelectActivePresetNative()
350 mNativeCallback.onFeaturesUpdate(getByteAddress(mDevice3), flags); in testSwitchToNextPresetForGroup()
372 mNativeCallback.onFeaturesUpdate(getByteAddress(mDevice), flags); in testSwitchToPreviousPresetForGroup()
435 mNativeCallback.onFeaturesUpdate(getByteAddress(mDevice), flags); in testSetPresetNameForGroup()
457 mNativeCallback.onDeviceAvailable(getByteAddress(mDevice), features); in testStackEventDeviceAvailable()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/csip/
DCsipSetCoordinatorServiceTest.java105 private final CsipSetCoordinatorNativeInterface mNativeCallback = field in CsipSetCoordinatorServiceTest
200 mNativeCallback.onDeviceAvailable( in testGroupLockSetNative()
209 mNativeCallback.onGroupLockChanged( in testGroupLockSetNative()
218 mNativeCallback.onGroupLockChanged( in testGroupLockSetNative()
234 mNativeCallback.onDeviceAvailable( in testGroupExclusiveLockSet()
291 mNativeCallback.onDeviceAvailable( in deviceAvailable_withDifferentRank_areOrdered()
302 mNativeCallback.onDeviceAvailable( in deviceAvailable_withDifferentRank_areOrdered()
312 mNativeCallback.onDeviceAvailable( in deviceAvailable_withDifferentRank_areOrdered()
334 mNativeCallback.onDeviceAvailable( in nativeCallback_afterGroupConnected_generateIntent()
337 mNativeCallback.onConnectionStateChanged(getByteAddress(mDevice), STATE_CONNECTED); in nativeCallback_afterGroupConnected_generateIntent()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/a2dp/
DA2dpNativeInterface.java42 @Native private final A2dpNativeCallback mNativeCallback; field in A2dpNativeInterface
48 mNativeCallback = requireNonNull(nativeCallback); in A2dpNativeInterface()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/vc/
DVolumeControlNativeInterface.java32 @Native private final VolumeControlNativeCallback mNativeCallback; field in VolumeControlNativeInterface
35 mNativeCallback = requireNonNull(nativeCallback); in VolumeControlNativeInterface()
/packages/modules/Bluetooth/android/app/jni/
Dcom_android_bluetooth_a2dp.cpp41 jfieldID mNativeCallback; member
291 object, android_bluetooth_A2dpNativeInterface.mNativeCallback))) == nullptr) { in initNative()
508 android_bluetooth_A2dpNativeInterface.mNativeCallback = in register_com_android_bluetooth_a2dp()