/prebuilts/go/linux-x86/test/ |
alg.go | 22 func g(m map[[8]interface{}]int) int { 23 var k [8]interface{} 33 type T map[string]interface{} 42 g(map[[8]interface{}]int{}),
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
bug285.go | 55 type I1 interface{} 56 type I2 interface { 59 var i0 interface{} = z 61 m0 := make(map[interface{}]int) 66 m0[z] = 42 // this should work: z is assignment-compatible with interface{} 69 })] = 42 // this should work: *struct{x int} is assignment-compatible with interface{} 70 m0[p] = 42 // this should work: p is assignment-compatible with interface{} 71 m0[false] = 42 // this should work: false is assignment-compatible with interface{} 72 m0[17] = 42 // this should work: 17 is assignment-compatible with interface{} 73 m0["foo"] = 42 // this should work: "foo" is assignment-compatible with interface{} [all...] |
issue6399.go | 5 type Foo interface {
|
/prebuilts/go/linux-x86/test/interface/ |
explicit.go | 7 // Verify compiler messages about erroneous static interface conversions. 22 type I interface { 28 type I2 interface { 35 type E interface{} 60 _ = f.(int) // ERROR "non-interface type" 64 type M interface { 89 type B1 interface { 93 type B2 interface { 103 // Check that nothing satisfies an interface with blank methods.
|
/system/core/trusty/storage/proxy/ |
ipc.h | 19 #include <trusty/interface/storage.h>
|
/system/core/libunwindstack/tests/ |
ElfTest.cpp | 127 ASSERT_TRUE(elf.interface() == nullptr); 174 ASSERT_TRUE(elf.interface() != nullptr); 186 ASSERT_TRUE(elf.interface() != nullptr); 198 ASSERT_TRUE(elf.interface() != nullptr); 210 ASSERT_TRUE(elf.interface() != nullptr); 222 ASSERT_TRUE(elf.interface() != nullptr); 234 ASSERT_TRUE(elf.interface() != nullptr); 245 ASSERT_TRUE(elf.interface() != nullptr); 247 EXPECT_EQ(0x1acU, elf.interface()->gnu_debugdata_offset()); 248 EXPECT_EQ(0x100U, elf.interface()->gnu_debugdata_size()) 296 ElfInterfaceFake* interface = new ElfInterfaceFake(memory_); local 320 ElfInterfaceFake* interface = new ElfInterfaceFake(memory_); local 365 ElfInterfaceMock* interface = new ElfInterfaceMock(memory_); local 383 ElfInterfaceMock* interface = new ElfInterfaceMock(memory_); local 408 ElfInterfaceMock* interface = new ElfInterfaceMock(memory_); local 423 ElfInterfaceMock* interface = new ElfInterfaceMock(memory_); local 439 ElfInterfaceMock* interface = new ElfInterfaceMock(memory_); local 461 ElfInterfaceMock* interface = new ElfInterfaceMock(memory_); local 478 ElfInterfaceMock* interface = new ElfInterfaceMock(memory_); local 495 ElfInterfaceMock* interface = new ElfInterfaceMock(memory_); local 515 ElfInterfaceMock* interface = new ElfInterfaceMock(memory_); local 544 ElfInterfaceMock* interface = new ElfInterfaceMock(memory_); local 557 ElfInterfaceMock* interface = new ElfInterfaceMock(memory_); local 572 ElfInterfaceMock* interface = new ElfInterfaceMock(memory_); local 596 ElfInterfaceFake* interface = new ElfInterfaceFake(memory_); local [all...] |
/system/hwservicemanager/ |
TokenManager.cpp | 41 TokenInterface interface = generateToken(store); local 43 if (interface.interface == nullptr) { 48 uint64_t id = getTokenId(interface.token); 55 mMap[id] = interface; 57 hidl_cb(interface.token); 75 const TokenInterface &interface = it->second; local 77 if (!constantTimeCompare(token, interface.token)) { 103 return it->second.interface; 107 TokenManager::TokenInterface TokenManager::generateToken(const sp<IBase> &interface) { [all...] |
/external/selinux/python/sepolicy/sepolicy/ |
interface.py | 76 """ Get all domains with an admin interface from installed policy.""" 77 """ If xml_path is specified, func returns an admin interface from specified xml file""" 98 """ Get all domains with SELinux user role interface""" 99 """ If xml_path is specified, func returns an user role interface from specified xml file""" 151 for i in m.getiterator('interface'): 154 interface_dict[(i.get("name"))] = [param_list, (i.find('summary').text), "interface"] 166 def get_interface_format_text(interface, path="/usr/share/selinux/devel/policy.xml"): 168 interface_text = "%s(%s) %s" % (interface, ", ".join(idict[interface][0]), " ".join(idict[interface][1].split("\n")) [all...] |
/hardware/interfaces/camera/device/ |
README.md | 6 The camera.device HAL interface is used by the Android camera service to operate 7 individual camera devices. Instances of camera.device HAL interface can be obtained 9 is the major version of the camera device interface. 11 Obtaining the device interface does not turn on the respective camera device; 12 each camera device interface has an actual open() method to begin an active 13 camera session. Without invoking open(), the interface can be used for querying 29 It is strongly recommended to not use this interface for new devices, as new 30 devices may not use this interface starting with the Android P release, and all 33 This HAL interface version only allows support at the LEGACY level for the 42 Callback interface for obtaining, filling, and returning graphics buffers fo [all...] |
/build/soong/android/ |
onceper.go | 27 type valueMap map[interface{}]interface{} 31 func (once *OncePer) Once(key interface{}, value func() interface{}) interface{} { 53 func (once *OncePer) Get(key interface{}) interface{} { 62 func (once *OncePer) OnceStringSlice(key interface{}, value func() []string) []string { 63 return once.Once(key, func() interface{} { return value() }).([]string) 66 func (once *OncePer) Once2StringSlice(key interface{}, value func() ([]string, []string)) ([]string, []string) [all...] |
/build/blueprint/proptools/ |
extend_test.go | 26 in1 interface{} 27 in2 interface{} 28 out interface{} 389 // Append interface 390 in1: &struct{ S interface{} }{ 395 in2: &struct{ S interface{} }{ 400 out: &struct{ S interface{} }{ 407 // Prepend interface 408 in1: &struct{ S interface{} }{ 413 in2: &struct{ S interface{} }{ [all...] |
/system/tools/aidl/ |
aidl.cpp | 128 fprintf(stderr, "%s:%d interface %s should be declared in a file" 140 const AidlInterface* interface = doc->GetInterface(); local 142 if (interface) { 143 return check_filename(filename, interface->GetPackage(), 144 interface->GetName(), interface->GetLine()); 162 const AidlInterface* interface = doc->GetInterface(); local 164 if (interface) 165 return types->AddBinderType(*interface, filename); 181 << "Interface cannot be marked as both @utf8 and @utf8InCpp" 683 unique_ptr<AidlInterface> interface; local 709 unique_ptr<AidlInterface> interface; local 765 const AidlInterface* interface = doc->GetInterface(); local [all...] |
/system/bt/profile/avrcp/tests/ |
avrcp_device_test.cc | 51 const stack_config_t interface = { member in namespace:bluetooth::avrcp 101 MockMediaInterface interface; local 104 test_device->RegisterInterfaces(&interface, &a2dp_interface, nullptr); 117 EXPECT_CALL(interface, GetNowPlayingList(_)) 145 MockMediaInterface interface; local 148 test_device->RegisterInterfaces(&interface, &a2dp_interface, nullptr); 153 EXPECT_CALL(interface, GetPlayStatus(_)) 187 MockMediaInterface interface; local 190 test_device->RegisterInterfaces(&interface, &a2dp_interface, nullptr); 195 EXPECT_CALL(interface, GetPlayStatus(_) 229 MockMediaInterface interface; local 271 MockMediaInterface interface; local 297 MockMediaInterface interface; local 342 MockMediaInterface interface; local 366 MockMediaInterface interface; local 390 MockMediaInterface interface; local 415 MockMediaInterface interface; local 439 MockMediaInterface interface; local 463 MockMediaInterface interface; local 494 MockMediaInterface interface; local 524 MockMediaInterface interface; local 551 MockMediaInterface interface; local 646 MockMediaInterface interface; local 688 MockMediaInterface interface; local 711 MockMediaInterface interface; local 728 MockMediaInterface interface; local 766 MockMediaInterface interface; local 806 MockMediaInterface interface; local 825 MockMediaInterface interface; local 856 MockMediaInterface interface; local 890 MockMediaInterface interface; local 919 MockMediaInterface interface; local 949 MockMediaInterface interface; local 997 MockMediaInterface interface; local [all...] |
/art/runtime/mirror/ |
iftable.h | 31 Class* interface = local 33 DCHECK(interface != nullptr); 34 return interface; 37 ALWAYS_INLINE void SetInterface(int32_t i, ObjPtr<Class> interface) 64 // Points to the interface class. 66 // Method pointers into the vtable, allow fast map from interface method index to concrete
|
/compatibility/cdd/8_performance-and-power/ |
8_1_user-experience-consistency.md | 3 A smooth user interface can be provided to the end user if there are certain 6 MAY have measurable requirements for the user interface latency and task
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/ |
ANTLREarlyExitException.h | 30 @interface ANTLREarlyExitException : ANTLRRecognitionException {
|
ANTLRMismatchedRangeException.h | 33 @interface ANTLRMismatchedRangeException : ANTLRRecognitionException {
|
ANTLRStreamEnumerator.h | 35 @interface ANTLRStreamEnumerator : NSEnumerator
|
ANTLRTreeRuleReturnScope.h | 36 @interface ANTLRTreeRuleReturnScope : ANTLRRuleReturnScope {
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/ |
ANTLREarlyExitException.h | 30 @interface ANTLREarlyExitException : ANTLRRecognitionException {
|
ANTLRMismatchedRangeException.h | 33 @interface ANTLRMismatchedRangeException : ANTLRRecognitionException {
|
ANTLRStreamEnumerator.h | 35 @interface ANTLRStreamEnumerator : NSEnumerator
|
ANTLRTreeRuleReturnScope.h | 36 @interface ANTLRTreeRuleReturnScope : ANTLRRuleReturnScope {
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/ |
ANTLREarlyExitException.h | 30 @interface ANTLREarlyExitException : ANTLRRecognitionException {
|
ANTLRMismatchedRangeException.h | 33 @interface ANTLRMismatchedRangeException : ANTLRRecognitionException {
|