Home
last modified time | relevance | path

Searched refs:hasProperty (Results 1 – 19 of 19) sorted by relevance

/frameworks/native/services/inputflinger/tests/
DPropertyProvider_test.cpp39 ASSERT_TRUE(mProvider.hasProperty("Some Integers")); in TEST_F()
66 ASSERT_TRUE(mProvider.hasProperty("Some Integers")); in TEST_F()
95 ASSERT_TRUE(mProvider.hasProperty("Some Integers")); in TEST_F()
109 ASSERT_TRUE(mProvider.hasProperty("Some Booleans")); in TEST_F()
135 ASSERT_TRUE(mProvider.hasProperty("Some Booleans")); in TEST_F()
163 ASSERT_TRUE(mProvider.hasProperty("Some Booleans")); in TEST_F()
177 ASSERT_TRUE(mProvider.hasProperty("Some Reals")); in TEST_F()
203 ASSERT_TRUE(mProvider.hasProperty("Some Reals")); in TEST_F()
231 ASSERT_TRUE(mProvider.hasProperty("Some Reals")); in TEST_F()
244 ASSERT_TRUE(mProvider.hasProperty("A String")); in TEST_F()
[all …]
/frameworks/base/core/tests/devicestatetests/src/android/hardware/devicestate/
DDeviceStateTest.java58 assertTrue(state.hasProperty(PROPERTY_POLICY_CANCEL_OVERRIDE_REQUESTS)); in testConstruct()
71 assertTrue(state.hasProperty(PROPERTY_POLICY_CANCEL_OVERRIDE_REQUESTS)); in testHasProperties()
72 assertTrue(state.hasProperty(PROPERTY_POLICY_AVAILABLE_FOR_APP_REQUEST)); in testHasProperties()
/frameworks/base/telecomm/java/android/telecom/
DCall.java792 public static boolean hasProperty(int properties, int property) { in hasProperty() method in Call.Details
802 public boolean hasProperty(int property) { in hasProperty() method in Call.Details
803 return hasProperty(mCallProperties, property); in hasProperty()
815 if (hasProperty(properties, PROPERTY_CONFERENCE)) { in propertiesToString()
818 if (hasProperty(properties, PROPERTY_GENERIC_CONFERENCE)) { in propertiesToString()
821 if (hasProperty(properties, PROPERTY_WIFI)) { in propertiesToString()
824 if (hasProperty(properties, PROPERTY_HIGH_DEF_AUDIO)) { in propertiesToString()
827 if (hasProperty(properties, PROPERTY_EMERGENCY_CALLBACK_MODE)) { in propertiesToString()
830 if (hasProperty(properties, PROPERTY_IS_EXTERNAL_CALL)) { in propertiesToString()
833 if (hasProperty(properties, PROPERTY_HAS_CDMA_VOICE_PRIVACY)) { in propertiesToString()
[all …]
/frameworks/base/core/java/android/hardware/devicestate/feature/
Dflags.aconfig8 description: "Updated DeviceState hasProperty API"
/frameworks/base/core/java/android/hardware/devicestate/
DDeviceStateUtil.java69 if (!state.hasProperty(iterator.next())) { in isDeviceStateMatchingPhysicalProperties()
DDeviceState.java280 public boolean hasProperty(@DeviceStateProperties int propertyToCheckFor) { in hasProperty() method in DeviceState
290 if (!hasProperty(properties[i])) { in hasProperties()
DDeviceStateManager.java280 folded = deviceState.hasProperty( in onDeviceStateChanged()
/frameworks/native/libs/input/
DPropertyMap.cpp59 bool PropertyMap::hasProperty(const std::string& key) const { in hasProperty() function in android::PropertyMap
203 if (mMap->hasProperty(keyToken.c_str())) { in parse()
/frameworks/base/packages/SystemUI/src/com/android/systemui/reardisplay/
DRearDisplayDialogController.java234 if (mStartedFolded && !state.hasProperty( in onDeviceStateChanged()
239 } else if (!mStartedFolded && state.hasProperty( in onDeviceStateChanged()
/frameworks/base/services/foldables/devicestateprovider/src/com/android/server/policy/
DFoldableDeviceStateProvider.java255 if (isThermalStatusCriticalOrAbove(mThermalStatus) && deviceState.hasProperty( in isStateSupported()
259 if (mPowerSaveModeEnabled && deviceState.hasProperty( in isStateSupported()
658 if (state.mDeviceState.hasProperty( in hasThermalSensitiveState()
668 if (deviceStates[i].mDeviceState.hasProperty( in hasPowerSaveSensitiveState()
/frameworks/native/include/input/
DPropertyMap.h85 bool hasProperty(const std::string& key) const;
/frameworks/base/services/core/java/com/android/server/policy/
DDeviceStateProviderImpl.java378 if (deviceStates.get(i).hasProperty(DeviceState.PROPERTY_EMULATED_ONLY)) { in setStateConditions()
503 if (isThermalStatusCriticalOrAbove(mThermalStatus) && deviceState.hasProperty( in notifySupportedStatesChanged()
508 if (mPowerSaveModeEnabled && deviceState.hasProperty( in notifySupportedStatesChanged()
869 if (deviceStates.get(i).hasProperty( in hasThermalSensitiveState()
879 if (deviceStates.get(i).hasProperty( in hasPowerSaveSensitiveState()
/frameworks/native/services/inputflinger/reader/mapper/gestures/
DPropertyProvider.h35 bool hasProperty(const std::string& name) const;
DPropertyProvider.cpp72 bool PropertyProvider::hasProperty(const std::string& name) const { in hasProperty() function in android::PropertyProvider
/frameworks/base/services/core/java/com/android/server/devicestate/
DOverrideRequestController.java208 if (mRequest.getRequestedDeviceState().hasProperty( in handleProcessDied()
DDeviceStateManagerService.java448 if (state.hasProperty(PROPERTY_POLICY_CANCEL_OVERRIDE_REQUESTS)) { in updateSupportedStates()
524 if (baseState.hasProperty(PROPERTY_POLICY_CANCEL_OVERRIDE_REQUESTS)) { in setBaseState()
1378 return deviceState.hasProperty(PROPERTY_POLICY_CANCEL_WHEN_REQUESTER_NOT_ON_TOP); in shouldCancelOverrideRequestWhenRequesterNotOnTop()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dsystem-current.txt5027 method public boolean hasProperty(int);
Dcurrent.txt42361 method public static boolean hasProperty(int, int);
42362 method public boolean hasProperty(int);