/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/ |
D | DefaultAppViewModel.java | 45 private final Role mRole; field in DefaultAppViewModel 60 mRole = role; in DefaultAppViewModel() 63 mRoleLiveData = Transformations.map(new RoleLiveData(mRole, mUser, application), in DefaultAppViewModel() 87 mManageRoleHolderStateLiveData.setRoleHolderAsUser(mRole.getName(), packageName, true, 0, in setDefaultApp() 96 mRole.onNoneHolderSelectedAsUser(mUser, context); in setNoneDefaultApp() 101 mManageRoleHolderStateLiveData.clearRoleHoldersAsUser(mRole.getName(), 0, mUser, context); in setNoneDefaultApp() 110 private Role mRole; field in DefaultAppViewModel.Factory 120 mRole = role; in Factory() 129 return (T) new DefaultAppViewModel(mRole, mUser, mApplication); in create()
|
D | DefaultAppChildFragment.java | 73 private Role mRole; field in DefaultAppChildFragment 112 mRole = Roles.get(activity).get(mRoleName); in onActivityCreated() 113 preferenceFragment.setTitle(getString(mRole.getLabelResource())); in onActivityCreated() 115 mViewModel = ViewModelProviders.of(this, new DefaultAppViewModel.Factory(mRole, mUser, in onActivityCreated() 149 if (mRole.shouldShowNone()) { in onRoleChanged() 174 descriptionPreference.setSummary(mRole.getDescriptionResource()); in onRoleChanged() 218 mRole.getApplicationRestrictionIntentAsUser(applicationInfo, mUser, context)); in addPreference() 219 RoleUiBehaviorUtils.prepareApplicationPreferenceAsUser(mRole, roleApplicationPreference, in addPreference() 232 mRole.onHolderSelectedAsUser(packageName, liveData.getLastUser(), in onManageRoleHolderStateChanged() 251 RoleUiBehaviorUtils.getConfirmationMessage(mRole, packageName, in onPreferenceClick()
|
D | RoleLiveData.java | 47 private final Role mRole; field in RoleLiveData 54 mRole = role; in RoleLiveData() 82 List<String> holderPackageNames = roleManager.getRoleHoldersAsUser(mRole.getName(), mUser); in loadValueInBackground() 84 List<String> qualifyingPackageNames = mRole.getQualifyingPackagesAsUser(mUser, mContext); in loadValueInBackground() 97 if (!mRole.isApplicationVisibleAsUser(qualifyingApplicationInfo, mUser, mContext)) { in loadValueInBackground()
|
D | RoleItem.java | 36 private final Role mRole; field in RoleItem 45 mRole = role; in RoleItem() 51 return mRole; in getRole()
|
D | RequestRoleFragment.java | 78 private Role mRole; field in RequestRoleFragment 116 mRole = Roles.get(requireContext()).get(mRoleName); in onCreate() 147 String title = getString(mRole.getRequestTitleResource(), applicationLabel); in onCreateDialog() 159 mAdapter = new Adapter(mListView, mRole); in onCreateDialog() 233 mViewModel = ViewModelProviders.of(this, new RequestRoleViewModel.Factory(mRole, in onStart() 302 mRole.onNoneHolderSelectedAsUser(user, context); in setRoleHolder() 332 mRole.onHolderSelectedAsUser(packageName, liveData.getLastUser(), in onManageRoleHolderStateChanged() 477 private final Role mRole; field in RequestRoleFragment.Adapter 498 mRole = role; in Adapter() 534 Intent restrictionIntent = mRole.getApplicationRestrictionIntentAsUser( in onItemClicked() [all …]
|
D | RequestRoleViewModel.java | 43 private Role mRole; field in RequestRoleViewModel.Factory 49 mRole = role; in Factory() 57 return (T) new RequestRoleViewModel(mRole, mApplication); in create()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/specialappaccess/ |
D | SpecialAppAccessChildFragment.java | 68 private Role mRole; field in SpecialAppAccessChildFragment 103 mRole = Roles.get(activity).get(mRoleName); in onActivityCreated() 104 preferenceFragment.setTitle(getString(mRole.getLabelResource())); in onActivityCreated() 106 mViewModel = ViewModelProviders.of(this, new SpecialAppAccessViewModel.Factory(mRole, in onActivityCreated() 168 mRole.getApplicationRestrictionIntentAsUser(qualifyingApplicationInfo, user, in onRoleChanged() 170 RoleUiBehaviorUtils.prepareApplicationPreferenceAsUser(mRole, roleApplicationPreference, in onRoleChanged() 179 descriptionPreference.setSummary(mRole.getDescriptionResource()); in onRoleChanged() 192 mRole.onHolderSelectedAsUser(packageName, liveData.getLastUser(), in onManageRoleHolderStateChanged()
|
D | SpecialAppAccessViewModel.java | 51 private final Role mRole; field in SpecialAppAccessViewModel 63 mRole = role; in SpecialAppAccessViewModel() 142 liveData.setRoleHolderAsUser(mRole.getName(), packageName, allow, 0, user, in setSpecialAppAccessAsUser() 167 private Role mRole; field in SpecialAppAccessViewModel.Factory 173 mRole = role; in Factory() 181 return (T) new SpecialAppAccessViewModel(mRole, mApplication); in create()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | ConcreteClientModeManager.java | 126 private ClientRole mRole = null; field in ConcreteClientModeManager 202 if (mRole == ROLE_CLIENT_SECONDARY_LONG_LIVED) { in setSecondaryInternet() 213 if (mRole == ROLE_CLIENT_SECONDARY_LONG_LIVED) { in setSecondaryInternetDbsAp() 246 updateConnectModeState(mRole, WifiManager.WIFI_STATE_DISABLING, in stop() 249 updateConnectModeState(mRole, WifiManager.WIFI_STATE_DISABLING, in stop() 410 updateConnectModeState(mRole, WifiManager.WIFI_STATE_UNKNOWN, in continueToStopWifi() 412 updateConnectModeState(mRole, WifiManager.WIFI_STATE_DISABLED, in continueToStopWifi() 424 updateConnectModeState(mRole, WifiManager.WIFI_STATE_ENABLED, in continueToStopWifi() 478 if (mRole != ROLE_CLIENT_PRIMARY && !isSecondaryInternet()) { in getWifiOffDeferringTimeMs() 529 return mRole; in getRole() [all …]
|
D | SoftApManager.java | 263 private SoftApRole mRole = null; field in SoftApManager 510 mRole = role; in SoftApManager() 585 return mRole; in getRole() 601 Preconditions.checkState(mRole == null); in setRole() 602 mRole = role; in setRole() 669 pw.println("mRole: " + mRole); in dump() 1922 mRole = null; in exitImpl()
|
D | WifiMetrics.java | 1179 private int mRole; field in WifiMetrics.ConnectionEvent 1980 currentConnectionEvent.mRole = role; in startConnectionEvent() 2232 …if (currentConnectionEvent.mRole == WifiStatsLog.WIFI_CONNECTION_RESULT_REPORTED__ROLE__ROLE_CLIEN… in endConnectionEvent() 2263 currentConnectionEvent.mRole, in endConnectionEvent() 2717 …if (mCurrentSession.mConnectionEvent.mRole == WifiStatsLog.WIFI_CONNECTION_RESULT_REPORTED__ROLE__… in reportNetworkDisconnect() 2740 mCurrentSession.mConnectionEvent.mRole, in reportNetworkDisconnect()
|
/packages/modules/Bluetooth/apex/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 656 Landroid/bluetooth/BluetoothHealthAppConfiguration;->mRole:I
|