/frameworks/base/core/jni/ |
H A D | com_android_internal_os_FuseAppLoop.cpp | 55 void OnLookup(uint64_t unique, uint64_t inode) override { 56 CallOnCommand(FUSE_LOOKUP, unique, inode, 0, 0, nullptr); 59 void OnGetAttr(uint64_t unique, uint64_t inode) override { 60 CallOnCommand(FUSE_GETATTR, unique, inode, 0, 0, nullptr); 63 void OnOpen(uint64_t unique, uint64_t inode) override { 65 mSelf, gOnOpenMethod, unique, inode)); 75 void OnFsync(uint64_t unique, uint64_t inode) override { 76 CallOnCommand(FUSE_FSYNC, unique, inode, 0, 0, nullptr); 79 void OnRelease(uint64_t unique, uint64_t inode) override { 81 CallOnCommand(FUSE_RELEASE, unique, inod 110 CallOnCommand(jint command, jlong unique, jlong inode, jlong offset, jint size, jobject bytes) argument 130 com_android_internal_os_FuseAppLoop_replySimple( JNIEnv* env, jobject self, jlong ptr, jlong unique, jint result) argument 137 com_android_internal_os_FuseAppLoop_replyOpen( JNIEnv* env, jobject self, jlong ptr, jlong unique, jlong fh) argument 144 com_android_internal_os_FuseAppLoop_replyLookup( JNIEnv* env, jobject self, jlong ptr, jlong unique, jlong inode, jlong size) argument 151 com_android_internal_os_FuseAppLoop_replyGetAttr( JNIEnv* env, jobject self, jlong ptr, jlong unique, jlong inode, jlong size) argument 159 com_android_internal_os_FuseAppLoop_replyWrite( JNIEnv* env, jobject self, jlong ptr, jlong unique, jint size) argument 166 com_android_internal_os_FuseAppLoop_replyRead( JNIEnv* env, jobject self, jlong ptr, jlong unique, jint size, jbyteArray data) argument [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
H A D | FuseAppLoop.java | 148 final long unique = args.unique; 159 native_replyLookup(mInstance, unique, inode, fileSize); 169 native_replyGetAttr(mInstance, unique, inode, fileSize); 180 native_replyRead(mInstance, unique, readSize, data); 189 native_replyWrite(mInstance, unique, writeSize); 198 native_replySimple(mInstance, unique, FUSE_OK); 207 native_replySimple(mInstance, unique, FUSE_OK); 219 replySimpleLocked(unique, getError(error)); 229 private void onCommand(int command, long unique, lon argument 257 onOpen(long unique, long inode) argument 303 replySimpleLocked(long unique, int result) argument 313 native_replySimple(long ptr, long unique, int result) argument 314 native_replyOpen(long ptr, long unique, long fh) argument 315 native_replyLookup(long ptr, long unique, long inode, long size) argument 316 native_replyGetAttr(long ptr, long unique, long inode, long size) argument 317 native_replyWrite(long ptr, long unique, int size) argument 318 native_replyRead(long ptr, long unique, int size, byte[] bytes) argument 381 long unique; field in class:FuseAppLoop.Args [all...] |
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/vo/ |
H A D | Index.kt | 25 data class Index(val name: String, val unique: Boolean, val fields: List<Field>) : 33 return "$unique-$name-${fields.joinToString(",") { it.columnName }}" 37 val uniqueSQL = if (unique) { 50 fun toBundle(): IndexBundle = IndexBundle(name, unique, fields.map { it.columnName },
|
H A D | Entity.kt | 91 index.unique
|
/frameworks/support/room/common/src/main/java/androidx/room/ |
H A D | Index.java | 69 * If set to true, this will be a unique index and any duplicates will be rejected. 71 * @return True if index is unique. False by default. 73 boolean unique() default false;
|
/frameworks/support/room/migration/src/main/java/androidx/room/migration/bundle/ |
H A D | IndexBundle.java | 36 @SerializedName("unique") 43 public IndexBundle(String name, boolean unique, List<String> columnNames, argument 46 mUnique = unique;
|
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/test/ |
H A D | IndexingTest.java | 49 @Index(value = {"field2", "mId"}, unique = true), 50 @Index(value = {"field2"}, unique = true, name = "customIndex"),
|
H A D | ForeignKeyTest.java | 111 @Entity(indices = {@Index(value = "name", unique = true), 112 @Index(value = {"name", "lastName"}, unique = true)})
|
/frameworks/base/libs/hwui/pipeline/skia/ |
H A D | SkiaRecordingCanvas.cpp | 157 // if image->unique() is true, then mRecorder.drawImage failed for some reason. It also means 160 if (!bitmap.isImmutable() && image.get() && !image->unique()) { 173 if (!bitmap.isImmutable() && image.get() && !image->unique()) { 189 if (!bitmap.isImmutable() && image.get() && !image->unique() && !srcRect.isEmpty() && 236 if (!bitmap.isImmutable() && image.get() && !image->unique() && !dst.isEmpty()) {
|
/frameworks/base/libs/hwui/tests/unit/ |
H A D | CacheManagerTests.cpp | 54 // create an image and pin it so that we have something with a unique key in the cache 67 ASSERT_TRUE(surfaces[i]->unique()); 71 // unpin the image which should add a unique purgeable key to the cache 78 // UI hidden and make sure only some got purged (unique should remain)
|
H A D | VectorDrawableTests.cpp | 397 EXPECT_TRUE(shader->unique()); 401 EXPECT_FALSE(shader->unique()); 406 EXPECT_TRUE(shader->unique());
|
/frameworks/support/room/compiler/src/test/kotlin/androidx/room/processor/ |
H A D | EntityProcessorTest.kt | 358 unique = false, 374 unique = false, 394 unique = false, 416 unique = false, 419 unique = false, 428 "indices" to """@Index(value = {"foo", "id"}, unique = true)""" 440 unique = true, 460 unique = false, 481 unique = false, 602 unique [all...] |
/frameworks/base/libs/hwui/ |
H A D | DisplayList.cpp | 67 if (path->unique() && Caches::hasInstance()) {
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/processor/ |
H A D | EntityProcessor.kt | 110 unique = false, 418 Index(name = input.name, unique = input.unique, fields = fields) 466 unique = it.unique, 514 val unique = getAnnotationValue(a, "unique").getAsBoolean(false) 522 return IndexInput(name, unique, fieldInput) 576 data class IndexInput(val name: String, val unique: Boolean, val columnNames: List<String>)
|
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/migration/ |
H A D | MigrationDb.java | 44 @Entity(indices = {@Index(value = "name", unique = true)})
|
/frameworks/support/room/runtime/src/main/java/androidx/room/util/ |
H A D | TableInfo.java | 245 final int uniqueIndex = cursor.getColumnIndex("unique"); 258 boolean unique = cursor.getInt(uniqueIndex) == 1; 259 Index index = readIndex(database, name, unique); 276 private static Index readIndex(SupportSQLiteDatabase database, String name, boolean unique) { argument 300 return new Index(name, unique, columns); 542 public final boolean unique; field in class:TableInfo.Index 545 public Index(String name, boolean unique, List<String> columns) { argument 547 this.unique = unique; 557 if (unique ! [all...] |
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/writer/ |
H A D | TableInfoValidationWriter.kt | 90 index.unique,
|
/frameworks/support/room/integration-tests/kotlintestapp/src/androidTest/java/androidx/room/integration/kotlintestapp/migration/ |
H A D | MigrationDbKotlin.kt | 40 @Entity(indices = arrayOf(Index(value = "name", unique = true)))
|
/frameworks/base/tools/aapt2/ |
H A D | StringPool.h | 213 Ref MakeRefImpl(const android::StringPiece& str, const Context& context, bool unique);
|
H A D | StringPool.cpp | 173 bool unique) { 174 if (unique) { 172 MakeRefImpl(const StringPiece& str, const Context& context, bool unique) argument
|
/frameworks/av/media/libstagefright/foundation/tests/ |
H A D | AData_test.cpp | 108 std::unique_ptr<EventCounter> unique = std::move(md.get<std::unique_ptr<EventCounter>>()); local 114 md.emplace<std::unique_ptr<EventCounter>>(std::move(unique)); 330 // the unique value should have been removed but still accessible as nullptr 395 EXPECT_TRUE(_shared.unique()); // now only _shared contains the object 484 // the unique value should have been removed but still accessible as nullptr 518 // test that unique pointer can be set and removed as base type (but removed as derived only 594 EXPECT_TRUE(_shared.unique()); // now only _shared contains the object
|
/frameworks/compile/slang/ |
H A D | slang_rs_context.h | 285 auto ReturnNewEndIter = std::unique(Return.begin(), Return.end(),
|
/frameworks/ml/nn/tools/test_generator/ |
H A D | test_generator.py | 68 # Tracking objects inside a model with a not necessarily unique name and 69 # an unique number 290 # return all unique outputs in the original order 293 unique = [x for x in Output.__outputs if x not in saw and (saw.add(x) or True)] 294 return unique
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Path.cpp | 41 // Purge entries from the HWUI path cache if this path's data is unique 42 if (obj->unique() && android::uirenderer::Caches::hasInstance()) {
|
/frameworks/base/tools/aapt/ |
H A D | ResourceTable.cpp | 4012 SortedVector<ConfigDescription> unique; local 4022 unique.add(configs.keyAt(j)); 4025 return unique;
|