/frameworks/support/compat/java/android/support/v4/app/ |
D | NotificationManagerCompat.java | 267 ComponentName componentName = ComponentName.unflattenFromString(component); in getEnabledListenerPackages() local 268 if (componentName != null) { in getEnabledListenerPackages() 269 packageNames.add(componentName.getPackageName()); in getEnabledListenerPackages() 339 handleServiceConnected(event.componentName, event.iBinder); in handleMessage() 359 private void handleServiceConnected(ComponentName componentName, IBinder iBinder) { in handleServiceConnected() argument 360 ListenerRecord record = mRecordMap.get(componentName); in handleServiceConnected() 368 private void handleServiceDisconnected(ComponentName componentName) { in handleServiceDisconnected() argument 369 ListenerRecord record = mRecordMap.get(componentName); in handleServiceDisconnected() 375 private void handleRetryListenerQueue(ComponentName componentName) { in handleRetryListenerQueue() argument 376 ListenerRecord record = mRecordMap.get(componentName); in handleRetryListenerQueue() [all …]
|
/frameworks/base/telecomm/java/android/telecom/ |
D | RemoteConnectionManager.java | 40 ComponentName componentName, in addConnectionService() argument 42 if (!mRemoteConnectionServices.containsKey(componentName)) { in addConnectionService() 47 mRemoteConnectionServices.put(componentName, remoteConnectionService); in addConnectionService() 62 ComponentName componentName = request.getAccountHandle().getComponentName(); in createRemoteConnection() local 63 if (!mRemoteConnectionServices.containsKey(componentName)) { in createRemoteConnection() 65 + componentName); in createRemoteConnection() 68 RemoteConnectionService remoteService = mRemoteConnectionServices.get(componentName); in createRemoteConnection()
|
D | PhoneAccountHandle.java | 48 @NonNull ComponentName componentName, in PhoneAccountHandle() 50 this(componentName, id, Process.myUserHandle()); in PhoneAccountHandle() 54 @NonNull ComponentName componentName, in PhoneAccountHandle() 57 checkParameters(componentName, userHandle); in PhoneAccountHandle() 58 mComponentName = componentName; in PhoneAccountHandle() 144 private void checkParameters(ComponentName componentName, UserHandle userHandle) { in checkParameters() argument 145 if(componentName == null) { in checkParameters()
|
/frameworks/av/media/libstagefright/ |
D | MediaCodecList.cpp | 263 bool MediaCodecList::isSoftwareCodec(const AString &componentName) { in isSoftwareCodec() argument 264 return componentName.startsWithIgnoreCase("OMX.google.") in isSoftwareCodec() 265 || !componentName.startsWithIgnoreCase("OMX."); in isSoftwareCodec() 309 AString componentName = info->getCodecName(); in findMatchingCodecs() local 311 if ((flags & kHardwareCodecsOnly) && isSoftwareCodec(componentName)) { in findMatchingCodecs() 312 ALOGV("skipping SW codec '%s'", componentName.c_str()); in findMatchingCodecs() 314 matches->push(componentName); in findMatchingCodecs() 318 ALOGV("matching '%s'", componentName.c_str()); in findMatchingCodecs()
|
D | SimpleDecodingSource.cpp | 68 const AString &componentName = matchingCodecs[i]; in Create() local 69 if (desiredCodec != NULL && componentName.compare(desiredCodec)) { in Create() 73 ALOGV("Attempting to allocate codec '%s'", componentName.c_str()); in Create() 75 codec = MediaCodec::CreateByComponentName(looper, componentName); in Create() 77 ALOGI("Successfully allocated codec '%s'", componentName.c_str()); in Create() 90 ALOGD("Failed to configure codec '%s'", componentName.c_str()); in Create()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbDebuggingManager.java | 336 ComponentName componentName = ComponentName.unflattenFromString(componentString); in startConfirmation() local 337 if (startConfirmationActivity(componentName, userInfo.getUserHandle(), key, fingerprints) in startConfirmation() 338 || startConfirmationService(componentName, userInfo.getUserHandle(), in startConfirmation() 349 private boolean startConfirmationActivity(ComponentName componentName, UserHandle userHandle, in startConfirmationActivity() argument 352 Intent intent = createConfirmationIntent(componentName, key, fingerprints); in startConfirmationActivity() 359 Slog.e(TAG, "unable to start adb whitelist activity: " + componentName, e); in startConfirmationActivity() 368 private boolean startConfirmationService(ComponentName componentName, UserHandle userHandle, in startConfirmationService() argument 370 Intent intent = createConfirmationIntent(componentName, key, fingerprints); in startConfirmationService() 376 Slog.e(TAG, "unable to start adb whitelist service: " + componentName, e); in startConfirmationService() 381 private Intent createConfirmationIntent(ComponentName componentName, String key, in createConfirmationIntent() argument [all …]
|
/frameworks/base/services/core/java/com/android/server/utils/ |
D | ManagedApplicationService.java | 244 public boolean disconnectIfNotMatching(final ComponentName componentName, final int userId) { in disconnectIfNotMatching() argument 245 if (matches(componentName, userId)) { in disconnectIfNotMatching() 312 public void onBindingDied(ComponentName componentName) { in connect() 314 Slog.w(TAG, "Service binding died: " + componentName); in connect() 330 public void onServiceConnected(ComponentName componentName, IBinder iBinder) { in connect() 332 Slog.i(TAG, "Service connected: " + componentName); in connect() 353 Slog.w(TAG, "Invalid binder from " + componentName); in connect() 373 public void onServiceDisconnected(ComponentName componentName) { in connect() 375 Slog.w(TAG, "Service disconnected: " + componentName); in connect()
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ |
D | AutofillManagerServiceImpl.java | 217 final String componentName = getComponentNameFromSettings(); in updateLocked() local 218 if (!TextUtils.isEmpty(componentName)) { in updateLocked() 220 serviceComponent = ComponentName.unflattenFromString(componentName); in updateLocked() 224 Slog.e(TAG, "Bad autofill service name " + componentName + ": " + e); in updateLocked() 249 Slog.e(TAG, "Bad AutofillService '" + componentName + "': " + e); in updateLocked() 286 int flags, @NonNull ComponentName componentName) { in startSessionLocked() argument 296 hasCallback, componentName); in startSessionLocked() 376 final ComponentName componentName = serviceInfo.getComponentName(); in disableOwnedAutofillServicesLocked() local 377 if (componentName.equals(ComponentName.unflattenFromString(autoFillService))) { in disableOwnedAutofillServicesLocked() 379 componentName.getPackageName()); in disableOwnedAutofillServicesLocked() [all …]
|
D | AutofillManagerService.java | 214 final ComponentName componentName = userState.getServiceComponentName(); in startTrackingPackageChanges() 215 if (componentName != null) { in startTrackingPackageChanges() 216 if (packageName.equals(componentName.getPackageName())) { in startTrackingPackageChanges() 536 ComponentName componentName) { in startSession() argument 541 componentName = Preconditions.checkNotNull(componentName, "componentName"); in startSession() 542 final String packageName = Preconditions.checkNotNull(componentName.getPackageName()); in startSession() 549 throw new IllegalArgumentException(componentName + " is not a valid package", e); in startSession() 555 autofillId, bounds, value, hasCallback, flags, componentName); in startSession() 607 boolean hasCallback, int flags, ComponentName componentName, int sessionId, in updateOrRestartSession() argument 619 hasCallback, flags, componentName); in updateOrRestartSession()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | AppInfo.java | 29 public AppInfo(ComponentName componentName, UserHandle user) { in AppInfo() argument 30 if (componentName == null || user == null) throw new IllegalArgumentException(); in AppInfo() 31 mComponentName = componentName; in AppInfo()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | PreviewInflater.java | 58 public View inflatePreviewFromService(ComponentName componentName) { in inflatePreviewFromService() argument 59 WidgetInfo info = getWidgetInfoFromService(componentName); in inflatePreviewFromService() 91 private WidgetInfo getWidgetInfoFromService(ComponentName componentName) { in getWidgetInfoFromService() argument 96 componentName, PackageManager.GET_META_DATA).metaData; in getWidgetInfoFromService() 97 return getWidgetInfoFromMetaData(componentName.getPackageName(), metaData); in getWidgetInfoFromService() 99 Log.w(TAG, "Failed to load preview; " + componentName.flattenToShortString() in getWidgetInfoFromService()
|
/frameworks/av/media/libstagefright/omx/ |
D | OMX.cpp | 70 char componentName[256]; in listNodes() local 72 componentName, sizeof(componentName), index) == OMX_ErrorNone) { in listNodes() 76 info.mName = componentName; in listNodes() 80 mMaster->getRolesOfComponent(componentName, &roles); in listNodes()
|
/frameworks/support/core-utils/java/android/support/v4/app/ |
D | NavUtils.java | 185 public static Intent getParentActivityIntent(Context context, ComponentName componentName) in getParentActivityIntent() argument 187 String parentActivity = getParentActivityName(context, componentName); in getParentActivityIntent() 192 componentName.getPackageName(), parentActivity); in getParentActivityIntent() 229 public static String getParentActivityName(Context context, ComponentName componentName) in getParentActivityName() argument 232 ActivityInfo info = pm.getActivityInfo(componentName, PackageManager.GET_META_DATA); in getParentActivityName()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ResolverComparator.java | 374 public void updateModel(ComponentName componentName) { in updateModel() argument 379 .indexOf(componentName); in updateModel() 381 final float selectedProbability = getScore(componentName); in updateModel() 392 Log.d(TAG, "Selected a unknown component: " + componentName); in updateModel() 463 ComponentName componentName = new ComponentName( in resolveRankerService() local 467 final String perm = mPm.getServiceInfo(componentName, 0).permission; in resolveRankerService() 469 Log.w(TAG, "ResolverRankerService " + componentName + " does not require" in resolveRankerService() 474 + " to the <service> tag for " + componentName in resolveRankerService() 481 Log.w(TAG, "ResolverRankerService " + componentName + " does not hold" in resolveRankerService() 487 Log.e(TAG, "Could not look up service " + componentName in resolveRankerService() [all …]
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | ShortcutManager.java | 140 ComponentName componentName = new ComponentName(packageName, className); in loadShortcuts() local 142 info = packageManager.getActivityInfo(componentName, in loadShortcuts() 149 componentName = new ComponentName(packages[0], className); in loadShortcuts() 151 info = packageManager.getActivityInfo(componentName, in loadShortcuts() 164 intent.setComponent(componentName); in loadShortcuts()
|
/frameworks/av/media/libstagefright/omx/1.0/ |
D | Omx.cpp | 56 char componentName[256]; in listNodes() local 59 componentName, sizeof(componentName), index) == OMX_ErrorNone; in listNodes() 63 info.mName = componentName; in listNodes() 66 mMaster->getRolesOfComponent(componentName, &roles); in listNodes()
|
/frameworks/av/media/libstagefright/omx/tests/ |
D | OMXHarness.h | 68 const char *componentName, const char *componentRole); 71 const char *componentName, const char *componentRole); 74 const char *componentName, const char *componentRole);
|
D | OMXHarness.cpp | 304 const char *componentName, const char *componentRole) { in testStateTransitions() argument 305 if (strncmp(componentName, "OMX.", 4)) { in testStateTransitions() 321 status_t err = mOMX->allocateNode(componentName, observer, &mOMXNode); in testStateTransitions() 592 const char *componentName, const char *componentRole) { in testSeek() argument 631 source, 0 /* flags */, NULL /* nativeWindow */, componentName); in testSeek() 774 const char *componentName, const char *componentRole) { in test() argument 775 printf("testing %s [%s] ... ", componentName, componentRole); in test() 776 ALOGI("testing %s [%s].", componentName, componentRole); in test() 778 status_t err1 = testStateTransitions(componentName, componentRole); in test() 779 status_t err2 = testSeek(componentName, componentRole); in test() [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/ |
D | ImsResolverTest.java | 147 mTestImsResolver.setImsServiceControllerFactory((context, componentName) -> { in testCarrierPackageBind() argument 148 when(controller.getComponentName()).thenReturn(componentName); in testCarrierPackageBind() 176 mTestImsResolver.setImsServiceControllerFactory((context, componentName) -> { in testDontBindWhenNullCarrierPackage() argument 177 when(controller.getComponentName()).thenReturn(componentName); in testDontBindWhenNullCarrierPackage() 209 mTestImsResolver.setImsServiceControllerFactory((context, componentName) -> { in testDevicePackageBind() argument 210 when(controller.getComponentName()).thenReturn(componentName); in testDevicePackageBind() 330 mTestImsResolver.setImsServiceControllerFactory((context, componentName) -> { in testAddDeviceFeatureNoCarrier() argument 331 when(controller.getComponentName()).thenReturn(componentName); in testAddDeviceFeatureNoCarrier() 811 mTestImsResolver.setImsServiceControllerFactory((context, componentName) -> { in setImsServiceControllerFactory() argument 812 if (TEST_DEVICE_DEFAULT_NAME.getPackageName().equals(componentName.getPackageName())) { in setImsServiceControllerFactory() [all …]
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | TransportManager.java | 121 ComponentName componentName = validTransport.getKey(); in onPackageRemoved() local 122 if (componentName.getPackageName().equals(packageName)) { in onPackageRemoved() 128 + componentName.flattenToShortString()); in onPackageRemoved() 140 ComponentName componentName = new ComponentName(packageName, component); in onPackageChanged() local 141 TransportConnection removed = mValidTransports.remove(componentName); in onPackageChanged() 145 componentName.flattenToShortString()); in onPackageChanged() 309 private boolean bindToTransport(ComponentName componentName, ServiceConnection connection) { in bindToTransport() argument 311 .setComponent(componentName); in bindToTransport()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/dream/ |
D | DreamBackend.java | 58 public ComponentName componentName; field in DreamBackend.DreamInfo 67 sb.append(',').append(componentName); in toString() 126 dreamInfo.componentName = getDreamComponentName(resolveInfo); in getDreamInfos() 127 dreamInfo.isActive = dreamInfo.componentName.equals(activeDream); in getDreamInfos() 268 if (mDreamManager == null || dreamInfo == null || dreamInfo.componentName == null) in preview() 271 mDreamManager.testDream(dreamInfo.componentName); in preview() 356 sb.append(di.componentName.equals(mDefaultDream) ? '0' : '1'); in sortKey()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | TaskStackChangedListenerTest.java | 103 public void onTaskCreated(int taskId, ComponentName componentName) in testTaskDescriptionChanged() 155 public void onTaskCreated(int taskId, ComponentName componentName) in testTaskChangeCallBacks() 158 params[1] = componentName; in testTaskChangeCallBacks() 188 ComponentName componentName = (ComponentName) params[1]; in testTaskChangeCallBacks() local 189 assertEquals(ActivityTaskChangeCallbacks.class.getName(), componentName.getClassName()); in testTaskChangeCallBacks()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | PreBootBroadcaster.java | 96 final ComponentName componentName = ri.activityInfo.getComponentName(); in sendNext() local 105 Slog.i(TAG, "Pre-boot of " + componentName.toShortString() + " for user " + mUserId); in sendNext() 106 EventLogTags.writeAmPreBoot(mUserId, componentName.getPackageName()); in sendNext() 108 mIntent.setComponent(componentName); in sendNext()
|
/frameworks/base/core/java/android/app/ |
D | SearchDialog.java | 208 ComponentName componentName, Bundle appSearchData) { in show() argument 209 boolean success = doShow(initialQuery, selectInitialQuery, componentName, appSearchData); in show() 225 ComponentName componentName, Bundle appSearchData) { in doShow() argument 227 if (!show(componentName, appSearchData)) { in doShow() 245 private boolean show(ComponentName componentName, Bundle appSearchData) { in show() argument 248 Log.d(LOG_TAG, "show(" + componentName + ", " in show() 255 mSearchable = searchManager.getSearchableInfo(componentName); in show() 261 mLaunchComponent = componentName; in show()
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
D | AppWidgetServiceImpl.java | 356 provider.id.componentName.getPackageName(), in onConfigurationChanged() 756 … proto.write(WidgetProto.PROVIDER_PACKAGE, widget.provider.id.componentName.getPackageName()); in dumpProtoWidget() 757 proto.write(WidgetProto.PROVIDER_CLASS, widget.provider.id.componentName.getClassName()); in dumpProtoWidget() 1160 public int[] getAppWidgetIds(ComponentName componentName) { in getAppWidgetIds() argument 1168 mSecurityPolicy.enforceCallFromPackage(componentName.getPackageName()); in getAppWidgetIds() 1175 ProviderId providerId = new ProviderId(Binder.getCallingUid(), componentName); in getAppWidgetIds() 1243 ComponentName componentName = intent.getComponent(); in bindRemoteViewsService() local 1247 String providerPackage = widget.provider.id.componentName.getPackageName(); in bindRemoteViewsService() 1248 String servicePackage = componentName.getPackageName(); in bindRemoteViewsService() 1257 componentName, widget.provider.getUserId()); in bindRemoteViewsService() [all …]
|