Searched refs:ContextHubTransaction (Results 1 – 12 of 12) sorted by relevance
/frameworks/base/core/java/android/hardware/location/ |
D | ContextHubTransaction.java | 48 public class ContextHubTransaction<T> { class 131 @ContextHubTransaction.Result 139 Response(@ContextHubTransaction.Result int result, R contents) { in Response() 144 @ContextHubTransaction.Result 168 ContextHubTransaction<L> transaction, ContextHubTransaction.Response<L> response); in onComplete() 180 private ContextHubTransaction.Response<T> mResponse; 190 private ContextHubTransaction.OnCompleteListener<T> mListener = null; 202 ContextHubTransaction(@Type int type) { in ContextHubTransaction() method in ContextHubTransaction 215 case ContextHubTransaction.TYPE_LOAD_NANOAPP: in typeToString() 217 case ContextHubTransaction.TYPE_UNLOAD_NANOAPP: in typeToString() [all …]
|
D | ContextHubManager.java | 412 ContextHubTransaction<Void> transaction) { in createTransactionCallback() 417 transaction.setResponse(new ContextHubTransaction.Response<Void>( in createTransactionCallback() 418 ContextHubTransaction.RESULT_FAILED_SERVICE_INTERNAL_FAILURE, null)); in createTransactionCallback() 423 transaction.setResponse(new ContextHubTransaction.Response<Void>(result, null)); in createTransactionCallback() 438 ContextHubTransaction<List<NanoAppState>> transaction) { 442 transaction.setResponse(new ContextHubTransaction.Response<List<NanoAppState>>( 449 transaction.setResponse(new ContextHubTransaction.Response<List<NanoAppState>>( 450 ContextHubTransaction.RESULT_FAILED_SERVICE_INTERNAL_FAILURE, null)); 471 @NonNull public ContextHubTransaction<Void> loadNanoApp( 476 ContextHubTransaction<Void> transaction = [all …]
|
D | ContextHubClient.java | 138 @ContextHubTransaction.Result
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | ContextHubServiceTransaction.java | 19 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 …]
|
D | ContextHubTransactionManager.java | 22 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 …]
|
D | ContextHubServiceUtil.java | 27 import android.hardware.location.ContextHubTransaction; 213 @ContextHubTransaction.Result 218 return ContextHubTransaction.RESULT_SUCCESS; in toTransactionResult() 220 return ContextHubTransaction.RESULT_FAILED_BAD_PARAMS; in toTransactionResult() 222 return ContextHubTransaction.RESULT_FAILED_UNINITIALIZED; in toTransactionResult() 224 return ContextHubTransaction.RESULT_FAILED_BUSY; in toTransactionResult() 228 return ContextHubTransaction.RESULT_FAILED_UNKNOWN; in toTransactionResult()
|
D | ContextHubService.java | 31 import android.hardware.location.ContextHubTransaction; 494 ContextHubTransaction.RESULT_SUCCESS); 672 contextHubId, transactionCallback, ContextHubTransaction.TYPE_LOAD_NANOAPP)) { 678 ContextHubTransaction.RESULT_FAILED_BAD_PARAMS); 702 contextHubId, transactionCallback, ContextHubTransaction.TYPE_UNLOAD_NANOAPP)) { 726 contextHubId, transactionCallback, ContextHubTransaction.TYPE_ENABLE_NANOAPP)) { 750 contextHubId, transactionCallback, ContextHubTransaction.TYPE_DISABLE_NANOAPP)) { 772 contextHubId, transactionCallback, ContextHubTransaction.TYPE_QUERY_NANOAPPS)) { 851 @ContextHubTransaction.Type int transactionType) { 855 ContextHubTransaction.RESULT_FAILED_HAL_UNAVAILABLE); [all …]
|
D | ContextHubClientBroker.java | 28 import android.hardware.location.ContextHubTransaction; 168 @ContextHubTransaction.Result
|
/frameworks/base/api/ |
D | system-current.txt | 2595 …st.permission.LOCATION_HARDWARE) public android.hardware.location.ContextHubTransaction<java.lang.… 2596 …st.permission.LOCATION_HARDWARE) public android.hardware.location.ContextHubTransaction<java.lang.… 2603 …st.permission.LOCATION_HARDWARE) public android.hardware.location.ContextHubTransaction<java.lang.… 2604 …st.permission.LOCATION_HARDWARE) public android.hardware.location.ContextHubTransaction<java.util.… 2609 …st.permission.LOCATION_HARDWARE) public android.hardware.location.ContextHubTransaction<java.lang.… 2643 public class ContextHubTransaction<T> { 2645 …lic void setOnCompleteListener(@NonNull android.hardware.location.ContextHubTransaction.OnComplete… 2646 …lic void setOnCompleteListener(@NonNull android.hardware.location.ContextHubTransaction.OnComplete… 2648 …method public android.hardware.location.ContextHubTransaction.Response<T> waitForResponse(long, ja… 2665 …@java.lang.FunctionalInterface public static interface ContextHubTransaction.OnCompleteListener<L>… [all …]
|
/frameworks/base/non-updatable-api/ |
D | system-current.txt | 2595 …st.permission.LOCATION_HARDWARE) public android.hardware.location.ContextHubTransaction<java.lang.… 2596 …st.permission.LOCATION_HARDWARE) public android.hardware.location.ContextHubTransaction<java.lang.… 2603 …st.permission.LOCATION_HARDWARE) public android.hardware.location.ContextHubTransaction<java.lang.… 2604 …st.permission.LOCATION_HARDWARE) public android.hardware.location.ContextHubTransaction<java.util.… 2609 …st.permission.LOCATION_HARDWARE) public android.hardware.location.ContextHubTransaction<java.lang.… 2643 public class ContextHubTransaction<T> { 2645 …lic void setOnCompleteListener(@NonNull android.hardware.location.ContextHubTransaction.OnComplete… 2646 …lic void setOnCompleteListener(@NonNull android.hardware.location.ContextHubTransaction.OnComplete… 2648 …method public android.hardware.location.ContextHubTransaction.Response<T> waitForResponse(long, ja… 2665 …@java.lang.FunctionalInterface public static interface ContextHubTransaction.OnCompleteListener<L>… [all …]
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 24004 …ontextHubManager;->createQueryCallback(Landroid/hardware/location/ContextHubTransaction;)Landroid/… 24005 …HubManager;->createTransactionCallback(Landroid/hardware/location/ContextHubTransaction;)Landroid/… 24020 Landroid/hardware/location/ContextHubTransaction$Response;-><init>(ILjava/lang/Object;)V 24021 Landroid/hardware/location/ContextHubTransaction$Response;->mContents:Ljava/lang/Object; 24022 Landroid/hardware/location/ContextHubTransaction$Response;->mResult:I 24023 Landroid/hardware/location/ContextHubTransaction;-><init>(I)V 24024 Landroid/hardware/location/ContextHubTransaction;->mDoneSignal:Ljava/util/concurrent/CountDownLatch; 24025 Landroid/hardware/location/ContextHubTransaction;->mExecutor:Ljava/util/concurrent/Executor; 24026 Landroid/hardware/location/ContextHubTransaction;->mIsResponseSet:Z 24027 Landroid/hardware/location/ContextHubTransaction;->mListener:Landroid/hardware/location/ContextHubT… [all …]
|
D | boot-image-profile.txt | 41747 …ontextHubManager;->createQueryCallback(Landroid/hardware/location/ContextHubTransaction;)Landroid/… 41755 …noApps(Landroid/hardware/location/ContextHubInfo;)Landroid/hardware/location/ContextHubTransaction;
|