Home
last modified time | relevance | path

Searched refs:AppStateAppOpsBridge (Results 1 – 24 of 24) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DAppStateAppOpsBridgeTest.java68 AppStateAppOpsBridge.PermissionState permissionState = in permissionState_modeDefault_IsPermissible()
69 new AppStateAppOpsBridge.PermissionState("pkg1", UserHandle.of(123)); in permissionState_modeDefault_IsPermissible()
81 AppStateAppOpsBridge.PermissionState permissionState = in permissionState_modeErrored_IsPermissible()
82 new AppStateAppOpsBridge.PermissionState("pkg1", UserHandle.of(123)); in permissionState_modeErrored_IsPermissible()
94 AppStateAppOpsBridge.PermissionState permissionState = in permissionState_modeAllowed_IsPermissible()
95 new AppStateAppOpsBridge.PermissionState("pkg1", UserHandle.of(123)); in permissionState_modeAllowed_IsPermissible()
107 AppStateAppOpsBridge.PermissionState permissionState = in permissionState_modeIgnored_IsPermissible()
108 new AppStateAppOpsBridge.PermissionState("pkg1", UserHandle.of(123)); in permissionState_modeIgnored_IsPermissible()
118 private class TestAppStateAppOpsBridge extends AppStateAppOpsBridge {
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DTurnScreenOnDetails.java36 import com.android.settings.applications.AppStateAppOpsBridge;
50 private AppStateAppOpsBridge.PermissionState mPermissionState;
120 final AppStateAppOpsBridge.PermissionState state; in getSummary()
121 if (entry.extraInfo instanceof AppStateAppOpsBridge.PermissionState) { in getSummary()
122 state = (AppStateAppOpsBridge.PermissionState) entry.extraInfo; in getSummary()
DMediaManagementAppsDetails.java30 import com.android.settings.applications.AppStateAppOpsBridge.PermissionState;
DWriteSettingsDetails.java31 import com.android.settings.applications.AppStateAppOpsBridge.PermissionState;
DManageExternalStorageDetails.java34 import com.android.settings.applications.AppStateAppOpsBridge.PermissionState;
DDrawOverlayDetails.java37 import com.android.settings.applications.AppStateAppOpsBridge.PermissionState;
/packages/apps/Settings/src/com/android/settings/wifi/
DAppStateChangeWifiStateBridge.java24 import com.android.settings.applications.AppStateAppOpsBridge;
36 public class AppStateChangeWifiStateBridge extends AppStateAppOpsBridge {
70 public static class WifiSettingsState extends AppStateAppOpsBridge.PermissionState {
DChangeWifiStateDetails.java31 import com.android.settings.applications.AppStateAppOpsBridge.PermissionState;
/packages/apps/Car/Settings/src/com/android/car/settings/applications/specialaccess/
DAppStateAppOpsBridge.java46 public class AppStateAppOpsBridge implements AppEntryListManager.ExtraInfoBridge { class
48 private static final Logger LOG = new Logger(AppStateAppOpsBridge.class);
64 public AppStateAppOpsBridge(Context context, int appOpsOpCode, String permission) { in AppStateAppOpsBridge() method in AppStateAppOpsBridge
71 AppStateAppOpsBridge(Context context, int appOpsOpCode, String permission, in AppStateAppOpsBridge() method in AppStateAppOpsBridge
DAppOpsPreferenceController.java31 import com.android.car.settings.applications.specialaccess.AppStateAppOpsBridge.PermissionState;
164 AppStateAppOpsBridge extraInfoBridge = new AppStateAppOpsBridge(getContext(), mAppOpsOpCode, in onCreateInternal()
DWifiControlPreferenceController.java24 import com.android.car.settings.applications.specialaccess.AppStateAppOpsBridge.PermissionState;
/packages/apps/Settings/src/com/android/settings/applications/
DAppStateAppOpsBridge.java46 public abstract class AppStateAppOpsBridge extends AppStateBaseBridge { class
58 public AppStateAppOpsBridge(Context context, ApplicationsState appState, Callback callback, in AppStateAppOpsBridge() method in AppStateAppOpsBridge
64 AppStateAppOpsBridge(Context context, ApplicationsState appState, Callback callback, in AppStateAppOpsBridge() method in AppStateAppOpsBridge
71 AppStateAppOpsBridge(Context context, ApplicationsState appState, Callback callback, in AppStateAppOpsBridge() method in AppStateAppOpsBridge
77 AppStateAppOpsBridge(Context context, ApplicationsState appState, Callback callback, in AppStateAppOpsBridge() method in AppStateAppOpsBridge
DAppStateWriteSettingsBridge.java31 public class AppStateWriteSettingsBridge extends AppStateAppOpsBridge {
54 public static class WriteSettingsState extends AppStateAppOpsBridge.PermissionState {
DAppStateUsageBridge.java31 public class AppStateUsageBridge extends AppStateAppOpsBridge {
62 public static class UsageState extends AppStateAppOpsBridge.PermissionState {
DAppStateOverlayBridge.java35 public class AppStateOverlayBridge extends AppStateAppOpsBridge {
57 public static class OverlayState extends AppStateAppOpsBridge.PermissionState {
DAppStateTurnScreenOnBridge.java34 public class AppStateTurnScreenOnBridge extends AppStateAppOpsBridge {
DAppStateMediaManagementAppsBridge.java34 public class AppStateMediaManagementAppsBridge extends AppStateAppOpsBridge {
DAppStateManageExternalStorageBridge.java32 public class AppStateManageExternalStorageBridge extends AppStateAppOpsBridge {
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/specialaccess/
DAppStateAppOpsBridgeTest.java70 private AppStateAppOpsBridge mBridge;
94 mBridge = new AppStateAppOpsBridge(mContext, APP_OP_CODE, PERMISSION, mMockIPackageManager, in setUp()
199 assertThat(((AppStateAppOpsBridge.PermissionState) entry.extraInfo).isPermissible()) in loadsAppOpsExtraInfo_modeAllowed_isPermissible()
214 assertThat(((AppStateAppOpsBridge.PermissionState) entry.extraInfo).isPermissible()) in loadsAppOpsExtraInfo_modeDefault_isPermissible()
233 assertThat(((AppStateAppOpsBridge.PermissionState) entry.extraInfo).isPermissible()) in loadsAppOpsExtraInfo_modeIgnored_isNotPermissible()
282 mBridge = new AppStateAppOpsBridge(mContext, APP_OP_CODE, PERMISSION, mMockIPackageManager, in loadsAppOpExtraInfo_multipleProfiles()
DAppOpsPreferenceControllerTest.java284 AppStateAppOpsBridge.PermissionState extraInfo = mock( in createAppEntry()
285 AppStateAppOpsBridge.PermissionState.class); in createAppEntry()
302 verify(mMockAppEntryListManager).init(any(AppStateAppOpsBridge.class), any(), in setupPreferenceController()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DMediaManagementAppsDetailsTest.java31 import com.android.settings.applications.AppStateAppOpsBridge;
52 private AppStateAppOpsBridge.PermissionState mPermissionState;
DTurnScreenOnDetailsTest.java31 import com.android.settings.applications.AppStateAppOpsBridge;
52 private AppStateAppOpsBridge.PermissionState mPermissionState;
DManageExternalStorageDetailsTest.java34 import com.android.settings.applications.AppStateAppOpsBridge.PermissionState;
/packages/apps/Settings/src/com/android/settings/applications/manageapplications/
DManageApplications.java118 import com.android.settings.applications.AppStateAppOpsBridge.PermissionState;