Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/app/
DAssistUtils.java184 public static boolean isPreinstalledAssistant(Context context, ComponentName assistant) { in isPreinstalledAssistant() argument
185 if (assistant == null) { in isPreinstalledAssistant()
191 assistant.getPackageName(), 0); in isPreinstalledAssistant()
209 public static boolean shouldDisclose(Context context, ComponentName assistant) { in shouldDisclose() argument
214 return isDisclosureEnabled(context) || !isPreinstalledAssistant(context, assistant); in shouldDisclose()
/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/core/java/android/app/
DINotificationManager.aidl162 boolean isNotificationAssistantAccessGranted(in ComponentName assistant); in isNotificationAssistantAccessGranted() argument
164 void setNotificationAssistantAccessGranted(in ComponentName assistant, boolean enabled); in setNotificationAssistantAccessGranted() argument
166 …void setNotificationAssistantAccessGrantedForUser(in ComponentName assistant, int userId, boolean … in setNotificationAssistantAccessGrantedForUser() argument
DNotificationManager.java1192 public boolean isNotificationAssistantAccessGranted(@NonNull ComponentName assistant) { in isNotificationAssistantAccessGranted() argument
1195 return service.isNotificationAssistantAccessGranted(assistant); in isNotificationAssistantAccessGranted()
1361 public void setNotificationAssistantAccessGranted(@Nullable ComponentName assistant, in setNotificationAssistantAccessGranted() argument
1365 service.setNotificationAssistantAccessGranted(assistant, granted); in setNotificationAssistantAccessGranted()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java3973 public boolean isNotificationAssistantAccessGranted(ComponentName assistant) {
3974 Preconditions.checkNotNull(assistant);
3975 checkCallerIsSystemOrSameApp(assistant.getPackageName());
3976 return mAssistants.isPackageOrComponentAllowed(assistant.flattenToString(),
3988 public void setNotificationAssistantAccessGranted(ComponentName assistant,
3991 assistant, getCallingUserHandle().getIdentifier(), granted);
4022 public void setNotificationAssistantAccessGrantedForUser(ComponentName assistant,
4030 setNotificationAssistantAccessGrantedForUserInternal(assistant, userId, granted);
4274 ComponentName assistant, int baseUserId, boolean granted) {
4279 if (assistant == null) {
[all …]
/frameworks/base/core/proto/android/service/
Dnotification.proto97 // (eg: "notification assistant" or "notification listener").
/frameworks/base/core/proto/android/providers/settings/
Dsecure.proto99 // The current assistant component. It could be a voice interaction service,
102 optional SettingProto assistant = 1 [ (android.privacy).dest = DEST_AUTOMATIC ]; field
/frameworks/base/packages/SystemUI/docs/
Dplugins.md67 [Allow lockscreen camera/phone/assistant buttons to be replaced](/packages/SystemUI/plugin/src/com/…
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationManagerServiceTest.java291 ComponentName assistant, int userId, boolean granted) { in setNotificationAssistantAccessGrantedForUserInternal() argument
293 mNotificationAssistantAccessGrantedCallback.onGranted(assistant, userId, granted); in setNotificationAssistantAccessGrantedForUserInternal()
296 super.setNotificationAssistantAccessGrantedForUserInternal(assistant, userId, granted); in setNotificationAssistantAccessGrantedForUserInternal()
305 void onGranted(ComponentName assistant, int userId, boolean granted); in onGranted() argument
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto80 // The notification was adjusted by the assistant. Enum value is
1511 // ACTION: Long press home to bring up assistant
6618 // Action: the notification assistant is changing a notification
6746 // Whether the notification has notification-assistant generated
7241 // For OPEN, the subtype is the innovation type for the assistant.