Lines Matching refs:attrs
123 ScopedLocalRef<jintArray> attrs(
125 if (!attrs.get()) {
126 ALOGE("Fail to new jintArray for attrs");
130 sCallbackEnv->SetIntArrayRegion(attrs.get(), 0, num_attr, (jint*)p_attrs);
135 (jbyte)num_attr, attrs.get());
283 ALOGE("Fail to allocate new jintArray for attrs");
305 ScopedLocalRef<jbyteArray> attrs(sCallbackEnv.get(),
307 if (!attrs.get()) {
308 ALOGE("Fail to new jintArray for attrs");
322 attrs.get(), 0, sizeof(uint8_t) * BTRC_UID_SIZE, (jbyte*)folder_uid);
324 addr.get(), (jbyte)direction, attrs.get());
354 ScopedLocalRef<jintArray> attrs(
356 if (!attrs.get()) {
357 ALOGE("Fail to new jintArray for attrs");
363 sCallbackEnv->SetIntArrayRegion(attrs.get(), 0, num_attr, (jint*)p_attrs);
369 (jint)uid_counter, (jbyte)num_attr, attrs.get());
381 ScopedLocalRef<jbyteArray> attrs(sCallbackEnv.get(),
383 if (!attrs.get()) {
384 ALOGE("%s: Fail to new jByteArray attrs for play_item command", __func__);
398 attrs.get(), 0, sizeof(uint8_t) * BTRC_UID_SIZE, (jbyte*)uid);
401 attrs.get());
435 ScopedLocalRef<jbyteArray> attrs(sCallbackEnv.get(),
437 if (!attrs.get()) {
438 ALOGE("Fail to new jintArray for attrs");
451 sCallbackEnv->SetByteArrayRegion(attrs.get(), 0, str_len * sizeof(uint8_t),
454 (jint)charset_id, attrs.get());
474 ScopedLocalRef<jbyteArray> attrs(sCallbackEnv.get(),
476 if (!attrs.get()) {
477 ALOGE("Fail to new jByteArray for attrs");
484 attrs.get(), 0, sizeof(uint8_t) * BTRC_UID_SIZE, (jbyte*)uid);
486 addr.get(), (jbyte)scope, attrs.get(),