Home
last modified time | relevance | path

Searched refs:ContextHubTransaction (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/core/java/com/android/server/location/
DContextHubServiceTransaction.java19 import android.hardware.location.ContextHubTransaction;
32 @ContextHubTransaction.Type
64 /* package */ void onTransactionComplete(@ContextHubTransaction.Result int result) { in onTransactionComplete()
76 @ContextHubTransaction.Result int result, List<NanoAppState> nanoAppStateList) { in onQueryResponse()
90 @ContextHubTransaction.Type
102 case ContextHubTransaction.TYPE_LOAD_NANOAPP: in getTimeout()
104 case ContextHubTransaction.TYPE_UNLOAD_NANOAPP: in getTimeout()
105 case ContextHubTransaction.TYPE_ENABLE_NANOAPP: in getTimeout()
106 case ContextHubTransaction.TYPE_DISABLE_NANOAPP: in getTimeout()
107 case ContextHubTransaction.TYPE_QUERY_NANOAPPS: in getTimeout()
[all …]
DContextHubTransactionManager.java22 import android.hardware.location.ContextHubTransaction;
106 mNextAvailableId.getAndIncrement(), ContextHubTransaction.TYPE_LOAD_NANOAPP) { in createLoadTransaction()
122 /* package */ void onTransactionComplete(@ContextHubTransaction.Result int result) { in createLoadTransaction()
123 if (result == ContextHubTransaction.RESULT_SUCCESS) { in createLoadTransaction()
133 if (result == ContextHubTransaction.RESULT_SUCCESS) { in createLoadTransaction()
154 mNextAvailableId.getAndIncrement(), ContextHubTransaction.TYPE_UNLOAD_NANOAPP) {
168 /* package */ void onTransactionComplete(@ContextHubTransaction.Result int result) {
169 if (result == ContextHubTransaction.RESULT_SUCCESS) {
174 if (result == ContextHubTransaction.RESULT_SUCCESS) {
195 mNextAvailableId.getAndIncrement(), ContextHubTransaction.TYPE_ENABLE_NANOAPP) {
[all …]
DContextHubServiceUtil.java29 import android.hardware.location.ContextHubTransaction;
217 @ContextHubTransaction.Result
222 return ContextHubTransaction.RESULT_SUCCESS; in toTransactionResult()
224 return ContextHubTransaction.RESULT_FAILED_BAD_PARAMS; in toTransactionResult()
226 return ContextHubTransaction.RESULT_FAILED_UNINITIALIZED; in toTransactionResult()
228 return ContextHubTransaction.RESULT_FAILED_BUSY; in toTransactionResult()
232 return ContextHubTransaction.RESULT_FAILED_UNKNOWN; in toTransactionResult()
DContextHubService.java33 import android.hardware.location.ContextHubTransaction;
508 ContextHubTransaction.RESULT_SUCCESS);
688 contextHubId, transactionCallback, ContextHubTransaction.TYPE_LOAD_NANOAPP)) {
694 ContextHubTransaction.RESULT_FAILED_BAD_PARAMS);
718 contextHubId, transactionCallback, ContextHubTransaction.TYPE_UNLOAD_NANOAPP)) {
742 contextHubId, transactionCallback, ContextHubTransaction.TYPE_ENABLE_NANOAPP)) {
766 contextHubId, transactionCallback, ContextHubTransaction.TYPE_DISABLE_NANOAPP)) {
788 contextHubId, transactionCallback, ContextHubTransaction.TYPE_QUERY_NANOAPPS)) {
892 @ContextHubTransaction.Type int transactionType) {
896 ContextHubTransaction.RESULT_FAILED_HAL_UNAVAILABLE);
[all …]
DContextHubClientBroker.java30 import android.hardware.location.ContextHubTransaction;
203 @ContextHubTransaction.Result
/frameworks/base/core/java/android/hardware/location/
DContextHubTransaction.java47 public class ContextHubTransaction<T> { class
130 @ContextHubTransaction.Result
138 Response(@ContextHubTransaction.Result int result, R contents) { in Response()
143 @ContextHubTransaction.Result
167 ContextHubTransaction<L> transaction, ContextHubTransaction.Response<L> response); in onComplete()
179 private ContextHubTransaction.Response<T> mResponse;
189 private ContextHubTransaction.OnCompleteListener<T> mListener = null;
201 ContextHubTransaction(@Type int type) { in ContextHubTransaction() method in ContextHubTransaction
214 case ContextHubTransaction.TYPE_LOAD_NANOAPP: in typeToString()
216 case ContextHubTransaction.TYPE_UNLOAD_NANOAPP: in typeToString()
[all …]
DContextHubManager.java440 ContextHubTransaction<Void> transaction) { in createTransactionCallback()
445 transaction.setResponse(new ContextHubTransaction.Response<Void>( in createTransactionCallback()
446 ContextHubTransaction.RESULT_FAILED_SERVICE_INTERNAL_FAILURE, null)); in createTransactionCallback()
451 transaction.setResponse(new ContextHubTransaction.Response<Void>(result, null)); in createTransactionCallback()
466 ContextHubTransaction<List<NanoAppState>> transaction) {
470 transaction.setResponse(new ContextHubTransaction.Response<List<NanoAppState>>(
477 transaction.setResponse(new ContextHubTransaction.Response<List<NanoAppState>>(
478 ContextHubTransaction.RESULT_FAILED_SERVICE_INTERNAL_FAILURE, null));
502 @NonNull public ContextHubTransaction<Void> loadNanoApp(
507 ContextHubTransaction<Void> transaction =
[all …]
DContextHubClient.java143 @ContextHubTransaction.Result
152 return ContextHubTransaction.RESULT_FAILED_BAD_PARAMS; in sendMessageToNanoApp()
/frameworks/base/non-updatable-api/
Dsystem-current.txt2871 ….permission.ACCESS_CONTEXT_HUB}) public android.hardware.location.ContextHubTransaction<java.lang.…
2872 ….permission.ACCESS_CONTEXT_HUB}) public android.hardware.location.ContextHubTransaction<java.lang.…
2879 ….permission.ACCESS_CONTEXT_HUB}) public android.hardware.location.ContextHubTransaction<java.lang.…
2880 ….permission.ACCESS_CONTEXT_HUB}) public android.hardware.location.ContextHubTransaction<java.util.…
2885 ….permission.ACCESS_CONTEXT_HUB}) public android.hardware.location.ContextHubTransaction<java.lang.…
2919 public class ContextHubTransaction<T> {
2921 …lic void setOnCompleteListener(@NonNull android.hardware.location.ContextHubTransaction.OnComplete…
2922 …lic void setOnCompleteListener(@NonNull android.hardware.location.ContextHubTransaction.OnComplete…
2924 …method public android.hardware.location.ContextHubTransaction.Response<T> waitForResponse(long, ja…
2941 …@java.lang.FunctionalInterface public static interface ContextHubTransaction.OnCompleteListener<L>…
[all …]
/frameworks/base/api/
Dsystem-current.txt2923 ….permission.ACCESS_CONTEXT_HUB}) public android.hardware.location.ContextHubTransaction<java.lang.…
2924 ….permission.ACCESS_CONTEXT_HUB}) public android.hardware.location.ContextHubTransaction<java.lang.…
2931 ….permission.ACCESS_CONTEXT_HUB}) public android.hardware.location.ContextHubTransaction<java.lang.…
2932 ….permission.ACCESS_CONTEXT_HUB}) public android.hardware.location.ContextHubTransaction<java.util.…
2937 ….permission.ACCESS_CONTEXT_HUB}) public android.hardware.location.ContextHubTransaction<java.lang.…
2971 public class ContextHubTransaction<T> {
2973 …lic void setOnCompleteListener(@NonNull android.hardware.location.ContextHubTransaction.OnComplete…
2974 …lic void setOnCompleteListener(@NonNull android.hardware.location.ContextHubTransaction.OnComplete…
2976 …method public android.hardware.location.ContextHubTransaction.Response<T> waitForResponse(long, ja…
2993 …@java.lang.FunctionalInterface public static interface ContextHubTransaction.OnCompleteListener<L>…
[all …]
/frameworks/base/config/
Dpreloaded-classes2494 android.hardware.location.-$$Lambda$ContextHubTransaction$7a5H6DrY_dOy9M3qnYHhlmDHRNQ
2495 android.hardware.location.-$$Lambda$ContextHubTransaction$RNVGnle3xCUm9u68syzn6-2znnU
2509 android.hardware.location.ContextHubTransaction$OnCompleteListener
2510 android.hardware.location.ContextHubTransaction$Response
2511 android.hardware.location.ContextHubTransaction
Dboot-image-profile.txt42624 Landroid/hardware/location/-$$Lambda$ContextHubTransaction$7a5H6DrY_dOy9M3qnYHhlmDHRNQ;
42625 Landroid/hardware/location/-$$Lambda$ContextHubTransaction$RNVGnle3xCUm9u68syzn6-2znnU;
42639 Landroid/hardware/location/ContextHubTransaction$OnCompleteListener;
42640 Landroid/hardware/location/ContextHubTransaction$Response;
42641 Landroid/hardware/location/ContextHubTransaction;