/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | NetworkPolicyEditor.java | 98 final NetworkPolicy policy = getPolicy(template); in hasLimitedPolicy() 103 NetworkPolicy policy = getPolicy(template); in getOrCreatePolicy() 111 public NetworkPolicy getPolicy(NetworkTemplate template) { in getPolicy() method in NetworkPolicyEditor 121 NetworkPolicy policy = getPolicy(template); in getPolicyMaybeUnquoted() 125 return getPolicy(template); in getPolicyMaybeUnquoted() 150 final NetworkPolicy policy = getPolicy(template); in getPolicyCycleDay() 168 final NetworkPolicy policy = getPolicy(template); in getPolicyWarningBytes() 190 final NetworkPolicy policy = getPolicy(template); in getPolicyLimitBytes()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BaseAppStateTracker.java | 181 T getPolicy() { in getPolicy() method in BaseAppStateTracker 182 return mInjector.getPolicy(); in getPolicy() 239 getPolicy().onPropertiesChanged(name); in onPropertiesChanged() 272 mInjector.getPolicy().dump(pw, " " + prefix); in dump() 320 getPolicy().onSystemReady(); in onSystemReady() 335 T getPolicy() { in getPolicy() method in BaseAppStateTracker.Injector
|
D | BaseAppStateTimeSlotEventsTracker.java | 82 if (mInjector.getPolicy().shouldExempt(packageName, uid) != REASON_DENIED) { in handleNewEvent() 96 notify = totalEvents >= mInjector.getPolicy().getNumOfEventsThreshold(); in handleNewEvent() 99 mInjector.getPolicy().onExcessiveEvents( in handleNewEvent() 130 mInjector.getPolicy().onExcessiveEvents( in onNumOfEventsThresholdChanged() 147 trim(Math.max(0, now - mInjector.getPolicy().getMaxTrackingDuration())); in trimEvents() 152 mInjector.getPolicy().onUserInteractionStarted(packageName, uid); in onUserInteractionStarted()
|
D | AppBroadcastEventsTracker.java | 59 if (mInjector.getPolicy().isEnabled()) { in onSendingBroadcast() 78 mInjector.getPolicy().getTimeSlotSize(), TAG, mInjector.getPolicy()); in createAppStateEvents()
|
D | AppBindServiceEventsTracker.java | 60 if (mInjector.getPolicy().isEnabled()) { in onBindingService() 79 mInjector.getPolicy().getTimeSlotSize(), TAG, mInjector.getPolicy()); in createAppStateEvents()
|
D | AppFGSTracker.java | 210 return new PackageDurations(uid, packageName, mInjector.getPolicy(), this); in createAppStateEvents() 220 if (!mInjector.getPolicy().isEnabled()) { in handleForegroundServicesChanged() 225 final int exemptReason = mInjector.getPolicy().shouldExemptUid(uid); in handleForegroundServicesChanged() 249 mInjector.getPolicy().onLongRunningFgsGone(packageName, uid); in handleForegroundServicesChanged() 384 + Math.max(0, mInjector.getPolicy().getFgsLongRunningThreshold() - longest); in scheduleDurationCheckLocked() 396 final AppFGSPolicy policy = mInjector.getPolicy(); in checkLongRunningFgs() 452 if (!mInjector.getPolicy().isEnabled()) { in handleForegroundServicesChanged() 455 final int exemptReason = mInjector.getPolicy().shouldExemptUid(uid); in handleForegroundServicesChanged() 465 pkg = new PackageDurations(uid, packageName, mInjector.getPolicy(), this); in handleForegroundServicesChanged() 500 if (mInjector.getPolicy().isEnabled()) { in onBgFgsLongRunningThresholdChanged()
|
D | AppPermissionTracker.java | 119 final Pair[] permissions = mInjector.getPolicy().getBgPermissionsInMonitor(); in handleAppOpsInit() 133 final Pair[] permissions = mInjector.getPolicy().getBgPermissionsInMonitor(); in handlePermissionsInit() 202 final Pair[] permissions = mInjector.getPolicy().getBgPermissionsInMonitor(); in handleOpChanged() 223 final Pair[] permissions = mInjector.getPolicy().getBgPermissionsInMonitor(); in handlePermissionsChanged() 453 onPermissionTrackerEnabled(mInjector.getPolicy().isEnabled()); in onLockedBootCompleted() 460 final Pair[] permissions = mInjector.getPolicy().getBgPermissionsInMonitor(); in dump()
|
D | AppBatteryExemptionTracker.java | 103 return new UidBatteryStates(uid, TAG, mInjector.getPolicy()); in createAppStateEvents() 113 if (!mInjector.getPolicy().isEnabled()) { in onStateChange() 207 if (!mInjector.getPolicy().isEnabled()) { in getUidBatteryExemptedUsageSince() 383 trim(Math.max(0, now - mInjector.getPolicy().getMaxTrackingDuration())); in trimDurations() 389 mInjector.getPolicy().dump(pw, prefix); in dump()
|
D | AppMediaSessionTracker.java | 76 return new SimplePackageDurations(uid, packageName, mInjector.getPolicy()); in createAppStateEvents() 161 trim(Math.max(0, now - mInjector.getPolicy().getMaxTrackingDuration())); in trimDurations()
|
D | AppBatteryTracker.java | 233 if (mInjector.getPolicy().isEnabled()) { in scheduleBatteryUsageStatsUpdateIfNecessary() 250 final AppBatteryPolicy bgPolicy = mInjector.getPolicy(); in logAppBatteryTrackerIfNeeded() 299 final BatteryUsage bgUsage = temp.calcPercentage(uid, mInjector.getPolicy()); in getTrackerInfoForStatsd() 364 mInjector.getPolicy().onUserRemovedLocked(userId); in onUserRemoved() 373 mInjector.getPolicy().onUidRemovedLocked(uid); in onUidRemoved() 379 mInjector.getPolicy().onUserInteractionStarted(packageName, uid); in onUserInteractionStarted() 384 mInjector.getPolicy().onBackgroundRestrictionChanged(uid, pkgName, restricted); in onBackgroundRestrictionChanged() 435 final AppBatteryPolicy bgPolicy = mInjector.getPolicy(); in checkBatteryUsageStats() 518 final AppBatteryPolicy bgPolicy = mInjector.getPolicy(); in updateBatteryUsageStatsOnce() 671 final AppBatteryPolicy bgPolicy = mInjector.getPolicy(); in updateBatteryUsageStatsOnceInternal() [all …]
|
D | BaseAppStateDurationsTracker.java | 62 uidStateDurations = new UidStateDurations(uid, mInjector.getPolicy()); in onUidProcStateChanged()
|
D | BaseAppStateEventsTracker.java | 172 final T policy = mInjector.getPolicy(); in dump()
|
D | AppRestrictionController.java | 1815 @RestrictionLevel int l = mAppStateTrackers.get(i).getPolicy() in calcAppRestrictionLevelFromTackers()
|
/frameworks/base/libs/input/ |
D | MouseCursorController.cpp | 55 mLocked.requestedPointerType = mContext.getPolicy()->getDefaultPointerIconId(); in MouseCursorController() 308 const int32_t iconId = mContext.getPolicy()->getCustomPointerIconId(); in setCustomPointerIcon() 386 if (mLocked.requestedPointerType == mContext.getPolicy()->getDefaultPointerIconId()) { in updatePointerLocked() 418 sp<PointerControllerPolicyInterface> policy = mContext.getPolicy(); in loadResourcesLocked() 442 mContext.getPolicy()->loadAdditionalMouseResources(&mLocked.additionalMouseResources, in getAdditionalMouseResources()
|
D | TouchSpotController.cpp | 66 mContext.getPolicy()->loadPointerResources(&mResources, mDisplayId); in TouchSpotController() 209 mContext.getPolicy()->loadPointerResources(&mResources, mDisplayId); in reloadSpotResources()
|
D | PointerController.cpp | 109 mContext.getPolicy()->onPointerDisplayIdChanged(ADISPLAY_ID_NONE, 0, 0); in ~PointerController() 262 mContext.getPolicy()->onPointerDisplayIdChanged(viewport.displayId, xPos, yPos); in setDisplayViewport()
|
D | PointerControllerContext.h | 109 sp<PointerControllerPolicyInterface> getPolicy();
|
D | PointerControllerContext.cpp | 92 sp<PointerControllerPolicyInterface> PointerControllerContext::getPolicy() { in getPolicy() function in android::PointerControllerContext
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | InputMapper.h | 51 inline InputReaderPolicyInterface* getPolicy() { return getContext()->getPolicy(); } in getPolicy() function
|
/frameworks/base/cmds/incidentd/src/ |
D | Privacy.h | 84 uint8_t getPolicy() const;
|
/frameworks/native/services/inputflinger/reader/include/ |
D | InputReaderContext.h | 57 virtual InputReaderPolicyInterface* getPolicy() = 0;
|
D | InputReader.h | 146 InputReaderPolicyInterface* getPolicy() REQUIRES(mReader->mLock) override;
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/ |
D | NetworkCycleDataLoader.java | 58 mPolicy = policyEditor.getPolicy(mNetworkTemplate); in NetworkCycleDataLoader()
|
/frameworks/native/services/inputflinger/reader/ |
D | InputDevice.cpp | 276 mContext->getPolicy()->getKeyboardLayoutOverlay(mIdentifier); in configure() 292 std::string alias = mContext->getPolicy()->getDeviceAlias(mIdentifier); in configure()
|
D | InputReader.cpp | 953 InputReaderPolicyInterface* InputReader::ContextImpl::getPolicy() { in getPolicy() function in android::InputReader::ContextImpl
|