Home
last modified time | relevance | path

Searched refs:data (Results 1 – 25 of 3262) sorted by relevance

12345678910>>...131

/frameworks/base/libs/hwui/
DMatrix.cpp46 data[kScaleX] = 1.0f; in loadIdentity()
47 data[kSkewY] = 0.0f; in loadIdentity()
48 data[2] = 0.0f; in loadIdentity()
49 data[kPerspective0] = 0.0f; in loadIdentity()
51 data[kSkewX] = 0.0f; in loadIdentity()
52 data[kScaleY] = 1.0f; in loadIdentity()
53 data[6] = 0.0f; in loadIdentity()
54 data[kPerspective1] = 0.0f; in loadIdentity()
56 data[8] = 0.0f; in loadIdentity()
57 data[9] = 0.0f; in loadIdentity()
[all …]
/frameworks/native/libs/binder/
DIBatteryStats.cpp36 Parcel data, reply; in noteStartSensor() local
37 data.writeInterfaceToken(IBatteryStats::getInterfaceDescriptor()); in noteStartSensor()
38 data.writeInt32(uid); in noteStartSensor()
39 data.writeInt32(sensor); in noteStartSensor()
40 remote()->transact(NOTE_START_SENSOR_TRANSACTION, data, &reply); in noteStartSensor()
44 Parcel data, reply; in noteStopSensor() local
45 data.writeInterfaceToken(IBatteryStats::getInterfaceDescriptor()); in noteStopSensor()
46 data.writeInt32(uid); in noteStopSensor()
47 data.writeInt32(sensor); in noteStopSensor()
48 remote()->transact(NOTE_STOP_SENSOR_TRANSACTION, data, &reply); in noteStopSensor()
[all …]
DIActivityManager.cpp40 Parcel data, reply; in openContentUri() local
41 data.writeInterfaceToken(IActivityManager::getInterfaceDescriptor()); in openContentUri()
42 data.writeString16(stringUri); in openContentUri()
43 status_t ret = remote()->transact(OPEN_CONTENT_URI_TRANSACTION, data, & reply); in openContentUri()
67 Parcel data, reply; in registerUidObserver() local
68 data.writeInterfaceToken(IActivityManager::getInterfaceDescriptor()); in registerUidObserver()
69 data.writeStrongBinder(IInterface::asBinder(observer)); in registerUidObserver()
70 data.writeInt32(event); in registerUidObserver()
71 data.writeInt32(cutpoint); in registerUidObserver()
72 data.writeString16(callingPackage); in registerUidObserver()
[all …]
DIUidObserver.cpp35 Parcel data, reply; in onUidGone() local
36 data.writeInterfaceToken(IUidObserver::getInterfaceDescriptor()); in onUidGone()
37 data.writeInt32((int32_t) uid); in onUidGone()
38 data.writeInt32(disabled ? 1 : 0); in onUidGone()
39 remote()->transact(ON_UID_GONE_TRANSACTION, data, &reply, IBinder::FLAG_ONEWAY); in onUidGone()
44 Parcel data, reply; in onUidActive() local
45 data.writeInterfaceToken(IUidObserver::getInterfaceDescriptor()); in onUidActive()
46 data.writeInt32((int32_t) uid); in onUidActive()
47 remote()->transact(ON_UID_ACTIVE_TRANSACTION, data, &reply, IBinder::FLAG_ONEWAY); in onUidActive()
52 Parcel data, reply; in onUidIdle() local
[all …]
/frameworks/av/drm/common/
DIDrmManagerService.cpp42 const sp<DecryptHandle>& handle, Parcel* data) { in writeDecryptHandleToParcelData() argument
43 data->writeInt32(handle->decryptId); in writeDecryptHandleToParcelData()
44 data->writeString8(handle->mimeType); in writeDecryptHandleToParcelData()
45 data->writeInt32(handle->decryptApiType); in writeDecryptHandleToParcelData()
46 data->writeInt32(handle->status); in writeDecryptHandleToParcelData()
49 data->writeInt32(size); in writeDecryptHandleToParcelData()
51 data->writeInt32(handle->copyControlVector.keyAt(i)); in writeDecryptHandleToParcelData()
52 data->writeInt32(handle->copyControlVector.valueAt(i)); in writeDecryptHandleToParcelData()
56 data->writeInt32(size); in writeDecryptHandleToParcelData()
58 data->writeString8(handle->extendedData.keyAt(i)); in writeDecryptHandleToParcelData()
[all …]
/frameworks/minikin/tests/
DAndroid.bp6 name: "minikin-test-data",
8 "data/Arabic.ttf",
9 "data/Ascii.ttf",
10 "data/Bbox.ttf",
11 "data/BiDi.ttf",
12 "data/Bold.ttf",
13 "data/BoldItalic.ttf",
14 "data/Cherokee.ttf",
15 "data/ColorEmojiFont.ttf",
16 "data/ColorTextMixedEmojiFont.ttf",
[all …]
/frameworks/native/libs/permission/
DIAppOpsService.cpp40 Parcel data, reply; in checkOperation() local
41 data.writeInterfaceToken(IAppOpsService::getInterfaceDescriptor()); in checkOperation()
42 data.writeInt32(code); in checkOperation()
43 data.writeInt32(uid); in checkOperation()
44 data.writeString16(packageName); in checkOperation()
45 remote()->transact(CHECK_OPERATION_TRANSACTION, data, &reply); in checkOperation()
54 Parcel data, reply; in noteOperation() local
55 data.writeInterfaceToken(IAppOpsService::getInterfaceDescriptor()); in noteOperation()
56 data.writeInt32(code); in noteOperation()
57 data.writeInt32(uid); in noteOperation()
[all …]
/frameworks/av/camera/
DICamera.cpp75 Parcel data, reply; in disconnect() local
76 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in disconnect()
77 remote()->transact(DISCONNECT, data, &reply); in disconnect()
86 Parcel data, reply; in setPreviewTarget() local
87 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in setPreviewTarget()
89 data.writeStrongBinder(b); in setPreviewTarget()
90 remote()->transact(SET_PREVIEW_TARGET, data, &reply); in setPreviewTarget()
99 Parcel data, reply; in setPreviewCallbackFlag() local
100 data.writeInterfaceToken(ICamera::getInterfaceDescriptor()); in setPreviewCallbackFlag()
101 data.writeInt32(flag); in setPreviewCallbackFlag()
[all …]
DICameraClient.cpp50 Parcel data, reply; in notifyCallback() local
51 data.writeInterfaceToken(ICameraClient::getInterfaceDescriptor()); in notifyCallback()
52 data.writeInt32(msgType); in notifyCallback()
53 data.writeInt32(ext1); in notifyCallback()
54 data.writeInt32(ext2); in notifyCallback()
55 remote()->transact(NOTIFY_CALLBACK, data, &reply, IBinder::FLAG_ONEWAY); in notifyCallback()
63 Parcel data, reply; in dataCallback() local
64 data.writeInterfaceToken(ICameraClient::getInterfaceDescriptor()); in dataCallback()
65 data.writeInt32(msgType); in dataCallback()
66 data.writeStrongBinder(IInterface::asBinder(imageData)); in dataCallback()
[all …]
/frameworks/native/services/audiomanager/
DIAudioManager.cpp40 Parcel data, reply; in trackPlayer() local
41 data.writeInterfaceToken(IAudioManager::getInterfaceDescriptor()); in trackPlayer()
42 data.writeInt32(1); // non-null PlayerIdCard parcelable in trackPlayer()
44 data.writeInt32((int32_t) playerType); in trackPlayer()
46 data.writeInt32((int32_t) usage); in trackPlayer()
47 data.writeInt32((int32_t) content); in trackPlayer()
48 data.writeInt32(0 /*source: none here, this is a player*/); in trackPlayer()
49 data.writeInt32(0 /*flags*/); in trackPlayer()
51 data.writeInt32(1 /*FLATTEN_TAGS*/); in trackPlayer()
52 data.writeString16(String16("")); // no tags in trackPlayer()
[all …]
/frameworks/av/media/libmedia/
DIMediaPlayer.cpp70 static void writeVector(Parcel& data, Vector<uint8_t> const& vector) { in writeVector() argument
71 data.writeUint32(vector.size()); in writeVector()
72 data.write(vector.array(), vector.size()); in writeVector()
86 Parcel data, reply; in disconnect() local
87 data.writeInterfaceToken(IMediaPlayer::getInterfaceDescriptor()); in disconnect()
88 remote()->transact(DISCONNECT, data, &reply); in disconnect()
96 Parcel data, reply; in setDataSource() local
97 data.writeInterfaceToken(IMediaPlayer::getInterfaceDescriptor()); in setDataSource()
98 data.writeInt32(httpService != NULL); in setDataSource()
100 data.writeStrongBinder(IInterface::asBinder(httpService)); in setDataSource()
[all …]
DIMediaRecorder.cpp87 Parcel data, reply; in setCamera() local
88 data.writeInterfaceToken(IMediaRecorder::getInterfaceDescriptor()); in setCamera()
89 data.writeStrongBinder(IInterface::asBinder(camera)); in setCamera()
90 data.writeStrongBinder(IInterface::asBinder(proxy)); in setCamera()
91 remote()->transact(SET_CAMERA, data, &reply); in setCamera()
98 Parcel data, reply; in setInputSurface() local
99 data.writeInterfaceToken(IMediaRecorder::getInterfaceDescriptor()); in setInputSurface()
100 surface->writeToParcel(&data); in setInputSurface()
101 remote()->transact(SET_INPUT_SURFACE, data, &reply); in setInputSurface()
108 Parcel data, reply; in querySurfaceMediaSource() local
[all …]
DIMediaMetadataRetriever.cpp56 Parcel data, reply; in disconnect() local
57 data.writeInterfaceToken(IMediaMetadataRetriever::getInterfaceDescriptor()); in disconnect()
58 remote()->transact(DISCONNECT, data, &reply); in disconnect()
66 Parcel data, reply; in setDataSource() local
67 data.writeInterfaceToken(IMediaMetadataRetriever::getInterfaceDescriptor()); in setDataSource()
68 data.writeInt32(httpService != NULL); in setDataSource()
70 data.writeStrongBinder(IInterface::asBinder(httpService)); in setDataSource()
72 data.writeCString(srcUrl); in setDataSource()
75 data.writeInt32(0); in setDataSource()
78 data.writeInt32(headers->size()); in setDataSource()
[all …]
DIStreamSource.cpp48 Parcel data, reply; in setListener() local
49 data.writeInterfaceToken(IStreamSource::getInterfaceDescriptor()); in setListener()
50 data.writeStrongBinder(IInterface::asBinder(listener)); in setListener()
51 remote()->transact(SET_LISTENER, data, &reply); in setListener()
55 Parcel data, reply; in setBuffers() local
56 data.writeInterfaceToken(IStreamSource::getInterfaceDescriptor()); in setBuffers()
57 data.writeInt64(static_cast<int64_t>(buffers.size())); in setBuffers()
59 data.writeStrongBinder(IInterface::asBinder(buffers.itemAt(i))); in setBuffers()
61 remote()->transact(SET_BUFFERS, data, &reply); in setBuffers()
65 Parcel data, reply; in onBufferAvailable() local
[all …]
DIOMX.cpp70 Parcel data, reply; in freeNode() local
71 data.writeInterfaceToken(IOMXNode::getInterfaceDescriptor()); in freeNode()
72 remote()->transact(FREE_NODE, data, &reply); in freeNode()
79 Parcel data, reply; in sendCommand() local
80 data.writeInterfaceToken(IOMXNode::getInterfaceDescriptor()); in sendCommand()
81 data.writeInt32(cmd); in sendCommand()
82 data.writeInt32(param); in sendCommand()
83 remote()->transact(SEND_COMMAND, data, &reply); in sendCommand()
91 Parcel data, reply; in getParameter() local
92 data.writeInterfaceToken(IOMXNode::getInterfaceDescriptor()); in getParameter()
[all …]
/frameworks/base/core/java/android/content/
DContentProviderNative.java79 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) in onTransact() argument
85 data.enforceInterface(IContentProvider.descriptor); in onTransact()
88 .createFromParcel(data); in onTransact()
89 Uri url = Uri.CREATOR.createFromParcel(data); in onTransact()
92 int num = data.readInt(); in onTransact()
97 projection[i] = data.readString(); in onTransact()
101 Bundle queryArgs = data.readBundle(); in onTransact()
103 data.readStrongBinder()); in onTransact()
105 data.readStrongBinder()); in onTransact()
142 data.enforceInterface(IContentProvider.descriptor); in onTransact()
[all …]
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyLogger.java437 final Data data = getNextSlot(); in uidStateChanged() local
438 if (data == null) return; in uidStateChanged()
440 data.reset(); in uidStateChanged()
441 data.type = EVENT_UID_STATE_CHANGED; in uidStateChanged()
442 data.ifield1 = uid; in uidStateChanged()
443 data.ifield2 = procState; in uidStateChanged()
444 data.ifield3 = capability; in uidStateChanged()
445 data.lfield1 = procStateSeq; in uidStateChanged()
446 data.timeStamp = System.currentTimeMillis(); in uidStateChanged()
450 final Data data = getNextSlot(); in event() local
[all …]
/frameworks/base/libs/storage/
DIMountService.cpp63 Parcel data, reply; in registerListener() local
64 data.writeInterfaceToken(IMountService::getInterfaceDescriptor()); in registerListener()
65 data.writeStrongBinder(IInterface::asBinder(listener)); in registerListener()
66 if (remote()->transact(TRANSACTION_registerListener, data, &reply) != NO_ERROR) { in registerListener()
79 Parcel data, reply; in unregisterListener() local
80 data.writeInterfaceToken(IMountService::getInterfaceDescriptor()); in unregisterListener()
81 data.writeStrongBinder(IInterface::asBinder(listener)); in unregisterListener()
82 if (remote()->transact(TRANSACTION_unregisterListener, data, &reply) != NO_ERROR) { in unregisterListener()
95 Parcel data, reply; in isUsbMassStorageConnected() local
96 data.writeInterfaceToken(IMountService::getInterfaceDescriptor()); in isUsbMassStorageConnected()
[all …]
/frameworks/native/libs/graphicsenv/
DIGpuService.cpp35 Parcel data, reply; in setGpuStats() local
36 data.writeInterfaceToken(IGpuService::getInterfaceDescriptor()); in setGpuStats()
38 data.writeUtf8AsUtf16(driverPackageName); in setGpuStats()
39 data.writeUtf8AsUtf16(driverVersionName); in setGpuStats()
40 data.writeUint64(driverVersionCode); in setGpuStats()
41 data.writeInt64(driverBuildTime); in setGpuStats()
42 data.writeUtf8AsUtf16(appPackageName); in setGpuStats()
43 data.writeInt32(vulkanVersion); in setGpuStats()
44 data.writeInt32(static_cast<int32_t>(driver)); in setGpuStats()
45 data.writeBool(isDriverLoaded); in setGpuStats()
[all …]
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/eab/
DEabProviderTest.java66 ContentValues data = new ContentValues(); in testQueryContactInfo() local
67 data.put(EabProvider.ContactColumns.PHONE_NUMBER, "123456"); in testQueryContactInfo()
68 data.put(EabProvider.ContactColumns.RAW_CONTACT_ID, 1); in testQueryContactInfo()
69 mContext.getContentResolver().insert(CONTACT_URI, data); in testQueryContactInfo()
83 ContentValues data = new ContentValues(); in testContactIsUnique() local
84 data.put(EabProvider.ContactColumns.PHONE_NUMBER, "123456"); in testContactIsUnique()
85 mContext.getContentResolver().insert(CONTACT_URI, data); in testContactIsUnique()
87 data = new ContentValues(); in testContactIsUnique()
88 data.put(EabProvider.ContactColumns.PHONE_NUMBER, "123456"); in testContactIsUnique()
89 mContext.getContentResolver().insert(CONTACT_URI, data); in testContactIsUnique()
[all …]
/frameworks/base/tests/JankBench/scripts/external/
Dstatistics.py119 def _sum(data, start=0): argument
159 for typ, values in groupby(data, type):
294 def _counts(data): argument
296 table = collections.Counter(iter(data)).most_common()
310 def mean(data): argument
326 if iter(data) is data:
327 data = list(data)
328 n = len(data)
331 T, total, count = _sum(data)
337 def median(data): argument
[all …]
/frameworks/native/libs/sensor/
DISensorServer.cpp62 Parcel data, reply; in getSensorList() local
63 data.writeInterfaceToken(ISensorServer::getInterfaceDescriptor()); in getSensorList()
64 data.writeString16(opPackageName); in getSensorList()
65 remote()->transact(GET_SENSOR_LIST, data, &reply); in getSensorList()
92 Parcel data, reply; in getDynamicSensorList() local
93 data.writeInterfaceToken(ISensorServer::getInterfaceDescriptor()); in getDynamicSensorList()
94 data.writeString16(opPackageName); in getDynamicSensorList()
95 remote()->transact(GET_DYNAMIC_SENSOR_LIST, data, &reply); in getDynamicSensorList()
122 Parcel data, reply; in getRuntimeSensorList() local
123 data.writeInterfaceToken(ISensorServer::getInterfaceDescriptor()); in getRuntimeSensorList()
[all …]
DISensorEventConnection.cpp55 Parcel data, reply; in getSensorChannel() local
56 data.writeInterfaceToken(ISensorEventConnection::getInterfaceDescriptor()); in getSensorChannel()
57 remote()->transact(GET_SENSOR_CHANNEL, data, &reply); in getSensorChannel()
64 Parcel data, reply; in enableDisable() local
65 data.writeInterfaceToken(ISensorEventConnection::getInterfaceDescriptor()); in enableDisable()
66 data.writeInt32(handle); in enableDisable()
67 data.writeInt32(enabled); in enableDisable()
68 data.writeInt64(samplingPeriodNs); in enableDisable()
69 data.writeInt64(maxBatchReportLatencyNs); in enableDisable()
70 data.writeInt32(reservedFlags); in enableDisable()
[all …]
/frameworks/native/libs/nativedisplay/
DAChoreographer.cpp47 const AChoreographerFrameCallbackData* data) { in AChoreographerFrameCallbackData_to_ChoreographerFrameCallbackDataImpl() argument
48 return reinterpret_cast<const ChoreographerFrameCallbackDataImpl*>(data); in AChoreographerFrameCallbackData_to_ChoreographerFrameCallbackDataImpl()
65 AChoreographer_frameCallback callback, void* data) { in AChoreographer_routePostFrameCallback() argument
68 return AChoreographer_postFrameCallback(choreographer, callback, data); in AChoreographer_routePostFrameCallback()
72 AChoreographer_frameCallback callback, void* data, in AChoreographer_routePostFrameCallbackDelayed() argument
76 return AChoreographer_postFrameCallbackDelayed(choreographer, callback, data, delayMillis); in AChoreographer_routePostFrameCallbackDelayed()
80 AChoreographer_frameCallback64 callback, void* data) { in AChoreographer_routePostFrameCallback64() argument
81 return AChoreographer_postFrameCallback64(choreographer, callback, data); in AChoreographer_routePostFrameCallback64()
85 void* data, uint32_t delayMillis) { in AChoreographer_routePostFrameCallbackDelayed64() argument
86 return AChoreographer_postFrameCallbackDelayed64(choreographer, callback, data, delayMillis); in AChoreographer_routePostFrameCallbackDelayed64()
[all …]
/frameworks/base/native/android/
Dchoreographer.cpp25 AChoreographer_frameCallback callback, void* data) { in AChoreographer_postFrameCallback() argument
26 return AChoreographer_routePostFrameCallback(choreographer, callback, data); in AChoreographer_postFrameCallback()
29 AChoreographer_frameCallback callback, void* data, in AChoreographer_postFrameCallbackDelayed() argument
31 return AChoreographer_routePostFrameCallbackDelayed(choreographer, callback, data, delayMillis); in AChoreographer_postFrameCallbackDelayed()
34 AChoreographer_frameCallback64 callback, void* data) { in AChoreographer_postFrameCallback64() argument
35 return AChoreographer_routePostFrameCallback64(choreographer, callback, data); in AChoreographer_postFrameCallback64()
38 AChoreographer_frameCallback64 callback, void* data, in AChoreographer_postFrameCallbackDelayed64() argument
40 return AChoreographer_routePostFrameCallbackDelayed64(choreographer, callback, data, in AChoreographer_postFrameCallbackDelayed64()
44 AChoreographer_vsyncCallback callback, void* data) { in AChoreographer_postVsyncCallback() argument
45 return AChoreographer_routePostVsyncCallback(choreographer, callback, data); in AChoreographer_postVsyncCallback()
[all …]

12345678910>>...131