/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/ |
ApprovedPrintServices.java | 19 import android.content.ComponentName; 65 * @param service The {@link ComponentName} of the {@link PrintService} that might be approved 68 public boolean isApprovedService(ComponentName service) { 87 * @param serviceToAdd The {@link ComponentName} of the {@link PrintService} to be approved. 89 public void addApprovedService(ComponentName serviceToAdd) { 132 * @param serviceNamesToKeep The {@link ComponentName names } of the services to keep 134 public void pruneApprovedServices(List<ComponentName> serviceNamesToKeep) {
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
UninstallDropTarget.java | 4 import android.content.ComponentName; 50 Pair<ComponentName, Integer> componentInfo = getAppInfoFlags(info); 57 private static Pair<ComponentName, Integer> getAppInfoFlags(Object item) { 60 return Pair.create(info.componentName, info.flags); 63 ComponentName component = info.getTargetComponent(); 83 final Pair<ComponentName, Integer> componentInfo = getAppInfoFlags(d.dragInfo); 103 final Pair<ComponentName, Integer> componentInfo = getAppInfoFlags(info);
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
CardEmulationManager.java | 22 import android.content.ComponentName; 207 ComponentName defaultPaymentService = 220 ComponentName lastFoundPaymentService = null; 256 ComponentName lastFoundPaymentService = null; 278 ComponentName getDefaultServiceForCategory(int userId, String category, 289 ComponentName service = ComponentName.unflattenFromString(name); 300 boolean setDefaultServiceForCategoryChecked(int userId, ComponentName service, 319 boolean isServiceRegistered(int userId, ComponentName service) { 333 boolean isNfcFServiceInstalled(int userId, ComponentName service) [all...] |
/packages/apps/Settings/src/com/android/settings/utils/ |
ZenServiceListing.java | 19 import android.content.ComponentName; 50 public ServiceInfo findService(final ComponentName cn) { 52 final ComponentName serviceCN = new ComponentName(service.packageName, service.name); 96 private boolean matchesApprovedPackage(List<String> approved, ComponentName serviceOwner) { 103 ComponentName approvedComponent = ComponentName.unflattenFromString(entry);
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
TelephonyUtil.java | 19 import android.content.ComponentName; 46 new ComponentName(TELEPHONY_PACKAGE_NAME, PSTN_CALL_SERVICE_CLASS_NAME), "E"); 66 static boolean isPstnComponentName(ComponentName componentName) { 67 final ComponentName pstnComponentName = new ComponentName( 69 return pstnComponentName.equals(componentName);
|
ServiceBinder.java | 19 import android.content.ComponentName; 117 public void onServiceConnected(ComponentName componentName, IBinder binder) { 121 Log.i(this, "Service bound %s", componentName); 123 Log.event(mCall, Log.Events.CS_BOUND, componentName); 145 public void onServiceDisconnected(ComponentName componentName) { 172 private final ComponentName mComponentName; 207 * @param componentName The component name of the service with which to bind. 211 protected ServiceBinder(String serviceAction, ComponentName componentName, Context context [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
EncoderTest.java | 155 for (String componentName : componentNames) { 158 pool.execute(new EncoderRun(componentName, format)); 242 EncoderRun(String componentName, MediaFormat format) { 243 mComponentName = componentName; 252 private void testEncoder(String componentName, MediaFormat format) { 253 Log.i(TAG, "testEncoder " + componentName + "/" + format); 255 testEncoder(componentName, format, 0, -1, MODE_SILENT); 258 testEncoder(componentName, format, 0, R.raw.okgoogle123_good, MODE_RESOURCE); 259 testEncoder(componentName, format, 0, R.raw.okgoogle123_good, MODE_RESOURCE | MODE_QUIET); 260 testEncoder(componentName, format, 0, R.raw.tones, MODE_RESOURCE) [all...] |
/cts/tests/tests/tv/src/android/media/tv/cts/ |
TvInputInfoTest.java | 19 import android.content.ComponentName; 82 final ComponentName componentName = 83 new ComponentName(getContext(), StubTunerTvInputService.class); 84 final String id = TvContract.buildInputId(componentName); 88 assertEquals(getContext().getPackageManager().getServiceInfo(componentName, 0).name, 125 assertEquals(intent.getComponent(), new ComponentName(getContext(), 137 assertEquals(intent.getComponent(), new ComponentName(getContext(), 199 new ComponentName(getContext(), StubTunerTvInputService.class)).build(); 211 new ComponentName(getContext(), StubTunerTvInputService.class)).setTunerCount(10 [all...] |
/external/sl4a/Common/src/com/googlecode/android_scripting/ |
IntentBuilders.java | 20 import android.content.ComponentName; 51 final ComponentName componentName = Constants.SL4A_SERVICE_LAUNCHER_COMPONENT_NAME; 53 intent.setComponent(componentName); 67 final ComponentName componentName = Constants.SL4A_SERVICE_LAUNCHER_COMPONENT_NAME; 69 intent.setComponent(componentName); 83 final ComponentName componentName = Constants.SL4A_SERVICE_LAUNCHER_COMPONENT_NAME; 85 intent.setComponent(componentName); [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
AllAppsList.java | 22 import android.content.ComponentName; 61 if (findActivity(data, info.componentName, info.user)) { 105 final ComponentName component = info.intent.getComponent(); 128 final ComponentName component = applicationInfo.intent.getComponent(); 152 mIconCache.remove(applicationInfo.componentName, user); 161 final ComponentName component = applicationInfo.intent.getComponent(); 176 private static boolean findActivity(List<LauncherActivityInfo> apps, ComponentName component, 191 private static boolean findActivity(ArrayList<ApplicationInfo> apps, ComponentName component, 196 if (info.user.equals(user) && info.componentName.equals(component)) { 210 final ComponentName component = info.intent.getComponent() [all...] |
ApplicationInfo.java | 19 import android.content.ComponentName; 53 ComponentName componentName; 70 this.componentName = info.getComponentName(); 93 componentName = info.componentName;
|
/packages/apps/Settings/src/com/android/settings/ |
TrustAgentSettings.java | 20 import android.content.ComponentName; 48 private ArrayMap<ComponentName, AgentInfo> mAvailableAgents; 49 private final ArraySet<ComponentName> mActiveAgents = new ArraySet<ComponentName>(); 55 ComponentName component; // service that implements ITrustAgent 131 List<ComponentName> activeTrustAgents = mLockPatternUtils.getEnabledTrustAgents( 143 ArrayMap<ComponentName, AgentInfo> findAvailableTrustAgents() { 149 ArrayMap<ComponentName, AgentInfo> agents = new ArrayMap<ComponentName, AgentInfo>(); 156 ComponentName name = TrustAgentUtils.getComponentName(resolveInfo) [all...] |
/frameworks/base/core/java/android/service/chooser/ |
ChooserTarget.java | 21 import android.content.ComponentName; 59 * The ComponentName of the Activity to be invoked. Must be part of the target creator's 62 private ComponentName mComponentName; 84 * {@link ChooserTargetService#onGetChooserTargets(ComponentName, IntentFilter) query}. 88 * <p>The ComponentName must be the name of an Activity component in the creator's own 100 * @param componentName Name of the component to be launched if this target is chosen 104 ComponentName componentName, @Nullable Bundle intentExtras) { 112 mComponentName = componentName; 124 mComponentName = ComponentName.readFromParcel(in) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
ServiceMonitor.java | 20 import android.content.ComponentName; 88 serviceDisconnected((ComponentName)msg.obj); 101 ComponentName cn = getComponentNameFromSetting(); 114 private ComponentName mName; 117 public void onServiceConnected(ComponentName name, IBinder service) { 128 public void onServiceDisconnected(ComponentName name) { 157 private ComponentName mServiceName; 187 private ComponentName getComponentNameFromSetting() { 190 return cn == null ? null : ComponentName.unflattenFromString(cn); 252 private void serviceDisconnected(ComponentName serviceName) [all...] |
/frameworks/base/services/core/java/com/android/server/firewall/ |
StringFilter.java | 19 import android.content.ComponentName; 121 public boolean matches(IntentFirewall ifw, ComponentName resolvedComponent, Intent intent, 137 public abstract String getValue(ComponentName resolvedComponent, Intent intent, 232 public String getValue(ComponentName resolvedComponent, Intent intent, 243 public String getValue(ComponentName resolvedComponent, Intent intent, 254 public String getValue(ComponentName resolvedComponent, Intent intent, 265 public String getValue(ComponentName resolvedComponent, Intent intent, 273 public String getValue(ComponentName resolvedComponent, Intent intent, 285 public String getValue(ComponentName resolvedComponent, Intent intent, 293 public String getValue(ComponentName resolvedComponent, Intent intent [all...] |
/frameworks/support/compat/java/android/support/v4/content/ |
IntentCompat.java | 19 import android.content.ComponentName; 31 Intent makeMainActivity(ComponentName componentName); 33 Intent makeRestartActivityTask(ComponentName mainActivity); 38 public Intent makeMainActivity(ComponentName componentName) { 40 intent.setComponent(componentName); 57 public Intent makeRestartActivityTask(ComponentName mainActivity) { 67 public Intent makeMainActivity(ComponentName componentName) { [all...] |
/frameworks/base/services/core/java/com/android/server/search/ |
Searchables.java | 22 import android.content.ComponentName; 61 private HashMap<ComponentName, SearchableInfo> mSearchablesMap = null; 67 private ComponentName mCurrentGlobalSearchActivity = null; 68 private ComponentName mWebSearchActivity = null; 117 public SearchableInfo getSearchableInfo(ComponentName activity) { 160 ComponentName referredActivity; 162 referredActivity = new ComponentName(pkg, pkg + refActivityName); 164 referredActivity = new ComponentName(pkg, refActivityName); 205 HashMap<ComponentName, SearchableInfo> newSearchablesMap 206 = new HashMap<ComponentName, SearchableInfo>() [all...] |
/frameworks/base/services/core/java/com/android/server/vr/ |
VrManagerInternal.java | 19 import android.content.ComponentName; 55 public abstract void setVrMode(boolean enabled, @NonNull ComponentName packageName, 56 int userId, @NonNull ComponentName calling); 66 public abstract void setVrModeImmediate(boolean enabled, @NonNull ComponentName packageName, 67 int userId, @NonNull ComponentName calling); 78 public abstract int hasVrPackage(@NonNull ComponentName packageName, int userId);
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
PhoneAccountUtils.java | 19 import android.content.ComponentName; 61 final ComponentName componentName = ComponentName.unflattenFromString(componentString); 62 if (componentName == null) { 65 return new PhoneAccountHandle(componentName, accountId);
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
AccessibilitySettingsForSetupWizard.java | 20 import android.content.ComponentName; 129 ComponentName componentName = new ComponentName(serviceInfo.packageName, serviceInfo.name); 130 mScreenReaderPreference.setKey(componentName.flattenToString()); 134 extras.putParcelable(AccessibilitySettings.EXTRA_COMPONENT_NAME, componentName);
|
/packages/apps/Settings/src/com/android/settings/nfc/ |
PaymentDefaultDialog.java | 19 import android.content.ComponentName; 40 private ComponentName mNewDefault; 47 ComponentName component = intent.getParcelableExtra( 70 private boolean buildDialog(ComponentName component, String category) { 87 if (component.equals(service.componentName)) { 101 ComponentName defaultComponent = mBackend.getDefaultPaymentApp();
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/ |
DualPaymentEmulatorActivity.java | 4 import android.content.ComponentName; 55 void onPaymentDefaultResult(ComponentName component, boolean success) { 80 void onApduSequenceComplete(ComponentName component, long duration) {
|
DynamicAidEmulatorActivity.java | 3 import android.content.ComponentName; 50 void onPaymentDefaultResult(ComponentName component, boolean success) { 57 void onApduSequenceComplete(ComponentName component, long duration) {
|
ForegroundPaymentEmulatorActivity.java | 4 import android.content.ComponentName; 46 void onPaymentDefaultResult(ComponentName component, boolean success) { 70 void onApduSequenceComplete(ComponentName component, long duration) {
|
PrefixPaymentEmulator2Activity.java | 4 import android.content.ComponentName; 54 void onPaymentDefaultResult(ComponentName component, boolean success) { 79 void onApduSequenceComplete(ComponentName component, long duration) {
|