Home
last modified time | relevance | path

Searched refs:sensorCard (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/
DAutoAppPermissionFragment.java350 AutoCardViewPreference sensorCard = findPreference(REQUIRED_APP_PREF_KEY); in setRequiredAppCard() local
351 if (sensorCard == null) { in setRequiredAppCard()
352 sensorCard = createRequiredAppCard(); in setRequiredAppCard()
354 getPreferenceScreen().addPreference(sensorCard); in setRequiredAppCard()
357 sensorCard.setVisible(true); in setRequiredAppCard()
361 AutoCardViewPreference sensorCard = findPreference(BLOCKED_APP_PREF_KEY); in setBlockedAppCard() local
362 if (sensorCard == null) { in setBlockedAppCard()
363 sensorCard = createBlockedAppCard(isRequiredApp); in setBlockedAppCard()
365 getPreferenceScreen().addPreference(sensorCard); in setBlockedAppCard()
368 sensorCard.setVisible(true); in setBlockedAppCard()
[all …]
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DPermissionAppsFragment.java254 CardViewPreference sensorCard = findPreference(BLOCKED_SENSOR_PREF_KEY); in setSensorCard() local
255 if (sensorCard == null) { in setSensorCard()
256 sensorCard = createSensorCard(); in setSensorCard()
258 getPreferenceScreen().addPreference(sensorCard); in setSensorCard()
260 sensorCard.setVisible(true); in setSensorCard()
304 CardViewPreference sensorCard = new CardViewPreference(context, action); in createSensorCard() local
305 sensorCard.setKey(BLOCKED_SENSOR_PREF_KEY); in createSensorCard()
306 sensorCard.setIcon(Utils.getBlockedIcon(mPermGroupName)); in createSensorCard()
307 sensorCard.setTitle(Utils.getBlockedTitle(mPermGroupName)); in createSensorCard()
311 sensorCard.setSummary(context.getString(cardSummary)); in createSensorCard()
[all …]