Home
last modified time | relevance | path

Searched refs:info (Results 1 – 25 of 609) sorted by relevance

12345678910>>...25

/frameworks/support/v4/ics/android/support/v4/view/accessibility/
DAccessibilityNodeInfoCompatIcs.java38 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/
DAccessibilityNodeInfoCompat.java40 public Object obtain(Object info); in obtain() argument
42 public void setSource(Object info, View source); in setSource() argument
43 public void setSource(Object info, View root, int virtualDescendantId); in setSource() argument
44 public Object findFocus(Object info, int focus); in findFocus() argument
45 public Object focusSearch(Object info, int direction); in focusSearch() argument
46 public int getWindowId(Object info); in getWindowId() argument
47 public int getChildCount(Object info); in getChildCount() argument
48 public Object getChild(Object info, int index); in getChild() argument
49 public void addChild(Object info, View child); in addChild() argument
50 public void addChild(Object info, View child, int virtualDescendantId); in addChild() argument
[all …]
/frameworks/support/v4/java/android/support/v4/accessibilityservice/
DAccessibilityServiceInfoCompat.java32 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/
DAccessibilityNodeInfoCompatJellyBean.java28 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/av/media/libstagefright/codecs/mp3dec/src/
Dpvmp3_decode_header.cpp116 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 …]
Dpvmp3_get_main_data_size.cpp116 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/native/services/sensorservice/
DSensorDevice.cpp80 const Info& info = mActivationCount.valueFor(list[i].handle); in dump() local
82 info.batchParams.size()); in dump()
83 for (size_t j = 0; j < info.batchParams.size(); j++) { in dump()
84 BatchParams params = info.batchParams.valueAt(j); in dump()
86 j < info.batchParams.size() - 1 ? ", " : ""); in dump()
88 result.appendFormat(" }, selected=%4.1f ms\n", info.bestBatchParams.batchDelay / 1e6f); in dump()
91 info.batchParams.size()); in dump()
92 for (size_t j = 0; j < info.batchParams.size(); j++) { in dump()
93 BatchParams params = info.batchParams.valueAt(j); in dump()
95 j < info.batchParams.size() - 1 ? ", " : ""); in dump()
[all …]
/frameworks/av/media/libstagefright/
DNuMediaExtractor.cpp52 TrackInfo *info = &mSelectedTracks.editItemAt(i); in ~NuMediaExtractor() local
54 CHECK_EQ((status_t)OK, info->mSource->stop()); in ~NuMediaExtractor()
271 TrackInfo *info = &mSelectedTracks.editItemAt(i); in selectTrack() local
273 if (info->mTrackIndex == index) { in selectTrack()
284 TrackInfo *info = &mSelectedTracks.editItemAt(mSelectedTracks.size() - 1); in selectTrack() local
286 info->mSource = source; in selectTrack()
287 info->mTrackIndex = index; in selectTrack()
288 info->mFinalResult = OK; in selectTrack()
289 info->mSample = NULL; in selectTrack()
290 info->mSampleTimeUs = -1ll; in selectTrack()
[all …]
DMediaCodecList.cpp71 const CodecInfo &info = mCodecInfos.itemAt(i); in MediaCodecList()
73 AString line = info.mName; in MediaCodecList()
78 if (info.mTypes & (1ul << value)) { in MediaCodecList()
142 CodecInfo *info = &mCodecInfos.editItemAt(i); in parseXMLFile() local
144 if (info->mTypes == 0) { in parseXMLFile()
148 info->mName.c_str()); in parseXMLFile()
312 CodecInfo *info = &mCodecInfos.editItemAt(mCodecInfos.size() - 1); in addMediaCodec() local
313 info->mName = name; in addMediaCodec()
314 info->mIsEncoder = encoder; in addMediaCodec()
315 info->mTypes = 0; in addMediaCodec()
[all …]
/frameworks/base/graphics/java/android/graphics/
DPixelFormat.java84 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/
DAccessibilityServiceInfoCompatIcs.java28 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/testing/app-tests/AppLaunchTest/src/com/android/applaunchtest/
DAppLaunchTest.java142 err.info.processName, app.activityInfo.packageName)); in runOneActivity()
167 final String errPkg = err.info.processName; in packageMatches()
204 newList.add(err.info); in reportWrappedListContents()
252 public final ProcessErrorStateInfo info; field in AppLaunchTest.ProcessError
255 info = newInfo; in ProcessError()
265 for (ProcessErrorStateInfo info : in) { in fromCollection()
266 out.add(new ProcessError(info)); in fromCollection()
287 return (info.condition == peOther.info.condition) in equals()
288 && strEquals(info.longMsg, peOther.info.longMsg) in equals()
289 && (info.pid == peOther.info.pid) in equals()
[all …]
/frameworks/av/media/libstagefright/wifi-display/
DMediaSender.cpp73 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/
DProcessErrorsTest.java222 final String errPkg = err.info.processName; in packageMatches()
260 newList.add(err.info); in reportWrappedListContents()
308 public final ProcessErrorStateInfo info; field in ProcessErrorsTest.ProcessError
311 info = newInfo; in ProcessError()
321 for (ProcessErrorStateInfo info : in) { in fromCollection()
322 out.add(new ProcessError(info)); in fromCollection()
343 return (info.condition == peOther.info.condition) in equals()
344 && strEquals(info.longMsg, peOther.info.longMsg) in equals()
345 && (info.pid == peOther.info.pid) in equals()
346 && strEquals(info.processName, peOther.info.processName) in equals()
[all …]
/frameworks/compile/mclinker/unittests/
DNamePoolTest.cpp89 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/telephony/java/com/android/internal/telephony/
DCallerInfo.java156 CallerInfo info = new CallerInfo(); in getCallerInfo() local
157 info.photoResource = 0; in getCallerInfo()
158 info.phoneLabel = null; in getCallerInfo()
159 info.numberType = 0; in getCallerInfo()
160 info.numberLabel = null; in getCallerInfo()
161 info.cachedPhoto = null; in getCallerInfo()
162 info.isCachedPhotoCurrent = false; in getCallerInfo()
163 info.contactExists = false; in getCallerInfo()
178 info.name = cursor.getString(columnIndex); in getCallerInfo()
184 info.phoneNumber = cursor.getString(columnIndex); in getCallerInfo()
[all …]
/frameworks/base/native/graphics/jni/
Dbitmap.cpp21 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/tests/coretests/src/android/content/pm/
DComponentTest.java136 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/core/java/android/app/
DLoaderManager.java461 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/base/core/java/android/view/accessibility/
DAccessibilityNodeInfoCache.java140 AccessibilityNodeInfo info = mCacheImpl.get(accessibilityNodeId); in get() local
141 if (info != null) { in get()
144 info = AccessibilityNodeInfo.obtain(info); in get()
147 Log.i(LOG_TAG, "get(" + accessibilityNodeId + ") = " + info); in get()
149 return info; in get()
161 public void add(AccessibilityNodeInfo info) { in add() argument
165 Log.i(LOG_TAG, "add(" + info + ")"); in add()
168 final long sourceId = info.getSourceNodeId(); in add()
176 SparseLongArray newChildrenIds = info.getChildNodeIds(); in add()
189 if (info.getParentNodeId() != oldParentId) { in add()
[all …]
/frameworks/support/v4/java/android/support/v4/app/
DLoaderManager.java405 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/base/core/java/android/net/
DCaptivePortalTracker.java163 NetworkInfo info = intent.getParcelableExtra(
165 sendMessage(obtainMessage(CMD_CONNECTIVITY_CHANGE, info));
177 public void detectCaptivePortal(NetworkInfo info) { in detectCaptivePortal() argument
178 sendMessage(obtainMessage(CMD_DETECT_PORTAL, info)); in detectCaptivePortal()
188 NetworkInfo info = (NetworkInfo) message.obj; in processMessage() local
191 notifyPortalCheckComplete(info); in processMessage()
215 NetworkInfo info; in processMessage() local
218 info = (NetworkInfo) message.obj; in processMessage()
219 if (info.getType() == ConnectivityManager.TYPE_WIFI) { in processMessage()
220 if (info.isConnected() && isActiveNetwork(info)) { in processMessage()
[all …]
/frameworks/base/core/java/android/hardware/
DCameraInfo.java30 public Camera.CameraInfo info = new Camera.CameraInfo(); field in CameraInfo
39 out.writeInt(info.facing); in writeToParcel()
40 out.writeInt(info.orientation); in writeToParcel()
44 info.facing = in.readInt(); in readFromParcel()
45 info.orientation = in.readInt(); in readFromParcel()
52 CameraInfo info = new CameraInfo();
53 info.readFromParcel(in);
55 return info;
/frameworks/base/core/java/com/android/internal/util/
DFileRotator.java139 final FileInfo info = new FileInfo(mPrefix); in deleteAll() local
141 if (info.parse(name)) { in deleteAll()
154 final FileInfo info = new FileInfo(mPrefix); in dumpAll() local
156 if (info.parse(name)) { in dumpAll()
218 final FileInfo info = new FileInfo(mPrefix); in rewriteAll() local
220 if (!info.parse(name)) continue; in rewriteAll()
287 final FileInfo info = new FileInfo(mPrefix); in readMatching() local
289 if (!info.parse(name)) continue; in readMatching()
292 if (info.startMillis <= matchEndMillis && matchStartMillis <= info.endMillis) { in readMatching()
308 final FileInfo info = new FileInfo(mPrefix); in getActiveName() local
[all …]
/frameworks/av/media/mtp/
DMtpDevice.cpp315 MtpDeviceInfo* info = new MtpDeviceInfo; in getDeviceInfo() local
316 info->read(mData); in getDeviceInfo()
317 return info; in getDeviceInfo()
348 MtpStorageInfo* info = new MtpStorageInfo(storageID); in getStorageInfo() local
349 info->read(mData); in getStorageInfo()
350 return info; in getStorageInfo()
387 MtpObjectInfo* info = new MtpObjectInfo(handle); in getObjectInfo() local
388 info->read(mData); in getObjectInfo()
389 return info; in getObjectInfo()
409 MtpObjectHandle MtpDevice::sendObjectInfo(MtpObjectInfo* info) { in sendObjectInfo() argument
[all …]

12345678910>>...25