Home
last modified time | relevance | path

Searched refs:sAdapter (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/syncmanager/apps/app1/src/android/content/syncmanager/cts/app/
DSyncManagerCtsSyncService.java27 private static SyncManagerCtsSyncAdapter sAdapter; field in SyncManagerCtsSyncService
31 if (sAdapter == null) { in onBind()
32 sAdapter = new SyncManagerCtsSyncAdapter(getApplicationContext()); in onBind()
34 return sAdapter.getSyncAdapterBinder(); in onBind()
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/
DStatsdSyncService.java27 private static StatsdSyncAdapter sAdapter; field in StatsdSyncService
31 if (sAdapter == null) { in onBind()
32 sAdapter = new StatsdSyncAdapter(getApplicationContext()); in onBind()
34 return sAdapter.getSyncAdapterBinder(); in onBind()
/cts/hostsidetests/backup/SyncAdapterSettingsApp/src/android/cts/backup/syncadaptersettingsapp/
DSyncAdapterSettingsService.java27 private static SyncAdapterSettingsAdapter sAdapter; field in SyncAdapterSettingsService
33 if (sAdapter == null) { in onBind()
34 sAdapter = new SyncAdapterSettingsAdapter(getApplicationContext()); in onBind()
37 return sAdapter.getSyncAdapterBinder(); in onBind()
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DLeL2capSocketTest.java48 private static final BluetoothAdapter sAdapter = BlockingBluetoothAdapter.getAdapter(); field in LeL2capSocketTest
61 assertThrows(SecurityException.class, () -> sAdapter.listenUsingInsecureL2capChannel()); in openInsecureLeL2capServerSocket()
64 serverSocket = sAdapter.listenUsingInsecureL2capChannel(); in openInsecureLeL2capServerSocket()
73 assertThrows(SecurityException.class, () -> sAdapter.listenUsingL2capChannel()); in openSecureLeL2capServerSocket()
76 serverSocket = sAdapter.listenUsingL2capChannel(); in openSecureLeL2capServerSocket()
DSystemBluetoothTest.java77 private static final BluetoothAdapter sAdapter = BlockingBluetoothAdapter.getAdapter(); field in SystemBluetoothTest
99 BluetoothDevice device = sAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in silenceMode()
115 BluetoothDevice device = sAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in setGetMetadata()
127 sAdapter.addOnMetadataChangedListener( in setGetMetadata()
134 assertThat(sAdapter.removeOnMetadataChangedListener(device, listener)).isTrue(); in setGetMetadata()
157 sAdapter.startDiscovery(); in discoveryEndMillis()
162 long discoveryEndTime = sAdapter.getDiscoveryEndMillis(); in discoveryEndMillis()
262 BluetoothDevice testDevice = sAdapter.getRemoteDevice("00:11:22:AA:BB:CC"); in canBondWithoutDialog()
327 assertThat(sAdapter.getSupportedProfiles()).isNotNull(); in getSupportedProfiles()
334 assertThat(sAdapter.enableNoAutoConnect()).isTrue(); in enableNoAutoConnect()
[all …]
DBluetoothHapClientTest.java68 private static final BluetoothAdapter sAdapter = BlockingBluetoothAdapter.getAdapter(); field in BluetoothHapClientTest
70 sAdapter.getRemoteDevice("00:11:22:AA:BB:CC");
88 sAdapter.getProfileProxy( in setUp()
107 sAdapter.closeProfileProxy(BluetoothProfile.HAP_CLIENT, mService); in closeProfileProxy()