Searched refs:slotId (Results 1 - 14 of 14) sorted by relevance

/external/libese/apps/weaver/card/src/com/android/weaver/
H A DSlots.java26 * @param slotId ID of the slot to write to.
32 void write(short slotId, byte[] key, short keyOffset, byte[] value, short valueOffset); argument
39 * @param slotId ID of the slot to write to.
46 byte read(short slotId, byte[] key, short keyOffset, byte[] value, short valueOffset); argument
54 * @param slotId ID of the slot of which to erase the value.
56 void eraseValue(short slotId); argument
H A DWeaver.java170 final short slotId = getSlotId(buffer, WRITE_DATA_SLOT_ID_OFFSET);
171 mSlots.write(slotId, buffer, WRITE_DATA_KEY_OFFSET, buffer, WRITE_DATA_VALUE_OFFSET);
196 final short slotId = getSlotId(buffer, READ_DATA_SLOT_ID_OFFSET);
198 final byte err = mSlots.read(slotId, buffer, READ_DATA_KEY_OFFSET, buffer, (short) 1);
224 final short slotId = getSlotId(buffer, READ_DATA_SLOT_ID_OFFSET);
225 mSlots.eraseValue(slotId);
/external/libese/apps/weaver/tests/
H A Dweaver_test.cpp63 const uint32_t slotId = 3; local
64 ASSERT_EQ(ese_weaver_write(&mSession, slotId, KEY, VALUE), ESE_APP_RESULT_OK);
68 ASSERT_EQ(ESE_APP_RESULT_OK, ese_weaver_read(&mSession, slotId, KEY, readValue, &timeout));
73 const uint32_t slotId = 7; local
74 ASSERT_EQ(ese_weaver_write(&mSession, slotId, KEY, VALUE), ESE_APP_RESULT_OK);
79 ese_weaver_read(&mSession, slotId, WRONG_KEY, readValue, &timeout));
85 const uint32_t slotId = 0; local
86 ASSERT_EQ(ese_weaver_write(&mSession, slotId, KEY, VALUE), ESE_APP_RESULT_OK);
87 ASSERT_EQ(ese_weaver_erase_value(&mSession, slotId), ESE_APP_RESULT_OK);
93 ASSERT_EQ(ESE_APP_RESULT_OK, ese_weaver_read(&mSession, slotId, KE
[all...]
/external/libese/apps/weaver/include/ese/app/
H A Dweaver.h98 EseAppResult ese_weaver_write(struct EseWeaverSession *session, uint32_t slotId,
114 EseAppResult ese_weaver_read(struct EseWeaverSession *session, uint32_t slotId,
122 EseAppResult ese_weaver_erase_value(struct EseWeaverSession *session, uint32_t slotId);
/external/libese/apps/weaver/card/src/com/android/weaver/core/
H A DCoreSlots.java55 final short slotId = validateSlotId(rawSlotId);
56 mSlots[slotId].write(key, keyOffset, value, valueOffset);
62 final short slotId = validateSlotId(rawSlotId);
63 return mSlots[slotId].read(key, keyOffset, outValue, outOffset);
68 final short slotId = validateSlotId(rawSlotId);
69 mSlots[slotId].eraseValue();
82 private short validateSlotId(short slotId) { argument
83 // slotId is unsigned so if the signed version is negative then it is far too big
84 if (slotId < 0 || slotId >
[all...]
/external/libese/esed/
H A DWeaver.h40 Return<WeaverStatus> write(uint32_t slotId, const hidl_vec<uint8_t>& key,
42 Return<void> read(uint32_t slotId, const hidl_vec<uint8_t>& key, read_cb _hidl_cb) override;
H A DWeaver.cpp78 Return<WeaverStatus> Weaver::write(uint32_t slotId, const hidl_vec<uint8_t>& key, argument
80 LOG(INFO) << "Running Weaver::write on slot " << slotId;
102 if (ese_weaver_write(&ws, slotId, key.data(), value.data()) != ESE_APP_RESULT_OK) {
114 Return<void> Weaver::read(uint32_t slotId, const hidl_vec<uint8_t>& key, read_cb _hidl_cb) { argument
115 LOG(VERBOSE) << "Running Weaver::read on slot " << slotId;
138 const int res = ese_weaver_read(&ws, slotId, key.data(), value.data(), &timeout);
/external/nos/host/android/hals/weaver/
H A DWeaver.cpp63 Return<WeaverStatus> Weaver::write(uint32_t slotId, const hidl_vec<uint8_t>& key, argument
65 LOG(INFO) << "Running Weaver::write on slot " << slotId;
68 request.set_slot(slotId);
82 Return<void> Weaver::read(uint32_t slotId, const hidl_vec<uint8_t>& key, read_cb _hidl_cb) { argument
83 LOG(VERBOSE) << "Running Weaver::read on slot " << slotId;
86 request.set_slot(slotId);
107 LOG(WARNING) << "Wrong key used when reading slot " << slotId;
112 LOG(WARNING) << "Attempted to read slot " << slotId << " when throttling is active";
/external/nos/host/android/hals/weaver/include/
H A DWeaver.h41 Return<WeaverStatus> write(uint32_t slotId, const hidl_vec<uint8_t>& key,
43 Return<void> read(uint32_t slotId, const hidl_vec<uint8_t>& key, read_cb _hidl_cb) override;
/external/libese/apps/weaver/
H A Dweaver.c221 uint32_t slotId, const uint8_t *key,
243 put_uint32(slot_id, slotId);
275 uint32_t slotId, const uint8_t *key,
297 put_uint32(slot_id, slotId);
364 uint32_t slotId) {
382 put_uint32(slot_id, slotId);
220 ese_weaver_write(struct EseWeaverSession *session, uint32_t slotId, const uint8_t *key, const uint8_t *value) argument
274 ese_weaver_read(struct EseWeaverSession *session, uint32_t slotId, const uint8_t *key, uint8_t *value, uint32_t *timeout) argument
363 ese_weaver_erase_value(struct EseWeaverSession *session, uint32_t slotId) argument
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/telephony/
H A DTelephonyManagerFacade.java770 * @param slotId SIM slot id
773 @Rpc(description = "Set the SIM power state for SIM slot slotId.")
775 @RpcParameter(name = "slotId") Integer slotId,
777 mTelephonyManager.setSimPowerStateForSlot(slotId, state);
788 @RpcParameter(name = "slotId") Integer slotId) {
790 mTelephonyManager.getSimState(slotId));
923 @RpcParameter(name = "slotId")
924 Integer slotId){
774 telephonySetSimStateForSlotId( @pcParametername = �) Integer slotId, @RpcParameter(name = �) Integer state) argument
787 telephonyGetSimStateForSlotId( @pcParametername = �) Integer slotId) argument
922 telephonyGetDeviceIdForSlotId( @pcParametername = �) Integer slotId) argument
[all...]
/external/robolectric/v3/runtime/
H A Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...

Completed in 139 milliseconds