/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | TestableNotificationManagerService.java | 120 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
|
D | NotificationAssistantsTest.java | 533 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()
|
D | NotificationManagerServiceTest.java | 11661 … 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/ |
D | AssistUtils.java | 293 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/ |
D | BluetoothEventManagerTest.java | 220 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/ |
D | volumes.pfw | 14 /Policy/policy/streams/assistant/applicable_volume_profile/volume_profile = assistant
|
D | strategy_for_usage.pfw | 19 /Policy/policy/usages/assistant/applicable_strategy/strategy = media
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bluetooth/qsdialog/ |
D | DeviceItemActionInteractor.kt | 213 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/ |
D | MediaOutputController.java | 1148 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/ |
D | hotword_extension_atoms.proto | 33 * Logs data size for events egressed from hotword detection service to default assistant. 60 // The UID for which the assistant application is active.
|
D | hotword_atoms.proto | 37 // 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/ |
D | flags.aconfig | 8 … "This flag allows the hotword detection service to egress training data to the default assistant."
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationRecordLogger.java | 438 String assistant = r.getAdjustmentIssuer(); in getAssistantHash() local 439 return (assistant == null) ? 0 : assistant.hashCode(); in getAssistantHash()
|
D | NotificationManagerService.java | 6175 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/ |
D | INotificationManager.aidl | 194 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
|
D | NotificationManager.java | 1689 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/ |
D | BluetoothUtils.java | 580 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/ |
D | Vendor_18d1_Product_0200.kl | 59 # assistant buttons
|
/frameworks/proto_logging/stats/enums/input/ |
D | enums.proto | 38 // Launch assistant app 40 // Launch assistant in voice mode
|
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/ |
D | README.md | 8 - Open the device's voice assistant
|
/frameworks/base/services/core/java/com/android/server/ |
D | EventLogTags.logtags | 95 # when a notification is adjusted via assistant
|
/frameworks/base/core/proto/android/service/ |
D | notification.proto | 97 // (eg: "notification assistant" or "notification listener").
|
/frameworks/base/core/proto/android/providers/settings/ |
D | secure.proto | 134 // 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/ |
D | plugins.md | 68 [Allow lockscreen camera/phone/assistant buttons to be replaced](/packages/SystemUI/plugin/src/com/…
|
/frameworks/base/packages/SystemUI/aconfig/ |
D | systemui.aconfig | 660 description: "Improve assistant dismiss signal accuracy for contextual tips."
|