/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_descr.py | 306 import copy, xxsubtype as spam 309 import xxsubtype as spam 310 return spam.spamlist(l) 313 copy._deepcopy_dispatch[spam.spamlist] = spamlist 336 class C(spam.spamlist): 350 import copy, xxsubtype as spam 352 import xxsubtype as spam 353 sd = spam.spamdict() 358 copy._deepcopy_dispatch[spam.spamdict] = spamdict 388 class C(spam.spamdict) 517 def spam(self): member in class:ClassPropertiesAndMethods.test_metaclass.C 813 def spam(self): return "A" member in class:ClassPropertiesAndMethods.test_diamond_inheritence.A 817 def spam(self): return "B" member in class:ClassPropertiesAndMethods.test_diamond_inheritence.B [all...] |
test_urllib2.py | 71 >>> Request(url, headers={"Spam-eggs": "blah"}).headers["Spam-eggs"] 73 >>> Request(url, headers={"spam-EggS": "blah"}).headers["Spam-eggs"] 76 Currently, Request(url, "Spam-eggs").headers["Spam-Eggs"] raises KeyError, 89 >>> r = Request(url, headers={"Spam-eggs": "blah"}) 90 >>> r.has_header("Spam-eggs") 93 [('Spam-eggs', 'blah')] 98 [('Foo-bar', 'baz'), ('Spam-eggs', 'blah') [all...] |
test_contextlib.py | 94 def baz(spam):
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
SelectedConversationsActionMenu.java | 152 // Currently, since spam messages are only shown in list with other spam messages, 153 // marking a message not as spam is a destructive action 387 if (conversation.spam) { 440 final MenuItem spam = menu.findItem(R.id.report_spam); local 441 spam.setVisible(!showMarkNotSpam
|
/packages/apps/Dialer/java/com/android/incallui/spam/ |
SpamCallListListener.java | 17 package com.android.incallui.spam; 40 import com.android.dialer.spam.Spam; 120 /** Posts the intent for displaying the after call spam notification to the user. */ 131 if (!Spam.get(context).isSpamNotificationEnabled()) { 196 /** Display a notification with two actions: "add contact" and "report spam". */ 215 // Block/report spam 230 int thresholdForShowing = Spam.get(context).percentOfSpamNotificationsToShow(); 253 int thresholdForShowing = Spam.get(context).percentOfNonSpamNotificationsToShow(); 257 "not showing non spam notification: percentOfNonSpamNotificationsToShow is 0") [all...] |
SpamNotificationActivity.java | 17 package com.android.incallui.spam; 41 import com.android.dialer.spam.Spam; 49 static final String ACTION_ADD_TO_CONTACTS = "com.android.incallui.spam.ACTION_ADD_TO_CONTACTS"; 51 static final String ACTION_SHOW_DIALOG = "com.android.incallui.spam.ACTION_SHOW_DIALOG"; 52 /** Action to mark a number as spam. */ 54 "com.android.incallui.spam.ACTION_MARK_NUMBER_AS_SPAM"; 55 /** Action to mark a number as not spam. */ 57 "com.android.incallui.spam.ACTION_MARK_NUMBER_AS_NOT_SPAM"; 190 if (Spam.get(this).isDialogEnabledForSpamNotification()) [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
ActionBarController.java | 240 && mFolder.isType(FolderType.SPAM) && mFolder.totalCount > 0 433 && !mCurrentConversation.spam); 437 && mCurrentConversation.spam);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_descr.py | 304 import copy, xxsubtype as spam
307 import xxsubtype as spam
308 return spam.spamlist(l)
311 copy._deepcopy_dispatch[spam.spamlist] = spamlist
334 class C(spam.spamlist):
348 import copy, xxsubtype as spam
350 import xxsubtype as spam
351 sd = spam.spamdict()
356 copy._deepcopy_dispatch[spam.spamdict] = spamdict
386 class C(spam.spamdict): 515 def spam(self): member in class:ClassPropertiesAndMethods.test_metaclass.C 811 def spam(self): return "A" member in class:ClassPropertiesAndMethods.test_diamond_inheritence.A 815 def spam(self): return "B" member in class:ClassPropertiesAndMethods.test_diamond_inheritence.B [all...] |
test_inspect.py | 78 self.istest(inspect.iscode, 'mod.spam.func_code')
80 self.istest(inspect.isfunction, 'mod.spam')
100 self.assertTrue(inspect.isroutine(mod.spam))
164 (modfile, 9, 'spam', [' eggs(b + d, c + f)\n'], 0))
166 (modfile, 43, 'argue', [' spam(a, b, c)\n'], 0))
173 [' spam(a, b, c)\n'], 0))
174 self.assertEqual(git.tr[1][1:], (modfile, 9, 'spam',
238 ('spam', mod.spam)])
276 self.assertEqual(inspect.getsourcefile(mod.spam), modfile) [all...] |
test_urllib2.py | 71 >>> Request(url, headers={"Spam-eggs": "blah"}).headers["Spam-eggs"]
73 >>> Request(url, headers={"spam-EggS": "blah"}).headers["Spam-eggs"]
76 Currently, Request(url, "Spam-eggs").headers["Spam-Eggs"] raises KeyError,
89 >>> r = Request(url, headers={"Spam-eggs": "blah"})
90 >>> r.has_header("Spam-eggs")
93 [('Spam-eggs', 'blah')]
98 [('Foo-bar', 'baz'), ('Spam-eggs', 'blah')] [all...] |
test_contextlib.py | 94 def baz(spam):
|
/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
BlockReportSpamListener.java | 32 import com.android.dialer.spam.Spam; 34 /** Listener to show dialogs for block and report spam actions. */ 62 Spam.get(mContext).isDialogReportSpamCheckedByDefault(), 67 if (isSpamChecked && Spam.get(mContext).isSpamEnabled()) { 72 Spam.get(mContext) 106 Spam.get(mContext).isSpamEnabled(), 111 if (Spam.get(mContext).isSpamEnabled()) { 116 Spam.get(mContext) 157 if (isSpam && Spam.get(mContext).isSpamEnabled()) [all...] |
/external/python/cpython2/Lib/test/ |
test_urllib2.py | 86 >>> Request(url, headers={"Spam-eggs": "blah"}).headers["Spam-eggs"] 88 >>> Request(url, headers={"spam-EggS": "blah"}).headers["Spam-eggs"] 91 Currently, Request(url, "Spam-eggs").headers["Spam-Eggs"] raises KeyError, 104 >>> r = Request(url, headers={"Spam-eggs": "blah"}) 105 >>> r.has_header("Spam-eggs") 108 [('Spam-eggs', 'blah')] 113 [('Foo-bar', 'baz'), ('Spam-eggs', 'blah') [all...] |
test_inspect.py | 81 self.istest(inspect.iscode, 'mod.spam.func_code') 83 self.istest(inspect.isfunction, 'mod.spam') 103 self.assertTrue(inspect.isroutine(mod.spam)) 167 (modfile, 9, 'spam', [' eggs(b + d, c + f)\n'], 0)) 169 (modfile, 43, 'argue', [' spam(a, b, c)\n'], 0)) 176 [' spam(a, b, c)\n'], 0)) 177 self.assertEqual(git.tr[1][1:], (modfile, 9, 'spam', 256 ('spam', mod.spam)]) 294 self.assertEqual(inspect.getsourcefile(mod.spam), modfile [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_urllib2.py | 71 >>> Request(url, headers={"Spam-eggs": "blah"}).headers["Spam-eggs"] 73 >>> Request(url, headers={"spam-EggS": "blah"}).headers["Spam-eggs"] 76 Currently, Request(url, "Spam-eggs").headers["Spam-Eggs"] raises KeyError, 89 >>> r = Request(url, headers={"Spam-eggs": "blah"}) 90 >>> r.has_header("Spam-eggs") 93 [('Spam-eggs', 'blah')] 98 [('Foo-bar', 'baz'), ('Spam-eggs', 'blah') [all...] |
test_contextlib.py | 94 def baz(spam):
|
test_inspect.py | 78 self.istest(inspect.iscode, 'mod.spam.func_code') 80 self.istest(inspect.isfunction, 'mod.spam') 100 self.assertTrue(inspect.isroutine(mod.spam)) 164 (modfile, 9, 'spam', [' eggs(b + d, c + f)\n'], 0)) 166 (modfile, 43, 'argue', [' spam(a, b, c)\n'], 0)) 173 [' spam(a, b, c)\n'], 0)) 174 self.assertEqual(git.tr[1][1:], (modfile, 9, 'spam', 238 ('spam', mod.spam)]) 276 self.assertEqual(inspect.getsourcefile(mod.spam), modfile [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_urllib2.py | 71 >>> Request(url, headers={"Spam-eggs": "blah"}).headers["Spam-eggs"] 73 >>> Request(url, headers={"spam-EggS": "blah"}).headers["Spam-eggs"] 76 Currently, Request(url, "Spam-eggs").headers["Spam-Eggs"] raises KeyError, 89 >>> r = Request(url, headers={"Spam-eggs": "blah"}) 90 >>> r.has_header("Spam-eggs") 93 [('Spam-eggs', 'blah')] 98 [('Foo-bar', 'baz'), ('Spam-eggs', 'blah') [all...] |
test_contextlib.py | 94 def baz(spam):
|
test_inspect.py | 78 self.istest(inspect.iscode, 'mod.spam.func_code') 80 self.istest(inspect.isfunction, 'mod.spam') 100 self.assertTrue(inspect.isroutine(mod.spam)) 164 (modfile, 9, 'spam', [' eggs(b + d, c + f)\n'], 0)) 166 (modfile, 43, 'argue', [' spam(a, b, c)\n'], 0)) 173 [' spam(a, b, c)\n'], 0)) 174 self.assertEqual(git.tr[1][1:], (modfile, 9, 'spam', 238 ('spam', mod.spam)]) 276 self.assertEqual(inspect.getsourcefile(mod.spam), modfile [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_urllib2.py | 71 >>> Request(url, headers={"Spam-eggs": "blah"}).headers["Spam-eggs"] 73 >>> Request(url, headers={"spam-EggS": "blah"}).headers["Spam-eggs"] 76 Currently, Request(url, "Spam-eggs").headers["Spam-Eggs"] raises KeyError, 89 >>> r = Request(url, headers={"Spam-eggs": "blah"}) 90 >>> r.has_header("Spam-eggs") 93 [('Spam-eggs', 'blah')] 98 [('Foo-bar', 'baz'), ('Spam-eggs', 'blah') [all...] |
test_contextlib.py | 94 def baz(spam):
|
test_inspect.py | 78 self.istest(inspect.iscode, 'mod.spam.func_code') 80 self.istest(inspect.isfunction, 'mod.spam') 100 self.assertTrue(inspect.isroutine(mod.spam)) 164 (modfile, 9, 'spam', [' eggs(b + d, c + f)\n'], 0)) 166 (modfile, 43, 'argue', [' spam(a, b, c)\n'], 0)) 173 [' spam(a, b, c)\n'], 0)) 174 self.assertEqual(git.tr[1][1:], (modfile, 9, 'spam', 238 ('spam', mod.spam)]) 276 self.assertEqual(inspect.getsourcefile(mod.spam), modfile [all...] |
/external/python/cpython2/Lib/lib-tk/test/test_tkinter/ |
test_widgets.py | 270 errmsg = 'image "spam" doesn\'t exist' 272 widget['image'] = 'spam' 276 widget.configure({'image': 'spam'}) 511 self.checkInvalidParam(widget, 'endline', 'spam', 512 errmsg='expected integer but got "spam"') 567 self.checkInvalidParam(widget, 'startline', 'spam', 568 errmsg='expected integer but got "spam"') 592 self.checkInvalidParam(widget, 'tabs', 'spam', 593 errmsg='bad screen distance "spam"', 665 self.checkInvalidParam(widget, 'offset', 'spam') [all...] |
/packages/apps/Dialer/java/com/android/incallui/call/ |
CallList.java | 41 import com.android.dialer.spam.Spam; 42 import com.android.dialer.spam.SpamBindings; 129 if (Spam.get(context).isSpamEnabled()) { 131 Spam.get(context) 145 "marking spam call as not spam because it's not an incoming call"); 150 "marking spam call as not spam because an emergency call was made on this" 248 Spam.get(context [all...] |