Home
last modified time | relevance | path

Searched refs:addPolicy (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/tests/anomaly-tester/src/com/android/settings/anomaly/tester/
DAnomalyActivity.java53 .addPolicy(AnomalyPolicyBuilder.KEY_ANOMALY_DETECTION_ENABLED, true) in startBluetoothAnomaly()
54 .addPolicy(AnomalyPolicyBuilder.KEY_BLUETOOTH_SCAN_DETECTION_ENABLED, true) in startBluetoothAnomaly()
55 .addPolicy(AnomalyPolicyBuilder.KEY_BLUETOOTH_SCAN_THRESHOLD, in startBluetoothAnomaly()
80 .addPolicy(AnomalyPolicyBuilder.KEY_ANOMALY_DETECTION_ENABLED, true) in startWakelockAnomaly()
81 .addPolicy(AnomalyPolicyBuilder.KEY_WAKELOCK_DETECTION_ENABLED, true) in startWakelockAnomaly()
82 .addPolicy(AnomalyPolicyBuilder.KEY_WAKELOCK_THRESHOLD, in startWakelockAnomaly()
/packages/apps/Settings/tests/anomaly-tester/src/com/android/settings/anomaly/tester/utils/
DAnomalyPolicyBuilder.java44 public AnomalyPolicyBuilder addPolicy(String key, String value) { in addPolicy() method in AnomalyPolicyBuilder
49 public AnomalyPolicyBuilder addPolicy(String key, long value) { in addPolicy() method in AnomalyPolicyBuilder
55 public AnomalyPolicyBuilder addPolicy(String key, boolean value) { in addPolicy() method in AnomalyPolicyBuilder
/packages/apps/Dialer/java/com/android/voicemail/impl/sync/
DSyncTask.java54 addPolicy(retryPolicy); in SyncTask()
55 addPolicy(new MinimalIntervalPolicy(MINIMAL_INTERVAL_MILLIS)); in SyncTask()
DUploadTask.java42 addPolicy(new PostponePolicy(POSTPONE_MILLIS)); in UploadTask()
DSyncOneTask.java56 addPolicy(new RetryPolicy(RETRY_TIMES, RETRY_INTERVAL_MILLIS)); in SyncOneTask()
/packages/apps/Dialer/java/com/android/voicemail/impl/scheduling/
DBaseTask.java101 public BaseTask addPolicy(Policy policy) { in addPolicy() method in BaseTask
/packages/apps/Dialer/java/com/android/voicemail/impl/
DActivationTask.java75 addPolicy(retryPolicy); in ActivationTask()