/packages/apps/Settings/src/com/android/settings/applications/assist/ |
DefaultVoiceInputPicker.java | 19 import android.content.ComponentName; 52 final ComponentName assist = getCurrentAssist(); 84 final ComponentName currentService = getCurrentService(mHelper); 99 new ComponentName(info.service.packageName, 118 public static ComponentName getCurrentService(VoiceInputHelper helper) { 128 private ComponentName getCurrentAssist() { 132 public static boolean isCurrentAssistVoiceService(ComponentName currentAssist, 133 ComponentName currentVoiceService) { 144 super(context, pm, userId, info.componentName, null /* summary */, enabled);
|
/packages/services/Car/service/src/com/android/car/pm/ |
ActivityBlockingActivity.java | 24 import android.content.ComponentName; 75 public void onServiceConnected(ComponentName name, IBinder service) { 93 public void onServiceDisconnected(ComponentName name) { 163 ComponentName componentName = ComponentName.unflattenFromString(flattenComponentName); 168 componentName.getPackageName(), 0); 176 + componentName.toString()); 180 label = componentName.getClass().getSimpleName();
|
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/ |
LiveWallpaperChange.java | 21 import android.content.ComponentName; 41 if (obj == null || !(obj instanceof ComponentName)) { 47 ComponentName comp = (ComponentName)obj;
|
/frameworks/base/services/core/java/com/android/server/utils/ |
ManagedApplicationService.java | 21 import android.content.ComponentName; 82 private final ComponentName mComponent; 119 public final ComponentName component; 123 public LogEvent(long timestamp, ComponentName component, int event) { 152 private ManagedApplicationService(final Context context, final ComponentName component, 197 * @param component the {@link ComponentName} of the application service to bind. 213 @NonNull final ComponentName component, final int userId, int clientLabel, 232 public ComponentName getComponent() { 240 * @param componentName the component that must match. 244 public boolean disconnectIfNotMatching(final ComponentName componentName, final int userId) [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/testutils/ |
PackageManagerStub.java | 3 import android.content.ComponentName; 165 public ActivityInfo getActivityInfo(ComponentName component, int flags) 171 public ActivityInfo getReceiverInfo(ComponentName component, int flags) 177 public ServiceInfo getServiceInfo(ComponentName component, int flags) 183 public ProviderInfo getProviderInfo(ComponentName component, int flags) 418 public List<ResolveInfo> queryIntentActivityOptions(ComponentName caller, 482 public InstrumentationInfo getInstrumentationInfo(ComponentName className, int flags) 498 public Drawable getActivityIcon(ComponentName activityName) 509 public Drawable getActivityBanner(ComponentName activityName) 547 public Drawable getActivityLogo(ComponentName activityName [all...] |
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
BridgePackageManager.java | 21 import android.content.ComponentName; 183 public ActivityInfo getActivityInfo(ComponentName component, int flags) 189 public ActivityInfo getReceiverInfo(ComponentName component, int flags) 195 public ServiceInfo getServiceInfo(ComponentName component, int flags) 201 public ProviderInfo getProviderInfo(ComponentName component, int flags) 416 public List<ResolveInfo> queryIntentActivityOptions(ComponentName caller, Intent[] specifics, 478 public InstrumentationInfo getInstrumentationInfo(ComponentName className, int flags) 494 public Drawable getActivityIcon(ComponentName activityName) throws NameNotFoundException { 504 public Drawable getActivityBanner(ComponentName activityName) throws NameNotFoundException { 539 public Drawable getActivityLogo(ComponentName activityName) throws NameNotFoundException [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
CarrierSignalAgent.java | 20 import android.content.ComponentName; 82 private Map<String, Set<ComponentName>> mCachedWakeSignalConfigs = new HashMap<>(); 91 private Map<String, Set<ComponentName>> mCachedNoWakeSignalConfigs = new HashMap<>(); 196 Map<String, Set<ComponentName>> config = parseAndCache( 216 Map<String, Set<ComponentName>> config = parseAndCache( 236 private Map<String, Set<ComponentName>> parseAndCache(String[] configs) { 237 Map<String, Set<ComponentName>> newCachedWakeSignalConfigs = new HashMap<>(); 243 ComponentName componentName = ComponentName [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/ |
PolicySerializationTestActivity.java | 25 import android.content.ComponentName; 60 private ComponentName mAdmin; 156 ComponentName admin = DeviceAdminTestReceiver.getReceiverComponentName(); 246 void applyExpectedValue(DevicePolicyManager deviceManager, ComponentName admin); 254 void loadActualValue(DevicePolicyManager deviceManager, ComponentName admin); 293 public final void loadActualValue(DevicePolicyManager deviceManager, ComponentName admin) { 298 ComponentName admin); 408 public void applyExpectedValue(DevicePolicyManager deviceManager, ComponentName admin) { 414 ComponentName admin) { 447 public void applyExpectedValue(DevicePolicyManager deviceManager, ComponentName admin) [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
PreferredComponent.java | 25 import android.content.ComponentName; 44 public final ComponentName mComponent; 61 public PreferredComponent(Callbacks callbacks, int match, ComponentName[] set, 62 ComponentName component, boolean always) { 75 ComponentName cn = set[i]; 100 mComponent = ComponentName.unflattenFromString(mShortComponent); 143 ComponentName cn = ComponentName.unflattenFromString(name); 224 public boolean sameSet(ComponentName[] comps) { 230 ComponentName cn = comps[i] [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
PackageManagerHelper.java | 21 import android.content.ComponentName; 197 ComponentName componentName = null; 199 componentName = ((AppInfo) info).componentName; 201 componentName = info.getTargetComponent(); 203 componentName = ((PendingAddItemInfo) info).componentName; 205 componentName = ((LauncherAppWidgetInfo) info).providerName; 207 if (componentName != null) [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
ProviderMap.java | 19 import android.content.ComponentName; 20 import android.content.ComponentName.WithComponentName; 57 private final HashMap<ComponentName, ContentProviderRecord> mSingletonByClass 58 = new HashMap<ComponentName, ContentProviderRecord>(); 62 private final SparseArray<HashMap<ComponentName, ContentProviderRecord>> mProvidersByClassPerUser 63 = new SparseArray<HashMap<ComponentName, ContentProviderRecord>>(); 87 ContentProviderRecord getProviderByClass(ComponentName name) { 91 ContentProviderRecord getProviderByClass(ComponentName name, int userId) { 118 void putProviderByClass(ComponentName name, ContentProviderRecord record) { 150 void removeProviderByClass(ComponentName name, int userId) [all...] |
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
ComponentContextFixture.java | 33 import android.content.ComponentName; 392 private final Multimap<String, ComponentName> mComponentNamesByAction = 394 private final Map<ComponentName, IInterface> mServiceByComponentName = new HashMap<>(); 395 private final Map<ComponentName, ServiceInfo> mServiceInfoByComponentName = new HashMap<>(); 396 private final Map<IInterface, ComponentName> mComponentNameByService = new HashMap<>(); 491 ComponentName componentName, 494 addService(ConnectionService.SERVICE_INTERFACE, componentName, service); 497 serviceInfo.packageName = componentName.getPackageName(); 498 serviceInfo.name = componentName.getClassName() [all...] |
PhoneAccountRegistrarTest.java | 19 import android.content.ComponentName; 119 PhoneAccountHandle input = new PhoneAccountHandle(new ComponentName("pkg0", "cls0"), "id0"); 124 PhoneAccountHandle inputN = new PhoneAccountHandle(new ComponentName("pkg0", "cls0"), null); 466 new ComponentName("other1", "other2"), "tel_acct2"); 491 new ComponentName("other1", "other2"), "tel_acct1"); 522 // second PhoneAccount with the second ComponentName was replaced by the third PhoneAccount 579 new ComponentName("self", "managed"), "selfie1"); 603 new ComponentName("self", "managed"), "selfie1"); 621 ComponentName componentA = new ComponentName("a", "a") [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
SmsApplication.java | 21 import android.content.ComponentName; 508 configurePreferredActivity(packageManager, new ComponentName( 595 configurePreferredActivity(packageManager, new ComponentName( 624 final ComponentName component = new ComponentName(oldAppData.mPackageName, 642 final ComponentName component = new ComponentName(applicationData.mPackageName, [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/admin/tapjacking/ |
EmptyDeviceAdminReceiver.java | 21 import android.content.ComponentName; 31 dpm.removeActiveAdmin(new ComponentName(context, this.getClass()));
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
ByodFlowTestHelper.java | 3 import android.content.ComponentName; 50 mPackageManager.setComponentEnabledSetting(new ComponentName(mContext, component),
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/ |
ConflictingNonPaymentEmulatorActivity.java | 3 import android.content.ComponentName; 44 void onApduSequenceComplete(ComponentName component, long duration) {
|
ConflictingNonPaymentPrefixEmulatorActivity.java | 3 import android.content.ComponentName; 49 void onApduSequenceComplete(ComponentName component, long duration) {
|
DefaultRouteEmulatorActivity.java | 3 import android.content.ComponentName; 47 void onApduSequenceComplete(ComponentName component, long duration) {
|
ForegroundNonPaymentEmulatorActivity.java | 3 import android.content.ComponentName; 52 void onApduSequenceComplete(ComponentName component, long duration) {
|
LargeNumAidsEmulatorActivity.java | 3 import android.content.ComponentName; 43 void onApduSequenceComplete(ComponentName component, long duration) {
|
OffHostEmulatorActivity.java | 4 import android.content.ComponentName; 44 void onApduSequenceComplete(ComponentName component, long duration) {
|
SingleNonPaymentEmulatorActivity.java | 3 import android.content.ComponentName; 43 void onApduSequenceComplete(ComponentName component, long duration) {
|
TapTestEmulatorActivity.java | 4 import android.content.ComponentName; 53 void onApduSequenceComplete(ComponentName component, long duration) {
|
/cts/apps/EmptyDeviceOwner/src/com/android/cts/emptydeviceowner/ |
DeviceOwnerChangedReceiver.java | 20 import android.content.ComponentName; 40 new ComponentName("com.android.cts.verifier",
|