Home
last modified time | relevance | path

Searched refs:comp (Results 1 – 25 of 36) sorted by relevance

12

/packages/modules/ExtServices/src/android/ext/services/watchdog/
DExplicitHealthCheckServiceImpl.java118 ComponentName comp = resolveSystemService(new Intent(NETWORK_STACK_CONNECTOR_CLASS), in initHealthCheckers() local
120 if (comp != null) { in initHealthCheckers()
121 String networkStackPackageName = comp.getPackageName(); in initHealthCheckers()
136 ComponentName comp = null; in resolveSystemService() local
144 if (comp != null) { in resolveSystemService()
146 + ": " + comp + ", " + foundComp); in resolveSystemService()
148 comp = foundComp; in resolveSystemService()
150 return comp; in resolveSystemService()
/packages/apps/Settings/src/com/android/settings/applications/
DRunningServiceDetails.java135 ComponentName comp = new ComponentName(mServiceItem.mServiceInfo.packageName, in onClick() local
142 new String[] { "-a", "service", comp.flattenToString() }); in onClick()
144 Log.w(TAG, "Can't dump service: " + comp, e); in onClick()
155 Log.w(TAG, "Can't read service dump: " + comp, e); in onClick()
356 final ComponentName comp = rpi.importanceReasonComponent; in addProcessDetailsView() local
547 ActiveDetail activeDetailForService(ComponentName comp) {
551 && comp.equals(ad.mServiceItem.mRunningService.service)) {
558 private void showConfirmStopDialog(ComponentName comp) {
560 DIALOG_CONFIRM_STOP, comp);
567 public static MyAlertDialogFragment newConfirmStop(int id, ComponentName comp) {
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DRunningServiceDetails.java135 ComponentName comp = new ComponentName(mServiceItem.mServiceInfo.packageName, in onClick() local
142 new String[] { "-a", "service", comp.flattenToString() }); in onClick()
144 Log.w(TAG, "Can't dump service: " + comp, e); in onClick()
155 Log.w(TAG, "Can't read service dump: " + comp, e); in onClick()
356 final ComponentName comp = rpi.importanceReasonComponent; in addProcessDetailsView() local
547 ActiveDetail activeDetailForService(ComponentName comp) {
551 && comp.equals(ad.mServiceItem.mRunningService.service)) {
558 private void showConfirmStopDialog(ComponentName comp) {
560 DIALOG_CONFIRM_STOP, comp);
567 public static MyAlertDialogFragment newConfirmStop(int id, ComponentName comp) {
[all …]
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
DLiveWallpaperChange.java55 ComponentName comp = (ComponentName)obj; in init() local
62 queryIntent.setPackage(comp.getPackageName()); in init()
68 if (ri.serviceInfo.name.equals(comp.getClassName())) { in init()
84 Log.w(TAG, "Not a live wallpaper: " + comp); in init()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
DMtpBitmapFetch.java87 int comp = Math.max(h, w); in getFullsize() local
89 while ((comp >> 1) >= maxSide) { in getFullsize()
90 comp = comp >> 1; in getFullsize()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetSystemInterface.java122 ComponentName comp = null; in resolveSystemService() local
130 if (comp != null) { in resolveSystemService()
132 + ": " + comp + ", " + foundComp); in resolveSystemService()
134 comp = foundComp; in resolveSystemService()
136 return comp; in resolveSystemService()
/packages/services/AlternativeNetworkAccess/src/com/android/ons/
DONSAutoBoot.java32 ComponentName comp = new ComponentName(context.getPackageName(), in onReceive() local
34 ComponentName service = context.startService(new Intent().setComponent(comp)); in onReceive()
36 Log.d(TAG, "Could not start service " + comp.toString()); in onReceive()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sidebar/
DRootsFragmentTest.java88 final RootsFragment.ItemComparator comp = new RootsFragment.ItemComparator(testPackageName); in testItemComparator_WithCorrectOrder() local
96 Collections.sort(rootList, comp); in testItemComparator_WithCorrectOrder()
106 final RootsFragment.ItemComparator comp = new RootsFragment.ItemComparator(testPackageName); in testItemComparator_differentItemTypes_WithCorrectOrder() local
119 Collections.sort(rootList, comp); in testItemComparator_differentItemTypes_WithCorrectOrder()
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
DRootsFragment.java388 final RootComparator comp = new RootComparator(); in sortLoadResult() local
389 Collections.sort(libraries, comp); in sortLoadResult()
390 Collections.sort(storageProviders, comp); in sortLoadResult()
410 Collections.sort(otherProviders, comp); in sortLoadResult()
515 final ItemComparator comp = new ItemComparator(preferredRootPackage); in includeHandlerApps() local
516 Collections.sort(rootList, comp); in includeHandlerApps()
517 Collections.sort(rootListOtherUser, comp); in includeHandlerApps()
/packages/providers/MediaProvider/jni/
Dnode-inl.h268 auto comp = [h](const std::unique_ptr<handle>& ptr) { return ptr.get() == h; }; in DestroyHandle()
269 auto it = std::find_if(handles_.begin(), handles_.end(), comp); in DestroyHandle()
294 auto comp = [d](const std::unique_ptr<dirhandle>& ptr) { return ptr.get() == d; }; in DestroyDirHandle()
295 auto it = std::find_if(dirhandles_.begin(), dirhandles_.end(), comp); in DestroyDirHandle()
/packages/modules/ExtServices/tests/src/android/ext/services/watchdog/
DExplicitHealthCheckServiceImplTest.java171 ComponentName comp = intent.resolveSystemService(mContext.getPackageManager(), 0); in getNetworkStackPackage() local
172 if (comp != null) { in getNetworkStackPackage()
173 return comp.getPackageName(); in getNetworkStackPackage()
/packages/apps/MusicFX/src/com/android/musicfx/
DCompatibility.java239 … ComponentName comp = new ComponentName(foo.activityInfo.packageName, foo.activityInfo.name); in setupReceivers() local
242 mPackageManager.setComponentEnabledSetting(comp, in setupReceivers()
247 mPackageManager.setComponentEnabledSetting(comp, in setupReceivers()
/packages/services/Car/watchdog/server/tests/
DIoPerfCollectionTest.cpp125 auto comp = [&](const UidIoPerfData::Stats& l, const UidIoPerfData::Stats& r) -> bool { in isEqual() local
133 std::equal(lhs.topNReads.begin(), lhs.topNReads.end(), rhs.topNReads.begin(), comp) && in isEqual()
135 std::equal(lhs.topNWrites.begin(), lhs.topNWrites.end(), rhs.topNWrites.begin(), comp); in isEqual()
151 auto comp = [&](const ProcessIoPerfData::UidStats& l, in isEqual() local
153 auto comp = [&](const ProcessIoPerfData::UidStats::ProcessStats& l, in isEqual() local
160 comp); in isEqual()
164 rhs.topNIoBlockedUids.begin(), comp) && in isEqual()
171 rhs.topNMajorFaultUids.begin(), comp); in isEqual()
/packages/apps/Car/Settings/src/com/android/car/settings/language/
DLocalePreferenceProvider.java158 LocaleHelper.LocaleInfoComparator comp = in createSuggestedLocaleAdapter() local
160 adapter.sort(comp); in createSuggestedLocaleAdapter()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothDevicePairer.java308 ComponentName comp = intent.resolveSystemService(mContext.getPackageManager(), 0); in addBluetoothDeviceCriteria() local
309 if (comp != null) { in addBluetoothDeviceCriteria()
310 int enabledState = mContext.getPackageManager().getComponentEnabledSetting(comp); in addBluetoothDeviceCriteria()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DLocalAlbumSet.java148 Comparator<MediaItem> comp = DataManager.sDateTakenComparator; in getLocalAlbum() local
149 return new LocalMergeAlbum(path, comp, new MediaSet[] { in getLocalAlbum()
DLocalSource.java101 Comparator<MediaItem> comp = DataManager.sDateTakenComparator; in createMediaObject() local
103 path, comp, new MediaSet[] {imageSet, videoSet}, bucketId); in createMediaObject()
/packages/apps/Settings/src/com/android/settings/applications/assist/
DVoiceInputHelper.java155 ComponentName comp = new ComponentName(resolveInfo.serviceInfo.packageName, in buildUi() local
157 if (interactorRecognizers.contains(comp)) { in buildUi()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/assist/
DVoiceInputHelper.java155 ComponentName comp = new ComponentName(resolveInfo.serviceInfo.packageName, in buildUi() local
157 if (interactorRecognizers.contains(comp)) { in buildUi()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DTaskView.java31 import static com.android.launcher3.Utilities.comp;
385 mIconView.setAlpha(comp(modalness)); in setModalness()
387 mContextualChip.setScaleX(comp(modalness)); in setModalness()
388 mContextualChip.setScaleY(comp(modalness)); in setModalness()
391 mContextualChipWrapper.setAlpha(comp(modalness)); in setModalness()
/packages/apps/Camera2/src/com/android/camera/
DButtonManager.java582 int comp = Integer.parseInt((String)(v.getTag())); in setExposureCompensationCallback()
586 Math.round(comp / mExposureCompensationStep); in setExposureCompensationCallback()
884 int comp = Math.round(compValue * mExposureCompensationStep); in updateExposureButtons() local
885 mModeOptionsExposure.setSelectedOptionByTag(String.valueOf(comp)); in updateExposureButtons()
/packages/apps/Camera2/src/com/android/camera/widget/
DIndicatorIconController.java259 int comp = Math.round(compValue * buttonManager.getExposureCompensationStep()); in syncExposureIndicator() local
262 switch (comp) { in syncExposureIndicator()
/packages/apps/Camera2/src/com/android/camera/data/
DCameraFilmstripDataAdapter.java253 Comparator<FilmstripItem> comp = new NewestFirstComparator( in insertItem() local
256 && comp.compare(item, mFilmstripItems.get(pos)) > 0; pos++) { in insertItem()
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/
DBasicKeyChainServiceTest.java347 ComponentName comp = intent.resolveSystemService(appContext.getPackageManager(), 0); in bindKeyChainService() local
348 intent.setComponent(comp); in bindKeyChainService()
/packages/apps/Launcher3/src/com/android/launcher3/
DUtilities.java361 public static float comp(float a) { in comp() method in Utilities

12