Home
last modified time | relevance | path

Searched refs:conditions (Results 1 – 25 of 196) sorted by relevance

12345678

/frameworks/base/services/core/java/com/android/server/notification/
DConditionProviders.java187 private Condition[] validateConditions(String pkg, Condition[] conditions) { in validateConditions() argument
188 if (conditions == null || conditions.length == 0) return null; in validateConditions()
189 final int N = conditions.length; in validateConditions()
192 final Uri id = conditions[i].id; in validateConditions()
201 valid.put(id, conditions[i]); in validateConditions()
204 if (valid.size() == N) return conditions; in validateConditions()
229 public void notifyConditions(String pkg, ManagedServiceInfo info, Condition[] conditions) { in notifyConditions() argument
232 + (conditions == null ? null : Arrays.asList(conditions))); in notifyConditions()
233 conditions = validateConditions(pkg, conditions); in notifyConditions()
234 if (conditions == null || conditions.length == 0) return; in notifyConditions()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DZenModeControllerImpl.java201 private void fireConditionsChanged(Condition[] conditions) { in fireConditionsChanged() argument
203 cb.onConditionsChanged(conditions); in fireConditionsChanged()
219 private void updateConditions(Condition[] conditions) { in updateConditions() argument
220 if (conditions == null || conditions.length == 0) return; in updateConditions()
221 for (Condition c : conditions) { in updateConditions()
242 public void onConditionsReceived(Condition[] conditions) {
244 + (conditions == null ? 0 : conditions.length) + " mRequesting=" + mRequesting);
246 updateConditions(conditions);
/frameworks/base/core/java/android/service/notification/
DConditionProviderService.java83 public final void notifyConditions(Condition... conditions) { in notifyConditions() argument
84 if (!isBound() || conditions == null) return; in notifyConditions()
86 getNotificationInterface().notifyConditions(getPackageName(), mProvider, conditions); in notifyConditions() local
/frameworks/webview/chromium/
DLICENSE4 // modification, are permitted provided that the following conditions are
8 // notice, this list of conditions and the following disclaimer.
10 // copyright notice, this list of conditions and the following disclaimer
/frameworks/base/obex/
DNOTICE6 modification, are permitted provided that the following conditions are met:
9 this list of conditions and the following disclaimer.
12 this list of conditions and the following disclaimer in the documentation
/frameworks/native/opengl/tests/angeles/
Dlicense-BSD.txt10 modification, are permitted provided that the following conditions
14 notice, this list of conditions and the following disclaimer.
16 notice, this list of conditions and the following disclaimer in
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DZenModePanel.java502 private void handleUpdateConditions(Condition[] conditions) {
503 conditions = trimConditions(conditions);
504 if (Arrays.equals(conditions, mConditions)) {
509 mConditions = conditions;
513 private Condition[] trimConditions(Condition[] conditions) {
514 if (conditions == null || conditions.length <= mMaxOptionalConditions) {
516 return conditions;
520 for (int i = 0; i < conditions.length; i++) {
521 final Condition c = conditions[i];
527 final Condition[] rt = Arrays.copyOf(conditions, mMaxOptionalConditions);
[all …]
/frameworks/compile/libbcc/
DNOTICE27 "License" shall mean the terms and conditions for use, reproduction,
84 2. Grant of Copyright License. Subject to the terms and conditions of
91 3. Grant of Patent License. Subject to the terms and conditions of
110 meet the following conditions:
142 may provide additional or different license terms and conditions
146 the conditions stated in this License.
150 by You to the Licensor shall be under the terms and conditions of
151 this License, without any additional terms or conditions.
165 implied, including, without limitation, any warranties or conditions
223 so, subject to the following conditions:
[all …]
/frameworks/compile/slang/
DNOTICE25 "License" shall mean the terms and conditions for use, reproduction,
82 2. Grant of Copyright License. Subject to the terms and conditions of
89 3. Grant of Patent License. Subject to the terms and conditions of
108 meet the following conditions:
140 may provide additional or different license terms and conditions
144 the conditions stated in this License.
148 by You to the Licensor shall be under the terms and conditions of
149 this License, without any additional terms or conditions.
163 implied, including, without limitation, any warranties or conditions
223 so, subject to the following conditions:
[all …]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DResizingTextView.java101 public void setTriggerConditions(int conditions) { in setTriggerConditions() argument
102 if (mTriggerConditions != conditions) { in setTriggerConditions()
103 mTriggerConditions = conditions; in setTriggerConditions()
/frameworks/data-binding/compilerCommon/
DXMLParser.g47 modification, are permitted provided that the following conditions
10 notice, this list of conditions and the following disclaimer.
12 notice, this list of conditions and the following disclaimer in the
DXMLLexer.g47 modification, are permitted provided that the following conditions
10 notice, this list of conditions and the following disclaimer.
12 notice, this list of conditions and the following disclaimer in the
/frameworks/av/media/libeffects/lvm/wrapper/
DNOTICE22 "License" shall mean the terms and conditions for use, reproduction,
79 2. Grant of Copyright License. Subject to the terms and conditions of
86 3. Grant of Patent License. Subject to the terms and conditions of
105 meet the following conditions:
137 may provide additional or different license terms and conditions
141 the conditions stated in this License.
145 by You to the Licensor shall be under the terms and conditions of
146 this License, without any additional terms or conditions.
160 implied, including, without limitation, any warranties or conditions
/frameworks/av/media/libeffects/preprocessing/
DNOTICE22 "License" shall mean the terms and conditions for use, reproduction,
79 2. Grant of Copyright License. Subject to the terms and conditions of
86 3. Grant of Patent License. Subject to the terms and conditions of
105 meet the following conditions:
137 may provide additional or different license terms and conditions
141 the conditions stated in this License.
145 by You to the Licensor shall be under the terms and conditions of
146 this License, without any additional terms or conditions.
160 implied, including, without limitation, any warranties or conditions
/frameworks/av/drm/common/
DNOTICE22 "License" shall mean the terms and conditions for use, reproduction,
79 2. Grant of Copyright License. Subject to the terms and conditions of
86 3. Grant of Patent License. Subject to the terms and conditions of
105 meet the following conditions:
137 may provide additional or different license terms and conditions
141 the conditions stated in this License.
145 by You to the Licensor shall be under the terms and conditions of
146 this License, without any additional terms or conditions.
160 implied, including, without limitation, any warranties or conditions
/frameworks/av/drm/drmserver/
DNOTICE22 "License" shall mean the terms and conditions for use, reproduction,
79 2. Grant of Copyright License. Subject to the terms and conditions of
86 3. Grant of Patent License. Subject to the terms and conditions of
105 meet the following conditions:
137 may provide additional or different license terms and conditions
141 the conditions stated in this License.
145 by You to the Licensor shall be under the terms and conditions of
146 this License, without any additional terms or conditions.
160 implied, including, without limitation, any warranties or conditions
/frameworks/base/libs/storage/
DNOTICE22 "License" shall mean the terms and conditions for use, reproduction,
79 2. Grant of Copyright License. Subject to the terms and conditions of
86 3. Grant of Patent License. Subject to the terms and conditions of
105 meet the following conditions:
137 may provide additional or different license terms and conditions
141 the conditions stated in this License.
145 by You to the Licensor shall be under the terms and conditions of
146 this License, without any additional terms or conditions.
160 implied, including, without limitation, any warranties or conditions
/frameworks/base/tools/aidl/
DNOTICE22 "License" shall mean the terms and conditions for use, reproduction,
79 2. Grant of Copyright License. Subject to the terms and conditions of
86 3. Grant of Patent License. Subject to the terms and conditions of
105 meet the following conditions:
137 may provide additional or different license terms and conditions
141 the conditions stated in this License.
145 by You to the Licensor shall be under the terms and conditions of
146 this License, without any additional terms or conditions.
160 implied, including, without limitation, any warranties or conditions
/frameworks/av/media/libstagefright/codecs/amrnb/enc/
DNOTICE22 "License" shall mean the terms and conditions for use, reproduction,
79 2. Grant of Copyright License. Subject to the terms and conditions of
86 3. Grant of Patent License. Subject to the terms and conditions of
105 meet the following conditions:
137 may provide additional or different license terms and conditions
141 the conditions stated in this License.
145 by You to the Licensor shall be under the terms and conditions of
146 this License, without any additional terms or conditions.
160 implied, including, without limitation, any warranties or conditions
/frameworks/av/media/libstagefright/yuv/
DNOTICE22 "License" shall mean the terms and conditions for use, reproduction,
79 2. Grant of Copyright License. Subject to the terms and conditions of
86 3. Grant of Patent License. Subject to the terms and conditions of
105 meet the following conditions:
137 may provide additional or different license terms and conditions
141 the conditions stated in this License.
145 by You to the Licensor shall be under the terms and conditions of
146 this License, without any additional terms or conditions.
160 implied, including, without limitation, any warranties or conditions
/frameworks/av/media/mediaserver/
DNOTICE22 "License" shall mean the terms and conditions for use, reproduction,
79 2. Grant of Copyright License. Subject to the terms and conditions of
86 3. Grant of Patent License. Subject to the terms and conditions of
105 meet the following conditions:
137 may provide additional or different license terms and conditions
141 the conditions stated in this License.
145 by You to the Licensor shall be under the terms and conditions of
146 this License, without any additional terms or conditions.
160 implied, including, without limitation, any warranties or conditions
/frameworks/av/cmds/stagefright/
DNOTICE22 "License" shall mean the terms and conditions for use, reproduction,
79 2. Grant of Copyright License. Subject to the terms and conditions of
86 3. Grant of Patent License. Subject to the terms and conditions of
105 meet the following conditions:
137 may provide additional or different license terms and conditions
141 the conditions stated in this License.
145 by You to the Licensor shall be under the terms and conditions of
146 this License, without any additional terms or conditions.
160 implied, including, without limitation, any warranties or conditions
/frameworks/base/libs/hwui/
DNOTICE22 "License" shall mean the terms and conditions for use, reproduction,
79 2. Grant of Copyright License. Subject to the terms and conditions of
86 3. Grant of Patent License. Subject to the terms and conditions of
105 meet the following conditions:
137 may provide additional or different license terms and conditions
141 the conditions stated in this License.
145 by You to the Licensor shall be under the terms and conditions of
146 this License, without any additional terms or conditions.
160 implied, including, without limitation, any warranties or conditions
/frameworks/av/drm/libdrmframework/
DNOTICE22 "License" shall mean the terms and conditions for use, reproduction,
79 2. Grant of Copyright License. Subject to the terms and conditions of
86 3. Grant of Patent License. Subject to the terms and conditions of
105 meet the following conditions:
137 may provide additional or different license terms and conditions
141 the conditions stated in this License.
145 by You to the Licensor shall be under the terms and conditions of
146 this License, without any additional terms or conditions.
160 implied, including, without limitation, any warranties or conditions
/frameworks/av/drm/libdrmframework/plugins/common/util/
DNOTICE22 "License" shall mean the terms and conditions for use, reproduction,
79 2. Grant of Copyright License. Subject to the terms and conditions of
86 3. Grant of Patent License. Subject to the terms and conditions of
105 meet the following conditions:
137 may provide additional or different license terms and conditions
141 the conditions stated in this License.
145 by You to the Licensor shall be under the terms and conditions of
146 this License, without any additional terms or conditions.
160 implied, including, without limitation, any warranties or conditions

12345678