Home
last modified time | relevance | path

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

1234567

/development/ndk/platforms/android-9/arch-x86/include/asm/
Ddesc_32.h69 #define LDT_entry_a(info) ((((info)->base_addr & 0x0000ffff) << 16) | ((info)->limit & 0x0ffff)) argument
70info) (((info)->base_addr & 0xff000000) | (((info)->base_addr & 0x00ff0000) >> 16) | ((info)… argument
71info) ( (info)->base_addr == 0 && (info)->limit == 0 && (info)->contents == 0 && (info)->re… argument
/development/apps/Development/src/com/android/development/
DPackageSummary.java87 PackageInfo info = null; in onCreate() local
89 info = pm.getPackageInfo(mPackageName, in onCreate()
97 if (info != null) { in onCreate()
98 mPackage.setText(info.packageName); in onCreate()
101 if (info.applicationInfo != null) { in onCreate()
103 pm.getApplicationIcon(info.applicationInfo)); in onCreate()
104 label = info.applicationInfo.nonLocalizedLabel; in onCreate()
105 appClass = info.applicationInfo.className; in onCreate()
106 if (info.applicationInfo.enabled) { in onCreate()
109 if ((info.applicationInfo.flags&ApplicationInfo.FLAG_SYSTEM) == 0) { in onCreate()
[all …]
DPackageBrowser.java47 PackageInfo info; field in PackageBrowser.MyPackageInfo
62 MyPackageInfo info = new MyPackageInfo(); in PackageListAdapter() local
63 info.info = pkgs.get(i); in PackageListAdapter()
64 info.label = info.info.applicationInfo.loadLabel(getPackageManager()).toString(); in PackageListAdapter()
65 mPackageInfoList.add(info); in PackageListAdapter()
74 public void bindView(View view, MyPackageInfo info) { in bindView() argument
78 icon.setImageDrawable(info.info.applicationInfo.loadIcon(getPackageManager())); in bindView()
79 name.setText(info.label); in bindView()
80 description.setText(info.info.packageName); in bindView()
145 getPackageManager().deletePackage(packageInfo.info.packageName, in deletePackage()
[all …]
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/
DMidiPortSelector.java86 for (MidiDeviceInfo info : infos) { in MidiPortSelector()
87 onDeviceAdded(info); in MidiPortSelector()
98 private int getInfoPortCount(final MidiDeviceInfo info) { in getInfoPortCount() argument
100 ? info.getInputPortCount() : info.getOutputPortCount(); in getInfoPortCount()
105 public void onDeviceAdded(final MidiDeviceInfo info) { in onDeviceAdded() argument
106 int portCount = getInfoPortCount(info); in onDeviceAdded()
108 MidiPortWrapper wrapper = new MidiPortWrapper(info, mType, i); in onDeviceAdded()
116 public void onDeviceRemoved(final MidiDeviceInfo info) { in onDeviceRemoved() argument
117 int portCount = getInfoPortCount(info); in onDeviceRemoved()
119 MidiPortWrapper wrapper = new MidiPortWrapper(info, mType, i); in onDeviceRemoved()
[all …]
DMidiTools.java32 for (MidiDeviceInfo info : midiManager.getDevices()) { in findDevice()
33 String deviceManufacturer = info.getProperties() in findDevice()
37 String deviceProduct = info.getProperties() in findDevice()
40 return info; in findDevice()
DMidiInputPortSelector.java52 final MidiDeviceInfo info = wrapper.getDeviceInfo(); in onPortSelected() local
53 if (info != null) { in onPortSelected()
54 mMidiManager.openDevice(info, new MidiManager.OnDeviceOpenedListener() { in onPortSelected()
58 Log.e(MidiConstants.TAG, "could not open " + info); in onPortSelected()
64 Log.e(MidiConstants.TAG, "could not open input port on " + info); in onPortSelected()
DMidiOutputPortSelector.java54 final MidiDeviceInfo info = wrapper.getDeviceInfo(); in onPortSelected() local
55 if (info != null) { in onPortSelected()
56 mMidiManager.openDevice(info, new MidiManager.OnDeviceOpenedListener() { in onPortSelected()
61 Log.e(MidiConstants.TAG, "could not open " + info); in onPortSelected()
67 "could not open output port for " + info); in onPortSelected()
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/
DMidiPortSelector.java86 for (MidiDeviceInfo info : infos) { in MidiPortSelector()
87 onDeviceAdded(info); in MidiPortSelector()
98 private int getInfoPortCount(final MidiDeviceInfo info) { in getInfoPortCount() argument
100 ? info.getInputPortCount() : info.getOutputPortCount(); in getInfoPortCount()
105 public void onDeviceAdded(final MidiDeviceInfo info) { in onDeviceAdded() argument
106 int portCount = getInfoPortCount(info); in onDeviceAdded()
108 MidiPortWrapper wrapper = new MidiPortWrapper(info, mType, i); in onDeviceAdded()
116 public void onDeviceRemoved(final MidiDeviceInfo info) { in onDeviceRemoved() argument
117 int portCount = getInfoPortCount(info); in onDeviceRemoved()
119 MidiPortWrapper wrapper = new MidiPortWrapper(info, mType, i); in onDeviceRemoved()
[all …]
DMidiTools.java32 for (MidiDeviceInfo info : midiManager.getDevices()) { in findDevice()
33 String deviceManufacturer = info.getProperties() in findDevice()
37 String deviceProduct = info.getProperties() in findDevice()
40 return info; in findDevice()
DMidiInputPortSelector.java52 final MidiDeviceInfo info = wrapper.getDeviceInfo(); in onPortSelected() local
53 if (info != null) { in onPortSelected()
54 mMidiManager.openDevice(info, new MidiManager.OnDeviceOpenedListener() { in onPortSelected()
58 Log.e(MidiConstants.TAG, "could not open " + info); in onPortSelected()
64 Log.e(MidiConstants.TAG, "could not open input port on " + info); in onPortSelected()
DMidiOutputPortSelector.java54 final MidiDeviceInfo info = wrapper.getDeviceInfo(); in onPortSelected() local
55 if (info != null) { in onPortSelected()
56 mMidiManager.openDevice(info, new MidiManager.OnDeviceOpenedListener() { in onPortSelected()
61 Log.e(MidiConstants.TAG, "could not open " + info); in onPortSelected()
67 "could not open output port for " + info); in onPortSelected()
/development/build/tools/
Dwindows_sdk.mk60 $(info )
61 $(info ====== [Windows SDK] $1 ======)
62 $(info )
65 define winsdk-info
66 $(info MAIN_SDK_NAME: $(MAIN_SDK_NAME))
67 $(info WIN_SDK_NAME : $(WIN_SDK_NAME))
68 $(info WIN_SDK_DIR : $(WIN_SDK_DIR))
69 $(info WIN_SDK_ZIP : $(WIN_SDK_ZIP))
80 $(call winsdk-info)
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/
DPackageValidator.java68 CallerInfo info = new CallerInfo(name, packageName, isRelease, certificate); in readValidCertificates() local
75 LogHelper.v(TAG, "Adding allowed caller: ", info.name, in readValidCertificates()
76 " package=", info.packageName, " release=", info.release, in readValidCertificates()
78 infos.add(info); in readValidCertificates()
128 for (CallerInfo info: validCallers) { in isCallerAllowed()
129 if (callingPackage.equals(info.packageName)) { in isCallerAllowed()
130 LogHelper.v(TAG, "Valid caller: ", info.name, " package=", info.packageName, in isCallerAllowed()
131 " release=", info.release); in isCallerAllowed()
134 expectedPackages.append(info.packageName).append(' '); in isCallerAllowed()
/development/samples/Support4Demos/src/com/example/android/supportv4/media/
DPackageValidator.java70 CallerInfo info = new CallerInfo(name, packageName, isRelease, certificate); in readValidCertificates() local
77 Log.v(TAG, "Adding allowed caller: " + info.name + " package=" in readValidCertificates()
78 + info.packageName + " release=" + info.release + " certificate=" in readValidCertificates()
80 infos.add(info); in readValidCertificates()
129 for (CallerInfo info: validCallers) { in isCallerAllowed()
130 if (callingPackage.equals(info.packageName)) { in isCallerAllowed()
131 Log.v(TAG, "Valid caller: " + info.name + " package=" + info.packageName in isCallerAllowed()
132 + " release=" + info.release); in isCallerAllowed()
135 expectedPackages.append(info.packageName).append(' '); in isCallerAllowed()
/development/samples/SampleSyncAdapter/samplesyncadapter_server/
Dweb_services.py70 logging.info('Authenticatng username: ' + self.username)
98 logging.info('Validating username: ' + self.username)
139 logging.info('*** Starting contact sync ***')
159 logging.info('Returning ' + str(len(updated_contacts)) + ' contact records')
166 logging.info('* Processing server changes')
176 logging.info('Client sync state: ' + client_state)
194 logging.info('New sync state: ' + high_water_mark)
215 logging.info('Server-side updates: ' + str(update_count))
216 logging.info('Server-side deletes: ' + str(delete_count))
219 logging.info('* Processing client changes: ' + self.username)
[all …]
/development/host/windows/usb/winusb/
Dadb_winusb_interface.cpp239 AdbEndpointInformation* info) { in GetEndpointInformation() argument
245 if (NULL == info) { in GetEndpointInformation()
265 info->max_packet_size = pipe_info.MaximumPacketSize; in GetEndpointInformation()
266 info->max_transfer_size = 0xFFFFFFFF; in GetEndpointInformation()
267 info->endpoint_address = pipe_info.PipeId; in GetEndpointInformation()
268 info->polling_interval = pipe_info.Interval; in GetEndpointInformation()
269 info->setting_index = interface_number(); in GetEndpointInformation()
272 info->endpoint_type = AdbEndpointTypeControl; in GetEndpointInformation()
276 info->endpoint_type = AdbEndpointTypeIsochronous; in GetEndpointInformation()
280 info->endpoint_type = AdbEndpointTypeBulk; in GetEndpointInformation()
[all …]
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyPermissionUtil.java89 private boolean shouldTargetPackage(PackageInfo info) { in shouldTargetPackage() argument
91 if (MonkeyUtils.getPackageFilter().checkEnteringPackage(info.packageName)) { in shouldTargetPackage()
96 && !MonkeyUtils.getPackageFilter().isPackageInvalid(info.packageName) in shouldTargetPackage()
98 && (info.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0) { in shouldTargetPackage()
119 PackageInfo info = (PackageInfo)o; in populatePermissionsMapping() local
120 if (!shouldTargetPackage(info)) { in populatePermissionsMapping()
124 if (info.applicationInfo.targetSdkVersion <= Build.VERSION_CODES.LOLLIPOP_MR1) { in populatePermissionsMapping()
128 if (info.requestedPermissions == null) { in populatePermissionsMapping()
131 for (String perm : info.requestedPermissions) { in populatePermissionsMapping()
133 if (pi != null && shouldTargetPermission(info.packageName, pi)) { in populatePermissionsMapping()
[all …]
/development/ndk/platforms/android-3/include/linux/
Dsmp.h17 #define smp_call_function(func,info,retry,wait) (up_smp_call_function()) argument
18 #define on_each_cpu(func,info,retry,wait) ({ local_irq_disable(); func(info); local_irq_ena… argument
/development/samples/browseable/MediaRecorder/src/com.example.android.common.media/
DMediaCodecWrapper.java51 void outputSample(MediaCodecWrapper sender, MediaCodec.BufferInfo info, ByteBuffer buffer); in outputSample() argument
287 MediaCodec.BufferInfo info = mOutputBufferInfo[index]; in peekSample() local
290 info.offset, in peekSample()
291 info.size, in peekSample()
292 info.presentationTimeUs, in peekSample()
293 info.flags); in peekSample()
316 MediaCodec.BufferInfo info = mOutputBufferInfo[index]; in popSample() local
317 mOutputSampleListener.outputSample(this, info, buffer); in popSample()
342 MediaCodec.BufferInfo info = new MediaCodec.BufferInfo(); in update() local
343 … while ((index = mDecoder.dequeueOutputBuffer(info, 0)) != MediaCodec.INFO_TRY_AGAIN_LATER) { in update()
[all …]
/development/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/
DMediaCodecWrapper.java51 void outputSample(MediaCodecWrapper sender, MediaCodec.BufferInfo info, ByteBuffer buffer); in outputSample() argument
287 MediaCodec.BufferInfo info = mOutputBufferInfo[index]; in peekSample() local
290 info.offset, in peekSample()
291 info.size, in peekSample()
292 info.presentationTimeUs, in peekSample()
293 info.flags); in peekSample()
316 MediaCodec.BufferInfo info = mOutputBufferInfo[index]; in popSample() local
317 mOutputSampleListener.outputSample(this, info, buffer); in popSample()
342 MediaCodec.BufferInfo info = new MediaCodec.BufferInfo(); in update() local
343 … while ((index = mDecoder.dequeueOutputBuffer(info, 0)) != MediaCodec.INFO_TRY_AGAIN_LATER) { in update()
[all …]
/development/samples/browseable/BasicRenderScript/src/com.example.android.common.media/
DMediaCodecWrapper.java51 void outputSample(MediaCodecWrapper sender, MediaCodec.BufferInfo info, ByteBuffer buffer); in outputSample() argument
287 MediaCodec.BufferInfo info = mOutputBufferInfo[index]; in peekSample() local
290 info.offset, in peekSample()
291 info.size, in peekSample()
292 info.presentationTimeUs, in peekSample()
293 info.flags); in peekSample()
316 MediaCodec.BufferInfo info = mOutputBufferInfo[index]; in popSample() local
317 mOutputSampleListener.outputSample(this, info, buffer); in popSample()
342 MediaCodec.BufferInfo info = new MediaCodec.BufferInfo(); in update() local
343 … while ((index = mDecoder.dequeueOutputBuffer(info, 0)) != MediaCodec.INFO_TRY_AGAIN_LATER) { in update()
[all …]
/development/samples/Home/src/com/example/android/home/
DHome.java290 ApplicationInfo info; in bindFavorites() local
307 info = getApplicationInfo(packageManager, intent); in bindFavorites()
308 if (info != null) { in bindFavorites()
309 info.intent = intent; in bindFavorites()
310 mFavorites.addFirst(info); in bindFavorites()
369 ApplicationInfo info = getApplicationInfo(manager, intent); in bindRecents() local
370 if (info != null) { in bindRecents()
371 info.intent = intent; in bindRecents()
372 if (!mFavorites.contains(info)) { in bindRecents()
373 recents.add(info); in bindRecents()
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/
DCustomViewAccessibilityActivity.java90 public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info) { in onInitializeAccessibilityNodeInfo() argument
91 super.onInitializeAccessibilityNodeInfo(info); in onInitializeAccessibilityNodeInfo()
95 info.setCheckable(true); in onInitializeAccessibilityNodeInfo()
96 info.setChecked(isChecked()); in onInitializeAccessibilityNodeInfo()
100 info.setText(text); in onInitializeAccessibilityNodeInfo()
158 AccessibilityNodeInfo info) { in tryInstallAccessibilityDelegate()
159 super.onInitializeAccessibilityNodeInfo(host, info); in tryInstallAccessibilityDelegate()
163 info.setCheckable(true); in tryInstallAccessibilityDelegate()
164 info.setChecked(isChecked()); in tryInstallAccessibilityDelegate()
168 info.setText(text); in tryInstallAccessibilityDelegate()
/development/samples/SupportAppNavigation/src/com/example/android/support/appnavigation/app/
DAppNavHomeActivity.java46 SampleInfo info = (SampleInfo) getListAdapter().getItem(pos); in onListItemClick() local
47 startActivity(info.intent); in onListItemClick()
62 final ResolveInfo info = infos.get(i); in querySampleActivities() local
63 final CharSequence labelSeq = info.loadLabel(pm); in querySampleActivities()
64 String label = labelSeq != null ? labelSeq.toString() : info.activityInfo.name; in querySampleActivities()
67 target.setClassName(info.activityInfo.applicationInfo.packageName, in querySampleActivities()
68 info.activityInfo.name); in querySampleActivities()
/development/samples/AppNavigation/src/com/example/android/appnavigation/app/
DAppNavHomeActivity.java46 SampleInfo info = (SampleInfo) getListAdapter().getItem(pos); in onListItemClick() local
47 startActivity(info.intent); in onListItemClick()
62 final ResolveInfo info = infos.get(i); in querySampleActivities() local
63 final CharSequence labelSeq = info.loadLabel(pm); in querySampleActivities()
64 String label = labelSeq != null ? labelSeq.toString() : info.activityInfo.name; in querySampleActivities()
67 target.setClassName(info.activityInfo.applicationInfo.packageName, in querySampleActivities()
68 info.activityInfo.name); in querySampleActivities()

1234567