/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/ |
D | BaseEmulatorActivity.java | 64 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 …]
|
D | HceUtils.java | 28 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()
|
D | SinglePaymentEmulatorActivity.java | 39 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()
|
D | DualPaymentEmulatorActivity.java | 54 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()
|
D | PrefixPaymentEmulator2Activity.java | 53 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()
|
D | PrefixPaymentEmulatorActivity.java | 53 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()
|
D | DynamicAidEmulatorActivity.java | 50 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()
|
D | ForegroundPaymentEmulatorActivity.java | 46 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()
|
D | ChangeDefaultEmulatorActivity.java | 74 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
|
D | SingleNonPaymentEmulatorActivity.java | 43 void onApduSequenceComplete(ComponentName component, long duration) { in onApduSequenceComplete() argument 44 if (component.equals(TransportService1.COMPONENT)) { in onApduSequenceComplete()
|
D | ConflictingNonPaymentEmulatorActivity.java | 44 void onApduSequenceComplete(ComponentName component, long duration) { in onApduSequenceComplete() argument 45 if (component.equals(TransportService2.COMPONENT)) { in onApduSequenceComplete()
|
D | ForegroundNonPaymentEmulatorActivity.java | 52 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/ |
D | Calendarcommon2Test.java | 37 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/ |
D | BluetoothSharingRestrictionTest.java | 109 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/ |
D | BaseDeviceAdminServiceTest.java | 100 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()
|
D | DeviceAdminServiceDeviceOwnerTest.java | 30 protected void setAsOwnerOrFail(String component) throws Exception { in setAsOwnerOrFail() argument 31 setDeviceOwnerOrFail(component, getUserId()); in setAsOwnerOrFail()
|
D | DeviceAdminServiceProfileOwnerTest.java | 46 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/ |
D | CtsConfigLoadingTest.java | 112 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/ |
D | PrivilegedUpdateTest.java | 135 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/ |
D | ColorUtils.java | 193 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/ |
D | RecurrenceSet.java | 31 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/ |
D | Adb.cpp | 44 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/ |
D | ByodFlowTestHelper.java | 46 for (String component : components) { in setComponentsEnabledState() 47 mPackageManager.setComponentEnabledSetting(new ComponentName(mContext, component), in setComponentsEnabledState()
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | TvInputManagerTest.java | 168 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/ |
D | MockVrListenerService.java | 128 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()
|