Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DTestableNotificationManagerService.java104 ComponentName assistant, int userId, boolean granted, boolean userSet) { in setNotificationAssistantAccessGrantedForUserInternal() argument
106 mNotificationAssistantAccessGrantedCallback.onGranted(assistant, userId, granted, in setNotificationAssistantAccessGrantedForUserInternal()
110 super.setNotificationAssistantAccessGrantedForUserInternal(assistant, userId, granted, in setNotificationAssistantAccessGrantedForUserInternal()
129 void onGranted(ComponentName assistant, int userId, boolean granted, boolean userSet); in onGranted() argument
H A DNotificationAssistantsTest.java449 private boolean isUserSetServicesEmpty(NotificationAssistants assistant, int userId) { in isUserSetServicesEmpty() argument
450 synchronized (assistant.mApproved) { in isUserSetServicesEmpty()
451 return assistant.mUserSetServices.get(userId).isEmpty(); in isUserSetServicesEmpty()
H A DNotificationManagerServiceTest.java10213 when(assistant.isSameUser(anyInt())).thenReturn(true);
10215 when(mAssistants.checkServiceTokenLocked(any())).thenReturn(assistant);
10241 when(assistant.isSameUser(anyInt())).thenReturn(true);
10243 when(mAssistants.checkServiceTokenLocked(any())).thenReturn(assistant);
10256 when(assistant.isSameUser(anyInt())).thenReturn(true);
10258 when(mAssistants.checkServiceTokenLocked(any())).thenReturn(assistant);
10273 when(assistant.isSameUser(anyInt())).thenReturn(true);
10275 when(mAssistants.checkServiceTokenLocked(any())).thenReturn(assistant);
10287 ManagedServices.ManagedServiceInfo assistant =
10291 when(assistant.isSameUser(anyInt())).thenReturn(true);
[all …]
/aosp14/frameworks/base/core/java/com/android/internal/app/
H A 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()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
H A DMediaOutputController.java1105 LocalBluetoothLeBroadcastAssistant assistant = in getConnectedBroadcastSinkDevices() local
1107 if (assistant == null) { in getConnectedBroadcastSinkDevices()
1112 return assistant.getConnectedDevices(); in getConnectedBroadcastSinkDevices()
1116 LocalBluetoothLeBroadcastAssistant assistant = in isThereAnyBroadcastSourceIntoSinkDevice() local
1118 if (assistant == null) { in isThereAnyBroadcastSourceIntoSinkDevice()
1130 LocalBluetoothLeBroadcastAssistant assistant = in addSourceIntoSinkDeviceWithBluetoothLeAssistant() local
1132 if (assistant == null) { in addSourceIntoSinkDeviceWithBluetoothLeAssistant()
1144 LocalBluetoothLeBroadcastAssistant assistant = in registerLeBroadcastAssistantServiceCallback() local
1146 if (assistant == null) { in registerLeBroadcastAssistantServiceCallback()
1157 LocalBluetoothLeBroadcastAssistant assistant = in unregisterLeBroadcastAssistantServiceCallback() local
[all …]
/aosp14/frameworks/base/core/java/android/app/
H A DINotificationManager.aidl186 boolean isNotificationAssistantAccessGranted(in ComponentName assistant); in isNotificationAssistantAccessGranted() argument
188 void setNotificationAssistantAccessGranted(in ComponentName assistant, boolean enabled); in setNotificationAssistantAccessGranted() argument
190 …void setNotificationAssistantAccessGrantedForUser(in ComponentName assistant, int userId, boolean … in setNotificationAssistantAccessGrantedForUser() argument
H A DNotificationManager.java1545 public boolean isNotificationAssistantAccessGranted(@NonNull ComponentName assistant) { in isNotificationAssistantAccessGranted() argument
1548 return service.isNotificationAssistantAccessGranted(assistant); in isNotificationAssistantAccessGranted()
1706 public void setNotificationAssistantAccessGranted(@Nullable ComponentName assistant, in setNotificationAssistantAccessGranted() argument
1710 service.setNotificationAssistantAccessGranted(assistant, granted); in setNotificationAssistantAccessGranted()
/aosp14/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationRecordLogger.java438 String assistant = r.getAdjustmentIssuer(); in getAssistantHash() local
439 return (assistant == null) ? 0 : assistant.hashCode(); in getAssistantHash()
H A DNotificationManagerService.java5610 Objects.requireNonNull(assistant);
5989 if (assistant == null) {
10648 assistant.onPanelHidden();
10669 assistant.onNotificationsSeen(keys);
10720 (assistant, sbnHolder) -> {
10740 (assistant, sbnHolder) -> {
10757 (assistant, sbnHolder) -> {
10775 (assistant, sbnHolder) -> {
10798 (assistant, sbnHolder) -> {
10823 (assistant, sbnHolder) -> {
[all …]
/aosp14/frameworks/base/data/keyboards/
H A DVendor_18d1_Product_0200.kl59 # assistant buttons
/aosp14/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/
H A DREADME.md8 - Open the device's voice assistant
/aosp14/frameworks/base/services/core/java/com/android/server/
H A DEventLogTags.logtags95 # when a notification is adjusted via assistant
/aosp14/frameworks/base/core/proto/android/service/
H A Dnotification.proto97 // (eg: "notification assistant" or "notification listener").
/aosp14/frameworks/base/core/proto/android/providers/settings/
H A Dsecure.proto126 // The current assistant component. It could be a voice interaction service,
129 optional SettingProto assistant = 1 [ (android.privacy).dest = DEST_AUTOMATIC ]; field
/aosp14/frameworks/base/packages/SystemUI/docs/
H A Dplugins.md68 [Allow lockscreen camera/phone/assistant buttons to be replaced](/packages/SystemUI/plugin/src/com/…
/aosp14/frameworks/base/proto/src/metrics_constants/
H A Dmetrics_constants.proto80 // The notification was adjusted by the assistant. Enum value is
1511 // ACTION: Long press home to bring up assistant
6628 // Action: the notification assistant is changing a notification
6756 // Whether the notification has notification-assistant generated
7251 // For OPEN, the subtype is the innovation type for the assistant.