/packages/modules/Bluetooth/system/bta/le_audio/audio_hal_client/ |
D | audio_hal_client.h | 118 class Callbacks { 120 Callbacks() = default; 121 virtual ~Callbacks() = default; 127 base::WeakPtrFactory<Callbacks> weak_factory_{this}; 132 Callbacks* audioReceiver, 158 class Callbacks { 160 Callbacks() = default; 161 virtual ~Callbacks() = default; 169 base::WeakPtrFactory<Callbacks> weak_factory_{this}; 174 Callbacks* audioReceiver,
|
D | audio_sink_hal_client.cc | 44 LeAudioSinkAudioHalClient::Callbacks* audioReceiver, 70 LeAudioSinkAudioHalClient::Callbacks* audioSinkCallbacks_ = nullptr; 136 base::BindOnce(&LeAudioSinkAudioHalClient::Callbacks::OnAudioResume, in OnResumeReq() 154 base::BindOnce(&LeAudioSinkAudioHalClient::Callbacks::OnAudioSuspend, in OnSuspendReq() 176 &LeAudioSinkAudioHalClient::Callbacks::OnAudioMetadataUpdate, in OnMetadataUpdateReq() 188 LeAudioSinkAudioHalClient::Callbacks* audioReceiver, in Start()
|
D | audio_source_hal_client.cc | 63 LeAudioSourceAudioHalClient::Callbacks* audioReceiver, 116 LeAudioSourceAudioHalClient::Callbacks* audioSourceCallbacks_ = nullptr; 193 base::BindOnce(&LeAudioSourceAudioHalClient::Callbacks::OnAudioResume, in OnResumeReq() 307 base::BindOnce(&LeAudioSourceAudioHalClient::Callbacks::OnAudioSuspend, in OnSuspendReq() 332 &LeAudioSourceAudioHalClient::Callbacks::OnAudioMetadataUpdate, in OnMetadataUpdateReq() 344 LeAudioSourceAudioHalClient::Callbacks* audioReceiver, in Start()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherModel.java | 53 import com.android.launcher3.model.BgDataModel.Callbacks; 127 private final ArrayList<Callbacks> mCallbacksList = new ArrayList<>(1); 185 for (Callbacks cb : getCallbacks()) { in addAndBindAddedWorkspaceItems() 193 @Nullable final Callbacks owner) { in getWriter() 240 for (Callbacks cb : getCallbacks()) { in onBroadcastIntent() 315 public void removeCallbacks(@NonNull final Callbacks callbacks) { in removeCallbacks() 331 public boolean addCallbacksAndLoad(@NonNull final Callbacks callbacks) { in addCallbacksAndLoad() 334 return startLoader(new Callbacks[] { callbacks }); in addCallbacksAndLoad() 342 public void addCallbacks(@NonNull final Callbacks callbacks) { in addCallbacks() 354 return startLoader(new Callbacks[0]); in startLoader() [all …]
|
/packages/modules/Connectivity/service-t/src/com/android/server/ethernet/ |
D | EthernetNetworkAgent.java | 34 public interface Callbacks { interface in EthernetNetworkAgent 38 private final Callbacks mCallbacks; 47 @NonNull Callbacks cb) { in EthernetNetworkAgent() 62 public Callbacks getCallbacks() { in getCallbacks()
|
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/systembar/element/ |
D | CarSystemBarElementStatusBarDisableControllerTest.java | 123 CommandQueue.Callbacks callbacks = getCommandQueueCallback(); in onStatusBarDisableChanged_doesNotAffectListener_listenerNotNotified() 137 CommandQueue.Callbacks callbacks = getCommandQueueCallback(); in onStatusBarDisableChanged_disablesListener_listenerNotified() 151 CommandQueue.Callbacks callbacks = getCommandQueueCallback(); in onStatusBarDisableChanged_enablesListener_listenerNotified() 164 private CommandQueue.Callbacks getCommandQueueCallback() { in getCommandQueueCallback() 165 ArgumentCaptor<CommandQueue.Callbacks> captor = ArgumentCaptor.forClass( in getCommandQueueCallback() 166 CommandQueue.Callbacks.class); in getCommandQueueCallback()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/ |
D | RuntimeDataSupplier.java | 52 private @Nullable Callbacks mDocCallbacks; 53 private @Nullable Callbacks mDirCallbacks; 85 mDocCallbacks = new Callbacks(mContext, uri, userId, callback); in loadDocInfo() 107 mDirCallbacks = new Callbacks(mContext, children, directory.userId, callback); in loadDirCount() 162 static final class Callbacks implements LoaderCallbacks<Cursor> { class in RuntimeDataSupplier 170 Callbacks(Context context, Uri uri, UserId userId, Consumer<Cursor> callback) { in Callbacks() method in RuntimeDataSupplier.Callbacks
|
/packages/apps/QuickAccessWallet/src/com/android/systemui/plugin/globalactions/wallet/ |
D | WalletPluginService.java | 37 target = GlobalActionsPanelPlugin.Callbacks.class, 38 version = GlobalActionsPanelPlugin.Callbacks.VERSION), 71 GlobalActionsPanelPlugin.Callbacks callbacks, boolean deviceLocked) { in onPanelShown() 77 GlobalActionsPanelPlugin.Callbacks callbacks, in onPanelShown()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | ModelDelegate.java | 88 @NonNull BgDataModel.Callbacks[] callbacks, in loadAndBindWorkspaceItems() 94 @NonNull BgDataModel.Callbacks[] callbacks, in loadAndBindAllAppsItems() 99 public void loadAndBindOtherItems(@NonNull BgDataModel.Callbacks[] callbacks) { } in loadAndBindOtherItems() 103 public void bindAllModelExtras(@NonNull BgDataModel.Callbacks[] callbacks) { } in bindAllModelExtras()
|
D | BaseLauncherBinder.java | 42 import com.android.launcher3.model.BgDataModel.Callbacks; 83 final Callbacks[] mCallbacksList; 88 AllAppsList allAppsList, Callbacks[] callbacksList) { in BaseLauncherBinder() 155 for (Callbacks cb : mCallbacksList) { in bindWorkspaceAllAtOnce() 255 for (Callbacks cb : mCallbacksList) { in executeCallbacksTask() 276 private final Callbacks mCallbacks; 287 UnifiedWorkspaceBinder(Callbacks callbacks, in UnifiedWorkspaceBinder() 451 for (Callbacks cb : mCallbacksList) { in DisjointWorkspaceBinder()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/userpicker/ |
D | HeaderState.java | 23 import com.android.systemui.car.userpicker.UserPickerController.Callbacks; 39 private Callbacks mCallbacks; 43 HeaderState(Callbacks callbacks) { in HeaderState()
|
/packages/services/Car/service/src/com/android/car/bluetooth/ |
D | FastPairAdvertiser.java | 88 private Callbacks mCallbacks; 95 public interface Callbacks { interface in FastPairAdvertiser 125 public void advertiseModelId(int modelId, Callbacks callback) { in advertiseModelId() 176 public void advertiseAccountKeys(List<AccountKey> accountKeys, Callbacks callback) { in advertiseAccountKeys() 264 private boolean startAdvertisingInternal(byte[] data, int interval, Callbacks callbacks) { in startAdvertisingInternal() 396 public final Callbacks mCallback; 398 AdvertisingRequest(byte[] data, int interval, Callbacks callback) { in AdvertisingRequest() 409 public void startAdvertising(byte[] data, int interval, Callbacks callback) { in startAdvertising()
|
D | FastPairProvider.java | 61 FastPairAdvertiser.Callbacks mAdvertiserCallbacks = new FastPairAdvertiser.Callbacks() { 68 FastPairGattServer.Callbacks mGattServerCallbacks = new FastPairGattServer.Callbacks() {
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | KeyInputHandler.java | 38 private final Callbacks<DocumentItemDetails> mCallbacks; 43 Callbacks<DocumentItemDetails> callbacks) { in KeyInputHandler() 106 public static abstract class Callbacks<T extends ItemDetails<?>> { class in KeyInputHandler
|
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/ |
D | battery_provider_manager.rs | 2 use crate::callbacks::Callbacks; 39 battery_provider_callbacks: Callbacks<dyn IBatteryProviderCallback + Send>, 48 Callbacks::new(tx.clone(), Message::BatteryProviderManagerCallbackDisconnected); in new()
|
D | battery_manager.rs | 2 use crate::callbacks::Callbacks; 63 callbacks: Callbacks<dyn IBatteryManagerCallback + Send>, 72 let callbacks = Callbacks::new(tx.clone(), Message::BatteryManagerCallbackDisconnected); in new()
|
D | callbacks.rs | 9 pub struct Callbacks<T: Send + ?Sized> { struct 16 impl<T: RPCProxy + Send + ?Sized> Callbacks<T> { argument 125 let mut callbacks = Callbacks::new(tx.clone(), Message::AdapterCallbackDisconnected); in test_add_and_remove()
|
D | bluetooth_qa.rs | 3 use crate::callbacks::Callbacks; 57 callbacks: Callbacks<dyn IBluetoothQACallback + Send>, 64 callbacks: Callbacks::new(tx.clone(), Message::QaCallbackDisconnected), in new()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointEventHandler.java | 39 private final Callbacks mCallbacks; 45 public interface Callbacks { interface in PasspointEventHandler 70 public PasspointEventHandler(WifiInjector wifiInjector, Callbacks callbacks) { in PasspointEventHandler()
|
/packages/modules/Bluetooth/system/bta/le_audio/ |
D | state_machine.h | 34 class Callbacks { 36 virtual ~Callbacks() = default; 48 static void Initialize(Callbacks* state_machine_callbacks);
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/bass_client/ |
D | BassClientStateMachineTest.java | 746 BassClientService.Callbacks callbacks = Mockito.mock(BassClientService.Callbacks.class); in gattCallbackOnCharacteristicRead() 918 BassClientService.Callbacks callbacks = Mockito.mock(BassClientService.Callbacks.class); in gattCallbackOnCharacteristicChanged() 1369 BassClientService.Callbacks callbacks = Mockito.mock(BassClientService.Callbacks.class); in sendAddBcastSourceMessage_inConnectedState() 1435 BassClientService.Callbacks callbacks = Mockito.mock(BassClientService.Callbacks.class); in sendUpdateBcastSourceMessage_inConnectedState() 1540 BassClientService.Callbacks callbacks = Mockito.mock(BassClientService.Callbacks.class); in sendSetBcastCodeMessage_inConnectedState() 1662 BassClientService.Callbacks callbacks = Mockito.mock(BassClientService.Callbacks.class); in receiveSinkReceiveState_inConnectedState() 1740 BassClientService.Callbacks callbacks = Mockito.mock(BassClientService.Callbacks.class); in sendRemoveBcastSourceMessage_inConnectedState() 1827 BassClientService.Callbacks callbacks = Mockito.mock(BassClientService.Callbacks.class); in sendGattTxnProcessedMessage_inConnectedProcessingState() 1987 BassClientService.Callbacks callbacks = Mockito.mock(BassClientService.Callbacks.class); in sendAddBcastSourceMessage_NoResponseWrite() 2022 BassClientService.Callbacks callbacks = Mockito.mock(BassClientService.Callbacks.class); in sendAddBcastSourceMessage_LongWrite() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | WorkProfileManager.java | 25 import static com.android.launcher3.model.BgDataModel.Callbacks.FLAG_HAS_SHORTCUT_PERMISSION; 26 import static com.android.launcher3.model.BgDataModel.Callbacks.FLAG_QUIET_MODE_CHANGE_PERMISSION; 27 import static com.android.launcher3.model.BgDataModel.Callbacks.FLAG_QUIET_MODE_ENABLED; 28 import static com.android.launcher3.model.BgDataModel.Callbacks.FLAG_WORK_PROFILE_QUIET_MODE_ENABLE…
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/ |
D | LoaderTaskTest.kt | 174 .setFlags(BgDataModel.Callbacks.FLAG_WORK_PROFILE_QUIET_MODE_ENABLED, true) in setsQuietModeFlagCorrectlyForWorkProfile() 176 .setFlags(BgDataModel.Callbacks.FLAG_PRIVATE_PROFILE_QUIET_MODE_ENABLED, false) in setsQuietModeFlagCorrectlyForWorkProfile() 178 .setFlags(BgDataModel.Callbacks.FLAG_QUIET_MODE_ENABLED, true) in setsQuietModeFlagCorrectlyForWorkProfile() 195 .setFlags(BgDataModel.Callbacks.FLAG_WORK_PROFILE_QUIET_MODE_ENABLED, false) in setsQuietModeFlagCorrectlyForPrivateProfile() 197 .setFlags(BgDataModel.Callbacks.FLAG_PRIVATE_PROFILE_QUIET_MODE_ENABLED, true) in setsQuietModeFlagCorrectlyForPrivateProfile() 199 .setFlags(BgDataModel.Callbacks.FLAG_QUIET_MODE_ENABLED, true) in setsQuietModeFlagCorrectlyForPrivateProfile()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/model/ |
D | QuickstepModelDelegate.java | 131 @NonNull BgDataModel.Callbacks[] callbacks, in loadAndBindWorkspaceItems() 140 @NonNull BgDataModel.Callbacks[] callbacks, in loadAndBindAllAppsItems() 149 @NonNull BgDataModel.Callbacks[] callbacks, in loadAndBindItems() 166 public void loadAndBindOtherItems(@NonNull BgDataModel.Callbacks[] callbacks) { in loadAndBindOtherItems() 178 private void bindPredictionItems(@NonNull BgDataModel.Callbacks[] callbacks, in bindPredictionItems() 181 for (BgDataModel.Callbacks c : callbacks) { in bindPredictionItems() 189 public void bindAllModelExtras(@NonNull BgDataModel.Callbacks[] callbacks) { in bindAllModelExtras() 195 for (BgDataModel.Callbacks c : callbacks) { in bindAllModelExtras()
|
/packages/modules/Connectivity/tests/integration/util/com/android/server/ |
D | NetworkAgentWrapper.java | 96 public static class Callbacks { class in NetworkAgentWrapper 101 public Callbacks() { in Callbacks() method in NetworkAgentWrapper.Callbacks 105 public Callbacks(Consumer<NetworkAgent> onNetworkCreated, in Callbacks() method in NetworkAgentWrapper.Callbacks 114 private final Callbacks mCallbacks; 124 Callbacks callbacks, Context context) throws Exception { in NetworkAgentWrapper() 175 mCallbacks = (callbacks != null) ? callbacks : new Callbacks(); in NetworkAgentWrapper()
|