/frameworks/base/core/java/com/android/internal/app/ |
D | AssistUtils.java | 184 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/ |
D | INotificationManager.aidl | 160 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
|
D | NotificationManager.java | 1173 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/ |
D | strategy_for_usage.pfw | 19 /Policy/policy/usages/assistant/applicable_strategy/strategy = media
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationManagerService.java | 3896 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/ |
D | notification.proto | 97 // (eg: "notification assistant" or "notification listener").
|
/frameworks/base/core/proto/android/providers/settings/ |
D | secure.proto | 99 // 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/ |
D | plugins.md | 67 [Allow lockscreen camera/phone/assistant buttons to be replaced](/packages/SystemUI/plugin/src/com/…
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationManagerServiceTest.java | 289 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/ |
D | metrics_constants.proto | 80 // 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.
|