Home
last modified time | relevance | path

Searched refs:assistant (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DTestableNotificationManagerService.java120 ComponentName assistant, int userId, boolean granted, boolean userSet) { in setNotificationAssistantAccessGrantedForUserInternal() argument
122 mNotificationAssistantAccessGrantedCallback.onGranted(assistant, userId, granted, in setNotificationAssistantAccessGrantedForUserInternal()
126 super.setNotificationAssistantAccessGrantedForUserInternal(assistant, userId, granted, in setNotificationAssistantAccessGrantedForUserInternal()
145 void onGranted(ComponentName assistant, int userId, boolean granted, boolean userSet); in onGranted() argument
DNotificationAssistantsTest.java533 private boolean isUserSetServicesEmpty(NotificationAssistants assistant, int userId) { in isUserSetServicesEmpty() argument
534 synchronized (assistant.mApproved) { in isUserSetServicesEmpty()
535 return assistant.mUserSetServices.get(userId).isEmpty(); in isUserSetServicesEmpty()
DNotificationManagerServiceTest.java11661 … ManagedServices.ManagedServiceInfo assistant = mock(ManagedServices.ManagedServiceInfo.class);
11664 when(assistant.isSameUser(anyInt())).thenReturn(true);
11666 when(mAssistants.checkServiceTokenLocked(any())).thenReturn(assistant);
11689 … ManagedServices.ManagedServiceInfo assistant = mock(ManagedServices.ManagedServiceInfo.class);
11692 when(assistant.isSameUser(anyInt())).thenReturn(true);
11694 when(mAssistants.checkServiceTokenLocked(any())).thenReturn(assistant);
11704 … ManagedServices.ManagedServiceInfo assistant = mock(ManagedServices.ManagedServiceInfo.class);
11707 when(assistant.isSameUser(anyInt())).thenReturn(true);
11709 when(mAssistants.checkServiceTokenLocked(any())).thenReturn(assistant);
11721 … ManagedServices.ManagedServiceInfo assistant = mock(ManagedServices.ManagedServiceInfo.class);
[all …]
/frameworks/base/core/java/com/android/internal/app/
DAssistUtils.java293 public static boolean isPreinstalledAssistant(Context context, ComponentName assistant) { in isPreinstalledAssistant() argument
294 if (assistant == null) { in isPreinstalledAssistant()
300 assistant.getPackageName(), 0); in isPreinstalledAssistant()
318 public static boolean shouldDisclose(Context context, ComponentName assistant) { in shouldDisclose() argument
323 return isDisclosureEnabled(context) || !isPreinstalledAssistant(context, assistant); in shouldDisclose()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DBluetoothEventManagerTest.java220 LocalBluetoothLeBroadcastAssistant assistant = in dispatchProfileConnectionStateChanged_flagOff_noUpdateFallbackDevice() local
222 when(assistant.isProfileReady()).thenReturn(true); in dispatchProfileConnectionStateChanged_flagOff_noUpdateFallbackDevice()
225 when(profileManager.getLeAudioBroadcastAssistantProfile()).thenReturn(assistant); in dispatchProfileConnectionStateChanged_flagOff_noUpdateFallbackDevice()
251 LocalBluetoothLeBroadcastAssistant assistant = in dispatchProfileConnectionStateChanged_notSupport_noUpdateFallbackDevice() local
253 when(assistant.isProfileReady()).thenReturn(true); in dispatchProfileConnectionStateChanged_notSupport_noUpdateFallbackDevice()
256 when(profileManager.getLeAudioBroadcastAssistantProfile()).thenReturn(assistant); in dispatchProfileConnectionStateChanged_notSupport_noUpdateFallbackDevice()
282 LocalBluetoothLeBroadcastAssistant assistant = in dispatchProfileConnectionStateChanged_profileNotReady_noUpdateFallbackDevice() local
284 when(assistant.isProfileReady()).thenReturn(true); in dispatchProfileConnectionStateChanged_profileNotReady_noUpdateFallbackDevice()
287 when(profileManager.getLeAudioBroadcastAssistantProfile()).thenReturn(assistant); in dispatchProfileConnectionStateChanged_profileNotReady_noUpdateFallbackDevice()
313 LocalBluetoothLeBroadcastAssistant assistant = in dispatchProfileConnectionStateChanged_notAssistantProfile_noUpdateFallbackDevice() local
[all …]
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/Settings/
Dvolumes.pfw14 /Policy/policy/streams/assistant/applicable_volume_profile/volume_profile = assistant
Dstrategy_for_usage.pfw19 /Policy/policy/usages/assistant/applicable_strategy/strategy = media
/frameworks/base/packages/SystemUI/src/com/android/systemui/bluetooth/qsdialog/
DDeviceItemActionInteractor.kt213 assistantProfile?.let { assistant -> in <lambda>() method
217 assistant, in <lambda>()
253 assistantProfile?.let { assistant -> in <lambda>() method
257 assistant, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
DMediaOutputController.java1148 LocalBluetoothLeBroadcastAssistant assistant = in getConnectedBroadcastSinkDevices() local
1150 if (assistant == null) { in getConnectedBroadcastSinkDevices()
1155 return assistant.getConnectedDevices(); in getConnectedBroadcastSinkDevices()
1159 LocalBluetoothLeBroadcastAssistant assistant = in isThereAnyBroadcastSourceIntoSinkDevice() local
1161 if (assistant == null) { in isThereAnyBroadcastSourceIntoSinkDevice()
1166 List<BluetoothLeBroadcastReceiveState> sourceList = assistant.getAllSources(sink); in isThereAnyBroadcastSourceIntoSinkDevice()
1173 LocalBluetoothLeBroadcastAssistant assistant = in addSourceIntoSinkDeviceWithBluetoothLeAssistant() local
1175 if (assistant == null) { in addSourceIntoSinkDeviceWithBluetoothLeAssistant()
1180 assistant.addSource(sink, metadata, isGroupOp); in addSourceIntoSinkDeviceWithBluetoothLeAssistant()
1187 LocalBluetoothLeBroadcastAssistant assistant = in registerLeBroadcastAssistantServiceCallback() local
[all …]
/frameworks/proto_logging/stats/atoms/hotword/
Dhotword_extension_atoms.proto33 * Logs data size for events egressed from hotword detection service to default assistant.
60 // The UID for which the assistant application is active.
Dhotword_atoms.proto37 // The UID for which assistant application is active.
68 // The UID for which the assistant application is active.
95 // The UID for which the assistant application is active.
158 // The UID for which the assistant application is active.
286 // The UID for which assistant application is active.
342 // The UID for which the assistant application is active.
/frameworks/base/core/java/android/service/voice/flags/
Dflags.aconfig8 … "This flag allows the hotword detection service to egress training data to the default assistant."
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecordLogger.java438 String assistant = r.getAdjustmentIssuer(); in getAssistantHash() local
439 return (assistant == null) ? 0 : assistant.hashCode(); in getAssistantHash()
DNotificationManagerService.java6175 public boolean isNotificationAssistantAccessGranted(ComponentName assistant) {
6176 Objects.requireNonNull(assistant);
6177 checkCallerIsSystemOrSameApp(assistant.getPackageName());
6178 return mAssistants.isPackageOrComponentAllowed(assistant.flattenToString(),
6190 public void setNotificationAssistantAccessGranted(ComponentName assistant,
6193 assistant, getCallingUserHandle().getIdentifier(), granted);
6242 public void setNotificationAssistantAccessGrantedForUser(ComponentName assistant,
6250 setNotificationAssistantAccessGrantedForUserInternal(assistant, userId, granted,
6560 ComponentName assistant, int baseUserId, boolean granted, boolean userSet) {
6565 if (assistant == null) {
[all …]
/frameworks/base/core/java/android/app/
DINotificationManager.aidl194 boolean isNotificationAssistantAccessGranted(in ComponentName assistant); in isNotificationAssistantAccessGranted() argument
196 void setNotificationAssistantAccessGranted(in ComponentName assistant, boolean enabled); in setNotificationAssistantAccessGranted() argument
198 …void setNotificationAssistantAccessGrantedForUser(in ComponentName assistant, int userId, boolean … in setNotificationAssistantAccessGrantedForUser() argument
DNotificationManager.java1689 public boolean isNotificationAssistantAccessGranted(@NonNull ComponentName assistant) { in isNotificationAssistantAccessGranted() argument
1692 return service.isNotificationAssistantAccessGranted(assistant); in isNotificationAssistantAccessGranted()
1909 public void setNotificationAssistantAccessGranted(@Nullable ComponentName assistant, in setNotificationAssistantAccessGranted() argument
1913 service.setNotificationAssistantAccessGranted(assistant, granted); in setNotificationAssistantAccessGranted()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothUtils.java580 LocalBluetoothLeBroadcastAssistant assistant = in hasConnectedBroadcastSource() local
582 if (assistant == null) { in hasConnectedBroadcastSource()
587 assistant.getAllSources(cachedDevice.getDevice()); in hasConnectedBroadcastSource()
598 assistant.getAllSources(device.getDevice()); in hasConnectedBroadcastSource()
/frameworks/base/data/keyboards/
DVendor_18d1_Product_0200.kl59 # assistant buttons
/frameworks/proto_logging/stats/enums/input/
Denums.proto38 // Launch assistant app
40 // Launch assistant in voice mode
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/
DREADME.md8 - Open the device's voice assistant
/frameworks/base/services/core/java/com/android/server/
DEventLogTags.logtags95 # when a notification is adjusted via assistant
/frameworks/base/core/proto/android/service/
Dnotification.proto97 // (eg: "notification assistant" or "notification listener").
/frameworks/base/core/proto/android/providers/settings/
Dsecure.proto134 // The current assistant component. It could be a voice interaction service,
137 optional SettingProto assistant = 1 [ (android.privacy).dest = DEST_AUTOMATIC ]; field
/frameworks/base/packages/SystemUI/docs/
Dplugins.md68 [Allow lockscreen camera/phone/assistant buttons to be replaced](/packages/SystemUI/plugin/src/com/…
/frameworks/base/packages/SystemUI/aconfig/
Dsystemui.aconfig660 description: "Improve assistant dismiss signal accuracy for contextual tips."

12