Home
last modified time | relevance | path

Searched refs:callType (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/services/people/java/com/android/server/people/data/
DCallLogQueryHelper.java89 int callType = cursor.getInt(typeIndex); in querySince() local
92 if (addEvent(phoneNumber, date, durationSeconds, callType)) { in querySince()
107 private boolean addEvent(String phoneNumber, long date, long durationSeconds, int callType) { in addEvent() argument
108 if (!validateEvent(phoneNumber, date, callType)) { in addEvent()
111 @Event.EventType int eventType = CALL_TYPE_TO_EVENT_TYPE.get(callType); in addEvent()
119 private boolean validateEvent(String phoneNumber, long date, int callType) { in validateEvent() argument
122 && CALL_TYPE_TO_EVENT_TYPE.indexOfKey(callType) >= 0; in validateEvent()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/analytics/
DCallAnalyticsProvider.java150 String callType, String callStatus, int slotId, String rat, String failureReason) { in getContentValues() argument
154 values.put(CallAnalyticsTable.CALL_TYPE, callType); in getContentValues()
195 String callType, String callStatus, int slotId, String rat, String failureReason) { in insertDataToDb() argument
196 ContentValues values = getContentValues(callType, callStatus, slotId, rat, failureReason); in insertDataToDb()
298 private String[] getColumnSelectionAndArgs(String callType, String callStatus) { in getColumnSelectionAndArgs() argument
301 if (callType != null) { in getColumnSelectionAndArgs()
312 selection, callType, callStatus, Integer.toString(mSlotIndex) in getColumnSelectionAndArgs()
320 selectionAndArgs = new String[] {selection, callType, Integer.toString(mSlotIndex)}; in getColumnSelectionAndArgs()
339 private long countCallsOfTypeAndStatus(String callType, String callStatus) { in countCallsOfTypeAndStatus() argument
342 String[] selectionAndArgs = getColumnSelectionAndArgs(callType, callStatus); in countCallsOfTypeAndStatus()
[all …]
DTelephonyAnalytics.java260 String callType; in onCallTerminated() local
262 callType = CallType.SOS_CALL.value; in onCallTerminated()
264 callType = CallType.NORMAL_CALL.value; in onCallTerminated()
287 sendDataToProvider(callType, status, simSlotIndex, rat, ratString, in onCallTerminated()
291 private void sendDataToProvider(String callType, String status, int simSlotIndex, in sendDataToProvider() argument
295 callType, status, simSlotIndex, ratString, disconnectCauseString); in sendDataToProvider()
300 callType, in sendDataToProvider()
/frameworks/base/telephony/java/android/telephony/ims/
DImsExternalCallState.java91 @ExternalCallState int callState, int callType, boolean isCallheld) { in ImsExternalCallState() argument
96 mCallType = callType; in ImsExternalCallState()
103 boolean isPullable, @ExternalCallState int callState, int callType, in ImsExternalCallState() argument
110 mCallType = callType; in ImsExternalCallState()
129 @ExternalCallType int callType, boolean isCallheld) { in ImsExternalCallState() argument
135 mCallType = callType; in ImsExternalCallState()
DImsCallProfile.java650 public ImsCallProfile(int serviceType, int callType) { in ImsCallProfile() argument
652 mCallType = callType; in ImsCallProfile()
678 public ImsCallProfile(int serviceType, int callType, Bundle callExtras, in ImsCallProfile() argument
681 mCallType = callType; in ImsCallProfile()
951 public static int getVideoStateFromCallType(int callType) { in getVideoStateFromCallType() argument
953 switch (callType) { in getVideoStateFromCallType()
DImsCallSession.java865 public void accept(int callType, ImsStreamMediaProfile profile) { in accept() argument
871 miSession.accept(callType, profile); in accept()
1019 public void update(int callType, ImsStreamMediaProfile profile) { in update() argument
1025 miSession.update(callType, profile); in update()
/frameworks/base/telephony/java/android/telephony/ims/compat/feature/
DMMTelFeature.java74 public boolean isConnected(int callSessionType, int callType)
77 return MMTelFeature.this.isConnected(callSessionType, callType);
112 public ImsCallProfile createCallProfile(int sessionId, int callSessionType, int callType)
115 return MMTelFeature.this.createCallProfile(sessionId, callSessionType, callType);
238 public boolean isConnected(int callSessionType, int callType) { in isConnected() argument
285 public ImsCallProfile createCallProfile(int sessionId, int callSessionType, int callType) { in createCallProfile() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DMmTelInterfaceAdapter.java57 public boolean isConnected(int callSessionType, int callType) throws RemoteException { in isConnected() argument
58 return getInterface().isConnected(callSessionType, callType); in isConnected()
78 public ImsCallProfile createCallProfile(int sessionId, int callSessionType, int callType) in createCallProfile() argument
80 return getInterface().createCallProfile(sessionId, callSessionType, callType); in createCallProfile()
DMmTelFeatureCompatAdapter.java386 public ImsCallProfile createCallProfile(int callSessionType, int callType) { in createCallProfile() argument
388 return mCompatFeature.createCallProfile(mSessionId, callSessionType, callType); in createCallProfile()
/frameworks/base/telecomm/java/android/telecom/
DCallAttributes.java79 int callType, in CallAttributes() argument
85 mCallType = callType; in CallAttributes()
197 public Builder setCallType(@CallType int callType) { in setCallType() argument
198 if (!isInRange(AUDIO_CALL, VIDEO_CALL, callType)) { in setCallType()
201 callType, AUDIO_CALL, VIDEO_CALL)); in setCallType()
203 mCallType = callType; in setCallType()
DParcelableCallAnalytics.java291 private final int callType; field in ParcelableCallAnalytics
330 public ParcelableCallAnalytics(long startTimeMillis, long callDurationMillis, int callType, in ParcelableCallAnalytics() argument
337 this.callType = callType; in ParcelableCallAnalytics()
352 callType = in.readInt(); in ParcelableCallAnalytics()
373 out.writeInt(callType); in writeToParcel()
412 return callType; in getCallType()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/analytics/
DCallAnalyticsProviderTest.java201 String callType, String callStatus, int slotId, String rat, String failureReason) { in getContentValues() argument
205 values.put(CallAnalyticsTable.CALL_TYPE, callType); in getContentValues()
247 String callType = "Normal Call"; in testSuccessCall() local
262 ContentValues values = getContentValues(callType, callStatus, slotId, rat, failureReason); in testSuccessCall()
272 mCallAnalyticsProvider.insertDataToDb(callType, callStatus, slotId, rat, failureReason); in testSuccessCall()
279 String callType = "Normal Call"; in testFailureCall() local
299 ContentValues values = getContentValues(callType, callStatus, slotId, rat, failureReason); in testFailureCall()
310 mCallAnalyticsProvider.insertDataToDb(callType, callStatus, slotId, rat, failureReason); in testFailureCall()
/frameworks/base/telephony/java/com/android/ims/internal/
DIImsMMTelFeature.aidl39 boolean isConnected(int callSessionType, int callType); in isConnected() argument
44 ImsCallProfile createCallProfile(int sessionId, int callSessionType, int callType); in createCallProfile() argument
DIImsService.aidl39 boolean isConnected(int serviceId, int serviceType, int callType); in isConnected() argument
54 ImsCallProfile createCallProfile(int serviceId, int serviceType, int callType); in createCallProfile() argument
DIImsCallSession.aidl139 void accept(int callType, in ImsStreamMediaProfile profile); in accept() argument
214 void update(int callType, in ImsStreamMediaProfile profile); in update() argument
/frameworks/base/telephony/java/android/telephony/ims/stub/
DImsCallSessionImplBase.java246 public void accept(int callType, ImsStreamMediaProfile profile) {
247 executeMethodAsync(() -> ImsCallSessionImplBase.this.accept(callType, profile),
298 public void update(int callType, ImsStreamMediaProfile profile) {
299 executeMethodAsync(() -> ImsCallSessionImplBase.this.update(callType, profile),
540 public void accept(int callType, ImsStreamMediaProfile profile) { in accept() argument
641 public void update(int callType, ImsStreamMediaProfile profile) { in update() argument
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/
DTestMmTelFeature.java73 public ImsCallProfile createCallProfile(int callSessionType, int callType) { in createCallProfile() argument
74 return super.createCallProfile(callSessionType, callType); in createCallProfile()
DTestMMTelFeatureCompat.java34 public boolean isConnected(int callSessinType, int callType) { in isConnected() argument
/frameworks/base/core/java/android/provider/
DCallLog.java486 public @NonNull AddCallParametersBuilder setCallType(int callType) { in setCallType() argument
487 mCallType = callType; in setCallType()
731 String viaNumber, int presentation, int callType, int features, in AddCallParams() argument
744 mCallType = callType; in AddCallParams()
766 String viaNumber, int presentation, int callType, int features, in AddCallParams() argument
780 mCallType = callType; in AddCallParams()
1649 int presentation, int callType, int features, in addCall() argument
1654 presentation, callType, features, accountHandle, start, duration, in addCall()
1692 String postDialDigits, String viaNumber, int presentation, int callType, in addCall() argument
1696 return addCall(ci, context, number, postDialDigits, viaNumber, presentation, callType, in addCall()
[all …]
/frameworks/base/telephony/java/android/telephony/
DCallState.java387 public CallState.Builder setImsCallType(@ImsCallType int callType) { in setImsCallType() argument
388 this.mImsCallType = callType; in setImsCallType()
/frameworks/base/telephony/java/android/telephony/ims/aidl/
DIImsMmTelFeature.aidl45 ImsCallProfile createCallProfile(int callSessionType, int callType); in createCallProfile() argument
/frameworks/base/telephony/java/android/telephony/ims/compat/stub/
DImsCallSessionImplBase.java193 public void accept(int callType, ImsStreamMediaProfile profile) { in accept() argument
297 public void update(int callType, ImsStreamMediaProfile profile) { in update() argument
/frameworks/opt/net/ims/src/java/com/android/ims/
DImsCall.java1223 public void accept(int callType) throws ImsException { in accept() argument
1224 accept(callType, new ImsStreamMediaProfile()); in accept()
1235 public void accept(int callType, ImsStreamMediaProfile profile) throws ImsException { in accept() argument
1236 logi("accept :: callType=" + callType + ", profile=" + profile); in accept()
1250 mSession.accept(callType, profile); in accept()
1620 public void update(int callType, ImsStreamMediaProfile mediaProfile) throws ImsException { in update() argument
1621 logi("update :: callType=" + callType + ", mediaProfile=" + mediaProfile); in update()
1647 mSession.update(callType, mediaProfile); in update()
DMmTelFeatureConnection.java482 public ImsCallProfile createCallProfile(int callServiceType, int callType) in createCallProfile() argument
486 return getServiceInterface(mBinder).createCallProfile(callServiceType, callType); in createCallProfile()
/frameworks/base/telephony/java/android/telephony/ims/feature/
DMmTelFeature.java130 public ImsCallProfile createCallProfile(int callSessionType, int callType)
133 callSessionType, callType), "createCallProfile");
1552 public @Nullable ImsCallProfile createCallProfile(int callSessionType, int callType) { in createCallProfile() argument

12