Home
last modified time | relevance | path

Searched refs:handle (Results 1 – 25 of 67) sorted by relevance

123

/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/
Dndldic.c100 #define COPY_QUE(handle, src, dst) \ argument
101 nj_memcpy(POS_TO_ADDRESS((handle), (dst)), POS_TO_ADDRESS((handle), (src)), QUE_SIZE(handle))
110 static NJ_WQUE *get_que(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id);
111 static NJ_INT16 is_continued(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id);
112 static NJ_UINT16 search_next_que(NJ_DIC_HANDLE handle, NJ_UINT16 que_id);
113 static NJ_INT16 que_strcmp_complete_with_hyouki(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que…
114 static NJ_CHAR *get_string(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id, NJ_UINT8 *slen);
115 static NJ_CHAR *get_hyouki(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id, NJ_UINT8 *slen);
119 static NJ_INT16 search_range_by_yomi(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT8 op, NJ_CHAR *yo…
120 static NJ_INT16 search_range_by_yomi2(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT8 op, NJ_CHAR *y…
[all …]
Dndbdic.c112 NJ_DIC_HANDLE handle, NJ_UINT32 *ret_bottom);
585 root = NODE_AREA_TOP_ADDR(loctset->loct.handle); in search_node()
588 node_mid = root + NODE_AREA_MID_ADDR(loctset->loct.handle); in search_node()
595 bit_left = BIT_NODE_AREA_LEFT_LEN(loctset->loct.handle); in search_node()
596 bit_data = BIT_NODE_AREA_DATA_LEN(loctset->loct.handle); in search_node()
598 ytbl_cnt = YOMI_INDX_CNT(loctset->loct.handle); in search_node()
599 y = YOMI_INDX_SIZE(loctset->loct.handle); in search_node()
600 ytbl_top = YOMI_INDX_TOP_ADDR(loctset->loct.handle); in search_node()
602 data_top = STEM_AREA_TOP_ADDR(loctset->loct.handle); in search_node()
950 next = get_stem_next(loctset->loct.handle, stem_data); in search_node()
[all …]
Dndapi.c46 static NJ_INT16 njd_check_dic(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle);
66 if (dicinfo->handle != NULL) { in check_search_cursor()
76 loctset->loct.handle = dicinfo->handle; in check_search_cursor()
136 if (loctset->loct.handle == NULL) { in search_word()
140 dic_type = NJ_GET_DIC_TYPE_EX(loctset->loct.type, loctset->loct.handle); in search_word()
209 if ((loctset->loct.handle == NULL) || in get_word_and_search_next_word()
215 dic_type = NJ_GET_DIC_TYPE_EX(loctset->loct.type, loctset->loct.handle); in get_word_and_search_next_word()
337 ((loctset->loct.handle != NULL) && in get_word_and_search_next_word()
339 dic_type = NJ_GET_DIC_TYPE_EX(loctset->loct.type, loctset->loct.handle); in get_word_and_search_next_word()
382 if (loctset->loct.handle == NULL) { in njd_get_word_data()
[all …]
Dndfdic.c88 data = STEM_AREA_TOP_ADDR(loctset->loct.handle) + offset; in search_data()
95 if (data >= STRS_AREA_TOP_ADDR(loctset->loct.handle)) { in search_data()
106 i = (STRS_AREA_TOP_ADDR(loctset->loct.handle) - data) / DATA_SIZE; in search_data()
120 if (yomi_strcmp_forward(loctset->loct.handle, data, condition->yomi)) { in search_data()
131 … hindo = DATA_HINDO(STEM_AREA_TOP_ADDR(loctset->loct.handle) + loctset->loct.current); in search_data()
329 data = STEM_AREA_TOP_ADDR(loctset->loct.handle) + loctset->loct.current; in njd_f_get_word()
370 data = STEM_AREA_TOP_ADDR(loc->handle) + loc->current; in njd_f_get_stroke()
373 area = YOMI_AREA_TOP_ADDR(loc->handle) + DATA_YOMI(data); in njd_f_get_stroke()
375 if (YOMI_INDX_CNT(loc->handle) == 0) { in njd_f_get_stroke()
392 len = convert_to_yomi(loc->handle, area, DATA_YOMI_SIZE(data), stroke, size); in njd_f_get_stroke()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DHandleMap.java38 int handle = 0; field in HandleMap.Entry
47 Entry(int serverIf, int handle, UUID uuid, int serviceType, int instance) { in Entry() argument
50 this.handle = handle; in Entry()
56 Entry(int serverIf, int handle, UUID uuid, int serviceType, int instance, in Entry() argument
60 this.handle = handle; in Entry()
67 Entry(int serverIf, int type, int handle, UUID uuid, int serviceHandle) { in Entry() argument
70 this.handle = handle; in Entry()
76 Entry(int serverIf, int type, int handle, UUID uuid, int serviceHandle, int charHandle) { in Entry() argument
79 this.handle = handle; in Entry()
101 void addService(int serverIf, int handle, UUID uuid, int serviceType, int instance, in addService() argument
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapContentObserver.java243 long handle; field in BluetoothMapContentObserver.Event
250 public Event(String eventType, long handle, String folder, in Event() argument
254 this.handle = handle; in Event()
288 … xmlEvtReport.attribute("", "handle", BluetoothMapUtils.getMapHandle(handle, msgType)); in encode()
438 Log.d(TAG, "sendEvent: " + evt.eventType + " " + evt.handle + " " in sendEvent()
823 String uriStr, long handle, int status) { in setEmailMessageStatusDelete() argument
831 contentValues.put(BluetoothMapContract.MessageColumns._ID, handle); in setEmailMessageStatusDelete()
833 Msg msg = mMsgListEmail.get(handle); in setEmailMessageStatusDelete()
851 if(D) Log.d(TAG, "Deleted MSG: " + handle + " from folderId: " + folderId); in setEmailMessageStatusDelete()
853 Log.w(TAG, "Msg: " + handle + " - Set delete status " + status in setEmailMessageStatusDelete()
[all …]
DBluetoothMapObexServer.java490 … long handle = mObserver.pushMessage(message, folderElement, appParams, mBaseEmailUriString); in pushMessage() local
491 if (D) Log.d(TAG, "pushMessage handle: " + handle); in pushMessage()
492 if (handle < 0) { in pushMessage()
497 String handleStr = BluetoothMapUtils.getMapHandle(handle, message.getType()); in pushMessage()
537 long handle; in setMessageStatus() local
551 handle = BluetoothMapUtils.getCpHandle(msgHandle); in setMessageStatus()
553 if(D)Log.d(TAG,"setMessageStatus. Handle:" + handle+", MsgType: "+ msgType); in setMessageStatus()
560 if (!mObserver.setMessageStatusDeleted(handle, msgType, mCurrentFolder, in setMessageStatus()
566 if (!mObserver.setMessageStatusRead(handle, msgType, mBaseEmailUriString, value)) { in setMessageStatus()
929 private int sendGetMessageRsp(Operation op, String handle, BluetoothMapAppParams appParams){ in sendGetMessageRsp() argument
[all …]
/packages/apps/Nfc/nxp/jni/
Dcom_android_nfc_NativeNfcTag.cpp26 static phLibNfc_Handle handle; variable
181 phLibNfc_Handle handle = 0; in com_android_nfc_NativeNfcTag_doRead() local
193 handle = nfc_jni_get_connected_handle(e, o); in com_android_nfc_NativeNfcTag_doRead()
200 status = phLibNfc_Ndef_Read(handle, &nfc_jni_ndef_rw, in com_android_nfc_NativeNfcTag_doRead()
243 phLibNfc_Handle handle = nfc_jni_get_connected_handle(e, o); in com_android_nfc_NativeNfcTag_doWrite() local
257 TRACE("Ndef Handle :0x%x\n",handle); in com_android_nfc_NativeNfcTag_doWrite()
260 status = phLibNfc_Ndef_Write(handle, &nfc_jni_ndef_rw,nfc_jni_tag_rw_callback, (void *)&cb_data); in com_android_nfc_NativeNfcTag_doWrite()
441 jobject o, phLibNfc_Handle handle) in com_android_nfc_NativeNfcTag_doConnect() argument
458 storedHandle = handle; in com_android_nfc_NativeNfcTag_doConnect()
459 status = phLibNfc_RemoteDev_Connect(handle, nfc_jni_connect_callback,(void *)&cb_data); in com_android_nfc_NativeNfcTag_doConnect()
[all …]
Dcom_android_nfc_NativeP2pDevice.cpp121 phLibNfc_Handle handle = 0; in com_android_nfc_NativeP2pDevice_doConnect() local
136 handle = nfc_jni_get_p2p_device_handle(e, o); in com_android_nfc_NativeP2pDevice_doConnect()
146 status = phLibNfc_RemoteDev_Connect(handle, nfc_jni_connect_callback, (void*)&cb_data); in com_android_nfc_NativeP2pDevice_doConnect()
202 phLibNfc_Handle handle = 0; in com_android_nfc_NativeP2pDevice_doDisconnect() local
209 handle = nfc_jni_get_p2p_device_handle(e, o); in com_android_nfc_NativeP2pDevice_doDisconnect()
218 TRACE("Disconnecting from target (handle = 0x%x)", handle); in com_android_nfc_NativeP2pDevice_doDisconnect()
227 …status = phLibNfc_RemoteDev_Disconnect(handle, NFC_DISCOVERY_CONTINUE,nfc_jni_disconnect_callback,… in com_android_nfc_NativeP2pDevice_doDisconnect()
278 phLibNfc_Handle handle = nfc_jni_get_p2p_device_handle(e, o); in com_android_nfc_NativeP2pDevice_doTransceive() local
291 TRACE("Transceive data to target (handle = 0x%x)", handle); in com_android_nfc_NativeP2pDevice_doTransceive()
310 …status = phLibNfc_RemoteDev_Transceive(handle, &transceive_info, nfc_jni_transceive_callback, (voi… in com_android_nfc_NativeP2pDevice_doTransceive()
[all …]
Dcom_android_nfc.cpp422 int handle = devList[target].hTargetDev; in nfc_jni_get_technology_tree() local
429 MAX_NUM_TECHNOLOGIES, TARGET_TYPE_ISO14443_4, handle, type); in nfc_jni_get_technology_tree()
435 MAX_NUM_TECHNOLOGIES, TARGET_TYPE_ISO14443_4, handle, type); in nfc_jni_get_technology_tree()
437 MAX_NUM_TECHNOLOGIES, TARGET_TYPE_ISO14443_3B, handle, type); in nfc_jni_get_technology_tree()
442 index, MAX_NUM_TECHNOLOGIES, TARGET_TYPE_ISO14443_3A, handle, type); in nfc_jni_get_technology_tree()
450 index, MAX_NUM_TECHNOLOGIES, TARGET_TYPE_ISO14443_4, handle, type); in nfc_jni_get_technology_tree()
452 index, MAX_NUM_TECHNOLOGIES, TARGET_TYPE_ISO14443_3B, handle, type); in nfc_jni_get_technology_tree()
457 index, MAX_NUM_TECHNOLOGIES, TARGET_TYPE_ISO15693, handle, type); in nfc_jni_get_technology_tree()
471 index, MAX_NUM_TECHNOLOGIES, TARGET_TYPE_MIFARE_UL, handle, type); in nfc_jni_get_technology_tree()
475 index, MAX_NUM_TECHNOLOGIES, TARGET_TYPE_MIFARE_CLASSIC, handle, type); in nfc_jni_get_technology_tree()
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/
DCallsManager.java415 Uri handle = extras.getParcelable(TelephonyManager.EXTRA_INCOMING_NUMBER); in processIncomingCallIntent() local
419 handle, in processIncomingCallIntent()
433 Uri handle = extras.getParcelable(TelecomManager.EXTRA_UNKNOWN_CALL_HANDLE); in addNewUnknownCall() local
434 Log.i(this, "addNewUnknownCall with handle: %s", Log.pii(handle)); in addNewUnknownCall()
438 handle, in addNewUnknownCall()
452 private Call getNewOutgoingCall(Uri handle) { in getNewOutgoingCall() argument
457 if (reusedCall == null && Objects.equals(pendingCall.getHandle(), handle)) { in getNewOutgoingCall()
474 handle, in getNewOutgoingCall()
490 Call startOutgoingCall(Uri handle, PhoneAccountHandle phoneAccountHandle, Bundle extras) { in startOutgoingCall() argument
491 Call call = getNewOutgoingCall(handle); in startOutgoingCall()
[all …]
DMissedCallNotifier.java149 String handle = handleUri == null ? null : handleUri.getSchemeSpecificPart(); in showMissedCallNotification() local
153 Log.d(this, "Add actions with number %s.", Log.piiHandle(handle)); in showMissedCallNotification()
155 if (!TextUtils.isEmpty(handle) in showMissedCallNotification()
156 && !TextUtils.equals(handle, mContext.getString(R.string.handle_restricted))) { in showMissedCallNotification()
176 Log.d(this, "Suppress actions. handle: %s, missedCalls: %d.", Log.piiHandle(handle), in showMissedCallNotification()
199 String handle = call.getHandle() == null ? null : call.getHandle().getSchemeSpecificPart(); in getNameForCall() local
204 } else if (!TextUtils.isEmpty(handle)) { in getNameForCall()
209 return bidiFormatter.unicodeWrap(handle, TextDirectionHeuristics.LTR); in getNameForCall()
245 private PendingIntent createCallBackPendingIntent(Uri handle) { in createCallBackPendingIntent() argument
247 TelecomBroadcastReceiver.ACTION_CALL_BACK_FROM_NOTIFICATION, handle); in createCallBackPendingIntent()
[all …]
DPhoneAccountRegistrar.java304 for (PhoneAccountHandle handle : handles) { in getSimCallManager()
305 if (componentName.equals(handle.getComponentName()) in getSimCallManager()
306 && isVisibleForUser(handle)) { in getSimCallManager()
307 return handle; in getSimCallManager()
327 PhoneAccount getPhoneAccountInternal(PhoneAccountHandle handle) { in getPhoneAccountInternal() argument
329 if (Objects.equals(handle, m.getAccountHandle())) { in getPhoneAccountInternal()
486 public PhoneAccount getPhoneAccount(PhoneAccountHandle handle) { in getPhoneAccount() argument
488 if (Objects.equals(handle, m.getAccountHandle()) in getPhoneAccount()
537 PhoneAccountHandle handle = mState.accounts.get(i).getAccountHandle(); in unregisterPhoneAccount() local
538 if (Objects.equals(accountHandle, handle)) { in unregisterPhoneAccount()
[all …]
DCall.java330 Uri handle, in Call() argument
339 setHandle(handle); in Call()
340 setHandle(handle, TelecomManager.PRESENTATION_ALLOWED); in Call()
367 Uri handle, in Call() argument
374 this(context, repository, handle, gatewayInfo, connectionManagerPhoneAccountHandle, in Call()
496 void setHandle(Uri handle) { in setHandle() argument
497 setHandle(handle, TelecomManager.PRESENTATION_ALLOWED); in setHandle()
500 void setHandle(Uri handle, int presentation) { in setHandle() argument
501 if (!Objects.equals(handle, mHandle) || presentation != mHandlePresentation) { in setHandle()
507 mHandle = handle; in setHandle()
DNewOutgoingCallIntentBroadcaster.java167 final Uri handle = intent.getData(); in processIntent() local
169 if (handle == null) { in processIntent()
174 boolean isVoicemailNumber = PhoneAccount.SCHEME_VOICEMAIL.equals(handle.getScheme()); in processIntent()
184 mCallsManager.placeOutgoingCall(mCall, handle, null, speakerphoneOn, in processIntent()
359 private void launchSystemDialer(Uri handle) { in launchSystemDialer() argument
366 systemDialerIntent.setData(handle); in launchSystemDialer()
DCallActivity.java104 Uri handle = intent.getData(); in processOutgoingCallIntent() local
105 String scheme = handle.getScheme(); in processOutgoingCallIntent()
106 String uriString = handle.getSchemeSpecificPart(); in processOutgoingCallIntent()
109 handle = Uri.fromParts(PhoneNumberUtils.isUriNumber(uriString) ? in processOutgoingCallIntent()
115 && !TelephonyUtil.shouldProcessAsEmergency(this, handle)) { in processOutgoingCallIntent()
/packages/apps/Nfc/nci/jni/
DPeerToPeer.cpp1280 ALOGD ("%s: NFA_P2P_ACTIVATED_EVT; handle: 0x%04x", fn, eventData->activated.handle); in nfaServerCallback()
1284 ALOGD ("%s: NFA_P2P_DEACTIVATED_EVT; handle: 0x%04x", fn, eventData->activated.handle); in nfaServerCallback()
1323 …ALOGD ("%s: NFA_P2P_DISC_EVT; h=0x%04x; reason=0x%X", fn, eventData->disc.handle, eventData->disc.… in nfaServerCallback()
1325 if ((pConn = sP2p.findConnection(eventData->disc.handle)) == NULL) in nfaServerCallback()
1327 …ALOGE ("%s: NFA_P2P_DISC_EVT: can't find conn for NFA handle: 0x%04x", fn, eventData->disc.handle); in nfaServerCallback()
1357 if ((pConn = sP2p.findConnection(eventData->data.handle)) == NULL) in nfaServerCallback()
1359 …ALOGE ("%s: NFA_P2P_DATA_EVT: can't find conn for NFA handle: 0x%04x", fn, eventData->data.handle); in nfaServerCallback()
1364 eventData->data.handle, eventData->data.remote_sap); in nfaServerCallback()
1372 if ((pConn = sP2p.findConnection(eventData->congest.handle)) == NULL) in nfaServerCallback()
1374 …("%s: NFA_P2P_CONGEST_EVT: can't find conn for NFA handle: 0x%04x", fn, eventData->congest.handle); in nfaServerCallback()
[all …]
/packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/
DNativeNfcTag.java149 private native int doConnect(int handle); in doConnect() argument
290 native int doHandleReconnect(int handle); in doHandleReconnect() argument
291 public synchronized int reconnectWithStatus(int handle) { in reconnectWithStatus() argument
295 int status = doHandleReconnect(handle); in reconnectWithStatus()
458 private void addTechnology(int tech, int handle, int libnfctype) { in addTechnology() argument
466 mNewHandleList[mTechHandles.length] = handle; in addTechnology()
514 public void addNdefFormatableTechnology(int handle, int libnfcType) { in addNdefFormatableTechnology() argument
516 addTechnology(TagTechnology.NDEF_FORMATABLE, handle, libnfcType); in addNdefFormatableTechnology()
525 public void addNdefTechnology(NdefMessage msg, int handle, int libnfcType, in addNdefTechnology() argument
528 addTechnology(TagTechnology.NDEF, handle, libnfcType); in addNdefTechnology()
[all …]
/packages/apps/Nfc/nxp/src/com/android/nfc/dhimpl/
DNativeNfcTag.java146 private native int doConnect(int handle); in doConnect() argument
278 native int doHandleReconnect(int handle); in doHandleReconnect() argument
279 public synchronized int reconnectWithStatus(int handle) { in reconnectWithStatus() argument
283 int status = doHandleReconnect(handle); in reconnectWithStatus()
467 private void addTechnology(int tech, int handle, int libnfctype) { in addTechnology() argument
475 mNewHandleList[mTechHandles.length] = handle; in addTechnology()
510 public void addNdefFormatableTechnology(int handle, int libnfcType) { in addNdefFormatableTechnology() argument
512 addTechnology(TagTechnology.NDEF_FORMATABLE, handle, libnfcType); in addNdefFormatableTechnology()
521 public void addNdefTechnology(NdefMessage msg, int handle, int libnfcType, in addNdefTechnology() argument
524 addTechnology(TagTechnology.NDEF, handle, libnfcType); in addNdefTechnology()
[all …]
/packages/services/Telecomm/tests/src/com/android/server/telecom/testapps/
DCallNotificationReceiver.java75 public static void sendIncomingCallIntent(Context context, Uri handle, boolean isVideoCall) { in sendIncomingCallIntent() argument
84 if (handle != null) { in sendIncomingCallIntent()
85 extras.putParcelable(TestConnectionService.EXTRA_HANDLE, handle); in sendIncomingCallIntent()
91 public static void addNewUnknownCall(Context context, Uri handle, Bundle extras) { in addNewUnknownCall() argument
92 Log.i(TAG, "Adding new unknown call with handle " + handle); in addNewUnknownCall()
101 if (handle != null) { in addNewUnknownCall()
102 extras.putParcelable(TelecomManager.EXTRA_UNKNOWN_CALL_HANDLE, handle); in addNewUnknownCall()
103 extras.putParcelable(TestConnectionService.EXTRA_HANDLE, handle); in addNewUnknownCall()
DTestConnectionService.java253 final Uri handle = originalRequest.getAddress(); in onCreateOutgoingConnection() local
270 connection.setAddress(handle, TelecomManager.PRESENTATION_ALLOWED); in onCreateOutgoingConnection()
280 Uri.fromParts(handle.getScheme(), in onCreateOutgoingConnection()
281 handle.getSchemeSpecificPart() + "..", ""), in onCreateOutgoingConnection()
355 Uri handle = providedHandle == null ? in onCreateUnknownConnection() local
359 connection.setAddress(handle, TelecomManager.PRESENTATION_ALLOWED); in onCreateUnknownConnection()
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/include/
Dnj_ext.h62 #define NJ_GET_DIC_TYPE_EX(type, handle) \ argument
63 NJ_GET_DIC_TYPE((handle))
119 extern NJ_INT16 njd_l_check_dic(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle);
120 extern NJ_INT16 njd_l_init_area(NJ_DIC_HANDLE handle);
126 extern NJ_INT16 njd_l_mld_op_commit(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle);
127 extern NJ_INT16 njd_l_mld_op_commit_to_top(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle);
128 extern NJ_INT16 njd_l_mld_op_commit_cancel(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle);
129 extern NJ_INT16 njd_l_mld_op_get_space(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle);
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/glrenderer/
DGLES20Canvas.java182 public int handle; field in GLES20Canvas.ShaderParameter
199 handle = GLES20.glGetUniformLocation(program, mName); in loadHandle()
211 handle = GLES20.glGetAttribLocation(program, mName); in loadHandle()
517 GLES20.glUniform4fv(mDrawParameters[INDEX_COLOR].handle, 1, colorArray, 0); in prepareDraw()
547 GLES20.glVertexAttribPointer(params[INDEX_POSITION].handle, COORDS_PER_VERTEX, in setPosition()
557 int positionHandle = params[INDEX_POSITION].handle; in draw()
570 GLES20.glUniformMatrix4fv(params[INDEX_MATRIX].handle, 1, false, mTempMatrix, MATRIX_SIZE); in setMatrix()
670 GLES20.glUniformMatrix4fv(params[INDEX_TEXTURE_MATRIX].handle, 1, false, textureMatrix, 0); in drawTextureRect()
709 GLES20.glUniform1i(params[INDEX_TEXTURE_SAMPLER].handle, 0); in prepareTexture()
711 GLES20.glUniform1f(params[INDEX_ALPHA].handle, getAlpha()); in prepareTexture()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DGLES20Canvas.java182 public int handle; field in GLES20Canvas.ShaderParameter
199 handle = GLES20.glGetUniformLocation(program, mName); in loadHandle()
211 handle = GLES20.glGetAttribLocation(program, mName); in loadHandle()
517 GLES20.glUniform4fv(mDrawParameters[INDEX_COLOR].handle, 1, colorArray, 0); in prepareDraw()
547 GLES20.glVertexAttribPointer(params[INDEX_POSITION].handle, COORDS_PER_VERTEX, in setPosition()
557 int positionHandle = params[INDEX_POSITION].handle; in draw()
570 GLES20.glUniformMatrix4fv(params[INDEX_MATRIX].handle, 1, false, mTempMatrix, MATRIX_SIZE); in setMatrix()
670 GLES20.glUniformMatrix4fv(params[INDEX_TEXTURE_MATRIX].handle, 1, false, textureMatrix, 0); in drawTextureRect()
709 GLES20.glUniform1i(params[INDEX_TEXTURE_SAMPLER].handle, 0); in prepareTexture()
711 GLES20.glUniform1f(params[INDEX_ALPHA].handle, getAlpha()); in prepareTexture()
[all …]
/packages/services/Telephony/src/com/android/services/telephony/
DTelecomAccountRegistry.java258 private boolean hasAccountEntryForPhoneAccount(PhoneAccountHandle handle) { in hasAccountEntryForPhoneAccount() argument
260 if (entry.getPhoneAccountHandle().equals(handle)) { in hasAccountEntryForPhoneAccount()
275 for (PhoneAccountHandle handle : accountHandles) { in cleanupPhoneAccounts()
276 if (telephonyComponentName.equals(handle.getComponentName()) && in cleanupPhoneAccounts()
277 !hasAccountEntryForPhoneAccount(handle)) { in cleanupPhoneAccounts()
278 Log.d(this, "Unregistering phone account %s.", handle); in cleanupPhoneAccounts()
279 mTelecomManager.unregisterPhoneAccount(handle); in cleanupPhoneAccounts()

123