Home
last modified time | relevance | path

Searched refs:NFC (Results 1 – 25 of 44) sorted by relevance

12

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/power/
DPowerComponentHandlerUnitTest.java29 import static android.car.hardware.power.PowerComponent.NFC;
81 MEDIA, MICROPHONE, NFC, PROJECTION, TRUSTED_DEVICE_DETECTION, in testGetAccumulatedPolicy_firstTime()
93 LOCATION, MEDIA, MICROPHONE, NFC, PROJECTION, TRUSTED_DEVICE_DETECTION, in testApplyPowerPolicy_oneTime()
105 new CarPowerPolicy("test_policy2", new int[]{WIFI, DISPLAY}, new int[]{NFC}), in testApplyPowerPolicy_multipleTimes()
110 new int[]{BLUETOOTH, CELLULAR, ETHERNET, LOCATION, MICROPHONE, NFC, PROJECTION, in testApplyPowerPolicy_multipleTimes()
127 new int[]{NFC}); in testApplyPowerPolicy_withCustomComponents()
135 NFC, PROJECTION, in testApplyPowerPolicy_withCustomComponents()
142 new int[]{NFC, DISPLAY}); in testApplyPowerPolicy_withCustomComponents()
150 MICROPHONE, NFC, PROJECTION, in testApplyPowerPolicy_withCustomComponents()
DPolicyReaderUnitTest.java29 import static android.car.hardware.power.PowerComponent.NFC;
82 new int[]{AUDIO, MEDIA, DISPLAY, BLUETOOTH, CELLULAR, ETHERNET, PROJECTION, NFC, INPUT,
86 new int[]{MEDIA, DISPLAY, BLUETOOTH, WIFI, CELLULAR, ETHERNET, PROJECTION, NFC, INPUT,
100 new int[]{AUDIO, MEDIA, DISPLAY, BLUETOOTH, PROJECTION, NFC, INPUT,
104 new int[]{BLUETOOTH, WIFI, CELLULAR, ETHERNET, NFC, CPU},
114 new int[]{BLUETOOTH, WIFI, CELLULAR, ETHERNET, NFC, CPU},
122 new int[]{AUDIO, MEDIA, DISPLAY, BLUETOOTH, CELLULAR, ETHERNET, PROJECTION, NFC, INPUT,
128 new int[]{AUDIO, MEDIA, DISPLAY, BLUETOOTH, CELLULAR, ETHERNET, PROJECTION, NFC, INPUT,
133 new int[]{MEDIA, DISPLAY, BLUETOOTH, WIFI, CELLULAR, ETHERNET, PROJECTION, NFC, INPUT,
DCarPowerManagementServiceUnitTest.java2094 CarPowerPolicyFilter filterNfc = getListenerFilterForComponents(PowerComponent.NFC); in testGarageModeSystemPolicyOverride()
2126 PowerComponent.NFC); in testGarageModeSystemPolicyOverride()
/packages/services/Car/cpp/powerpolicy/server/tests/
DPowerComponentHandlerTest.cpp90 createPolicy("test_policy", {PowerComponent::WIFI, PowerComponent::NFC}, in TEST_F()
95 ASSERT_TRUE(*handler.getPowerComponentState(PowerComponent::NFC)); in TEST_F()
102 createPolicy("test_policy", {PowerComponent::WIFI, PowerComponent::NFC}, in TEST_F()
117 {PowerComponent::NFC}}, in TEST_F()
128 PowerComponent::ETHERNET, PowerComponent::PROJECTION, PowerComponent::NFC, in TEST_F()
154 PowerComponent::ETHERNET, PowerComponent::PROJECTION, PowerComponent::NFC, in TEST_F()
DPolicyManagerTest.cpp123 PowerComponent::PROJECTION, PowerComponent::NFC,
141 PowerComponent::PROJECTION, PowerComponent::NFC,
156 PowerComponent::NFC, PowerComponent::INPUT,
167 PowerComponent::PROJECTION, PowerComponent::NFC,
182 PowerComponent::PROJECTION, PowerComponent::NFC,
193 PowerComponent::PROJECTION, PowerComponent::NFC,
205 PowerComponent::PROJECTION, PowerComponent::NFC,
242 PowerComponent::PROJECTION, PowerComponent::NFC,
254 PowerComponent::NFC, PowerComponent::INPUT,
265 PowerComponent::NFC, PowerComponent::INPUT,
[all …]
/packages/apps/Nfc/flags/
Dnfc_flags.aconfig7 description: "Test flag for NFC"
21 description: "Additional Statsd CardEmulation Events flag for NFC"
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hardware/power/
DPowerComponentUtilUnitTest.java72 new int[]{PowerComponent.WIFI, PowerComponent.NFC}); in testHasComponents()
78 .setComponents(PowerComponent.LOCATION, PowerComponent.NFC).build(); in testHasComponents()
121 PowerComponent.MEDIA, PowerComponent.MICROPHONE, PowerComponent.NFC, in testPowerComponentsToStrings()
DCarPowerManagerUnitTest.java29 import static android.car.hardware.power.PowerComponent.NFC;
285 new int[]{BLUETOOTH, CELLULAR, ETHERNET, LOCATION, MICROPHONE, NFC, PROJECTION, in testGetCurrentPowerPolicy()
/packages/apps/Nfc/tests/unit/src/com/android/nfc/
DUtilsTest.java20 import static android.Manifest.permission.NFC;
90 .checkPermission(NFC, "com.example.app"); in testHasCeServicesWithValidPermissions()
/packages/apps/Nfc/
DAndroid.bp53 // NCI Configuration used without NFC apex
81 // NCI Configuration embedded in NFC apex.
/packages/services/Car/car-lib/src/android/car/hardware/power/
DPowerComponentUtil.java168 return PowerComponent.NFC; in toPowerComponent()
216 case PowerComponent.NFC: in powerComponentToString()
DPowerComponent.java61 int NFC = 9; field
/packages/apps/Nfc/src/com/android/nfc/
DUtils.java20 import static android.Manifest.permission.NFC;
173 if (pm.checkPermission(NFC, pkgName) != PackageManager.PERMISSION_GRANTED) { in hasCeServicesWithValidPermissions()
DNfcPermissions.java32 static final String NFC_PERMISSION = android.Manifest.permission.NFC;
/packages/services/Car/libs/car-test-lib/src/android/car/testapi/
DFakeRefactoredCarPowerPolicyDaemon.java128 PowerComponent.NFC, PowerComponent.INPUT, in createInitialOnPowerPolicy()
140 PowerComponent.PROJECTION, PowerComponent.NFC, PowerComponent.INPUT, in createAllOnPowerPolicy()
154 PowerComponent.BLUETOOTH, PowerComponent.PROJECTION, PowerComponent.NFC, in createNoUserPowerPolicy()
/packages/apps/Nfc/tests/instrumentation/
DAndroid.bp31 // TODO(b/263565193): Temp hack until NFC APK can link against module_current.
/packages/apps/Nfc/tests/unit/
DAndroid.bp46 // TODO(b/263565193): Temp hack until NFC APK can link against module_current.
/packages/apps/Nfc/proto/
Devent.proto24 // Proto used to format NFC event logs.
/packages/services/Car/cpp/powerpolicy/server/src/
DPolicyManager.cpp106 PowerComponent::NFC,
120 PowerComponent::NFC,
139 {PowerComponent::BLUETOOTH, PowerComponent::NFC, PowerComponent::TRUSTED_DEVICE_DETECTION};
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/event/
DDeadKeyCombiner.java288 final String normalizedString = Normalizer.normalize(sb, Normalizer.Form.NFC); in processEvent()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DRegisteredNfcFServicesCache.java280 if (pm.checkPermission(android.Manifest.permission.NFC, si.packageName) != in getInstalledServices()
284 android.Manifest.permission.NFC); in getInstalledServices()
DRegisteredServicesCache.java439 if (pm.checkPermission(android.Manifest.permission.NFC, si.packageName) != in getInstalledServices()
443 android.Manifest.permission.NFC); in getInstalledServices()
/packages/apps/Nfc/tests/unit/src/com/android/nfc/cardemulation/
DRegisteredServicesCacheTest.java358 verify(mPackageManager).checkPermission(eq(android.Manifest.permission.NFC), in testInitialize_filesExist()
360 verify(mPackageManager).checkPermission(eq(android.Manifest.permission.NFC), in testInitialize_filesExist()
362 verify(mPackageManager).checkPermission(eq(android.Manifest.permission.NFC), in testInitialize_filesExist()
/packages/services/Car/service/src/com/android/car/power/
DPolicyReader.java135 PowerComponent.BLUETOOTH, PowerComponent.PROJECTION, PowerComponent.NFC,
140 new ArraySet<>(Arrays.asList(PowerComponent.BLUETOOTH, PowerComponent.NFC,
DPowerComponentHandler.java554 case PowerComponent.NFC: in createPowerComponent()

12