Searched refs:NONE (Results 1 - 25 of 264) sorted by relevance

1234567891011

/frameworks/support/core/ktx/src/androidTest/java/androidx/core/view/
H A DMenuTest.kt20 import android.view.Menu.NONE
49 val item1 = menu.add(NONE, 1, NONE, "")
50 val item2 = menu.add(NONE, 2, NONE, "")
68 menu.add(NONE, 123, NONE, "")
152 menu.add(NONE, 1, NONE, ""),
153 menu.add(NONE,
[all...]
/frameworks/support/annotations/src/main/java/androidx/annotation/
H A DProductionVisibility.java30 VisibleForTesting.NONE}
H A DVisibleForTesting.java67 int NONE = 5; field in interface:VisibleForTesting
/frameworks/native/services/surfaceflinger/tests/fakehwc/
H A DFakeComposerClient.cpp199 return Error::NONE;
204 return Error::NONE;
212 return Error::NONE;
218 return Error::NONE;
234 return Error::NONE;
241 return Error::NONE;
246 return Error::NONE;
276 return Error::NONE;
286 return Error::NONE;
291 return Error::NONE;
[all...]
H A DFakeComposerService.cpp52 hidl_cb(Error::NONE, mClient);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
H A DANQPMatcher.java111 int bestMatch = AuthMatch.NONE;
158 int realmMatch = AuthMatch.NONE;
171 int eapMethodMatch = AuthMatch.NONE;
174 if (eapMethodMatch != AuthMatch.NONE) {
179 if (eapMethodMatch == AuthMatch.NONE) {
180 return AuthMatch.NONE;
183 if (realmMatch == AuthMatch.NONE) {
199 return AuthMatch.NONE;
206 return AuthMatch.NONE;
H A DAuthMatch.java27 public static final int NONE = -1; field in class:AuthMatch
/frameworks/support/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/app/
H A DFragmentContextMenuSupport.java62 menu.add(Menu.NONE, R.id.a_item, Menu.NONE, "Menu A");
63 menu.add(Menu.NONE, R.id.b_item, Menu.NONE, "Menu B");
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/app/
H A DFragmentContextMenuSupport.java62 menu.add(Menu.NONE, R.id.a_item, Menu.NONE, "Menu A");
63 menu.add(Menu.NONE, R.id.b_item, Menu.NONE, "Menu B");
/frameworks/base/graphics/java/android/graphics/
H A DInsets.java29 public static final Insets NONE = new Insets(0, 0, 0, 0); field in class:Insets
57 return NONE;
70 return (r == null) ? NONE : of(r.left, r.top, r.right, r.bottom);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDataConnectionReasons.java26 private DataAllowedReasonType mDataAllowedReason = DataAllowedReasonType.NONE;
33 mDataAllowedReason = DataAllowedReasonType.NONE;
136 NONE, enum constant in enum:DataConnectionReasons.DataAllowedReasonType
/frameworks/base/core/java/android/hardware/usb/
H A DUsbPort.java37 public static final int MODE_NONE = Constants.PortMode.NONE;
82 public static final int POWER_ROLE_NONE = Constants.PortPowerRole.NONE;
97 public static final int DATA_ROLE_NONE = Constants.PortDataRole.NONE;
113 private static final int POWER_ROLE_OFFSET = Constants.PortPowerRole.NONE;
245 Preconditions.checkArgumentInRange(powerRole, Constants.PortMode.NONE,
251 Preconditions.checkArgumentInRange(dataRole, Constants.PortPowerRole.NONE,
257 Preconditions.checkArgumentInRange(mode, Constants.PortDataRole.NONE,
/frameworks/native/libs/ui/
H A DGralloc2.cpp97 return Error::NONE;
105 if (error != Error::NONE) {
112 if (error != Error::NONE) {
144 if (error != Error::NONE) {
160 ALOGE_IF(error != Error::NONE, "freeBuffer(%p) failed with %d",
169 return Error::NONE;
193 if (error != Error::NONE) {
204 ALOGE_IF(error != Error::NONE, "getTransportSize(%p) failed with %d",
228 if (error != Error::NONE) {
264 if (error != Error::NONE) {
[all...]
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DComposerHal.cpp178 if (tmpError == Error::NONE) {
260 if (error != Error::NONE) {
273 if (error != Error::NONE) {
295 return Error::NONE;
304 if (error != Error::NONE) {
326 if (error != Error::NONE) {
341 return Error::NONE;
353 if (error != Error::NONE) {
363 if (error != Error::NONE) {
382 if (error != Error::NONE) {
[all...]
/frameworks/base/services/core/java/com/android/server/lights/
H A DLight.java23 public static final int LIGHT_FLASH_NONE = Flash.NONE;
/frameworks/base/services/net/java/android/net/util/
H A DSharedLog.java40 NONE, enum constant in enum:SharedLog.Category
94 Log.i(mTag, record(Category.NONE, msg));
106 record(Category.NONE, msg);
126 if (category != Category.NONE) sj.add(category.toString());
/frameworks/native/services/vr/hardware_composer/impl/
H A Dvr_hwc.cpp195 .blend_mode = IComposerClient::BlendMode::NONE,
211 return Error::NONE;
280 return Error::NONE;
292 return Error::NONE;
303 return Error::NONE;
313 return display_ptr->DestroyLayer(layer) ? Error::NONE : Error::BAD_LAYER;
321 return Error::NONE;
328 return Error::NONE;
335 return Error::NONE;
387 return Error::NONE;
[all...]
H A Dvr_composer_client.cpp73 if (err != Error::NONE) {
86 if (err != Error::NONE)
99 if (err != Error::NONE)
/frameworks/base/tools/split-select/
H A DRule.h49 NONE = 0, enumerator in enum:split::Rule::Key
74 , key(NONE)
/frameworks/ml/nn/driver/sample/
H A DSampleDriverAll.cpp48 cb(ErrorStatus::NONE, capabilities);
58 cb(ErrorStatus::NONE, supported);
H A DSampleDriver.cpp90 callback->notify(ErrorStatus::NONE, preparedModel);
91 return ErrorStatus::NONE;
126 n == ANEURALNETWORKS_NO_ERROR ? ErrorStatus::NONE : ErrorStatus::GENERAL_FAILURE;
149 return ErrorStatus::NONE;
/frameworks/ml/nn/runtime/test/
H A DTestExecution.cpp55 // If errorStatus is NONE, then execute behaves normally (and sends back
64 if (mErrorStatus == ErrorStatus::NONE) {
68 return ErrorStatus::NONE;
80 // prepared from this driver. If errorStatus is NONE, then
94 _hidl_cb(ErrorStatus::NONE, capabilities);
102 cb(ErrorStatus::NONE, supported);
121 if (prepareModelReturn != ErrorStatus::NONE) {
126 if (localCallback->getStatus() != ErrorStatus::NONE) {
129 actualCallback->notify(ErrorStatus::NONE,
155 // compilation. If errorStatus is NONE, the
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DAppStateTrackerTest.java302 private static final int NONE = 0; field in class:AppStateTrackerTest
333 areRestricted(instance, UID_1, PACKAGE_1, NONE);
334 areRestricted(instance, UID_2, PACKAGE_2, NONE);
335 areRestricted(instance, Process.SYSTEM_UID, PACKAGE_SYSTEM, NONE);
337 areRestrictedWithExemption(instance, UID_1, PACKAGE_1, NONE);
338 areRestrictedWithExemption(instance, UID_2, PACKAGE_2, NONE);
339 areRestrictedWithExemption(instance, Process.SYSTEM_UID, PACKAGE_SYSTEM, NONE);
348 areRestricted(instance, Process.SYSTEM_UID, PACKAGE_SYSTEM, NONE);
350 areRestrictedWithExemption(instance, UID_1, PACKAGE_1, NONE);
351 areRestrictedWithExemption(instance, UID_2, PACKAGE_2, NONE);
[all...]
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DTracer.java50 NONE, enum constant in enum:Tracer.Mode
93 private Mode mCurrentMode = Mode.NONE;
114 * both. Setting this to NONE will turn off tracing.
167 if (mCurrentMode == Mode.NONE) {
190 return mCurrentMode != Mode.NONE;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DOemHookResponse.java44 if (responseInfo.error == RadioError.NONE) {

Completed in 488 milliseconds

1234567891011