Home
last modified time | relevance | path

Searched refs:ContextMap (Results 1 – 12 of 12) sorted by relevance

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/gatt/
DContextMapTest.java89 ContextMap contextMap = new ContextMap<>(); in getByMethods()
98 ContextMap.App contextMapById = contextMap.getById(appUid); in getByMethods()
101 ContextMap.App contextMapByName = contextMap.getByName(APP_NAME); in getByMethods()
107 ContextMap contextMap = new ContextMap<>(); in advertisingSetAndData()
156 ContextMap contextMap = new ContextMap<>(); in emptyStop_doesNotCrash()
166 ContextMap contextMap = new ContextMap<>(); in testDump_doesNotCrash()
DAppAdvertiseStatsTest.java52 @Mock private ContextMap map;
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/gatt/
DGattService.java147 static class AdvertiserMap extends ContextMap<IAdvertisingSetCallback, Void> {}
152 static class ClientMap extends ContextMap<IBluetoothGattCallback, Void> {}
157 static class ServerMap extends ContextMap<IBluetoothGattServerCallback, Void> {}
1290 ContextMap<IBluetoothGattCallback, Void>.App app = mClientMap.getByUuid(uuid); in onClientRegistered()
1322 ContextMap<IBluetoothGattCallback, Void>.App app = mClientMap.getById(clientIf); in onConnected()
1343 ContextMap<IBluetoothGattCallback, Void>.App app = mClientMap.getById(clientIf); in onDisconnected()
1384 ContextMap<IBluetoothGattCallback, Void>.App app = mClientMap.getByConnId(connId); in onClientPhyUpdate()
1409 ContextMap<IBluetoothGattCallback, Void>.App app = mClientMap.getByConnId(connId); in onClientPhyRead()
1426 ContextMap<IBluetoothGattCallback, Void>.App app = mClientMap.getByConnId(connId); in onClientConnUpdate()
1442 ContextMap<IBluetoothGattCallback, Void>.App app = mClientMap.getByConnId(connId); in onServiceChanged()
[all …]
DAppAdvertiseStats.java50 ContextMap mContextMap;
107 public AppAdvertiseStats(int id, String name, ContextMap map, GattService service) { in AppAdvertiseStats()
DContextMap.java55 public class ContextMap<C, T> { class
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_scan/
DTransitionalScanHelper.java59 import com.android.bluetooth.gatt.ContextMap;
103 public static class ScannerMap extends ContextMap<IScannerCallback, PendingIntentInfo> {}
378 ContextMap<IScannerCallback, PendingIntentInfo>.App app = in onScanResultInternal()
527 ContextMap<IScannerCallback, PendingIntentInfo>.App cbApp = mScannerMap.getByUuid(uuid); in onScannerRegistered()
701 ContextMap<IScannerCallback, PendingIntentInfo>.App app = in onBatchScanReportsInternal()
754 ContextMap<IScannerCallback, PendingIntentInfo>.App app, in sendBatchScanResults()
787 ContextMap.App app = mScannerMap.getById(client.scannerId); in deliverBatchScan()
967 ContextMap<IScannerCallback, PendingIntentInfo>.App app = in onTrackAdvFoundLost()
1028 ContextMap.App app = mScannerMap.getById(scannerId); in onScanParamSetupCompleted()
1038 ContextMap<IScannerCallback, PendingIntentInfo>.App app = mScannerMap.getById(scannerId); in onScanManagerErrorCallback()
[all …]
DAppScanStats.java32 import com.android.bluetooth.gatt.ContextMap;
63 ContextMap mContextMap;
159 ContextMap map, in AppScanStats()
962 ContextMap.App appEntry = mContextMap.getByName(appName); in dumpToString()
967 List<ContextMap.Connection> connections = mContextMap.getConnectionByApp(appEntry.id); in dumpToString()
971 Iterator<ContextMap.Connection> ii = connections.iterator(); in dumpToString()
973 ContextMap.Connection connection = ii.next(); in dumpToString()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_scan/
DAppScanStatsTest.java35 import com.android.bluetooth.gatt.ContextMap;
59 @Mock private ContextMap map;
DTransitionalScanHelperTest.java59 import com.android.bluetooth.gatt.ContextMap;
88 @Mock private ContextMap.App mApp;
433 ContextMap.App app = mock(ContextMap.App.class); in onTrackAdvFoundLost()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/
DBluetoothMethodProxy.java48 import com.android.bluetooth.gatt.ContextMap;
269 int id, String name, ContextMap map, GattService service) { in createAppAdvertiseStats()
/packages/modules/Bluetooth/flags/
Dgap.aconfig106 description: "Fix connection removal logic in ContextMap class"
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dbluetooth_gatt.rs59 struct ContextMap { struct
69 impl ContextMap { impl
70 fn new(tx: Sender<Message>) -> ContextMap { in new() argument
71 ContextMap { in new()
1447 context_map: ContextMap,
1478 context_map: ContextMap::new(tx.clone()), in new()
4336 let mut map = ContextMap::new(tx.clone()); in test_context_map_clients()
4392 let mut map = ContextMap::new(tx.clone()); in test_context_map_connections()