Home
last modified time | relevance | path

Searched refs:component (Results 1 – 25 of 50) sorted by relevance

12

/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/
DBaseEmulatorActivity.java64 abstract void onApduSequenceComplete(ComponentName component, long duration); in onApduSequenceComplete() argument
125 ComponentName component = intent.getParcelableExtra(HceUtils.EXTRA_COMPONENT);
127 if (component != null) {
128 onApduSequenceComplete(component, duration);
156 for (ComponentName component : SERVICES) { in doInBackground()
157 if (enableComponents.contains(component)) { in doInBackground()
158 Log.d(TAG, "Enabling component " + component); in doInBackground()
159 HceUtils.enableComponent(getPackageManager(), component); in doInBackground() local
161 Log.d(TAG, "Disabling component " + component); in doInBackground()
162 HceUtils.disableComponent(getPackageManager(), component); in doInBackground() local
[all …]
DHceUtils.java28 public static void enableComponent(PackageManager pm, ComponentName component) { in enableComponent() argument
30 component, in enableComponent()
35 public static void disableComponent(PackageManager pm, ComponentName component) { in disableComponent() argument
37 component, in disableComponent()
DSinglePaymentEmulatorActivity.java39 void onPaymentDefaultResult(ComponentName component, boolean success) { in onPaymentDefaultResult() argument
57 void onApduSequenceComplete(ComponentName component, long duration) { in onApduSequenceComplete() argument
58 if (component.equals(PaymentService1.COMPONENT)) { in onApduSequenceComplete()
DDualPaymentEmulatorActivity.java54 void onPaymentDefaultResult(ComponentName component, boolean success) { in onPaymentDefaultResult() argument
76 void onApduSequenceComplete(ComponentName component, long duration) { in onApduSequenceComplete() argument
77 if (component.equals(PaymentService2.COMPONENT)) { in onApduSequenceComplete()
DPrefixPaymentEmulator2Activity.java53 void onPaymentDefaultResult(ComponentName component, boolean success) { in onPaymentDefaultResult() argument
75 void onApduSequenceComplete(ComponentName component, long duration) { in onApduSequenceComplete() argument
76 if (component.equals(PrefixPaymentService2.COMPONENT)) { in onApduSequenceComplete()
DPrefixPaymentEmulatorActivity.java53 void onPaymentDefaultResult(ComponentName component, boolean success) { in onPaymentDefaultResult() argument
75 void onApduSequenceComplete(ComponentName component, long duration) { in onApduSequenceComplete() argument
76 if (component.equals(PrefixPaymentService1.COMPONENT)) { in onApduSequenceComplete()
DDynamicAidEmulatorActivity.java50 void onPaymentDefaultResult(ComponentName component, boolean success) { in onPaymentDefaultResult() argument
57 void onApduSequenceComplete(ComponentName component, long duration) { in onApduSequenceComplete() argument
58 if (component.equals(PaymentServiceDynamicAids.COMPONENT)) { in onApduSequenceComplete()
DForegroundPaymentEmulatorActivity.java46 void onPaymentDefaultResult(ComponentName component, boolean success) { in onPaymentDefaultResult() argument
70 void onApduSequenceComplete(ComponentName component, long duration) { in onApduSequenceComplete() argument
71 if (component.equals(PaymentService2.COMPONENT)) { in onApduSequenceComplete()
DChangeDefaultEmulatorActivity.java74 void onApduSequenceComplete(ComponentName component, long duration) { in onApduSequenceComplete() argument
75 if (component.equals(PaymentService1.COMPONENT)) { in onApduSequenceComplete()
81 void onPaymentDefaultResult(ComponentName component, boolean success) { in onPaymentDefaultResult() argument
DSingleNonPaymentEmulatorActivity.java43 void onApduSequenceComplete(ComponentName component, long duration) { in onApduSequenceComplete() argument
44 if (component.equals(TransportService1.COMPONENT)) { in onApduSequenceComplete()
DConflictingNonPaymentEmulatorActivity.java44 void onApduSequenceComplete(ComponentName component, long duration) { in onApduSequenceComplete() argument
45 if (component.equals(TransportService2.COMPONENT)) { in onApduSequenceComplete()
DForegroundNonPaymentEmulatorActivity.java52 void onApduSequenceComplete(ComponentName component, long duration) { in onApduSequenceComplete() argument
53 if (component.equals(TransportService2.COMPONENT)) { in onApduSequenceComplete()
/cts/tests/tests/calendarcommon/src/android/calendarcommon2/cts/
DCalendarcommon2Test.java37 ICalendar.Component component = new ICalendar.Component("CTS", null); in testStaticLinking() local
39 component.getProperties(RecurrenceSet.CTS_PROPERTY_NAME); in testStaticLinking()
42 recurSet.addPropertiesForRuleStr(component, null, null); in testStaticLinking()
47 properties = component.getProperties(RecurrenceSet.CTS_PROPERTY_NAME); in testStaticLinking()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DBluetoothSharingRestrictionTest.java109 private static void assertComponentStateAfterTimeout(Context context, ComponentName component, in assertComponentStateAfterTimeout() argument
115 state = context.getPackageManager().getComponentEnabledSetting(component); in assertComponentStateAfterTimeout()
122 TestCase.fail("The state of " + component + " should have been " + expectedState in assertComponentStateAfterTimeout()
128 ComponentName component, in assertHandlerAvailable() argument
140 if (resolvedComponent.equals(component)) { in assertHandlerAvailable()
145 TestCase.fail(component + " is available as a handler for " + intent); in assertHandlerAvailable()
151 TestCase.fail(component + " isn't available as a handler for " + intent); in assertHandlerAvailable()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DBaseDeviceAdminServiceTest.java100 protected abstract void setAsOwnerOrFail(String component) throws Exception; in setAsOwnerOrFail() argument
198 private String rumpDumpSysService(String component) throws Exception { in rumpDumpSysService() argument
199 final String command = "dumpsys activity services " + component; in rumpDumpSysService()
205 private void assertServiceBound(String component) throws Exception { in assertServiceBound() argument
206 final String commandOutput = rumpDumpSysService(component); in assertServiceBound()
208 if (line.contains("ConnectionRecord") && line.contains(component)) { in assertServiceBound()
215 private void assertServiceNotBound(String component) throws Exception { in assertServiceNotBound() argument
216 final String commandOutput = rumpDumpSysService(component); in assertServiceNotBound()
218 if (line.contains("ConnectionRecord") && line.contains(component)) { in assertServiceNotBound()
DDeviceAdminServiceDeviceOwnerTest.java30 protected void setAsOwnerOrFail(String component) throws Exception { in setAsOwnerOrFail() argument
31 setDeviceOwnerOrFail(component, getUserId()); in setAsOwnerOrFail()
DDeviceAdminServiceProfileOwnerTest.java46 protected void setAsOwnerOrFail(String component) throws Exception { in setAsOwnerOrFail() argument
47 setProfileOwnerOrFail(component, getUserId()); in setAsOwnerOrFail()
/cts/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/presubmit/
DCtsConfigLoadingTest.java112 List<String> component = cd.getMetaData(METADATA_COMPONENT); in testConfigurationLoad() local
118 component); in testConfigurationLoad()
120 + "metadata field: %s\nconfig: %s", component, config), in testConfigurationLoad()
121 1, component.size()); in testConfigurationLoad()
122 String cmp = component.get(0); in testConfigurationLoad()
/cts/hostsidetests/appsecurity/test-apps/PrivilegedUpdateApp/src/com/android/cts/privilegedupdate/
DPrivilegedUpdateTest.java135 private void assertFilterPriority(ComponentName component, String action, int priority) { in assertFilterPriority() argument
136 assertFilterPriority(component, action, null /*data*/, priority); in assertFilterPriority()
139 ComponentName component, String action, String data, int priority) { in assertFilterPriority() argument
141 final String className = component.getClassName(); in assertFilterPriority()
143 intent.setPackage(component.getPackageName()); in assertFilterPriority()
/cts/hostsidetests/theme/src/android/theme/cts/
DColorUtils.java193 private static double pivotXyzComponent(double component) {
194 return component > XYZ_EPSILON
195 ? Math.pow(component, 1 / 3.0)
196 : (XYZ_KAPPA * component + 16) / 116;
/cts/tests/tests/calendarcommon/src/com/android/calendarcommon2/
DRecurrenceSet.java31 public static void addPropertiesForRuleStr(ICalendar.Component component, in addPropertiesForRuleStr() argument
34 component.addProperty(new ICalendar.Property(CTS_PROPERTY_NAME)); in addPropertiesForRuleStr()
/cts/suite/audio_quality/lib/src/
DAdb.cpp44 bool Adb::launchClient(const android::String8& clientBinary, const android::String8& component) in launchClient() argument
54 if (command.appendFormat("shell am start -W -n %s", component.string()) != 0) { in launchClient()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodFlowTestHelper.java46 for (String component : components) { in setComponentsEnabledState()
47 mPackageManager.setComponentEnabledSetting(new ComponentName(mContext, component), in setComponentsEnabledState()
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvInputManagerTest.java168 ComponentName component = new ComponentName(getActivity(), StubTvInputService2.class); in testInputAddedAndRemoved() local
170 component)); in testInputAddedAndRemoved()
171 pm.setComponentEnabledSetting(component, PackageManager.COMPONENT_ENABLED_STATE_DISABLED, in testInputAddedAndRemoved()
183 component)); in testInputAddedAndRemoved()
184 pm.setComponentEnabledSetting(component, PackageManager.COMPONENT_ENABLED_STATE_ENABLED, in testInputAddedAndRemoved()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/vr/
DMockVrListenerService.java128 public void onCurrentVrActivityChanged(ComponentName component) { in onCurrentVrActivityChanged() argument
129 Log.i(TAG, "onCurrentVrActivityChanged called with: " + component); in onCurrentVrActivityChanged()
131 sEventQueue.put(Event.build(this, EventType.ONCURRENTVRMODEACTIVITYCHANGED, component)); in onCurrentVrActivityChanged()

12