Home
last modified time | relevance | path

Searched refs:mFeature (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/face/aidl/
DFaceSetFeatureClientTest.java72 private final int mFeature = BiometricFaceConstants.FEATURE_REQUIRE_ATTENTION; field in FaceSetFeatureClientTest
84 TAG, SENSOR_ID, mBiometricLogger, mBiometricContext, mFeature, mEnabled, in setUp()
94 eq(AidlConversionUtils.convertFrameworkToAidlFeature(mFeature)), eq(mEnabled)); in setFeature_onFeatureSet()
98 eq(AidlConversionUtils.convertFrameworkToAidlFeature(mFeature)), in setFeature_onFeatureSet()
100 verify(mListener).onFeatureSet(true, mFeature); in setFeature_onFeatureSet()
110 eq(AidlConversionUtils.convertFrameworkToAidlFeature(mFeature)), in setFeature_onError()
115 eq(AidlConversionUtils.convertFrameworkToAidlFeature(mFeature)), in setFeature_onError()
117 verify(mListener).onFeatureSet(false, mFeature); in setFeature_onError()
DFaceGetFeatureClientTest.java78 private final int mFeature = BiometricFaceConstants.FEATURE_REQUIRE_ATTENTION; field in FaceGetFeatureClientTest
84 USER_ID, TAG, SENSOR_ID, mBiometricLogger, mBiometricContext, mFeature); in setUp()
89 AidlConversionUtils.convertFrameworkToAidlFeature(mFeature)}); in setUp()
102 assertThat(featuresToSend.getValue()).asList().containsExactlyElementsIn(List.of(mFeature)); in getFeature()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/aidl/
DFaceSetFeatureClient.java45 private final int mFeature; field in FaceSetFeatureClient
56 mFeature = feature; in FaceSetFeatureClient()
64 getListener().onFeatureSet(false /* success */, mFeature); in unableToStart()
80 AidlConversionUtils.convertFrameworkToAidlFeature(mFeature), mEnabled); in startHalOperation()
82 Slog.e(TAG, "Unable to set feature: " + mFeature + " to enabled: " + mEnabled, e); in startHalOperation()
94 getListener().onFeatureSet(success, mFeature); in onFeatureSet()
105 getListener().onFeatureSet(false /* success */, mFeature); in onError()
DFaceGetFeatureClient.java51 private final int mFeature; field in FaceGetFeatureClient
60 mFeature = feature; in FaceGetFeatureClient()
79 ((HidlToAidlSessionAdapter) session).setFeature(mFeature); in startHalOperation()
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/
DMmTelFeatureTests.java87 private android.telephony.ims.TestMmTelFeature mFeature; field in MmTelFeatureTests
119 mFeature = new TestMmTelFeature(); in setup()
120 mFeatureBinder = mFeature.getBinder(); in setup()
129 mFeature = null; in tearDown()
137 mFeature.queryConfigurationResult = true; in testQueryCapabilityConfiguration()
153 mFeature.incomingCall(session); in testNewIncomingCall()
168 mFeature.incomingCall(session, callId, extra); in testNewIncomingCallReturnListener()
206 mFeature.configuredRtpHeaderExtensions.await(TEST_RESULT_DELAY_MS, TimeUnit.MILLISECONDS); in testChangeOfferedRtpHeaderExtensionTypes()
207 assertEquals(types.size(), mFeature.receivedExtensions.size()); in testChangeOfferedRtpHeaderExtensionTypes()
208 assertEquals(types.get(0), mFeature.receivedExtensions.iterator().next()); in testChangeOfferedRtpHeaderExtensionTypes()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/face/hidl/
DHidlToAidlSessionAdapterTest.java89 private final int mFeature = BiometricFaceConstants.FEATURE_REQUIRE_REQUIRE_DIVERSITY; field in HidlToAidlSessionAdapterTest
234 when(mSession.getFeature(eq(mFeature), anyInt())).thenReturn(result); in testGetFeatures_onResultSuccess()
236 mHidlToAidlSessionAdapter.setFeature(mFeature); in testGetFeatures_onResultSuccess()
239 verify(mSession).getFeature(eq(mFeature), anyInt()); in testGetFeatures_onResultSuccess()
242 AidlConversionUtils.convertFrameworkToAidlFeature(mFeature)); in testGetFeatures_onResultSuccess()
252 when(mSession.getFeature(eq(mFeature), anyInt())).thenReturn(result); in testGetFeatures_onResultFailed()
254 mHidlToAidlSessionAdapter.setFeature(mFeature); in testGetFeatures_onResultFailed()
257 verify(mSession).getFeature(eq(mFeature), anyInt()); in testGetFeatures_onResultFailed()
268 when(mSession.getFeature(eq(mFeature), anyInt())).thenReturn(result); in testGetFeatures_onStatusFailed()
270 mHidlToAidlSessionAdapter.setFeature(mFeature); in testGetFeatures_onStatusFailed()
[all …]
/frameworks/base/services/core/java/com/android/server/utils/
DAnrTimer.java327 private final FeatureSwitch mFeature; field in AnrTimer
353 mFeature = createFeatureSwitch(enabled); in AnrTimer()
394 return mFeature.enabled(); in serviceEnabled()
710 mFeature.start(arg, getPid(arg), getUid(arg), timeoutMs); in start()
725 return mFeature.cancel(arg); in cancel()
745 return mFeature.accept(arg); in accept()
762 return mFeature.discard(arg); in discard()
769 mFeature.release(t); in release()
804 mFeature.close(); in close()
825 mFeature.dump(pw, false); in dump()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/hidl/
DHidlToAidlSessionAdapter.java73 private int mFeature = INVALID_VALUE; field in HidlToAidlSessionAdapter
171 mFeature = feature; in setFeature()
177 if (faceId == INVALID_VALUE || mFeature == INVALID_VALUE) { in getFeatures()
182 .getFeature(mFeature, faceId); in getFeatures()
186 .convertFrameworkToAidlFeature(mFeature)}); in getFeatures()
194 mFeature = INVALID_VALUE; in getFeatures()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayAreaOrganizerController.java57 int mFeature; field in DisplayAreaOrganizerController.DeathRecipient
62 mFeature = feature; in DeathRecipient()
68 IDisplayAreaOrganizer featureOrganizer = getOrganizerByFeature(mFeature); in binderDied()
73 Slog.d(TAG, "Dead organizer replaced for feature=" + mFeature); in binderDied()
76 mOrganizersByFeatureIds.remove(mFeature).destroy(); in binderDied()
DDisplayAreaPolicyBuilder.java922 final Feature mFeature; field in DisplayAreaPolicyBuilder.PendingArea
941 mFeature = feature; in PendingArea()
964 if (child.mFeature != null) { in instantiateChildren()
965 areas.get(child.mFeature).add(area); in instantiateChildren()
992 if (mFeature == null) { in createArea()
998 return mFeature.mNewDisplayAreaSupplier.create(parent.mWmService, type, in createArea()
999 mFeature.mName + ":" + mMinLayer + ":" + mMaxLayer, mFeature.mId); in createArea()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DExtensionControllerImpl.java343 private final String mFeature; field in ExtensionControllerImpl.ExtensionImpl.FeatureItem
348 mFeature = feature; in FeatureItem()
353 return mDefaultContext.getPackageManager().hasSystemFeature(mFeature) in get()