Home
last modified time | relevance | path

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

12345678910>>...13

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallAudioRouteTransitionTests.java68 private static final int NONE = 0; field in CallAudioRouteTransitionTests
302 case NONE: in testActiveTransition()
327 case NONE: in testActiveTransition()
407 NONE, // bluetoothInteraction in testParametersCollection()
431 NONE, // bluetoothInteraction in testParametersCollection()
443 NONE, // bluetoothInteraction in testParametersCollection()
467 NONE, // bluetoothInteraction in testParametersCollection()
479 NONE, // bluetoothInteraction in testParametersCollection()
491 NONE, // bluetoothInteraction in testParametersCollection()
539 NONE, // bluetoothInteraction in testParametersCollection()
[all …]
DBluetoothRouteTransitionTests.java231 private static final int NONE = 1; field in BluetoothRouteTransitionTests
326 case NONE: in testTransitions()
393 .setExpectedBluetoothInteraction(NONE) in generateTestCases()
421 .setExpectedBluetoothInteraction(NONE) in generateTestCases()
435 .setExpectedBluetoothInteraction(NONE) in generateTestCases()
449 .setExpectedBluetoothInteraction(NONE) in generateTestCases()
492 .setExpectedBluetoothInteraction(NONE) in generateTestCases()
507 .setExpectedBluetoothInteraction(NONE) in generateTestCases()
520 .setExpectedBluetoothInteraction(NONE) in generateTestCases()
534 .setExpectedBluetoothInteraction(NONE) in generateTestCases()
[all …]
/packages/apps/Dialer/java/com/android/dialer/phonelookup/consolidator/
DPhoneLookupInfoConsolidator.java45 NameSource.NONE,
54 int NONE = 0; // used when none of the other sources can provide the name field
126 case NameSource.NONE: in getContactSource()
170 case NameSource.NONE: in getName()
196 case NameSource.NONE: in getPhotoThumbnailUri()
223 case NameSource.NONE: in getPhotoUri()
245 case NameSource.NONE: in getPhotoId()
269 case NameSource.NONE: in getLookupUri()
296 case NameSource.NONE: in getNumberLabel()
320 case NameSource.NONE: in getGeolocation()
[all …]
/packages/apps/Camera2/src/com/android/camera/
DFatalErrorHandlerImpl.java58 UsageStatistics.NONE, UsageStatistics.NONE); in onCameraOpenFailure()
74 UsageStatistics.NONE, UsageStatistics.NONE); in onCameraReconnectFailure()
90 UsageStatistics.NONE, UsageStatistics.NONE); in onGenericCameraAccessFailure()
107 UsageStatistics.NONE, UsageStatistics.NONE); in onCameraDisabledFailure()
/packages/modules/NeuralNetworks/runtime/test/
DTestCompilationCaching.cpp74 return error == V1_3::ErrorStatus::NONE && numModelCache <= maxNumCacheFiles && in canDeviceBeRegistered()
174 cb(V1_3::ErrorStatus::NONE, capabilities); in getCapabilities_1_3()
182 cb(V1_3::ErrorStatus::NONE, supported); in getSupportedOperations_1_3()
208 cb->notify_1_3(V1_3::ErrorStatus::NONE, new CachingPreparedModel()); in prepareModel_1_3()
209 return V1_3::ErrorStatus::NONE; in prepareModel_1_3()
222 if (mErrorStatusPrepareFromCache == V1_3::ErrorStatus::NONE) { in prepareModelFromCache_1_3()
227 return V1_3::ErrorStatus::NONE; in prepareModelFromCache_1_3()
330 kNumDataCache, V1_3::ErrorStatus::NONE);
404 new CachingDriver(kDeviceName, V1_3::ErrorStatus::NONE, kNumModelCache, in createCache()
405 kNumDataCache, V1_3::ErrorStatus::NONE); in createCache()
[all …]
DTestExecution.cpp91 if (mErrorStatus == V1_3::ErrorStatus::NONE) { in execute()
98 return V1_0::ErrorStatus::NONE; in execute()
107 if (mErrorStatus == V1_3::ErrorStatus::NONE) { in execute_1_2()
117 return V1_0::ErrorStatus::NONE; in execute_1_2()
128 if (mErrorStatus == V1_3::ErrorStatus::NONE) { in execute_1_3()
139 return V1_3::ErrorStatus::NONE; in execute_1_3()
147 if (mErrorStatus == V1_3::ErrorStatus::NONE) { in executeSynchronously()
166 if (mErrorStatus == V1_3::ErrorStatus::NONE) { in executeSynchronously_1_3()
188 if (mErrorStatus == V1_3::ErrorStatus::NONE) { in configureExecutionBurst()
192 cb(burst == nullptr ? V1_0::ErrorStatus::GENERAL_FAILURE : V1_0::ErrorStatus::NONE, in configureExecutionBurst()
[all …]
DTestIntrospectionControl.cpp83 cb(V1_3::ErrorStatus::NONE, mCapabilities); in getCapabilities_1_3()
99 cb(V1_3::ErrorStatus::NONE, supported); in getSupportedOperations_1_3()
434 callback->notify(V1_0::ErrorStatus::NONE); in execute()
436 return V1_0::ErrorStatus::NONE; in execute()
446 return V1_0::ErrorStatus::NONE; in execute()
464 callback->notify_1_2(V1_0::ErrorStatus::NONE, {}, in execute_1_2()
467 return V1_0::ErrorStatus::NONE; in execute_1_2()
477 return V1_0::ErrorStatus::NONE; in execute_1_2()
502 cb(V1_0::ErrorStatus::NONE, {}, getExpectedTiming(mSuccess, false).first); in executeSynchronously()
546 cb(burst == nullptr ? V1_0::ErrorStatus::GENERAL_FAILURE : V1_0::ErrorStatus::NONE, burst); in configureExecutionBurst()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DChooseLockGenericControllerTest.java100 assertWithMessage("NONE visible").that(mController.isScreenLockVisible(ScreenLockType.NONE)) in isScreenLockVisible_shouldRespectResourceConfig()
111 assertWithMessage("NONE visible").that(mController.isScreenLockVisible(ScreenLockType.NONE)) in isScreenLockVisible_ManagedProfile_shouldHideInsecure()
125 assertThat(mController.isScreenLockEnabled(ScreenLockType.NONE)).isTrue(); in isScreenLockEnabled_Default()
135 assertThat(mController.isScreenLockEnabled(ScreenLockType.NONE)).isTrue(); in isScreenLockEnabled_QualityUnspecified()
145 assertThat(mController.isScreenLockEnabled(ScreenLockType.NONE)).isFalse(); in isScreenLockEnabled_QualitySomething()
155 assertThat(mController.isScreenLockEnabled(ScreenLockType.NONE)).isFalse(); in isScreenLockEnabled_QualityNumeric()
165 assertThat(mController.isScreenLockEnabled(ScreenLockType.NONE)).isFalse(); in isScreenLockEnabled_QualityNumericComplex()
175 assertThat(mController.isScreenLockEnabled(ScreenLockType.NONE)).isFalse(); in isScreenLockEnabled_QualityAlphabetic()
185 assertThat(mController.isScreenLockEnabled(ScreenLockType.NONE)).isFalse(); in isScreenLockEnabled_QualityComplex()
196 assertThat(mController.isScreenLockEnabled(ScreenLockType.NONE)).isTrue(); in isScreenLockEnabled_NoneComplexity()
[all …]
/packages/modules/NeuralNetworks/driver/sample/
DSampleDriverFloatXNNPACK.cpp51 if (_errorCode != V1_3::ErrorStatus::NONE) { \
256 V1_3::ErrorStatus::NONE) { in Create()
271 V1_3::ErrorStatus Prepare() { return V1_3::ErrorStatus::NONE; } in Prepare()
301 return V1_3::ErrorStatus::NONE; in Invoke()
308 return V1_3::ErrorStatus::NONE; in CalculatePadding()
311 return V1_3::ErrorStatus::NONE; in CalculatePadding()
324 return V1_3::ErrorStatus::NONE; in ConvertActivationToOutputRange()
328 return V1_3::ErrorStatus::NONE; in ConvertActivationToOutputRange()
332 return V1_3::ErrorStatus::NONE; in ConvertActivationToOutputRange()
336 return V1_3::ErrorStatus::NONE; in ConvertActivationToOutputRange()
[all …]
DSampleDriver.cpp94 cb(V1_0::ErrorStatus::NONE, "JUST_AN_EXAMPLE"); in getVersionString()
100 cb(V1_0::ErrorStatus::NONE, V1_2::DeviceType::CPU); in getType()
107 cb(V1_0::ErrorStatus::NONE, {/* No extensions. */}); in getSupportedExtensions()
164 cb(V1_0::ErrorStatus::NONE, /*numModelCache=*/0, /*numDataCache=*/0); in getNumberOfCacheFilesNeeded()
306 cb(V1_3::ErrorStatus::NONE, std::move(sampleBuffer), tokenValue); in allocate()
337 if (validationStatus != V1_3::ErrorStatus::NONE) { in copyTo()
342 return V1_3::ErrorStatus::NONE; in copyTo()
356 if (validationStatus != V1_3::ErrorStatus::NONE) { in copyFromInternal()
361 return V1_3::ErrorStatus::NONE; in copyFromInternal()
367 if (status == V1_3::ErrorStatus::NONE) { in copyFrom()
[all …]
DSampleDriverUtils.h71 return V1_3::ErrorStatus::NONE;
76 return V1_3::ErrorStatus::NONE;
87 notify(callback, V1_3::ErrorStatus::NONE, preparedModel);
90 return V1_3::ErrorStatus::NONE;
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/wifi/
DWifiConfigurationProviderTest.java87 .setSecurityType(WifiConfigurationProvider.NONE)
127 assertTrue(wifiConf.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.NONE)); in testWep()
138 assertTrue(wifiConf.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.NONE)); in testWep2()
149 assertTrue(wifiConf.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.NONE)); in testNone()
160 assertTrue(wifiConf.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.NONE)); in testNull()
260 wifiConf, WifiEnterpriseConfig.Eap.PEAP, WifiEnterpriseConfig.Phase2.NONE); in testEAP_PEAP_NONE()
269 wifiConf, WifiEnterpriseConfig.Eap.PEAP, WifiEnterpriseConfig.Phase2.NONE); in testEAP_Phase2_Empty()
278 wifiConf, WifiEnterpriseConfig.Eap.PEAP, WifiEnterpriseConfig.Phase2.NONE); in testEAP_Phase2_Null()
341 assertEAP_MethodAndPhase2Auth(wifiConf, WifiEnterpriseConfig.Eap.NONE, in testEAPWithInvalidEAPMethod()
342 WifiEnterpriseConfig.Phase2.NONE); in testEAPWithInvalidEAPMethod()
[all …]
/packages/apps/Gallery/src/com/android/camera/
DMenuHelper.java594 SubMenu rotateSubmenu = menu.addSubMenu(Menu.NONE, Menu.NONE, in addImageMenuItems()
627 MenuItem autoCrop = menu.add(Menu.NONE, Menu.NONE, in addImageMenuItems()
641 MenuItem setMenu = menu.add(Menu.NONE, Menu.NONE, in addImageMenuItems()
654 MenuItem item1 = menu.add(Menu.NONE, MENU_IMAGE_SHARE, in addImageMenuItems()
668 MenuItem deleteItem = menu.add(Menu.NONE, Menu.NONE, in addImageMenuItems()
683 MenuItem detailsMenu = menu.add(Menu.NONE, Menu.NONE, in addImageMenuItems()
694 MenuItem showOnMapItem = menu.add(Menu.NONE, MENU_IMAGE_SHOWMAP, in addImageMenuItems()
707 MenuItem videoPlayItem = menu.add(Menu.NONE, Menu.NONE, in addImageMenuItems()
822 menu.add(Menu.NONE, Menu.NONE, POSITION_CAPTURE_PICTURE,
844 menu.add(Menu.NONE, Menu.NONE, POSITION_CAPTURE_VIDEO,
/packages/modules/NeuralNetworks/driver/sample_aidl/
DSampleDriver.cpp249 if (validationStatus != aidl_hal::ErrorStatus::NONE) { in copyTo()
273 if (validationStatus != aidl_hal::ErrorStatus::NONE) { in copyFromInternal()
278 return aidl_hal::ErrorStatus::NONE; in copyFromInternal()
289 if (status != aidl_hal::ErrorStatus::NONE) { in copyFrom()
333 if (validationStatus != aidl_hal::ErrorStatus::NONE) { in createRunTimePoolInfos()
343 return {aidl_hal::ErrorStatus::NONE, std::move(requestPoolInfos), std::move(bufferWrappers)}; in createRunTimePoolInfos()
350 if (status == aidl_hal::ErrorStatus::NONE) { in updateDeviceMemories()
384 return aidl_hal::ErrorStatus::NONE; in updateDeviceMemories()
428 if (poolStatus != aidl_hal::ErrorStatus::NONE) { in executeSynchronously()
446 if (executionStatus != aidl_hal::ErrorStatus::NONE && in executeSynchronously()
[all …]
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/recyclerview/
DCarUiListItemTest.java102 CarUiContentListItem item = new CarUiContentListItem(CarUiContentListItem.Action.NONE); in testItemVisibility_withTitle()
119 CarUiContentListItem item = new CarUiContentListItem(CarUiContentListItem.Action.NONE); in testItemVisibility_withBody()
159 CarUiContentListItem item = new CarUiContentListItem(CarUiContentListItem.Action.NONE); in testItemDisabled()
174 CarUiContentListItem item = new CarUiContentListItem(CarUiContentListItem.Action.NONE); in testItemActivated()
206 CarUiContentListItem item = new CarUiContentListItem(CarUiContentListItem.Action.NONE); in testItemVisibility_withTitle_withBodyAndIcon()
350 CarUiContentListItem.Action.NONE); in testItem_withCompactLayout()
372 CarUiContentListItem.Action.NONE); in testItem_withListener()
625 CarUiContentListItem item = new CarUiContentListItem(CarUiContentListItem.Action.NONE); in testTextTruncation_twoShortLines()
644 CarUiContentListItem item = new CarUiContentListItem(CarUiContentListItem.Action.NONE); in testTextTruncation_oneLongOneShort_withMaxLines()
666 CarUiContentListItem item = new CarUiContentListItem(CarUiContentListItem.Action.NONE); in testTextTruncation_oneLongOneShort_noMaxLines()
[all …]
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/appprediction/
DAppsDividerView.java56 NONE, enumConstant
63 private DividerType mDividerType = DividerType.NONE;
120 return mDividerType != DividerType.NONE; in shouldDraw()
131 dividerType = DividerType.NONE; in updateDividerType()
148 dividerType = DividerType.NONE; in updateDividerType()
170 case NONE: in updateDividerType()
186 setVisibility(mDividerType == DividerType.NONE in updateViewVisibility()
/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/caruirecyclerview/
DCarUiListItemActivity.java69 CarUiContentListItem item = new CarUiContentListItem(CarUiContentListItem.Action.NONE); in generateSampleData()
74 item = new CarUiContentListItem(CarUiContentListItem.Action.NONE); in generateSampleData()
82 item = new CarUiContentListItem(CarUiContentListItem.Action.NONE); in generateSampleData()
86 item = new CarUiContentListItem(CarUiContentListItem.Action.NONE); in generateSampleData()
91 item = new CarUiContentListItem(CarUiContentListItem.Action.NONE); in generateSampleData()
97 item = new CarUiContentListItem(CarUiContentListItem.Action.NONE); in generateSampleData()
103 item = new CarUiContentListItem(CarUiContentListItem.Action.NONE); in generateSampleData()
109 item = new CarUiContentListItem(CarUiContentListItem.Action.NONE); in generateSampleData()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiConfigurationTest.java229 config.allowedKeyManagement.set(WifiConfiguration.KeyMgmt.NONE); in testIsOpenNetwork_NotOpen_HasAuthTypeNoneAndMore()
284 config.enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.NONE); in testGetKeyIdForCredentials()
307 config.enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.NONE); in testGetKeyIdForCredentials()
345 config.enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.NONE); in testGetKeyIdForCredentialsForSuggestion()
368 config.enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.NONE); in testGetKeyIdForCredentialsForSuggestion()
440 config.allowedKeyManagement.set(KeyMgmt.NONE); in testGetSsidAndSecurityTypeString()
441 assertEquals(mSsid + KeyMgmt.strings[KeyMgmt.NONE], config.getSsidAndSecurityTypeString()); in testGetSsidAndSecurityTypeString()
509 config.allowedKeyManagement.set(KeyMgmt.NONE); in testGetNetworkKeyString()
510 assertEquals(mSsid + KeyMgmt.strings[KeyMgmt.NONE], config.getNetworkKey()); in testGetNetworkKeyString()
716 assertEquals(KeyMgmt.NONE, configuration.getAuthType()); in testGetAuthType()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiCarrierInfoManagerTest.java502 WifiEnterpriseConfig.Phase2.NONE); in getSimIdentityEapSim()
526 WifiEnterpriseConfig.Phase2.NONE); in getSimIdentityEapAka()
550 WifiEnterpriseConfig.Phase2.NONE); in getSimIdentityEapAkaPrime()
597 WifiEnterpriseConfig.Phase2.NONE); in getEncryptedIdentity_WithRfc4648()
634 WifiEnterpriseConfig.Phase2.NONE); in getEncryptedIdentityFailed()
653 WifiEnterpriseConfig.Phase2.NONE); in getSimIdentity2DigitMnc()
669 WifiEnterpriseConfig.Phase2.NONE); in getSimIdentityUnknownMccMnc()
688 WifiEnterpriseConfig.Eap.TLS, WifiEnterpriseConfig.Phase2.NONE))); in getSimIdentityNonTelephonyConfig()
750 WifiEnterpriseConfig.Eap.SIM, WifiEnterpriseConfig.Phase2.NONE); in getGsmSimAuthResponseInvalidRequest()
761 WifiEnterpriseConfig.Eap.SIM, WifiEnterpriseConfig.Phase2.NONE); in getGsmSimAuthResponseFailedSimResponse()
[all …]
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiEnterpriseConfig.java255 private int mEapMethod = Eap.NONE;
256 private int mPhase2Method = Phase2.NONE;
388 public static final int NONE = -1; field in WifiEnterpriseConfig.Eap
418 public static final int NONE = 0; field in WifiEnterpriseConfig.Phase2
503 if (mEapMethod != Eap.TLS && mEapMethod != Eap.UNAUTH_TLS && mPhase2Method != Phase2.NONE) { in saveToSupplicant()
508 } else if (mPhase2Method == Phase2.NONE) { in saveToSupplicant()
533 mEapMethod = getStringIndex(Eap.strings, eapMethod, Eap.NONE); in loadFromSupplicant()
542 mPhase2Method = getStringIndex(Phase2.strings, phase2Method, Phase2.NONE); in loadFromSupplicant()
555 setPhase2Method(Phase2.NONE); in setEapMethod()
559 setPhase2Method(Phase2.NONE); in setEapMethod()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DFilterMirrorRepresentation.java41 NONE('N'), VERTICAL('V'), HORIZONTAL('H'), BOTH('B'); enumConstant
55 return NONE; in fromValue()
134 case NONE: in cycle()
144 mMirror = Mirror.NONE; in cycle()
184 return Mirror.NONE; in getNil()
/packages/apps/Dialer/java/com/android/dialer/common/
DNetworkUtil.java42 return NetworkType.NONE; in getCurrentNetworkType()
68 return NetworkType.NONE; in getCurrentNetworkTypeName()
83 return NetworkType.NONE; in getNetworkType()
173 NetworkType.NONE,
184 String NONE = "NONE"; field
/packages/apps/Settings/src/com/android/settings/location/
DRecentLocationRequestSeeAllFragment.java94 mShowSystemMenu = menu.add(Menu.NONE, MENU_SHOW_SYSTEM, Menu.NONE, in onCreateOptionsMenu()
96 mHideSystemMenu = menu.add(Menu.NONE, MENU_HIDE_SYSTEM, Menu.NONE, in onCreateOptionsMenu()
DRecentLocationAccessSeeAllFragment.java115 mShowSystemMenu = menu.add(Menu.NONE, MENU_SHOW_SYSTEM, Menu.NONE, in onCreateOptionsMenu()
117 mHideSystemMenu = menu.add(Menu.NONE, MENU_HIDE_SYSTEM, Menu.NONE, in onCreateOptionsMenu()
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/
DTmaMediaEvent.java56 ResolutionIntent.NONE, Action.NONE, 0, null, null);
60 NONE (STATE_NONE), enumConstant
104 NONE, enumConstant
110 NONE, enumConstant

12345678910>>...13