/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/hid/ |
H A D | HidHostService.java | 259 byte reportType = data.getByte(BluetoothHidHost.EXTRA_REPORT_TYPE); 262 if (!getReportNative(Utils.getByteAddress(device), reportType, reportId, 287 byte reportType = data.getByte(BluetoothHidHost.EXTRA_REPORT_TYPE); 289 if (!setReportNative(Utils.getByteAddress(device), reportType, report)) { 461 public boolean getReport(BluetoothDevice device, byte reportType, byte reportId, in getReport() argument 468 return service.getReport(device, reportType, reportId, bufferSize); in getReport() 472 public boolean setReport(BluetoothDevice device, byte reportType, String report, in setReport() argument 479 return service.setReport(device, reportType, report); in setReport() 694 data.putByte(BluetoothHidHost.EXTRA_REPORT_TYPE, reportType); in getReport() 702 boolean setReport(BluetoothDevice device, byte reportType, String report) { in setReport() argument [all …]
|
H A D | HidDeviceNativeInterface.java | 208 private synchronized void onSetReport(byte reportType, byte reportId, byte[] data) { in onSetReport() argument 211 service.onSetReportFromNative(reportType, reportId, data); in onSetReport()
|
H A D | HidDeviceService.java | 192 byte reportType = (byte) msg.arg1; in handleMessage() 198 mCallback.onSetReport(mHidDevice, reportType, reportId, data); in handleMessage() 871 synchronized void onSetReportFromNative(byte reportType, byte reportId, byte[] data) { in onSetReportFromNative() argument 873 Log.d(TAG, "onSetReport(): reportType=" + reportType + " reportId=" + reportId); in onSetReportFromNative() 879 msg.arg1 = reportType; in onSetReportFromNative()
|
/aosp12/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothHidHost.java | 642 public boolean getReport(BluetoothDevice device, byte reportType, byte reportId, in getReport() argument 645 log("getReport(" + device + "), reportType=" + reportType + " reportId=" + reportId in getReport() 651 return service.getReport(device, reportType, reportId, bufferSize, in getReport() 674 public boolean setReport(BluetoothDevice device, byte reportType, String report) { in setReport() argument 675 if (VDBG) log("setReport(" + device + "), reportType=" + reportType + " report=" + report); in setReport() 679 return service.setReport(device, reportType, report, mAttributionSource); in setReport()
|
/aosp12/packages/apps/Bluetooth/jni/ |
H A D | com_android_bluetooth_hid_host.cpp | 391 jbyte reportType, jbyte reportId, in getReportNative() argument 394 reportType, reportId, bufferSize); in getReportNative() 403 jint rType = reportType; in getReportNative() 419 jbyte reportType, jstring report) { in setReportNative() argument 420 ALOGV("%s: reportType = %d", __func__, reportType); in setReportNative() 428 jint rType = reportType; in setReportNative()
|
/aosp12/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/ |
H A D | HidParser.cpp | 92 unsigned int reportType = i.tag; in processMainTag() local 117 HidReport report(reportType, flag, top, mLocal); in processMainTag() 272 static std::string reportTypeToString(int reportType) { in reportTypeToString() argument 273 switch (reportType) { in reportTypeToString()
|
/aosp12/system/bt/binder/android/bluetooth/ |
H A D | IBluetoothHidHost.aidl | 50 …boolean getReport(in BluetoothDevice device, byte reportType, byte reportId, int bufferSize, in At… in getReport() argument 52 …boolean setReport(in BluetoothDevice device, byte reportType, String report, in AttributionSource … in setReport() argument
|
/aosp12/system/bt/btif/src/ |
H A D | btif_hh.cc | 1500 VLOG(1) << __func__ << " BTHH: r_type = " << reportType in get_report() 1513 } else if (((int)reportType) <= BTA_HH_RPTT_RESRV || in get_report() 1514 ((int)reportType) > BTA_HH_RPTT_FEATURE) { in get_report() 1515 LOG(ERROR) << " Error, report type=" << +reportType << " not supported"; in get_report() 1518 BTA_HhGetReport(p_dev->dev_handle, reportType, reportId, bufferSize); in get_report() 1534 bthh_report_type_t reportType, char* report) { in set_report() argument 1538 VLOG(1) << __func__ << " BTHH: reportType=" << reportType in set_report() 1550 } else if (((int)reportType) <= BTA_HH_RPTT_RESRV || in set_report() 1551 ((int)reportType) > BTA_HH_RPTT_FEATURE) { in set_report() 1552 LOG(ERROR) << " Error, report type=" << +reportType << " not supported"; in set_report() [all …]
|
/aosp12/system/bt/include/hardware/ |
H A D | bt_hh.h | 196 bt_status_t (*get_report)(RawAddress* bd_addr, bthh_report_type_t reportType, 200 bt_status_t (*set_report)(RawAddress* bd_addr, bthh_report_type_t reportType,
|
/aosp12/packages/apps/Camera2/src_pd/com/android/camera/stats/ |
H A D | UsageStatistics.java | 95 public void reportMemoryConsumed(HashMap memoryData, String reportType) { in reportMemoryConsumed() argument
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
H A D | GattService.java | 1855 void onBatchScanReports(int status, int scannerId, int reportType, int numRecords, in onBatchScanReports() argument 1860 onBatchScanReportsInternal(status, scannerId, reportType, numRecords, recordData); in onBatchScanReports() 1863 void onBatchScanReportsInternal(int status, int scannerId, int reportType, int numRecords, in onBatchScanReportsInternal() argument 1867 + ", reportType=" + reportType + ", numRecords=" + numRecords); in onBatchScanReportsInternal() 1870 Set<ScanResult> results = parseBatchScanResults(numRecords, reportType, recordData); in onBatchScanReportsInternal() 1871 if (reportType == ScanManager.SCAN_RESULT_TYPE_TRUNCATED) { in onBatchScanReportsInternal() 1978 private Set<ScanResult> parseBatchScanResults(int numRecords, int reportType, in parseBatchScanResults() argument 1986 if (reportType == ScanManager.SCAN_RESULT_TYPE_TRUNCATED) { in parseBatchScanResults()
|
/aosp12/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ActivityManagerService.java | 10671 final int reportType; in dumpApplicationMemoryUsage() local 10677 reportType = ProcessStats.ADD_PSS_EXTERNAL_SLOW; in dumpApplicationMemoryUsage() 10687 reportType = ProcessStats.ADD_PSS_EXTERNAL; in dumpApplicationMemoryUsage() 10745 reportType, endTime - startTime); in dumpApplicationMemoryUsage() 10751 myTotalPss, myTotalUss, myTotalRss, reportType, in dumpApplicationMemoryUsage() 11327 final int reportType; in dumpApplicationMemoryUsage() local 11331 reportType = ProcessStats.ADD_PSS_EXTERNAL_SLOW; in dumpApplicationMemoryUsage() 11339 reportType = ProcessStats.ADD_PSS_EXTERNAL; in dumpApplicationMemoryUsage() 11388 reportType, endTime - startTime); in dumpApplicationMemoryUsage() 11394 myTotalPss, myTotalUss, myTotalRss, reportType, endTime-startTime, in dumpApplicationMemoryUsage()
|