/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
H A D | CallbackInfo.java | 28 int handle; field in class:CallbackInfo 30 CallbackInfo(String address, int status, int handle) { argument 33 this.handle = handle;
|
H A D | HandleMap.java | 38 int handle = 0; field in class:HandleMap.Entry 47 Entry(int serverIf, int handle, UUID uuid, int serviceType, int instance) { argument 50 this.handle = handle; 56 Entry(int serverIf, int handle, UUID uuid, int serviceType, int instance, argument 60 this.handle = handle; 67 Entry(int serverIf, int type, int handle, UUID uuid, int serviceHandle) { argument 70 this.handle = handle; 75 Entry(int serverIf, int type, int handle, UUID uuid, int serviceHandle, int charHandle) argument 99 addService(int serverIf, int handle, UUID uuid, int serviceType, int instance, boolean advertisePreferred) argument 104 addCharacteristic(int serverIf, int handle, UUID uuid, int serviceHandle) argument 109 addDescriptor(int serverIf, int handle, UUID uuid, int serviceHandle) argument 113 setStarted(int serverIf, int handle, boolean started) argument 125 getByHandle(int handle) argument 176 addRequest(int requestId, int handle) argument [all...] |
/packages/apps/Dialer/java/com/android/incallui/util/ |
H A D | TelecomCallUtil.java | 31 // Whether the call handle is an emergency number. 33 Uri handle = call.getDetails().getHandle(); 34 return PhoneNumberUtils.isEmergencyNumber(handle == null ? "" : handle.getSchemeSpecificPart()); 44 Uri handle = getHandle(call); 45 return handle == null ? null : handle.getSchemeSpecificPart();
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
H A D | CallerInfoLookupHelper.java | 48 void onCallerInfoQueryComplete(Uri handle, @Nullable CallerInfo info); argument 49 void onContactPhotoQueryComplete(Uri handle, CallerInfo info); argument 80 public void startLookup(final Uri handle, OnQueryCompleteListener listener) { argument 81 if (handle == null) { 82 listener.onCallerInfoQueryComplete(handle, null); 86 final String number = handle.getSchemeSpecificPart(); 88 listener.onCallerInfoQueryComplete(handle, null); 93 if (mQueryEntries.containsKey(handle)) { 94 CallerInfoQueryInfo info = mQueryEntries.get(handle); 96 Log.i(this, "Caller info already exists for handle 140 makeCallerInfoQueryListener( final Uri handle) argument 173 startPhotoLookup(final Uri handle, final Uri contactPhotoUri) argument 190 makeContactPhotoListener( final Uri handle) argument [all...] |
H A D | MissedCallNotifier.java | 31 Uri handle, long creationTimeMillis) { 32 return new CallInfo(callerInfo, phoneAccountHandle, handle, creationTimeMillis); 42 public CallInfo(CallerInfo callerInfo, PhoneAccountHandle phoneAccountHandle, Uri handle, argument 46 mHandle = handle; 30 makeCallInfo(CallerInfo callerInfo, PhoneAccountHandle phoneAccountHandle, Uri handle, long creationTimeMillis) argument
|
/packages/apps/Dialer/java/com/android/dialer/notification/ |
H A D | VoicemailChannelUtils.java | 55 for (PhoneAccountHandle handle : getAllEligableAccounts(context)) { 56 result.add(getChannelIdForAccount(handle)); 69 for (PhoneAccountHandle handle : getAllEligableAccounts(context)) { 70 createVoicemailChannelForAccount(context, handle); 76 static String getChannelId(@NonNull Context context, @Nullable PhoneAccountHandle handle) { argument 88 if (handle == null) { 96 if (!isChannelAllowedForAccount(context, handle)) { 104 String channelId = getChannelIdForAccount(handle); 109 createVoicemailChannelForAccount(context, handle); 119 private static String getChannelIdForAccount(@NonNull PhoneAccountHandle handle) { argument 159 createVoicemailChannelForAccount( @onNull Context context, @NonNull PhoneAccountHandle handle) argument 169 migrateVoicemailSoundSettings( @onNull Context context, @NonNull NotificationChannel channel, @NonNull PhoneAccountHandle handle) argument 180 isChannelAllowedForAccount( @onNull Context context, @NonNull PhoneAccountHandle handle) argument [all...] |
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
H A D | NewOutgoingCallIntentBroadcasterTest.java | 122 private void badCallActionHelper(Uri handle, int expectedCode) { argument 123 Intent intent = new Intent(Intent.ACTION_ALARM_CHANGED, handle); 134 Uri handle = Uri.parse("tel:6505551234"); 136 Intent callIntent = buildIntent(handle, Intent.ACTION_CALL, null); 148 Uri handle = Uri.parse("tel:"); 149 Intent intent = new Intent(Intent.ACTION_CALL, handle); 160 Uri handle = Uri.parse("tel:6505551911"); 162 any(Context.class), eq(handle.getSchemeSpecificPart())); 163 Intent intent = new Intent(Intent.ACTION_CALL, handle); 183 assertEquals(handle, dialerInten 374 buildIntent(Uri handle, String action, Bundle extras) argument [all...] |
/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
H A D | LegacyVoicemailNotifier.java | 53 @NonNull PhoneAccountHandle handle, 60 Assert.isNotNull(handle); 64 context.getSystemService(TelephonyManager.class).createForPhoneAccountHandle(handle); 74 handle, 89 @NonNull PhoneAccountHandle handle, 107 contentText = getNotificationText(context, handle, voicemailNumber); 122 .setSound(pinnedTelephonyManager.getVoicemailRingtoneUri(handle)) 125 .setChannelId(NotificationChannelManager.getVoicemailChannelId(context, handle)); 127 if (pinnedTelephonyManager.isVoicemailVibrationEnabled(handle)) { 136 @NonNull Context context, PhoneAccountHandle handle, Strin 51 showNotification( @onNull Context context, @NonNull PhoneAccountHandle handle, int count, String voicemailNumber, PendingIntent callVoicemailIntent, PendingIntent voicemailSettingsIntent, boolean isRefresh) argument 86 createNotification( @onNull Context context, @NonNull TelephonyManager pinnedTelephonyManager, @NonNull PhoneAccountHandle handle, int count, String voicemailNumber, PendingIntent callVoicemailIntent, PendingIntent voicemailSettingsIntent, boolean isRefresh) argument 135 getNotificationText( @onNull Context context, PhoneAccountHandle handle, String voicemailNumber) argument [all...] |
H A D | VisualVoicemailNotifier.java | 81 PhoneAccountHandle handle = getAccountForCall(context, newCalls.get(0)); 82 groupSummary.setChannelId(NotificationChannelManager.getVoicemailChannelId(context, handle)); 163 PhoneAccountHandle handle = getAccountForCall(context, voicemail); 178 .setSound(getVoicemailRingtoneUri(context, handle)) 179 .setDefaults(getNotificationDefaultFlags(context, handle)); 188 builder.setChannelId(NotificationChannelManager.getVoicemailChannelId(context, handle)); 208 @NonNull Context context, @Nullable PhoneAccountHandle handle) { 212 if (handle == null) { 213 LogUtil.i("VisualVoicemailNotifier.getVoicemailRingtoneUri", "null handle, getting fallback"); 214 handle 207 getVoicemailRingtoneUri( @onNull Context context, @Nullable PhoneAccountHandle handle) argument 225 getNotificationDefaultFlags( @onNull Context context, @Nullable PhoneAccountHandle handle) argument [all...] |
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
H A D | CallNotificationReceiver.java | 84 public static void sendIncomingCallIntent(Context context, Uri handle, int videoState) { argument 93 if (handle != null) { 94 extras.putParcelable(TestConnectionService.EXTRA_HANDLE, handle); 100 public static void sendIncomingRttCallIntent(Context context, Uri handle, int videoState) { argument 109 if (handle != null) { 110 extras.putParcelable(TestConnectionService.EXTRA_HANDLE, handle); 117 public static void addNewUnknownCall(Context context, Uri handle, Bundle extras) { argument 118 Log.i(TAG, "Adding new unknown call with handle " + handle); 127 if (handle ! [all...] |
H A D | CallListAdapter.java | 98 Uri handle = call.getDetails().getHandle(); 99 phoneNumber.setText(handle == null ? "No number" : handle.getSchemeSpecificPart()); 106 Log.i(TAG, "Call found: " + ((handle == null) ? "null" : handle.getSchemeSpecificPart())
|
/packages/services/Telecomm/src/com/android/server/telecom/callfiltering/ |
H A D | DirectToVoicemailCallFilter.java | 44 public void onCallerInfoQueryComplete(Uri handle, CallerInfo info) { 46 if (Objects.equals(callHandle, handle)) { 65 Log.w(this, "CallerInfo lookup returned with a different handle than " + 66 "what was passed in. Was %s, should be %s", handle, callHandle); 71 public void onContactPhotoQueryComplete(Uri handle, CallerInfo info) {
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
H A D | ndldic.c | 100 #define COPY_QUE(handle, src, dst) \ 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_id, NJ_CHAR *yomi, NJ_UINT16 yomi_len, NJ_CHAR *hyouki, NJ_UINT8 multi_flg); 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_UINT1 150 get_search_index_address(NJ_DIC_HANDLE handle, NJ_UINT8 search_pattern) argument 263 get_que_type_and_next(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id) argument 292 get_que_yomiLen_and_hyoukiLen(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id) argument 323 get_que_allHinsi(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id) argument 352 get_que(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id) argument 386 is_continued(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id) argument 433 continue_cnt(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id) argument 481 search_next_que(NJ_DIC_HANDLE handle, NJ_UINT16 que_id) argument 505 que_strcmp_complete_with_hyouki(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id, NJ_CHAR *yomi, NJ_UINT16 yomi_len, NJ_CHAR *hyouki, NJ_UINT8 multi_flg) argument 593 que_strcmp_include(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id, NJ_CHAR *yomi) argument 680 get_string(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id, NJ_UINT8 *slen) argument 766 get_hyouki(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT16 que_id, NJ_UINT8 *slen) argument 1196 search_range_by_yomi(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT8 op, NJ_CHAR *yomi, NJ_UINT16 len, NJ_UINT16 *from, NJ_UINT16 *to, NJ_UINT8 *forward_flag) argument 1395 search_range_by_yomi_multi(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_CHAR *yomi, NJ_UINT16 len, NJ_UINT16 *from, NJ_UINT16 *to) argument 1531 str_que_cmp(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_CHAR *yomi, NJ_UINT16 yomiLen, NJ_UINT16 que_id, NJ_UINT8 mode) argument 1656 calculate_hindo(NJ_DIC_HANDLE handle, NJ_INT32 freq, NJ_DIC_FREQ *dic_freq, NJ_INT16 freq_max, NJ_INT16 freq_min) argument 1838 njd_l_check_dic(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle) argument 2307 search_range_by_yomi2(NJ_CLASS *iwnn, NJ_DIC_HANDLE handle, NJ_UINT8 op, NJ_CHAR *yomi, NJ_UINT16 len, NJ_UINT16 sfrom, NJ_UINT16 sto, NJ_UINT16 *from, NJ_UINT16 *to, NJ_UINT8 *forward_flag) argument [all...] |
H A D | ndbdic.c | 112 NJ_DIC_HANDLE handle, NJ_UINT32 *ret_bottom); 585 root = NODE_AREA_TOP_ADDR(loctset->loct.handle); 588 node_mid = root + NODE_AREA_MID_ADDR(loctset->loct.handle); 595 bit_left = BIT_NODE_AREA_LEFT_LEN(loctset->loct.handle); 596 bit_data = BIT_NODE_AREA_DATA_LEN(loctset->loct.handle); 598 ytbl_cnt = YOMI_INDX_CNT(loctset->loct.handle); 599 y = YOMI_INDX_SIZE(loctset->loct.handle); 600 ytbl_top = YOMI_INDX_TOP_ADDR(loctset->loct.handle); 602 data_top = STEM_AREA_TOP_ADDR(loctset->loct.handle); 950 next = get_stem_next(loctset->loct.handle, stem_dat 2250 get_node_bottom(NJ_CHAR * yomi, NJ_UINT8 * now, NJ_UINT8 * node_mid, NJ_UINT8 * data_top, NJ_UINT16 bit_left, NJ_UINT16 bit_data, NJ_UINT32 top, NJ_DIC_HANDLE handle, NJ_UINT32 * ret_bottom) argument [all...] |
/packages/apps/Car/Messenger/src/com/android/car/messenger/ |
H A D | MapMessage.java | 46 String handle = intent.getStringExtra(BluetoothMapClient.EXTRA_MESSAGE_HANDLE); 52 return new MapMessage(device, handle, System.currentTimeMillis(), senderContactName, 57 String handle, 63 boolean missingHandle = (handle == null); 72 builder.append(" handle"); 83 mHandle = handle; 95 * @return Unique handle for this message. NOTE: The handle is only required to be unique for 56 MapMessage(BluetoothDevice device, String handle, long receivedTimeMs, String senderName, @Nullable String senderContactUri, String text) argument
|
/packages/apps/Dialer/java/com/android/voicemail/impl/utils/ |
H A D | VvmDumpHandler.java | 34 for (PhoneAccountHandle handle : 36 OmtpVvmCarrierConfigHelper config = new OmtpVvmCarrierConfigHelper(context, handle);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | PhoneAccountRegistrationReceiver.java | 45 PhoneAccountHandle handle = (PhoneAccountHandle) intent.getParcelableExtra( 52 ((CallLogProvider) provider).adjustForNewPhoneAccount(handle);
|
/packages/services/Telephony/src/com/android/phone/vvm/ |
H A D | PhoneAccountHandleConverter.java | 53 public static int toSubId(PhoneAccountHandle handle) { argument 54 return PhoneUtils.getSubIdForPhoneAccountHandle(handle);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/ |
H A D | RequestPushMessage.java | 58 String handle = (String) headerset.getHeader(HeaderSet.NAME); 59 if (handle != null) { 61 new BigInteger(handle, 16); 63 mMsgHandle = handle;
|
/packages/services/Car/TrustAgent/src/com/android/car/trust/ |
H A D | CarBleTrustAgent.java | 59 public static final String INTENT_EXTRA_TOKEN_HANDLE = "extra-token-handle"; 88 long handle = intent.getLongExtra(INTENT_EXTRA_TOKEN_HANDLE, -1); 89 isEscrowTokenActive(handle, getCurrentUserHandle()); 91 long handle = intent.getLongExtra(INTENT_EXTRA_TOKEN_HANDLE, -1); 92 removeEscrowToken(handle, getCurrentUserHandle()); 175 public void unlockDevice(byte[] token, long handle) { 176 unlock(token, handle); 240 private void unlock(byte[] token, long handle) { argument 244 Log.d(TAG, "About to unlock user. Current handle: " + handle 268 onEscrowTokenRemoved(long handle, boolean successful) argument 275 onEscrowTokenStateReceived(long handle, int tokenState) argument 289 onEscrowTokenAdded(byte[] token, long handle, UserHandle user) argument [all...] |
H A D | CarEnrolmentActivity.java | 78 appendOutputText("Is token active? " + tokenActive + " handle: " + mHandle); 80 final long handle = intent.getLongExtra(INTENT_EXTRA_TOKEN_HANDLE, -1); 85 mPrefs.edit().putLong(SP_HANDLE_KEY, handle).apply(); 87 Log.d(TAG, "stored new handle"); 92 mEnrolmentService.sendHandle(handle, mDevice); 93 appendOutputText("Escrow Token Added. Handle: " + handle 167 Log.d(TAG, "onResume, checking handle active: " + mHandle); 220 private void isTokenActive(long handle) throws RemoteException { argument 223 intent.putExtra(CarBleTrustAgent.INTENT_EXTRA_TOKEN_HANDLE, handle); 229 long handle; [all...] |
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/ |
H A D | BootUsbScanner.java | 18 // This could happen if we reboot. We should try to handle this accessory. 19 handle(context, device); 24 handle(context, device); 33 private void handle(Context context, UsbDevice device) { method in class:BootUsbScanner
|
/packages/services/Telecomm/src/com/android/server/telecom/ui/ |
H A D | MissedCallNotifierImpl.java | 203 * handle of the phone account. This could be a managed user. In that case we return the default 239 String handle = handleUri == null ? null : handleUri.getSchemeSpecificPart(); 241 if (!TextUtils.isEmpty(handle) && !TextUtils.equals(handle, 287 // 1 missed call: <caller name || handle> 340 String handle = callInfo.getHandleSchemeSpecificPart(); 344 Log.d(this, "Add actions with number %s.", Log.piiHandle(handle)); 346 if (!TextUtils.isEmpty(handle) 347 && !TextUtils.equals(handle, mContext.getString(R.string.handle_restricted))) { 371 Log.d(this, "Suppress actions. handle 491 createCallBackPendingIntent(Uri handle, UserHandle userHandle) argument 501 createSendSmsFromNotificationPendingIntent(Uri handle, UserHandle userHandle) argument [all...] |
/packages/services/Car/evs/sampleDriver/ |
H A D | EvsV4lCamera.cpp | 94 alloc.free(rec.handle); 95 rec.handle = nullptr; 232 ALOGE("ignoring doneWithFrame called with null handle"); 249 if (rec.handle == nullptr) { 250 rec.handle = mBuffers[buffer.bufferId].handle; 251 mBuffers[buffer.bufferId].handle = nullptr; 373 ALOGE("We didn't get a buffer handle back from the allocator"); 388 if (rec.handle == nullptr) { 390 rec.handle [all...] |
/packages/services/Telecomm/src/com/android/server/telecom/components/ |
H A D | UserCallIntentProcessor.java | 94 Uri handle = intent.getData(); 95 String scheme = handle.getScheme(); 96 String uriString = handle.getSchemeSpecificPart(); 99 handle = Uri.fromParts(PhoneNumberUtils.isUriNumber(uriString) ? 109 if (!TelephonyUtil.shouldProcessAsEmergency(mContext, handle)) { 128 if (!canCallNonEmergency && !TelephonyUtil.shouldProcessAsEmergency(mContext, handle)) { 144 // Save the user handle of current user before forwarding the intent to primary user.
|