Home
last modified time | relevance | path

Searched refs:assistant (Results 1 – 10 of 10) 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/base/core/java/android/app/
DINotificationManager.aidl160 boolean isNotificationAssistantAccessGranted(in ComponentName assistant); in isNotificationAssistantAccessGranted() argument
162 void setNotificationAssistantAccessGranted(in ComponentName assistant, boolean enabled); in setNotificationAssistantAccessGranted() argument
164 …void setNotificationAssistantAccessGrantedForUser(in ComponentName assistant, int userId, boolean … in setNotificationAssistantAccessGrantedForUser() argument
DNotificationManager.java1173 public boolean isNotificationAssistantAccessGranted(@NonNull ComponentName assistant) { in isNotificationAssistantAccessGranted() argument
1176 return service.isNotificationAssistantAccessGranted(assistant); in isNotificationAssistantAccessGranted()
1342 public void setNotificationAssistantAccessGranted(@Nullable ComponentName assistant, in setNotificationAssistantAccessGranted() argument
1346 service.setNotificationAssistantAccessGranted(assistant, granted); in setNotificationAssistantAccessGranted()
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/Settings/
Dstrategy_for_usage.pfw19 /Policy/policy/usages/assistant/applicable_strategy/strategy = media
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java3896 public boolean isNotificationAssistantAccessGranted(ComponentName assistant) {
3897 Preconditions.checkNotNull(assistant);
3898 checkCallerIsSystemOrSameApp(assistant.getPackageName());
3899 return mAssistants.isPackageOrComponentAllowed(assistant.flattenToString(),
3911 public void setNotificationAssistantAccessGranted(ComponentName assistant,
3914 assistant, getCallingUserHandle().getIdentifier(), granted);
3945 public void setNotificationAssistantAccessGrantedForUser(ComponentName assistant,
3953 setNotificationAssistantAccessGrantedForUserInternal(assistant, userId, granted);
4164 ComponentName assistant, int baseUserId, boolean granted) {
4169 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.java289 ComponentName assistant, int userId, boolean granted) { in setNotificationAssistantAccessGrantedForUserInternal() argument
291 mNotificationAssistantAccessGrantedCallback.onGranted(assistant, userId, granted); in setNotificationAssistantAccessGrantedForUserInternal()
294 super.setNotificationAssistantAccessGrantedForUserInternal(assistant, userId, granted); in setNotificationAssistantAccessGrantedForUserInternal()
303 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.