Home
last modified time | relevance | path

Searched refs:NONE (Results 1 – 25 of 301) sorted by relevance

12345678910>>...13

/frameworks/native/services/surfaceflinger/tests/fakehwc/
DFakeComposerClient.cpp199 return Error::NONE; in createVirtualDisplay()
204 return Error::NONE; in destroyVirtualDisplay()
212 return Error::NONE; in createLayer()
218 return Error::NONE; in destroyLayer()
234 return Error::NONE; in getActiveConfig()
241 return Error::NONE; in getClientTargetSupport()
246 return Error::NONE; in getColorModes()
276 return Error::NONE; in getDisplayAttribute()
286 return Error::NONE; in getDisplayConfigs()
291 return Error::NONE; in getDisplayName()
[all …]
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/view/
DMenuTest.kt20 import android.view.Menu.NONE in <lambda>()
49 val item1 = menu.add(NONE, 1, NONE, "") in <lambda>()
50 val item2 = menu.add(NONE, 2, NONE, "") in <lambda>()
68 menu.add(NONE, 123, NONE, "") in <lambda>()
152 menu.add(NONE, 1, NONE, ""), in <lambda>()
153 menu.add(NONE, 2, NONE, ""), in <lambda>()
154 menu.add(NONE, 3, NONE, "") in <lambda>()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DComposerHal.cpp178 if (tmpError == Error::NONE) { in Composer()
260 if (error != Error::NONE) { in createVirtualDisplay()
273 if (error != Error::NONE) { in createVirtualDisplay()
295 return Error::NONE; in acceptDisplayChanges()
304 if (error != Error::NONE) { in createLayer()
326 if (error != Error::NONE) { in getActiveConfig()
341 return Error::NONE; in getChangedCompositionTypes()
353 if (error != Error::NONE) { in getColorModes()
363 if (error != Error::NONE) { in getColorModes()
382 if (error != Error::NONE) { in getDisplayAttribute()
[all …]
/frameworks/native/services/vr/hardware_composer/impl/
Dvr_hwc.cpp195 .blend_mode = IComposerClient::BlendMode::NONE, in GetFrame()
211 return Error::NONE; in GetFrame()
280 return Error::NONE; in createVirtualDisplay()
292 return Error::NONE; in destroyVirtualDisplay()
303 return Error::NONE; in createLayer()
313 return display_ptr->DestroyLayer(layer) ? Error::NONE : Error::BAD_LAYER; in destroyLayer()
321 return Error::NONE; in getActiveConfig()
328 return Error::NONE; in getClientTargetSupport()
335 return Error::NONE; in getColorModes()
387 return Error::NONE; in getDisplayAttribute()
[all …]
Dvr_composer_client.cpp73 if (err != Error::NONE) { in executeSetLayerInfo()
86 if (err != Error::NONE) in executeSetClientTargetMetadata()
99 if (err != Error::NONE) in executeSetLayerBufferMetadata()
/frameworks/native/libs/ui/
DGralloc2.cpp97 return Error::NONE; in validateBufferDescriptorInfo()
105 if (error != Error::NONE) { in createDescriptor()
112 if (error != Error::NONE) { in createDescriptor()
144 if (error != Error::NONE) { in importBuffer()
160 ALOGE_IF(error != Error::NONE, "freeBuffer(%p) failed with %d", in freeBuffer()
169 return Error::NONE; in validateBufferSize()
193 if (error != Error::NONE) { in getTransportSize()
204 ALOGE_IF(error != Error::NONE, "getTransportSize(%p) failed with %d", in getTransportSize()
228 if (error != Error::NONE) { in lock()
264 if (error != Error::NONE) { in lock()
[all …]
DGraphicBufferMapper.cpp64 if (error != Gralloc2::Error::NONE) { in importBuffer()
77 if (error != Gralloc2::Error::NONE) { in importBuffer()
152 ALOGW_IF(error != Gralloc2::Error::NONE, "lock(%p, ...) failed: %d", in lockAsync()
166 if (error == Gralloc2::Error::NONE) { in lockAsyncYCbCr()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DANQPMatcher.java111 int bestMatch = AuthMatch.NONE; in matchNAIRealm()
158 int realmMatch = AuthMatch.NONE; in matchNAIRealmData()
171 int eapMethodMatch = AuthMatch.NONE; in matchNAIRealmData()
174 if (eapMethodMatch != AuthMatch.NONE) { in matchNAIRealmData()
179 if (eapMethodMatch == AuthMatch.NONE) { in matchNAIRealmData()
180 return AuthMatch.NONE; in matchNAIRealmData()
183 if (realmMatch == AuthMatch.NONE) { in matchNAIRealmData()
199 return AuthMatch.NONE; in matchEAPMethod()
206 return AuthMatch.NONE; in matchEAPMethod()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DAppStateTrackerTest.java302 private static final int NONE = 0; field in AppStateTrackerTest
333 areRestricted(instance, UID_1, PACKAGE_1, NONE); in testAll()
334 areRestricted(instance, UID_2, PACKAGE_2, NONE); in testAll()
335 areRestricted(instance, Process.SYSTEM_UID, PACKAGE_SYSTEM, NONE); in testAll()
337 areRestrictedWithExemption(instance, UID_1, PACKAGE_1, NONE); in testAll()
338 areRestrictedWithExemption(instance, UID_2, PACKAGE_2, NONE); in testAll()
339 areRestrictedWithExemption(instance, Process.SYSTEM_UID, PACKAGE_SYSTEM, NONE); in testAll()
348 areRestricted(instance, Process.SYSTEM_UID, PACKAGE_SYSTEM, NONE); in testAll()
350 areRestrictedWithExemption(instance, UID_1, PACKAGE_1, NONE); in testAll()
351 areRestrictedWithExemption(instance, UID_2, PACKAGE_2, NONE); in testAll()
[all …]
/frameworks/base/core/java/android/hardware/usb/
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, in checkMode()
251 Preconditions.checkArgumentInRange(dataRole, Constants.PortPowerRole.NONE, in checkPowerRole()
257 Preconditions.checkArgumentInRange(mode, Constants.PortDataRole.NONE, in checkDataRole()
/frameworks/ml/nn/runtime/test/
DTestExecution.cpp64 if (mErrorStatus == ErrorStatus::NONE) { in execute()
68 return ErrorStatus::NONE; in execute()
94 _hidl_cb(ErrorStatus::NONE, capabilities); in getCapabilities_1_1()
102 cb(ErrorStatus::NONE, supported); in getSupportedOperations_1_1()
121 if (prepareModelReturn != ErrorStatus::NONE) { in prepareModel_1_1()
126 if (localCallback->getStatus() != ErrorStatus::NONE) { in prepareModel_1_1()
129 actualCallback->notify(ErrorStatus::NONE, in prepareModel_1_1()
238 ::testing::Values(std::make_tuple(ErrorStatus::NONE,
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/app/
DFragmentContextMenuSupport.java62 menu.add(Menu.NONE, R.id.a_item, Menu.NONE, "Menu A"); in onCreateContextMenu()
63 menu.add(Menu.NONE, R.id.b_item, Menu.NONE, "Menu B"); in onCreateContextMenu()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRadioResponse.java283 if (responseInfo.error == RadioError.NONE) { in getVoiceRegistrationStateResponse()
300 if (responseInfo.error == RadioError.NONE) { in getVoiceRegistrationStateResponse_1_2()
317 if (responseInfo.error == RadioError.NONE) { in getDataRegistrationStateResponse()
334 if (responseInfo.error == RadioError.NONE) { in getDataRegistrationStateResponse_1_2()
1189 responseInfo.error = RadioError.NONE; in getRadioCapabilityResponse()
1191 if (responseInfo.error == RadioError.NONE) { in getRadioCapabilityResponse()
1324 case RadioError.NONE: in startKeepaliveResponse()
1336 responseInfo.error = RadioError.NONE; in startKeepaliveResponse()
1359 if (responseInfo.error == RadioError.NONE) { in stopKeepaliveResponse()
1421 if (responseInfo.error == RadioError.NONE) { in responseIccCardStatus()
[all …]
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DWifiConfigurationHelper.java41 private static final int NONE = 0; field in WifiConfigurationHelper
60 config.allowedKeyManagement.set(KeyMgmt.NONE); in createOpenConfig()
80 config.allowedKeyManagement.set(KeyMgmt.NONE); in createWepConfig()
128 if (phase2 == null) phase2 = WifiEnterpriseConfig.Phase2.NONE; in createEapConfig()
151 config.setProxySettings(ProxySettings.NONE); in createGenericConfig()
198 case NONE: in getWifiConfiguration()
256 config.setProxySettings(ProxySettings.NONE); in getWifiConfiguration()
271 return NONE; in getSecurityType()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/camera/
DCameraPairwiseTest.java57 public enum Exposure { MIN, MAX, NONE }; enumConstant
129 genericPairwiseTestCase(Flash.AUTO, Exposure.NONE, WhiteBalance.DAYLIGHT, SceneMode.SUNSET, in testCameraPairwiseScenario01()
179 genericPairwiseTestCase(Flash.ON, Exposure.NONE, WhiteBalance.CLOUDY, SceneMode.AUTO, in testCameraPairwiseScenario06()
249 genericPairwiseTestCase(Flash.OFF, Exposure.NONE, WhiteBalance.AUTO, SceneMode.PARTY, in testCameraPairwiseScenario13()
259 genericPairwiseTestCase(Flash.AUTO, Exposure.NONE, WhiteBalance.AUTO, SceneMode.NIGHT, in testCameraPairwiseScenario14()
269 genericPairwiseTestCase(Flash.ON, Exposure.NONE, WhiteBalance.INCANDESCENT, SceneMode.AUTO, in testCameraPairwiseScenario15()
299 genericPairwiseTestCase(Flash.ON, Exposure.NONE, WhiteBalance.AUTO, SceneMode.PARTY, in testCameraPairwiseScenario18()
309 genericPairwiseTestCase(Flash.OFF, Exposure.NONE, WhiteBalance.AUTO, SceneMode.ACTION, in testCameraPairwiseScenario19()
355 genericPairwiseTestCase(Flash.AUTO, Exposure.NONE, WhiteBalance.FLUORESCENT, in testCameraPairwiseScenario24()
414 case NONE: in genericPairwiseTestCase()
/frameworks/base/services/net/java/android/net/util/
DSharedLog.java40 NONE, enumConstant
94 Log.i(mTag, record(Category.NONE, msg)); in i()
106 record(Category.NONE, msg); in log()
126 if (category != Category.NONE) sj.add(category.toString()); in logLine()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DTelephonyUtilTest.java58 WifiEnterpriseConfig.Phase2.NONE))); in getSimIdentityEapSim()
78 WifiEnterpriseConfig.Phase2.NONE))); in getSimIdentityEapAka()
99 WifiEnterpriseConfig.Phase2.NONE))); in getSimIdentityEapAkaPrime()
132 WifiEnterpriseConfig.Phase2.NONE))); in getEncryptedIdentityImsi()
165 WifiEnterpriseConfig.Phase2.NONE))); in getEncryptedIdentityKeyIdentifier()
194 WifiEnterpriseConfig.Phase2.NONE))); in getEncryptedIdentityFailed()
211 WifiEnterpriseConfig.Phase2.NONE))); in getSimIdentity2DigitMnc()
228 WifiEnterpriseConfig.Phase2.NONE))); in getSimIdentityUnknownMccMnc()
235 WifiEnterpriseConfig.Eap.SIM, WifiEnterpriseConfig.Phase2.NONE))); in getSimIdentityWithNoTelephonyManager()
253 WifiEnterpriseConfig.Eap.TLS, WifiEnterpriseConfig.Phase2.NONE))); in getSimIdentityNonTelephonyConfig()
[all …]
/frameworks/base/graphics/java/android/graphics/
DInsets.java29 public static final Insets NONE = new Insets(0, 0, 0, 0); field in Insets
57 return NONE; in of()
70 return (r == null) ? NONE : of(r.left, r.top, r.right, r.bottom); in of()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataConnectionReasons.java26 private DataAllowedReasonType mDataAllowedReason = DataAllowedReasonType.NONE;
33 mDataAllowedReason = DataAllowedReasonType.NONE; in add()
136 NONE, enumConstant
/frameworks/ml/nn/driver/sample/
DSampleDriver.cpp90 callback->notify(ErrorStatus::NONE, preparedModel); in prepareModel_1_1()
91 return ErrorStatus::NONE; in prepareModel_1_1()
126 n == ANEURALNETWORKS_NO_ERROR ? ErrorStatus::NONE : ErrorStatus::GENERAL_FAILURE; in asyncExecute()
149 return ErrorStatus::NONE; in execute()
DSampleDriverAll.cpp48 cb(ErrorStatus::NONE, capabilities); in getCapabilities_1_1()
58 cb(ErrorStatus::NONE, supported); in getSupportedOperations_1_1()
/frameworks/base/wifi/java/android/net/wifi/
DWifiEnterpriseConfig.java146 private int mEapMethod = Eap.NONE;
147 private int mPhase2Method = Phase2.NONE;
264 public static final int NONE = -1; field in WifiEnterpriseConfig.Eap
291 public static final int NONE = 0; field in WifiEnterpriseConfig.Phase2
376 if (mEapMethod != Eap.TLS && mPhase2Method != Phase2.NONE) { in saveToSupplicant()
381 } else if (mPhase2Method == Phase2.NONE) { in saveToSupplicant()
406 mEapMethod = getStringIndex(Eap.strings, eapMethod, Eap.NONE); in loadFromSupplicant()
415 mPhase2Method = getStringIndex(Phase2.strings, phase2Method, Phase2.NONE); in loadFromSupplicant()
429 setPhase2Method(Phase2.NONE); in setEapMethod()
464 case Phase2.NONE: in setPhase2Method()
[all …]
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DTracer.java50 NONE, enumConstant
93 private Mode mCurrentMode = Mode.NONE;
167 if (mCurrentMode == Mode.NONE) { in doTrace()
190 return mCurrentMode != Mode.NONE; in isTracingEnabled()
/frameworks/base/services/core/java/com/android/server/notification/
DValidateNotificationPeople.java70 static final float NONE = 0f; field in ValidateNotificationPeople
161 if (extras == null) return NONE; in getContactAffinity()
166 return NONE; in getContactAffinity()
224 mUsageStats.registerPeopleAffinity(record, affinity > NONE, affinity == STARRED_CONTACT, in validatePeople()
234 float affinity = NONE; in validatePeople()
419 private float mAffinity = NONE;
457 return mAffinity == NONE || isExpired(); in isInvalid()
462 return NONE; in getAffinity()
474 private float mContactAffinity = NONE;
525 mUsageStats.registerPeopleAffinity(mRecord, mContactAffinity > NONE, in work()
/frameworks/base/tools/split-select/
DRule.h49 NONE = 0, enumerator
74 , key(NONE) in Rule()

12345678910>>...13