/packages/services/Car/car_product/sepolicy/private/ |
D | carservice_app.te | 17 allow carservice_app { 50 allow carservice_app system_app_data_file:dir create_dir_perms; 51 allow carservice_app system_app_data_file:{ file lnk_file } create_file_perms; 53 allow carservice_app system_car_data_file:dir create_dir_perms; 54 allow carservice_app system_car_data_file:{ file lnk_file } create_file_perms; 58 allow carservice_app cgroup:file rw_file_perms; 61 allow carservice_app proc_uid_io_stats:file { read open getattr }; 63 allow carservice_app procfsinspector:binder call; 66 allow carservice_app statsd:binder call; 82 allow carservice_app gpu_device:chr_file rw_file_perms; [all …]
|
/packages/services/Car/evs/sepolicy/ |
D | evs_driver.te | 6 # allow init to launch processes in this context 12 allow hal_evs_driver device:dir { open read }; 13 allow hal_evs_driver video_device:chr_file rw_file_perms; 18 allow hal_evs_driver gpu_device:chr_file rw_file_perms; 20 allow hal_evs_driver surfaceflinger_service:service_manager find; 21 allow hal_evs_driver ion_device:chr_file r_file_perms; 24 allow hal_evs_driver self:netlink_kobject_uevent_socket create_socket_perms_no_ioctl; 27 allow hal_evs_driver automotive_display_service_server:binder call; 28 allow hal_evs_driver fwk_automotive_display_hwservice:hwservice_manager find;
|
D | evs_manager.te | 6 # allow init to launch processes in this context 10 # allow use of hwservices 11 allow evs_manager hal_graphics_allocator_default:fd use; 13 # allow write to fd 14 allow evs_manager shell:fd use; 15 allow evs_manager shell:fifo_file write; 17 # allow evs_manager to send information to statsd socket
|
D | evs_app.te | 8 # allow init to launch processes in this context 14 allow evs_app evs_app_files:file { getattr open read }; 15 allow evs_app evs_app_files:dir search; 18 allow evs_app gpu_device:chr_file rw_file_perms; 19 allow evs_app ion_device:chr_file r_file_perms; 20 allow evs_app system_file:dir r_dir_perms; 24 allow evs_app surfaceflinger_service:service_manager find;
|
D | servicemanager.te | 1 allow servicemanager evs_app:dir search; 2 allow servicemanager evs_app:file r_file_perms; 3 allow servicemanager evs_app:process getattr;
|
D | surfaceflinger.te | 1 allow surfaceflinger hal_evs_driver:fd use; 2 allow surfaceflinger hal_evs_driver:binder call;
|
/packages/services/Car/car_product/sepolicy/test/ |
D | experimentalcarservice_app.te | 5 allow experimentalcarservice_app wifi_service:service_manager find; 9 allow experimentalcarservice_app { 39 allow experimentalcarservice_app system_app_data_file:dir create_dir_perms; 40 allow experimentalcarservice_app system_app_data_file:{ file lnk_file } create_file_perms; 42 allow experimentalcarservice_app system_car_data_file:dir create_dir_perms; 43 allow experimentalcarservice_app system_car_data_file:{ file lnk_file } create_file_perms; 47 allow experimentalcarservice_app cgroup:file rw_file_perms;
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/ |
D | ZenModeRemindersPreferenceControllerTest.java | 127 boolean allow = true; in onPreferenceChanged_EnableReminders() 128 mController.onPreferenceChange(mockPref, allow); in onPreferenceChanged_EnableReminders() 131 .saveSoundPolicy(NotificationManager.Policy.PRIORITY_CATEGORY_REMINDERS, allow); in onPreferenceChanged_EnableReminders() 136 boolean allow = false; in onPreferenceChanged_DisableReminders() 137 mController.onPreferenceChange(mockPref, allow); in onPreferenceChanged_DisableReminders() 140 .saveSoundPolicy(NotificationManager.Policy.PRIORITY_CATEGORY_REMINDERS, allow); in onPreferenceChanged_DisableReminders()
|
D | ZenModeEventsPreferenceControllerTest.java | 125 boolean allow = true; in onPreferenceChanged_EnableEvents() 126 mController.onPreferenceChange(mockPref, allow); in onPreferenceChanged_EnableEvents() 129 .saveSoundPolicy(NotificationManager.Policy.PRIORITY_CATEGORY_EVENTS, allow); in onPreferenceChanged_EnableEvents() 134 boolean allow = false; in onPreferenceChanged_DisableEvents() 135 mController.onPreferenceChange(mockPref, allow); in onPreferenceChanged_DisableEvents() 138 .saveSoundPolicy(NotificationManager.Policy.PRIORITY_CATEGORY_EVENTS, allow); in onPreferenceChanged_DisableEvents()
|
D | ZenModeMediaPreferenceControllerTest.java | 126 boolean allow = true; in onPreferenceChanged_EnableEvents() 127 mController.onPreferenceChange(mockPref, allow); in onPreferenceChanged_EnableEvents() 130 NotificationManager.Policy.PRIORITY_CATEGORY_MEDIA, allow); in onPreferenceChanged_EnableEvents() 135 boolean allow = false; in onPreferenceChanged_DisableEvents() 136 mController.onPreferenceChange(mockPref, allow); in onPreferenceChanged_DisableEvents() 139 NotificationManager.Policy.PRIORITY_CATEGORY_MEDIA, allow); in onPreferenceChanged_DisableEvents()
|
D | ZenModeRepeatCallersPreferenceControllerTest.java | 142 boolean allow = true; in onPreferenceChanged_EnableRepeatCallers() 143 mController.onPreferenceChange(mockPref, allow); in onPreferenceChanged_EnableRepeatCallers() 147 allow); in onPreferenceChanged_EnableRepeatCallers() 152 boolean allow = false; in onPreferenceChanged_DisableRepeatCallers() 153 mController.onPreferenceChange(mockPref, allow); in onPreferenceChanged_DisableRepeatCallers() 157 allow); in onPreferenceChanged_DisableRepeatCallers()
|
/packages/services/Car/car_product/sepolicy/public/ |
D | te_macros | 1 # Define a macro to allow extra HAL dump 4 allow $1_server dumpstate:fifo_file write; 5 allow $1_server dumpstate:fd use; 6 allow dumpstate $1:process signal;
|
/packages/apps/Settings/src/com/android/settings/notification/zen/ |
D | ZenRuleCustomSwitchPreferenceController.java | 56 final boolean allow = (Boolean) newValue; in onPreferenceChange() 59 + " allow=" + allow); in onPreferenceChange() 62 Pair.create(MetricsProto.MetricsEvent.FIELD_ZEN_TOGGLE_EXCEPTION, allow ? 1 : 0), in onPreferenceChange() 65 .allowCategory(mCategory, allow) in onPreferenceChange()
|
D | ZenRuleRepeatCallersPreferenceController.java | 72 final boolean allow = (Boolean) newValue; in onPreferenceChange() 75 + ZenPolicy.PRIORITY_CATEGORY_REPEAT_CALLERS + " allow=" + allow); in onPreferenceChange() 78 Pair.create(MetricsProto.MetricsEvent.FIELD_ZEN_TOGGLE_EXCEPTION, allow ? 1 : 0), in onPreferenceChange() 81 .allowRepeatCallers(allow) in onPreferenceChange()
|
D | ZenModeBackend.java | 126 protected int getNewDefaultPriorityCategories(boolean allow, int categoryType) { in getNewDefaultPriorityCategories() argument 128 if (allow) { in getNewDefaultPriorityCategories() 169 protected void saveSoundPolicy(int category, boolean allow) { in saveSoundPolicy() argument 170 int priorityCategories = getNewDefaultPriorityCategories(allow, category); in saveSoundPolicy()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | ZenRuleCustomSwitchPreferenceController.java | 57 final boolean allow = (Boolean) newValue; in onPreferenceChange() 60 + " allow=" + allow); in onPreferenceChange() 63 Pair.create(MetricsProto.MetricsEvent.FIELD_ZEN_TOGGLE_EXCEPTION, allow ? 1 : 0), in onPreferenceChange() 66 .allowCategory(mCategory, allow) in onPreferenceChange()
|
D | ZenRuleRepeatCallersPreferenceController.java | 72 final boolean allow = (Boolean) newValue; in onPreferenceChange() 75 + ZenPolicy.PRIORITY_CATEGORY_REPEAT_CALLERS + " allow=" + allow); in onPreferenceChange() 78 Pair.create(MetricsProto.MetricsEvent.FIELD_ZEN_TOGGLE_EXCEPTION, allow ? 1 : 0), in onPreferenceChange() 81 .allowRepeatCallers(allow) in onPreferenceChange()
|
D | ZenModeBackend.java | 124 protected int getNewDefaultPriorityCategories(boolean allow, int categoryType) { in getNewDefaultPriorityCategories() argument 126 if (allow) { in getNewDefaultPriorityCategories() 159 protected void saveSoundPolicy(int category, boolean allow) { in saveSoundPolicy() argument 160 int priorityCategories = getNewDefaultPriorityCategories(allow, category); in saveSoundPolicy()
|
/packages/services/Car/watchdog/sepolicy/private/ |
D | carwatchdog.te | 16 allow carwatchdogd proc_uid_io_stats:file r_file_perms; 19 allow carwatchdogd proc_stat:file r_file_perms; 22 allow carwatchdogd package_native_service:service_manager find;
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
D | AppStateNotificationBridgeTest.java | 435 AppEntry allow = mock(AppEntry.class); in testFilterRecency() local 436 allow.extraInfo = allowState; in testFilterRecency() 439 assertTrue(FILTER_APP_NOTIFICATION_RECENCY.filterApp(allow)); in testFilterRecency() 453 AppEntry allow = mock(AppEntry.class); in testFilterFrequency() local 454 allow.extraInfo = allowState; in testFilterFrequency() 456 assertTrue(FILTER_APP_NOTIFICATION_FREQUENCY.filterApp(allow)); in testFilterFrequency() 470 AppEntry allow = mock(AppEntry.class); in testFilterBlocked() local 471 allow.extraInfo = allowState; in testFilterBlocked() 473 assertTrue(FILTER_APP_NOTIFICATION_BLOCKED.filterApp(allow)); in testFilterBlocked()
|
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
D | BluetoothRequestPermissionActivity.java | 307 .setPositiveButton(R.string.allow, (dialog, which) -> proceedAndFinish()) in createDiscoverableConfirmDialog() 321 .setPositiveButton(R.string.allow, this::onConfirmEnableBluetooth) in createRequestEnableBluetoothDialog() 338 .setPositiveButton(R.string.allow, this::onConfirmEnableBluetooth) in createRequestEnableBluetoothDialogWithTimeout() 386 .setPositiveButton(R.string.allow, this::onConfirmDisableBluetooth) in createRequestDisableBluetoothDialog()
|
/packages/services/Car/computepipe/sepolicy/private/ |
D | computepipe_router.te | 4 # allow init to launch processes in this context 7 # allow this domain to instantiate query and registration interface
|
/packages/apps/Dialer/java/com/android/dialer/logging/ |
D | screen_event.proto | 64 // Screen displayed to allow the user to see an overview of all blocked 68 // Screen displayed to allow the user to add a new blocked number
|
/packages/apps/PermissionController/src/com/android/permissioncontroller/role/ui/specialappaccess/ |
D | SpecialAppAccessViewModel.java | 133 public void setSpecialAppAccessAsUser(@NonNull String packageName, boolean allow, in setSpecialAppAccessAsUser() argument 142 liveData.setRoleHolderAsUser(mRole.getName(), packageName, allow, 0, user, in setSpecialAppAccessAsUser() local
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/ |
D | GroupSelectionPreferenceControllerTest.java | 80 public void setAllowPassThrough(boolean allow) { in setAllowPassThrough() argument 81 mAllowPassThrough = allow; in setAllowPassThrough()
|