Searched refs:conditionId (Results 1 – 5 of 5) sorted by relevance
/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/ |
D | PollableConditionProviderService.java | 28 Uri conditionId; field in PollableConditionProviderService 44 public void onSubscribe(Uri conditionId) { in onSubscribe() argument 47 this.conditionId = conditionId; in onSubscribe() 48 notifyCondition(new Condition(conditionId, "", Condition.STATE_TRUE)); in onSubscribe() 52 public void onUnsubscribe(Uri conditionId) { in onUnsubscribe() argument 55 this.conditionId = null; in onUnsubscribe()
|
D | LegacyConditionProviderService.java | 47 new Condition(conditionId, "", on ? Condition.STATE_TRUE : Condition.STATE_FALSE)); in toggleDND()
|
D | ConditionProviderServiceTest.java | 277 final Uri conditionId = new Uri.Builder() in addRule() local 283 cn, conditionId, filter, enabled)); in addRule()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
D | MockConditionProvider.java | 92 public void onSubscribe(Uri conditionId) { in onSubscribe() argument 93 Log.d(TAG, "subscribed to " + conditionId); in onSubscribe() 94 mSubscriptions.add(conditionId); in onSubscribe() 98 public void onUnsubscribe(Uri conditionId) { in onUnsubscribe() argument 99 Log.d(TAG, "unsubscribed from " + conditionId); in onUnsubscribe() 100 mSubscriptions.remove(conditionId); in onUnsubscribe()
|
/cts/tests/tests/security/src/android/security/cts/AutomaticZenRuleTests/ |
D | AutomaticZenRuleTests.java | 100 Uri conditionId = Uri.parse(URI_STRING + ruleNo); in testUsingAppComponents() local 102 components[j], conditionId, null, in testUsingAppComponents() 108 Uri conditionId = Uri.parse(URI_STRING + i); in testUsingAppComponents() local 110 conditionId, null, NotificationManager.INTERRUPTION_FILTER_ALL, true); in testUsingAppComponents()
|