/frameworks/support/v4/ics/android/support/v4/view/accessibility/ |
D | AccessibilityNodeInfoCompatIcs.java | 38 public static Object obtain(Object info) { in obtain() argument 39 return AccessibilityNodeInfo.obtain((AccessibilityNodeInfo) info); in obtain() 42 public static void addAction(Object info, int action) { in addAction() argument 43 ((AccessibilityNodeInfo) info).addAction(action); in addAction() 46 public static void addChild(Object info, View child) { in addChild() argument 47 ((AccessibilityNodeInfo) info).addChild(child); in addChild() 51 public static List<Object> findAccessibilityNodeInfosByText(Object info, String text) { in findAccessibilityNodeInfosByText() argument 52 Object result = ((AccessibilityNodeInfo) info).findAccessibilityNodeInfosByText(text); in findAccessibilityNodeInfosByText() 56 public static int getActions(Object info) { in getActions() argument 57 return ((AccessibilityNodeInfo) info).getActions(); in getActions() [all …]
|
/frameworks/support/v4/java/android/support/v4/view/accessibility/ |
D | AccessibilityNodeInfoCompat.java | 96 private CollectionInfoCompat(Object info) { in CollectionInfoCompat() argument 97 mInfo = info; in CollectionInfoCompat() 128 private CollectionItemInfoCompat(Object info) { in CollectionItemInfoCompat() argument 129 mInfo = info; in CollectionItemInfoCompat() 167 private RangeInfoCompat(Object info) { in RangeInfoCompat() argument 168 mInfo = info; in RangeInfoCompat() 192 public Object obtain(Object info); in obtain() argument 194 public void setSource(Object info, View source); in setSource() argument 195 public void setSource(Object info, View root, int virtualDescendantId); in setSource() argument 196 public Object findFocus(Object info, int focus); in findFocus() argument [all …]
|
/frameworks/support/v4/kitkat/android/support/v4/view/accessibility/ |
D | AccessibilityNodeInfoCompatKitKat.java | 25 static int getLiveRegion(Object info) { in getLiveRegion() argument 26 return ((AccessibilityNodeInfo) info).getLiveRegion(); in getLiveRegion() 29 static void setLiveRegion(Object info, int mode) { in setLiveRegion() argument 30 ((AccessibilityNodeInfo) info).setLiveRegion(mode); in setLiveRegion() 33 static Object getCollectionInfo(Object info) { in getCollectionInfo() argument 34 return ((AccessibilityNodeInfo) info).getCollectionInfo(); in getCollectionInfo() 37 static Object getCollectionItemInfo(Object info) { in getCollectionItemInfo() argument 38 return ((AccessibilityNodeInfo) info).getCollectionItemInfo(); in getCollectionItemInfo() 41 public static void setCollectionInfo(Object info, Object collectionInfo) { in setCollectionInfo() argument 42 ((AccessibilityNodeInfo) info).setCollectionInfo( in setCollectionInfo() [all …]
|
/frameworks/support/v4/java/android/support/v4/accessibilityservice/ |
D | AccessibilityServiceInfoCompat.java | 32 public String getId(AccessibilityServiceInfo info); in getId() argument 33 public ResolveInfo getResolveInfo(AccessibilityServiceInfo info); in getResolveInfo() argument 34 public boolean getCanRetrieveWindowContent(AccessibilityServiceInfo info); in getCanRetrieveWindowContent() argument 35 public String getDescription(AccessibilityServiceInfo info); in getDescription() argument 36 public String getSettingsActivityName(AccessibilityServiceInfo info); in getSettingsActivityName() argument 37 public int getCapabilities(AccessibilityServiceInfo info); in getCapabilities() argument 42 public boolean getCanRetrieveWindowContent(AccessibilityServiceInfo info) { in getCanRetrieveWindowContent() argument 46 public String getDescription(AccessibilityServiceInfo info) { in getDescription() argument 50 public String getId(AccessibilityServiceInfo info) { in getId() argument 54 public ResolveInfo getResolveInfo(AccessibilityServiceInfo info) { in getResolveInfo() argument [all …]
|
/frameworks/support/v4/jellybean/android/support/v4/view/accessibility/ |
D | AccessibilityNodeInfoCompatJellyBean.java | 28 public static void addChild(Object info, View child, int virtualDescendantId) { in addChild() argument 29 ((AccessibilityNodeInfo) info).addChild(child, virtualDescendantId); in addChild() 32 public static void setSource(Object info, View root, int virtualDescendantId) { in setSource() argument 33 ((AccessibilityNodeInfo) info).setSource(root, virtualDescendantId); in setSource() 36 public static boolean isVisibleToUser(Object info) { in isVisibleToUser() argument 37 return ((AccessibilityNodeInfo) info).isVisibleToUser(); in isVisibleToUser() 40 public static void setVisibleToUser(Object info, boolean visibleToUser) { in setVisibleToUser() argument 41 ((AccessibilityNodeInfo) info).setVisibleToUser(visibleToUser); in setVisibleToUser() 44 public static boolean performAction(Object info, int action, Bundle arguments) { in performAction() argument 45 return ((AccessibilityNodeInfo) info).performAction(action, arguments); in performAction() [all …]
|
/frameworks/native/services/sensorservice/ |
D | SensorDevice.cpp | 87 const Info& info = mActivationCount.valueFor(list[i].handle); in dump() local 89 info.batchParams.size()); in dump() 90 for (size_t j = 0; j < info.batchParams.size(); j++) { in dump() 91 BatchParams params = info.batchParams.valueAt(j); in dump() 93 j < info.batchParams.size() - 1 ? ", " : ""); in dump() 95 result.appendFormat(" }, selected=%4.1f ms\n", info.bestBatchParams.batchDelay / 1e6f); in dump() 98 info.batchParams.size()); in dump() 99 for (size_t j = 0; j < info.batchParams.size(); j++) { in dump() 100 BatchParams params = info.batchParams.valueAt(j); in dump() 102 j < info.batchParams.size() - 1 ? ", " : ""); in dump() [all …]
|
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
D | pvmp3_decode_header.cpp | 116 mp3Header *info, in pvmp3_decode_header() argument 153 info->version_x = MPEG_2_5; in pvmp3_decode_header() 156 info->version_x = MPEG_2; in pvmp3_decode_header() 159 info->version_x = MPEG_1; in pvmp3_decode_header() 162 info->version_x = INVALID_VERSION; in pvmp3_decode_header() 167 info->layer_description = 4 - ((temp << 13) >> 30); /* 2 */ in pvmp3_decode_header() 168 info->error_protection = !((temp << 15) >> 31); /* 1 */ in pvmp3_decode_header() 170 if (info->error_protection) in pvmp3_decode_header() 176 info->bitrate_index = (temp << 16) >> 28; /* 4 */ in pvmp3_decode_header() 177 info->sampling_frequency = (temp << 20) >> 30; /* 2 */ in pvmp3_decode_header() [all …]
|
D | pvmp3_get_main_data_size.cpp | 116 int32 pvmp3_get_main_data_size(mp3Header *info, in pvmp3_get_main_data_size() argument 121 int32 numBytes = fxp_mul32_Q28(mp3_bitrate[info->version_x][info->bitrate_index] << 20, in pvmp3_get_main_data_size() 122 inv_sfreq[info->sampling_frequency]); in pvmp3_get_main_data_size() 125 numBytes >>= (20 - info->version_x); in pvmp3_get_main_data_size() 130 if (info->version_x == MPEG_1) in pvmp3_get_main_data_size() 133 if (info->mode == MPG_MD_MONO) in pvmp3_get_main_data_size() 147 if (info->mode == MPG_MD_MONO) in pvmp3_get_main_data_size() 157 if (info->padding) in pvmp3_get_main_data_size() 163 if (info->error_protection) in pvmp3_get_main_data_size()
|
/frameworks/av/media/libstagefright/ |
D | NuMediaExtractor.cpp | 52 TrackInfo *info = &mSelectedTracks.editItemAt(i); in ~NuMediaExtractor() local 54 CHECK_EQ((status_t)OK, info->mSource->stop()); in ~NuMediaExtractor() 273 TrackInfo *info = &mSelectedTracks.editItemAt(i); in selectTrack() local 275 if (info->mTrackIndex == index) { in selectTrack() 286 TrackInfo *info = &mSelectedTracks.editItemAt(mSelectedTracks.size() - 1); in selectTrack() local 288 info->mSource = source; in selectTrack() 289 info->mTrackIndex = index; in selectTrack() 290 info->mFinalResult = OK; in selectTrack() 291 info->mSample = NULL; in selectTrack() 292 info->mSampleTimeUs = -1ll; in selectTrack() [all …]
|
/frameworks/support/v4/api22/android/support/v4/view/accessibility/ |
D | AccessibilityNodeInfoCompatApi22.java | 27 public static Object getTraversalBefore(Object info) { in getTraversalBefore() argument 28 return ((AccessibilityNodeInfo) info).getTraversalBefore(); in getTraversalBefore() 31 public static void setTraversalBefore(Object info, View view) { in setTraversalBefore() argument 32 ((AccessibilityNodeInfo) info).setTraversalBefore(view); in setTraversalBefore() 35 public static void setTraversalBefore(Object info, View root, int virtualDescendantId) { in setTraversalBefore() argument 36 ((AccessibilityNodeInfo) info).setTraversalBefore(root, virtualDescendantId); in setTraversalBefore() 39 public static Object getTraversalAfter(Object info) { in getTraversalAfter() argument 40 return ((AccessibilityNodeInfo) info).getTraversalAfter(); in getTraversalAfter() 43 public static void setTraversalAfter(Object info, View view) { in setTraversalAfter() argument 44 ((AccessibilityNodeInfo) info).setTraversalAfter(view); in setTraversalAfter() [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | PixelFormat.java | 84 public static void getPixelFormatInfo(int format, PixelFormat info) { in getPixelFormatInfo() argument 88 info.bitsPerPixel = 32; in getPixelFormatInfo() 89 info.bytesPerPixel = 4; in getPixelFormatInfo() 92 info.bitsPerPixel = 24; in getPixelFormatInfo() 93 info.bytesPerPixel = 3; in getPixelFormatInfo() 99 info.bitsPerPixel = 16; in getPixelFormatInfo() 100 info.bytesPerPixel = 2; in getPixelFormatInfo() 105 info.bitsPerPixel = 8; in getPixelFormatInfo() 106 info.bytesPerPixel = 1; in getPixelFormatInfo() 110 info.bitsPerPixel = 16; in getPixelFormatInfo() [all …]
|
/frameworks/support/v4/ics/android/support/v4/accessibilityservice/ |
D | AccessibilityServiceInfoCompatIcs.java | 28 public static boolean getCanRetrieveWindowContent(AccessibilityServiceInfo info) { in getCanRetrieveWindowContent() argument 29 return info.getCanRetrieveWindowContent(); in getCanRetrieveWindowContent() 32 public static String getDescription(AccessibilityServiceInfo info) { in getDescription() argument 33 return info.getDescription(); in getDescription() 36 public static String getId(AccessibilityServiceInfo info) { in getId() argument 37 return info.getId(); in getId() 40 public static ResolveInfo getResolveInfo(AccessibilityServiceInfo info) { in getResolveInfo() argument 41 return info.getResolveInfo(); in getResolveInfo() 44 public static String getSettingsActivityName(AccessibilityServiceInfo info) { in getSettingsActivityName() argument 45 return info.getSettingsActivityName(); in getSettingsActivityName()
|
/frameworks/base/core/java/android/content/pm/ |
D | LauncherApps.java | 199 LauncherActivityInfo info = new LauncherActivityInfo(mContext, ri, user, in resolveActivity() local 201 return info; in resolveActivity() 443 CallbackInfo info = (CallbackInfo) msg.obj; in handleMessage() local 446 mCallback.onPackageAdded(info.packageName, info.user); in handleMessage() 449 mCallback.onPackageRemoved(info.packageName, info.user); in handleMessage() 452 mCallback.onPackageChanged(info.packageName, info.user); in handleMessage() 455 mCallback.onPackagesAvailable(info.packageNames, info.user, info.replacing); in handleMessage() 458 mCallback.onPackagesUnavailable(info.packageNames, info.user, info.replacing); in handleMessage() 464 CallbackInfo info = new CallbackInfo(); in postOnPackageAdded() local 465 info.packageName = packageName; in postOnPackageAdded() [all …]
|
/frameworks/av/media/libstagefright/wifi-display/ |
D | MediaSender.cpp | 73 TrackInfo info; in addTrack() local 74 info.mFormat = format; in addTrack() 75 info.mFlags = flags; in addTrack() 76 info.mPacketizerTrackIndex = -1; in addTrack() 80 info.mIsAudio = !strncasecmp("audio/", mime.c_str(), 6); in addTrack() 83 mTrackInfos.push_back(info); in addTrack() 110 TrackInfo *info = &mTrackInfos.editItemAt(i); in initAsync() local 113 mTSPacketizer->addTrack(info->mFormat); in initAsync() 120 info->mPacketizerTrackIndex = packetizerTrackIndex; in initAsync() 145 TrackInfo *info = &mTrackInfos.editItemAt(i); in initAsync() local [all …]
|
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/ |
D | ProcessErrorsTest.java | 227 final String errPkg = err.info.processName; in packageMatches() 271 newList.add(err.info); in reportWrappedListContents() 319 public final ProcessErrorStateInfo info; field in ProcessErrorsTest.ProcessError 322 info = newInfo; in ProcessError() 332 for (ProcessErrorStateInfo info : in) { in fromCollection() 333 out.add(new ProcessError(info)); in fromCollection() 354 return (info.condition == peOther.info.condition) in equals() 355 && strEquals(info.longMsg, peOther.info.longMsg) in equals() 356 && (info.pid == peOther.info.pid) in equals() 357 && strEquals(info.processName, peOther.info.processName) in equals() [all …]
|
/frameworks/compile/mclinker/unittests/ |
D | NamePoolTest.cpp | 89 EXPECT_NE(name, result1.info->name()); in TEST_F() 90 EXPECT_STREQ(name, result1.info->name()); in TEST_F() 91 EXPECT_EQ(isDyn, result1.info->isDyn()); in TEST_F() 92 EXPECT_EQ(type, result1.info->type()); in TEST_F() 93 EXPECT_EQ(desc, result1.info->desc()); in TEST_F() 94 EXPECT_EQ(binding, result1.info->binding()); in TEST_F() 95 EXPECT_EQ(size, result1.info->size()); in TEST_F() 96 EXPECT_EQ(other, result1.info->visibility()); in TEST_F() 109 EXPECT_NE(name, result1.info->name()); in TEST_F() 110 EXPECT_STREQ(name, result1.info->name()); in TEST_F() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | DataUsageDetailView.java | 63 public void bind(NetworkController.MobileDataController.DataUsageInfo info) { in bind() argument 70 if (info.usageLevel < info.warningLevel || info.limitLevel <= 0) { in bind() 73 bytes = info.usageLevel; in bind() 75 formatBytes(info.warningLevel)); in bind() 76 } else if (info.usageLevel <= info.limitLevel) { in bind() 79 bytes = info.limitLevel - info.usageLevel; in bind() 81 formatBytes(info.usageLevel)); in bind() 83 formatBytes(info.limitLevel)); in bind() 87 bytes = info.usageLevel - info.limitLevel; in bind() 89 formatBytes(info.usageLevel)); in bind() [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ManagedServices.java | 111 abstract protected void onServiceAdded(ManagedServiceInfo info); in onServiceAdded() argument 135 for (ManagedServiceInfo info : mServices) { in dump() 136 if (filter != null && !filter.matches(info.component)) continue; in dump() 137 pw.println(" " + info.component in dump() 138 + " (user " + info.userid + "): " + info.service in dump() 139 + (info.isSystem?" SYSTEM":"")); in dump() 180 final ManagedServiceInfo info = mServices.get(i); in checkServiceTokenLocked() local 181 if (info.service.asBinder() == token) return info; in checkServiceTokenLocked() 196 ManagedServiceInfo info = registerServiceImpl(service, component, userid); in registerService() local 197 if (info != null) { in registerService() [all …]
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | CallerInfo.java | 167 CallerInfo info = new CallerInfo(); in getCallerInfo() local 168 info.photoResource = 0; in getCallerInfo() 169 info.phoneLabel = null; in getCallerInfo() 170 info.numberType = 0; in getCallerInfo() 171 info.numberLabel = null; in getCallerInfo() 172 info.cachedPhoto = null; in getCallerInfo() 173 info.isCachedPhotoCurrent = false; in getCallerInfo() 174 info.contactExists = false; in getCallerInfo() 189 info.name = cursor.getString(columnIndex); in getCallerInfo() 195 info.phoneNumber = cursor.getString(columnIndex); in getCallerInfo() [all …]
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
D | ActionBarDrawerToggleHoneycomb.java | 49 public static SetIndicatorInfo setActionBarUpIndicator(SetIndicatorInfo info, Activity activity, in setActionBarUpIndicator() argument 51 if (true || info == null) { in setActionBarUpIndicator() 52 info = new SetIndicatorInfo(activity); in setActionBarUpIndicator() 54 if (info.setHomeAsUpIndicator != null) { in setActionBarUpIndicator() 57 info.setHomeAsUpIndicator.invoke(actionBar, drawable); in setActionBarUpIndicator() 58 info.setHomeActionContentDescription.invoke(actionBar, contentDescRes); in setActionBarUpIndicator() 62 } else if (info.upIndicatorView != null) { in setActionBarUpIndicator() 63 info.upIndicatorView.setImageDrawable(drawable); in setActionBarUpIndicator() 67 return info; in setActionBarUpIndicator() 70 public static SetIndicatorInfo setActionBarDescription(SetIndicatorInfo info, Activity activity, in setActionBarDescription() argument [all …]
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | ComponentTest.java | 136 final ResolveInfo info = mPackageManager.resolveActivity(mDisabledActivityIntent, 0); in testResolveDisabledActivity() local 137 assertNull(info); in testResolveDisabledActivity() 152 final ResolveInfo info = mPackageManager.resolveActivity(mEnabledActivityIntent, 0); in testResolveEnabledActivity() local 153 assertNotNull(info); in testResolveEnabledActivity() 154 assertNotNull(info); in testResolveEnabledActivity() 155 assertNotNull(info.activityInfo); in testResolveEnabledActivity() 156 assertTrue(info.activityInfo.enabled); in testResolveEnabledActivity() 173 final ResolveInfo info = infoList2.get(0); in testQueryDisabledActivity() local 174 assertNotNull(info); in testQueryDisabledActivity() 175 assertNotNull(info.activityInfo); in testQueryDisabledActivity() [all …]
|
/frameworks/base/native/graphics/jni/ |
D | bitmap.cpp | 21 AndroidBitmapInfo* info) { in AndroidBitmap_getInfo() argument 31 if (info) { in AndroidBitmap_getInfo() 32 info->width = bm->width(); in AndroidBitmap_getInfo() 33 info->height = bm->height(); in AndroidBitmap_getInfo() 34 info->stride = bm->rowBytes(); in AndroidBitmap_getInfo() 35 info->flags = 0; in AndroidBitmap_getInfo() 39 info->format = ANDROID_BITMAP_FORMAT_RGBA_8888; in AndroidBitmap_getInfo() 42 info->format = ANDROID_BITMAP_FORMAT_RGB_565; in AndroidBitmap_getInfo() 45 info->format = ANDROID_BITMAP_FORMAT_RGBA_4444; in AndroidBitmap_getInfo() 48 info->format = ANDROID_BITMAP_FORMAT_A_8; in AndroidBitmap_getInfo() [all …]
|
/frameworks/base/core/java/android/app/ |
D | LoaderManager.java | 461 LoaderInfo info = mInactiveLoaders.get(mId); in onLoadComplete() local 462 if (info != null && info != this) { in onLoadComplete() 463 info.mDeliveredData = false; in onLoadComplete() 464 info.destroy(); in onLoadComplete() 545 … LoaderInfo info = new LoaderInfo(id, args, (LoaderManager.LoaderCallbacks<Object>)callback); in createLoader() local 547 info.mLoader = (Loader<Object>)loader; in createLoader() 548 return info; in createLoader() 555 LoaderInfo info = createLoader(id, args, callback); in createAndInstallLoader() local 556 installLoader(info); in createAndInstallLoader() 557 return info; in createAndInstallLoader() [all …]
|
/frameworks/support/v4/java/android/support/v4/app/ |
D | LoaderManager.java | 405 LoaderInfo info = mInactiveLoaders.get(mId); in onLoadComplete() local 406 if (info != null && info != this) { in onLoadComplete() 407 info.mDeliveredData = false; in onLoadComplete() 408 info.destroy(); in onLoadComplete() 489 … LoaderInfo info = new LoaderInfo(id, args, (LoaderManager.LoaderCallbacks<Object>)callback); in createLoader() local 491 info.mLoader = (Loader<Object>)loader; in createLoader() 492 return info; in createLoader() 499 LoaderInfo info = createLoader(id, args, callback); in createAndInstallLoader() local 500 installLoader(info); in createAndInstallLoader() 501 return info; in createAndInstallLoader() [all …]
|
/frameworks/av/media/mtp/ |
D | MtpDevice.cpp | 315 MtpDeviceInfo* info = new MtpDeviceInfo; in getDeviceInfo() local 316 if (info->read(mData)) in getDeviceInfo() 317 return info; in getDeviceInfo() 319 delete info; in getDeviceInfo() 350 MtpStorageInfo* info = new MtpStorageInfo(storageID); in getStorageInfo() local 351 if (info->read(mData)) in getStorageInfo() 352 return info; in getStorageInfo() 354 delete info; in getStorageInfo() 391 MtpObjectInfo* info = new MtpObjectInfo(handle); in getObjectInfo() local 392 if (info->read(mData)) in getObjectInfo() [all …]
|