Home
last modified time | relevance | path

Searched refs:mAttributionSource (Results 1 – 25 of 45) sorted by relevance

12

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaInserterTest.java51 private AttributionSource mAttributionSource; field in MediaInserterTest
98 mAttributionSource = attributionContext.getAttributionSource(); in setUp()
152 verify(mMockProvider, never()).bulkInsert(eq(mAttributionSource), any(), in testInsertContentsLessThanBufferSize()
158 when(mMockProvider.bulkInsert(eq(mAttributionSource), any(), in testInsertContentsEqualToBufferSize()
166 verify(mMockProvider, times(4)).bulkInsert(eq(mAttributionSource), any(), in testInsertContentsEqualToBufferSize()
172 when(mMockProvider.bulkInsert(eq(mAttributionSource), any(), in testInsertContentsMoreThanBufferSize()
180 verify(mMockProvider, times(4)).bulkInsert(eq(mAttributionSource), any(), in testInsertContentsMoreThanBufferSize()
191 when(mMockProvider.bulkInsert(eq(mAttributionSource), any(), in testFlushAllWithSomeContents()
200 verify(mMockProvider, times(4)).bulkInsert(eq(mAttributionSource), any(), in testFlushAllWithSomeContents()
206 when(mMockProvider.bulkInsert(eq(mAttributionSource), any(), in testInsertContentsAfterFlushAll()
[all …]
/frameworks/base/core/java/android/bluetooth/
DBluetoothHidDevice.java342 private final AttributionSource mAttributionSource; field in BluetoothHidDevice.CallbackWrapper
347 mAttributionSource = attributionSource; in CallbackWrapper()
352 Attributable.setAttributionSource(pluggedDevice, mAttributionSource); in onAppStatusChanged()
363 Attributable.setAttributionSource(device, mAttributionSource); in onConnectionStateChanged()
374 Attributable.setAttributionSource(device, mAttributionSource); in onGetReport()
385 Attributable.setAttributionSource(device, mAttributionSource); in onSetReport()
396 Attributable.setAttributionSource(device, mAttributionSource); in onSetProtocol()
407 Attributable.setAttributionSource(device, mAttributionSource); in onInterruptData()
418 Attributable.setAttributionSource(device, mAttributionSource); in onVirtualCableUnplug()
429 private final AttributionSource mAttributionSource; field in BluetoothHidDevice
[all …]
DBluetoothHeadsetClient.java430 private final AttributionSource mAttributionSource; field in BluetoothHeadsetClient
446 mAttributionSource = adapter.getAttributionSource(); in BluetoothHeadsetClient()
487 return service.connect(device, mAttributionSource); in connect()
515 return service.disconnect(device, mAttributionSource); in disconnect()
540 service.getConnectedDevices(mAttributionSource), mAttributionSource); in getConnectedDevices()
567 service.getDevicesMatchingConnectionStates(states, mAttributionSource), in getDevicesMatchingConnectionStates()
568 mAttributionSource); in getDevicesMatchingConnectionStates()
593 return service.getConnectionState(device, mAttributionSource); in getConnectionState()
646 return service.setConnectionPolicy(device, connectionPolicy, mAttributionSource); in setConnectionPolicy()
694 return service.getConnectionPolicy(device, mAttributionSource); in getConnectionPolicy()
[all …]
DBluetoothSap.java102 private final AttributionSource mAttributionSource; field in BluetoothSap
119 mAttributionSource = adapter.getAttributionSource(); in BluetoothSap()
161 return service.getState(mAttributionSource); in getState()
187 service.getClient(mAttributionSource), mAttributionSource); in getClient()
212 return service.isConnected(device, mAttributionSource); in isConnected()
250 return service.disconnect(device, mAttributionSource); in disconnect()
274 service.getConnectedDevices(mAttributionSource), mAttributionSource); in getConnectedDevices()
298 service.getDevicesMatchingConnectionStates(states, mAttributionSource), in getDevicesMatchingConnectionStates()
299 mAttributionSource); in getDevicesMatchingConnectionStates()
322 return service.getConnectionState(device, mAttributionSource); in getConnectionState()
[all …]
DBluetoothLeAudio.java107 private final AttributionSource mAttributionSource; field in BluetoothLeAudio
124 mAttributionSource = adapter.getAttributionSource(); in BluetoothLeAudio()
170 return service.connect(device, mAttributionSource); in connect()
210 return service.disconnect(device, mAttributionSource); in disconnect()
232 service.getConnectedDevices(mAttributionSource), mAttributionSource); in getConnectedDevices()
255 service.getDevicesMatchingConnectionStates(states, mAttributionSource), in getDevicesMatchingConnectionStates()
256 mAttributionSource); in getDevicesMatchingConnectionStates()
279 return service.getConnectionState(device, mAttributionSource); in getConnectionState()
317 service.setActiveDevice(device, mAttributionSource); in setActiveDevice()
344 service.getActiveDevices(mAttributionSource), mAttributionSource); in getActiveDevices()
[all …]
DBluetoothHearingAid.java136 private final AttributionSource mAttributionSource; field in BluetoothHearingAid
153 mAttributionSource = adapter.getAttributionSource(); in BluetoothHearingAid()
189 return service.connect(device, mAttributionSource); in connect()
231 return service.disconnect(device, mAttributionSource); in disconnect()
253 service.getConnectedDevices(mAttributionSource), mAttributionSource); in getConnectedDevices()
276 service.getDevicesMatchingConnectionStates(states, mAttributionSource), in getDevicesMatchingConnectionStates()
277 mAttributionSource); in getDevicesMatchingConnectionStates()
300 return service.getConnectionState(device, mAttributionSource); in getConnectionState()
339 service.setActiveDevice(device, mAttributionSource); in setActiveDevice()
368 service.getActiveDevices(mAttributionSource), mAttributionSource); in getActiveDevices()
[all …]
DBluetoothAvrcpController.java92 private final AttributionSource mAttributionSource; field in BluetoothAvrcpController
110 mAttributionSource = adapter.getAttributionSource(); in BluetoothAvrcpController()
140 service.getConnectedDevices(mAttributionSource), mAttributionSource); in getConnectedDevices()
163 service.getDevicesMatchingConnectionStates(states, mAttributionSource), in getDevicesMatchingConnectionStates()
164 mAttributionSource); in getDevicesMatchingConnectionStates()
186 return service.getConnectionState(device, mAttributionSource); in getConnectionState()
210 settings = service.getPlayerSettings(device, mAttributionSource); in getPlayerSettings()
231 return service.setPlayerApplicationSetting(plAppSetting, mAttributionSource); in setPlayerApplicationSetting()
254 service.sendGroupNavigationCmd(device, keyCode, keyState, mAttributionSource); in sendGroupNavigationCmd()
DBluetoothMap.java85 private final AttributionSource mAttributionSource; field in BluetoothMap
102 mAttributionSource = adapter.getAttributionSource(); in BluetoothMap()
148 return service.getState(mAttributionSource); in getState()
175 service.getClient(mAttributionSource), mAttributionSource); in getClient()
200 return service.isConnected(device, mAttributionSource); in isConnected()
239 return service.disconnect(device, mAttributionSource); in disconnect()
291 service.getConnectedDevices(mAttributionSource), mAttributionSource); in getConnectedDevices()
316 service.getDevicesMatchingConnectionStates(states, mAttributionSource), in getDevicesMatchingConnectionStates()
317 mAttributionSource); in getDevicesMatchingConnectionStates()
341 return service.getConnectionState(device, mAttributionSource); in getConnectionState()
[all …]
DBluetoothHidHost.java242 private final AttributionSource mAttributionSource; field in BluetoothHidHost
259 mAttributionSource = adapter.getAttributionSource(); in BluetoothHidHost()
298 return service.connect(device, mAttributionSource); in connect()
340 return service.disconnect(device, mAttributionSource); in disconnect()
365 service.getConnectedDevices(mAttributionSource), mAttributionSource); in getConnectedDevices()
389 service.getDevicesMatchingConnectionStates(states, mAttributionSource), in getDevicesMatchingConnectionStates()
390 mAttributionSource); in getDevicesMatchingConnectionStates()
417 return service.getConnectionState(device, mAttributionSource); in getConnectionState()
479 return service.setConnectionPolicy(device, connectionPolicy, mAttributionSource); in setConnectionPolicy()
534 return service.getConnectionPolicy(device, mAttributionSource); in getConnectionPolicy()
[all …]
DBluetoothPbapClient.java63 private final AttributionSource mAttributionSource; field in BluetoothPbapClient
81 mAttributionSource = adapter.getAttributionSource(); in BluetoothPbapClient()
130 return service.connect(device, mAttributionSource); in connect()
162 service.disconnect(device, mAttributionSource); in disconnect()
192 service.getConnectedDevices(mAttributionSource), mAttributionSource); in getConnectedDevices()
220 service.getDevicesMatchingConnectionStates(states, mAttributionSource), in getDevicesMatchingConnectionStates()
221 mAttributionSource); in getDevicesMatchingConnectionStates()
248 return service.getConnectionState(device, mAttributionSource); in getConnectionState()
322 return service.setConnectionPolicy(device, connectionPolicy, mAttributionSource); in setConnectionPolicy()
377 return service.getConnectionPolicy(device, mAttributionSource); in getConnectionPolicy()
DBluetoothPan.java187 private final AttributionSource mAttributionSource; field in BluetoothPan
208 mAttributionSource = adapter.getAttributionSource(); in BluetoothPan()
256 return service.connect(device, mAttributionSource); in connect()
296 return service.disconnect(device, mAttributionSource); in disconnect()
335 return service.setConnectionPolicy(device, connectionPolicy, mAttributionSource); in setConnectionPolicy()
362 service.getConnectedDevices(mAttributionSource), mAttributionSource); in getConnectedDevices()
389 service.getDevicesMatchingConnectionStates(states, mAttributionSource), in getDevicesMatchingConnectionStates()
390 mAttributionSource); in getDevicesMatchingConnectionStates()
416 return service.getConnectionState(device, mAttributionSource); in getConnectionState()
445 service.setBluetoothTethering(value, mAttributionSource); in setBluetoothTethering()
[all …]
DBluetoothA2dpSink.java84 private final AttributionSource mAttributionSource; field in BluetoothA2dpSink
101 mAttributionSource = adapter.getAttributionSource(); in BluetoothA2dpSink()
146 return service.connect(device, mAttributionSource); in connect()
187 return service.disconnect(device, mAttributionSource); in disconnect()
211 service.getConnectedDevices(mAttributionSource), mAttributionSource); in getConnectedDevices()
235 service.getDevicesMatchingConnectionStates(states, mAttributionSource), in getDevicesMatchingConnectionStates()
236 mAttributionSource); in getDevicesMatchingConnectionStates()
259 return service.getConnectionState(device, mAttributionSource); in getConnectionState()
288 return service.getAudioConfig(device, mAttributionSource); in getAudioConfig()
347 return service.setConnectionPolicy(device, connectionPolicy, mAttributionSource); in setConnectionPolicy()
[all …]
DBluetoothHeadset.java349 private final AttributionSource mAttributionSource; field in BluetoothHeadset
371 mAttributionSource = adapter.getAttributionSource(); in BluetoothHeadset()
549 service.getConnectedDevicesWithAttribution(mAttributionSource), in getConnectedDevices()
550 mAttributionSource); in getConnectedDevices()
572 service.getDevicesMatchingConnectionStates(states, mAttributionSource), in getDevicesMatchingConnectionStates()
573 mAttributionSource); in getDevicesMatchingConnectionStates()
637 mAttributionSource); in setPriority()
676 return service.setConnectionPolicy(device, connectionPolicy, mAttributionSource); in setConnectionPolicy()
707 service.getPriority(device, mAttributionSource)); in getPriority()
739 return service.getConnectionPolicy(device, mAttributionSource); in getConnectionPolicy()
[all …]
DBluetoothMapClient.java178 private final AttributionSource mAttributionSource; field in BluetoothMapClient
195 mAttributionSource = adapter.getAttributionSource(); in BluetoothMapClient()
227 return service.isConnected(device, mAttributionSource); in isConnected()
254 return service.connect(device, mAttributionSource); in connect()
283 return service.disconnect(device, mAttributionSource); in disconnect()
307 service.getConnectedDevices(mAttributionSource), mAttributionSource); in getConnectedDevices()
332 service.getDevicesMatchingConnectionStates(states, mAttributionSource), in getDevicesMatchingConnectionStates()
333 mAttributionSource); in getDevicesMatchingConnectionStates()
357 return service.getConnectionState(device, mAttributionSource); in getConnectionState()
415 return service.setConnectionPolicy(device, connectionPolicy, mAttributionSource); in setConnectionPolicy()
[all …]
DBluetoothA2dp.java270 private final AttributionSource mAttributionSource; field in BluetoothA2dp
287 mAttributionSource = adapter.getAttributionSource(); in BluetoothA2dp()
394 service.getConnectedDevicesWithAttribution(mAttributionSource), in getConnectedDevices()
395 mAttributionSource); in getConnectedDevices()
418 mAttributionSource), in getDevicesMatchingConnectionStates()
419 mAttributionSource); in getDevicesMatchingConnectionStates()
480 return service.setActiveDevice(device, mAttributionSource); in setActiveDevice()
508 service.getActiveDevice(mAttributionSource), mAttributionSource); in getActiveDevice()
568 return service.setConnectionPolicy(device, connectionPolicy, mAttributionSource); in setConnectionPolicy()
599 service.getPriority(device, mAttributionSource)); in getPriority()
[all …]
DBluetoothDevice.java1109 private AttributionSource mAttributionSource; field in BluetoothDevice
1170 mAttributionSource = BluetoothManager.resolveAttributionSource(null); in BluetoothDevice()
1175 mAttributionSource = attributionSource; in setAttributionSource()
1273 String name = service.getRemoteName(this, mAttributionSource); in getName()
1304 return service.getRemoteType(this, mAttributionSource); in getType()
1328 String alias = service.getRemoteAliasWithAttribution(this, mAttributionSource); in getAlias()
1381 return service.setRemoteAlias(this, alias, mAttributionSource); in setAlias()
1407 return service.getBatteryLevel(this, mAttributionSource); in getBatteryLevel()
1498 this, transport, remoteP192Data, remoteP256Data, mAttributionSource); in createBondInternal()
1523 return service.isBondingInitiatedLocally(this, mAttributionSource); in isBondingInitiatedLocally()
[all …]
DBluetoothGatt.java73 private final AttributionSource mAttributionSource; field in BluetoothGatt
203 mPhy, mAttributionSource); // autoConnect is inverse of "isDirect"
382 mClientIf, address, handle, authReq, mAttributionSource);
445 characteristic.getValue(), mAttributionSource);
528 mClientIf, address, handle, authReq, mAttributionSource);
580 authReq, descriptor.getValue(), mAttributionSource);
740 mAttributionSource = attributionSource; in BluetoothGatt()
876 new ParcelUuid(uuid), mBluetoothGattCallback, eatt_support, mAttributionSource); in registerApp()
897 mService.unregisterClient(mClientIf, mAttributionSource); in unregisterApp()
967 mService.clientDisconnect(mClientIf, mDevice.getAddress(), mAttributionSource); in disconnect()
[all …]
DBluetoothPbap.java105 private final AttributionSource mAttributionSource; field in BluetoothPbap
140 mAttributionSource = adapter.getAttributionSource(); in BluetoothPbap()
248 service.getConnectedDevices(mAttributionSource), mAttributionSource); in getConnectedDevices()
272 return service.getConnectionState(device, mAttributionSource); in getConnectionState()
301 service.getDevicesMatchingConnectionStates(states, mAttributionSource), in getDevicesMatchingConnectionStates()
302 mAttributionSource); in getDevicesMatchingConnectionStates()
342 return service.setConnectionPolicy(device, connectionPolicy, mAttributionSource); in setConnectionPolicy()
370 service.disconnect(device, mAttributionSource); in disconnect()
DBluetoothAdapter.java719 private final AttributionSource mAttributionSource; field in BluetoothAdapter
752 Attributable.setAttributionSource(device, mAttributionSource);
810 mAttributionSource = Objects.requireNonNull(attributionSource); in BluetoothAdapter()
833 res.setAttributionSource(mAttributionSource); in getRemoteDevice()
856 res.setAttributionSource(mAttributionSource); in getRemoteDevice()
993 return mManagerService.disableBle(mAttributionSource, mToken); in disableBLE()
1040 return mManagerService.enableBle(mAttributionSource, mToken); in enableBLE()
1205 return mManagerService.enable(mAttributionSource); in enable()
1238 return mManagerService.disable(mAttributionSource, true); in disable()
1258 return mManagerService.disable(mAttributionSource, persist); in disable()
[all …]
/frameworks/base/core/java/android/bluetooth/le/
DAdvertisingSet.java43 private AttributionSource mAttributionSource; field in AdvertisingSet
48 mAttributionSource = attributionSource; in AdvertisingSet()
79 maxExtendedAdvertisingEvents, mAttributionSource); in enableAdvertising()
102 mGatt.setAdvertisingData(mAdvertiserId, advertiseData, mAttributionSource); in setAdvertisingData()
122 mGatt.setScanResponseData(mAdvertiserId, scanResponse, mAttributionSource); in setScanResponseData()
140 mGatt.setAdvertisingParameters(mAdvertiserId, parameters, mAttributionSource); in setAdvertisingParameters()
156 mGatt.setPeriodicAdvertisingParameters(mAdvertiserId, parameters, mAttributionSource); in setPeriodicAdvertisingParameters()
177 mGatt.setPeriodicAdvertisingData(mAdvertiserId, periodicData, mAttributionSource); in setPeriodicAdvertisingData()
195 mGatt.setPeriodicAdvertisingEnable(mAdvertiserId, enable, mAttributionSource); in setPeriodicAdvertisingEnabled()
215 mGatt.getOwnAddress(mAdvertiserId, mAttributionSource); in getOwnAddress()
DBluetoothLeScanner.java87 private final AttributionSource mAttributionSource; field in BluetoothLeScanner
103 mAttributionSource = mBluetoothAdapter.getAttributionSource(); in BluetoothLeScanner()
282 mAttributionSource); in startScan()
327 gatt.stopScanForIntent(callbackIntent, mAttributionSource); in stopScan()
426 mBluetoothGatt.registerScanner(this, mWorkSource, mAttributionSource); in startRegistration()
456 mBluetoothGatt.stopScan(mScannerId, mAttributionSource); in stopLeScan()
457 mBluetoothGatt.unregisterScanner(mScannerId, mAttributionSource); in stopLeScan()
473 mBluetoothGatt.flushPendingBatchResults(mScannerId, mAttributionSource); in flushPendingBatchResults()
492 mBluetoothGatt.unregisterScanner(scannerId, mAttributionSource); in onScannerRegistered()
496 mResultStorages, mAttributionSource); in onScannerRegistered()
[all …]
DPeriodicAdvertisingManager.java62 private final AttributionSource mAttributionSource; field in PeriodicAdvertisingManager
77 mAttributionSource = mBluetoothAdapter.getAttributionSource(); in PeriodicAdvertisingManager()
175 scanResult, skip, timeout, wrapped, mAttributionSource); in registerSync()
211 gatt.unregisterSync(wrapper, mAttributionSource); in unregisterSync()
224 Attributable.setAttributionSource(device, mAttributionSource); in wrap()
/frameworks/av/media/libaaudio/src/binding/
DAAudioStreamRequest.h40 return mAttributionSource; in getAttributionSource()
44 mAttributionSource = attributionSource; in setAttributionSource()
80 AttributionSourceState mAttributionSource; variable
DAAudioStreamRequest.cpp34 mAttributionSource(parcelable.attributionSource), in AAudioStreamRequest()
42 result.attributionSource = mAttributionSource; in parcelable()
53 ALOGD("mAttributionSource = %s", mAttributionSource.toString().c_str()); in dump()
/frameworks/base/core/java/android/content/
DContentProviderClient.java82 private final @NonNull AttributionSource mAttributionSource; field in ContentProviderClient
107 mAttributionSource = contentResolver.getAttributionSource(); in ContentProviderClient()
197 mAttributionSource, uri, projection, queryArgs, in query()
258 return mContentProvider.canonicalize(mAttributionSource, url); in canonicalize()
276 return mContentProvider.uncanonicalize(mAttributionSource, url); in uncanonicalize()
301 return mContentProvider.refresh(mAttributionSource, url, extras, in refresh()
321 return mContentProvider.checkUriPermission(mAttributionSource, uri, uid, in checkUriPermission()
347 return mContentProvider.insert(mAttributionSource, url, initialValues, in insert()
368 return mContentProvider.bulkInsert(mAttributionSource, url, initialValues); in bulkInsert()
392 return mContentProvider.delete(mAttributionSource, url, extras); in delete()
[all …]

12