/frameworks/base/core/java/android/hardware/usb/ |
H A D | IUsbManager.aidl | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 32 * The native fd can be passed to usb_device_new() in libusbhost. 42 ParcelFileDescriptor openAccessory(in UsbAccessory accessory); 47 void setDevicePackage(in UsbDevice device, String packageName, int userId); 52 void setAccessoryPackage(in UsbAccessory accessory, String packageName, int userId); 55 boolean hasDevicePermission(in UsbDevice device); 58 boolean hasAccessoryPermission(in UsbAccessory accessory); 64 void requestDevicePermission(in UsbDevice device, String packageName, in PendingInten [all...] |
/frameworks/base/core/java/android/bluetooth/ |
H A D | IBluetoothPbap.aidl | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 29 boolean connect(in BluetoothDevice device); 31 boolean isConnected(in BluetoothDevice device);
|
/frameworks/base/core/java/android/service/notification/ |
H A D | INotificationListener.aidl | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 24 void onNotificationPosted(in StatusBarNotification notification); 25 void onNotificationRemoved(in StatusBarNotification notification);
|
/frameworks/base/location/java/android/location/ |
H A D | ICountryDetector.aidl | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 30 * Start detecting the country that the user is in. 38 void addCountryListener(in ICountryListener listener); 43 void removeCountryListener(in ICountryListener listener);
|
H A D | ILocationManager.aidl | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 40 void requestLocationUpdates(in LocationRequest request, in ILocationListener listener, 41 in PendingIntent intent, String packageName); 42 void removeUpdates(in ILocationListener listener, in PendingIntent intent, String packageName); 44 void requestGeofence(in LocationRequest request, in Geofence geofence, 45 in PendingInten [all...] |
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
H A D | ILearning_MulticlassPA.aidl | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 27 void TrainOneSample(in List<IntFloat> sample, int target); 28 int Classify(in List<IntFloat> sample);
|
H A D | IntFloat.java | 11 public IntFloat createFromParcel(Parcel in) { 12 return new IntFloat(in); 23 private IntFloat(Parcel in) { argument 24 readFromParcel(in); 36 public void readFromParcel(Parcel in) { argument 37 index = in.readInt(); 38 value = in.readFloat();
|
H A D | StringFloat.java | 12 public StringFloat createFromParcel(Parcel in) { 13 return new StringFloat(in); 29 private StringFloat(Parcel in) { argument 30 readFromParcel(in); 42 public void readFromParcel(Parcel in) { argument 43 key = in.readString(); 44 value = in.readFloat();
|
H A D | StringString.java | 12 public StringString createFromParcel(Parcel in) { 13 return new StringString(in); 24 private StringString(Parcel in) { argument 25 readFromParcel(in); 37 public void readFromParcel(Parcel in) { argument 38 key = in.readString(); 39 value = in.readString();
|
/frameworks/base/core/java/android/content/pm/ |
H A D | IPackageManager.aidl | 6 ** you may not use this file except in compliance with the License. 11 ** Unless required by applicable law or agreed to in writing, software 61 String[] currentToCanonicalPackageNames(in String[] names); 62 String[] canonicalToCurrentPackageNames(in String[] names); 74 ActivityInfo getActivityInfo(in ComponentName className, int flags, int userId); 76 ActivityInfo getReceiverInfo(in ComponentName className, int flags, int userId); 78 ServiceInfo getServiceInfo(in ComponentName className, int flags, int userId); 80 ProviderInfo getProviderInfo(in ComponentName className, int flags, int userId); 86 boolean addPermission(in PermissionInfo info); 108 ResolveInfo resolveIntent(in Inten [all...] |
/frameworks/base/core/java/android/print/ |
H A D | IPrintDocumentAdapter.aidl | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 33 void setObserver(in IPrintDocumentAdapterObserver observer); 35 void layout(in PrintAttributes oldAttributes, in PrintAttributes newAttributes, 36 ILayoutResultCallback callback, in Bundle metadata, int sequence); 37 void write(in PageRange[] pages, in ParcelFileDescriptor fd,
|
H A D | IPrintManager.aidl | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 36 PrintJobInfo getPrintJobInfo(in PrintJobId printJobId, int appId, int userId); 37 Bundle print(String printJobName, in IPrintDocumentAdapter printAdapter, 38 in PrintAttributes attributes, String packageName, int appId, int userId); 39 void cancelPrintJob(in PrintJobId printJobId, int appId, int userId); 40 void restartPrintJob(in PrintJobId printJobId, int appId, int userId); 42 void addPrintJobStateChangeListener(in IPrintJobStateChangeListener listener, 44 void removePrintJobStateChangeListener(in IPrintJobStateChangeListener listener, 50 void createPrinterDiscoverySession(in IPrinterDiscoveryObserve [all...] |
/frameworks/base/core/java/android/printservice/ |
H A D | IPrintService.aidl | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 30 void requestCancelPrintJob(in PrintJobInfo printJobInfo); 31 void onPrintJobQueued(in PrintJobInfo printJobInfo); 34 void startPrinterDiscovery(in List<PrinterId> priorityList); 36 void validatePrinters(in List<PrinterId> printerIds); 37 void startPrinterStateTracking(in PrinterId printerId); 38 void stopPrinterStateTracking(in PrinterId printerId);
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | IBatteryStats.aidl | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 37 void noteStartWakelockFromSource(in WorkSource ws, int pid, String name, int type); 38 void noteStopWakelockFromSource(in WorkSource ws, int pid, String name, int type); 51 void notePhoneSignalStrength(in SignalStrength signalStrength); 56 void noteWifiRunning(in WorkSource ws); 57 void noteWifiRunningChanged(in WorkSource oldWs, in WorkSource newWs); 58 void noteWifiStopped(in WorkSource ws); 67 void noteFullWifiLockAcquiredFromSource(in WorkSourc [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | Input.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 56 private Input(Parcel in) { argument 57 text = in.readString(); 58 defaultText = in.readString(); 59 icon = in.readParcelable(null); 60 minLen = in.readInt(); 61 maxLen = in.readInt(); 62 ucs2 = in.readInt() == 1 ? true : false; 63 packed = in [all...] |
H A D | TextMessage.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 36 private TextMessage(Parcel in) { argument 37 title = in.readString(); 38 text = in.readString(); 39 icon = in.readParcelable(null); 40 iconSelfExplanatory = in.readInt() == 1 ? true : false; 41 isHighPriority = in.readInt() == 1 ? true : false; 42 responseNeeded = in.readInt() == 1 ? true : false; 43 userClear = in [all...] |
/frameworks/base/core/java/android/nfc/ |
H A D | INfcAdapter.aidl | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 37 INfcAdapterExtras getNfcAdapterExtrasInterface(in String pkg); 46 void setForegroundDispatch(in PendingIntent intent, 47 in IntentFilter[] filters, in TechListParcel techLists); 48 void setAppCallback(in IAppCallback callback); 50 void dispatch(in Tag tag); 52 void setReaderMode (IBinder b, IAppCallback callback, int flags, in Bundle extras);
|
H A D | INfcCardEmulation.aidl | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 28 boolean isDefaultServiceForCategory(int userHandle, in ComponentName service, String category); 29 boolean isDefaultServiceForAid(int userHandle, in ComponentName service, String aid); 30 boolean setDefaultServiceForCategory(int userHandle, in ComponentName service, String category); 31 boolean setDefaultForNextTap(int userHandle, in ComponentName service); 32 List<ApduServiceInfo> getServices(int userHandle, in String category);
|
/frameworks/base/core/tests/coretests/src/android/content/ |
H A D | MemoryFileProviderTest.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 30 * in a different process. 40 InputStream in = resolver.openInputStream(uri); 41 assertNotNull(in); 42 int count = in.read(buf); 44 assertEquals(-1, in.read()); 45 in.close(); 57 InputStream in = resolver.openInputStream(uri); 58 assertNotNull("Failed to open stream number " + i, in); [all...] |
/frameworks/base/core/java/android/os/ |
H A D | IUserManager.aidl | 6 ** you may not use this file except in compliance with the License. 11 ** Unless required by applicable law or agreed to in writing, software 30 UserInfo createUser(in String name, int flags); 33 void setUserIcon(int userHandle, in Bitmap icon); 44 void setUserRestrictions(in Bundle restrictions, int userHandle); 45 void setApplicationRestrictions(in String packageName, in Bundle restrictions, 47 Bundle getApplicationRestrictions(in String packageName); 48 Bundle getApplicationRestrictionsForUser(in String packageName, int userHandle); 49 boolean setRestrictionsChallenge(in Strin [all...] |
/frameworks/base/core/java/com/android/internal/view/ |
H A D | IInputMethod.aidl | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 30 * Top-level interface to an input method component (implemented in a 37 void bindInput(in InputBinding binding); 41 void startInput(in IInputContext inputContext, in EditorInfo attribute); 43 void restartInput(in IInputContext inputContext, in EditorInfo attribute); 45 void createSession(in InputChannel channel, IInputSessionCallback callback); 51 void showSoftInput(int flags, in ResultReceive [all...] |
/frameworks/base/core/java/com/android/internal/backup/ |
H A D | IBackupTransport.aidl | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 41 * @return An Intent that can be passed to Context.startActivity() in order to 78 * backoff delay, in milliseconds, after which the Backup Manager should try again. 81 * in milliseconds to suggest deferring the backup pass for a while. 108 * is to provide a guarantee that no stale data exists in the restore set when the 115 int performBackup(in PackageInfo packageInfo, in ParcelFileDescriptor inFd); 125 int clearBackupData(in PackageInfo packageInfo); 147 * this device. This is used in th [all...] |
/frameworks/base/media/java/android/media/ |
H A D | IRemoteControlDisplay.aidl | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 40 void setCurrentClientId(int clientGeneration, in PendingIntent clientMediaIntent, 63 * @param currentPosMs a 0 or positive value for the current media position expressed in ms 90 void setMetadata(int generationId, in Bundle metadata); 92 void setArtwork(int generationId, in Bitmap artwork); 95 * To combine metadata text and artwork in one binder call 97 void setAllMetadata(int generationId, in Bundle metadata, in Bitmap artwork);
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | IPhoneStateListener.aidl | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 25 void onServiceStateChanged(in ServiceState serviceState); 31 void onCellLocationChanged(in Bundle location); 35 void onSignalStrengthsChanged(in SignalStrength signalStrength); 36 void onOtaspChanged(in int otaspMode); 37 void onCellInfoChanged(in List<CellInfo> cellInfo);
|
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
H A D | contrast.rs | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 27 void contrast(const uchar4 *in, uchar4 *out) 30 out->r = rsClamp((int)(brightM * in->r + brightC), 0, 255); 31 out->g = rsClamp((int)(brightM * in->g + brightC), 0, 255); 32 out->b = rsClamp((int)(brightM * in->b + brightC), 0, 255); 34 float3 v = convert_float3(in->rgb) * brightM + brightC;
|