/development/apps/Development/src/com/android/development/ |
D | PackageSummary.java | 87 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 …]
|
D | PackageBrowser.java | 47 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/scripts/ |
D | runahat | 37 info "Getting heap dump from $pid ..." 41 info "Pulling the dump file to $local_file ..." 45 info "Looking for available port ..." 47 info "Using port $port" 51 info "Starting the browser ..." 56 info "Opening $local_file with ahat ..."
|
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/ |
D | MidiPortSelector.java | 86 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 …]
|
D | MidiTools.java | 32 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()
|
D | MidiInputPortSelector.java | 52 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()
|
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/ |
D | MidiPortSelector.java | 86 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 …]
|
D | MidiTools.java | 32 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()
|
D | MidiInputPortSelector.java | 52 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()
|
D | MidiOutputPortSelector.java | 54 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/MultiDisplay/src/com/example/android/multidisplay/launcher/ |
D | AppEntry.java | 32 AppEntry(ResolveInfo info, PackageManager packageManager) { in AppEntry() argument 33 mLabel = info.loadLabel(packageManager).toString(); in AppEntry() 34 mIcon = info.loadIcon(packageManager); in AppEntry() 36 mLaunchIntent.setComponent(new ComponentName(info.activityInfo.packageName, in AppEntry() 37 info.activityInfo.name)); in AppEntry()
|
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/ |
D | PackageValidator.java | 68 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/vndk/snapshot/ |
D | update.py | 41 logging.info('Creating branch {branch} in {dir}'.format( 47 logging.info('Removing any old files in {}'.format(install_dir)) 78 logging.info('Fetching {pattern} from {branch} (bid: {build})'.format( 83 logging.info('Fetching {file} from {branch} (bid: {build})'.format( 90 logging.info('Fetching local VNDK snapshot from {}'.format(local_dir)) 95 logging.info('Unzipping VNDK snapshot: {}'.format(artifact)) 103 logging.info('Creating {} directory to gather all NOTICE files...'.format( 127 logging.info('Rename {} to have version suffix'.format(file_name)) 139 logging.info('Creating empty file: {}'.format(path)) 152 logging.info('Generating root Android.bp file...') [all …]
|
/development/samples/SampleSyncAdapter/samplesyncadapter_server/ |
D | web_services.py | 70 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/ |
D | adb_winusb_interface.cpp | 239 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/ |
D | MonkeyPermissionUtil.java | 93 private boolean shouldTargetPackage(PackageInfo info) { in shouldTargetPackage() argument 95 if (MonkeyUtils.getPackageFilter().checkEnteringPackage(info.packageName)) { in shouldTargetPackage() 100 && !MonkeyUtils.getPackageFilter().isPackageInvalid(info.packageName) in shouldTargetPackage() 102 && (info.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0) { in shouldTargetPackage() 123 PackageInfo info = (PackageInfo)o; in populatePermissionsMapping() local 124 if (!shouldTargetPackage(info)) { in populatePermissionsMapping() 128 if (info.applicationInfo.targetSdkVersion <= Build.VERSION_CODES.LOLLIPOP_MR1) { in populatePermissionsMapping() 132 if (info.requestedPermissions == null) { in populatePermissionsMapping() 135 for (String perm : info.requestedPermissions) { in populatePermissionsMapping() 137 if (pi != null && shouldTargetPermission(info.packageName, pi)) { in populatePermissionsMapping() [all …]
|
/development/samples/training/multiscreen/newsreader/libs/ |
D | android-support-v4.jar | META-INF/
META-INF/MANIFEST.MF
android/
android/support/
android/ ... |
/development/vndk/tools/header-checker/src/dumper/ |
D | diagnostic_consumer.cpp | 53 clang::DiagnosticsEngine::Level level, const clang::Diagnostic &info) { in HandleDiagnostic() argument 57 unsigned id = info.getID(); in HandleDiagnostic() 67 DiagnosticConsumer::HandleDiagnostic(level, info); in HandleDiagnostic() 68 wrapped_->HandleDiagnostic(level, info); in HandleDiagnostic()
|
/development/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/ |
D | MediaCodecWrapper.java | 51 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/ |
D | MediaCodecWrapper.java | 51 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/MediaRecorder/src/com.example.android.common.media/ |
D | MediaCodecWrapper.java | 51 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/ApiDemos/src/com/example/android/apis/accessibility/ |
D | CustomViewAccessibilityActivity.java | 90 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/AppNavigation/src/com/example/android/appnavigation/app/ |
D | AppNavHomeActivity.java | 46 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/Home/src/com/example/android/home/ |
D | Home.java | 290 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/training/basic/ActivityLifecycle/libs/ |
D | android-support-v13.jar | ... .accessibilityservice.AccessibilityServiceInfo)
android.accessibilityservice.AccessibilityServiceInfo info
public static android.content.pm.ResolveInfo getResolveInfo ... |